[INFO] cloning repository https://github.com/asieglinger/polymarket-scraper
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/asieglinger/polymarket-scraper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fasieglinger%2Fpolymarket-scraper", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fasieglinger%2Fpolymarket-scraper'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 025e11e68ed2920cd8d45070248f24e72e365350
[INFO] testing asieglinger/polymarket-scraper against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fasieglinger%2Fpolymarket-scraper" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/asieglinger/polymarket-scraper
[INFO] finished tweaking git repo https://github.com/asieglinger/polymarket-scraper
[INFO] tweaked toml for git repo https://github.com/asieglinger/polymarket-scraper written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/asieglinger/polymarket-scraper on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/asieglinger/polymarket-scraper 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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tokio-tungstenite v0.24.0
[INFO] [stderr]   Downloaded zmij v1.0.3
[INFO] [stderr]   Downloaded tungstenite v0.24.0
[INFO] [stderr]   Downloaded iri-string v0.7.10
[INFO] [stderr]   Downloaded rusqlite v0.32.1
[INFO] [stderr]   Downloaded reqwest v0.12.28
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d452d9ac2963493ea033f3f519ff7c2ea8e4ee80426b2b880e11dcbf97247075
[INFO] running `Command { std: "docker" "start" "-a" "d452d9ac2963493ea033f3f519ff7c2ea8e4ee80426b2b880e11dcbf97247075", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d452d9ac2963493ea033f3f519ff7c2ea8e4ee80426b2b880e11dcbf97247075", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d452d9ac2963493ea033f3f519ff7c2ea8e4ee80426b2b880e11dcbf97247075", kill_on_drop: false }`
[INFO] [stdout] d452d9ac2963493ea033f3f519ff7c2ea8e4ee80426b2b880e11dcbf97247075
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bd785c7f0b100c6ddc98bb5f1c9f37ec00cef648c7c04e5a0da740b1de7df60c
[INFO] running `Command { std: "docker" "start" "-a" "bd785c7f0b100c6ddc98bb5f1c9f37ec00cef648c7c04e5a0da740b1de7df60c", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.104
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling libc v0.2.178
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling find-msvc-tools v0.1.6
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling itoa v1.0.17
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling bytes v1.11.0
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling zerocopy v0.8.31
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling writeable v0.6.2
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling litemap v0.8.1
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling cc v1.2.51
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling icu_properties_data v2.1.2
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling signal-hook v0.3.18
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling ryu v1.0.22
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling zmij v1.0.3
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling anstyle-parse v0.2.7
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.2
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling anstyle v1.0.13
[INFO] [stderr]    Compiling anstyle-query v1.1.5
[INFO] [stderr]    Compiling serde_json v1.0.148
[INFO] [stderr]    Compiling http v1.4.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling indexmap v2.12.1
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling colorchoice v1.0.4
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling instability v0.3.10
[INFO] [stderr]    Compiling castaway v0.2.4
[INFO] [stderr]    Compiling anstream v0.6.21
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling itertools v0.13.0
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling signal-hook-mio v0.2.5
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling iri-string v0.7.10
[INFO] [stderr]    Compiling indoc v2.0.7
[INFO] [stderr]    Compiling data-encoding v2.9.0
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling clap_lex v0.7.6
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling lru v0.12.5
[INFO] [stderr]    Compiling rustls-pki-types v1.13.2
[INFO] [stderr]    Compiling clap_builder v4.5.53
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling crossterm v0.28.1
[INFO] [stderr]    Compiling compact_str v0.8.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling hashlink v0.9.1
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling cassowary v0.3.0
[INFO] [stderr]    Compiling fallible-streaming-iterator v0.1.9
[INFO] [stderr]    Compiling unicode-width v0.2.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling fallible-iterator v0.3.0
[INFO] [stderr]    Compiling unicode-truncate v1.1.0
[INFO] [stderr]    Compiling nu-ansi-term v0.50.3
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.20.11
[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 tokio-macros v2.6.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling clap_derive v4.5.49
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling tracing-subscriber v0.3.22
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling strum v0.26.3
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling clap v4.5.53
[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 ratatui v0.29.0
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling tungstenite v0.24.0
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling tokio-util v0.7.17
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling tokio-tungstenite v0.24.0
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling h2 v0.4.12
[INFO] [stderr]    Compiling rusqlite v0.32.1
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling hyper-util v0.1.19
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling polymarket-scraper v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `DatabaseWriter`
[INFO] [stdout]  --> src/db/mod.rs:4:49
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use writer::{create_writer, DatabaseReader, DatabaseWriter, DbCommand};
[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: `warn`
[INFO] [stdout]  --> src/processor/activity.rs:7:28
[INFO] [stdout]   |
[INFO] [stdout] 7 | use tracing::{debug, info, warn};
[INFO] [stdout]   |                            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TrackedMarket`
[INFO] [stdout]  --> src/processor/algo.rs:3:47
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::processor::market::{MarketManager, TrackedMarket};
[INFO] [stdout]   |                                               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]  --> src/processor/market.rs:9:35
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tracing::{debug, error, info, warn};
[INFO] [stdout]   |                                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `OrderBookLevel`
[INFO] [stdout]  --> src/processor/orderbook.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::api::types::{OrderBookLevel, OrderBookSnapshotEvent, OrderBookUpdateEvent};
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debug`
[INFO] [stdout]  --> src/processor/price.rs:8:15
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tracing::{debug, info};
[INFO] [stdout]   |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AlgoState` and `TradingState`
[INFO] [stdout]  --> src/processor/mod.rs:8:31
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use algo::{AlgoProcessor, AlgoState, Signal, StrategyType, TheoreticalTrade, TradingState};
[INFO] [stdout]   |                               ^^^^^^^^^                                          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MarketState`
[INFO] [stdout]  --> src/processor/mod.rs:9:33
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub use market::{MarketManager, MarketState, TrackedMarket};
[INFO] [stdout]   |                                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TheoreticalTrade`
[INFO] [stdout]  --> src/ui/terminal.rs:4:76
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::processor::{AlgoProcessor, Signal, StrategyType, TrackedMarket, TheoreticalTrade};
[INFO] [stdout]   |                                                                            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing_subscriber::layer::SubscriberExt`
[INFO] [stdout]   --> src/main.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout] 53 |         use tracing_subscriber::layer::SubscriberExt;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db_id`
[INFO] [stdout]    --> src/processor/market.rs:232:33
[INFO] [stdout]     |
[INFO] [stdout] 232 |                     if let Some(db_id) = old.db_id {
[INFO] [stdout]     |                                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_db_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `side_color`
[INFO] [stdout]    --> src/ui/terminal.rs:403:17
[INFO] [stdout]     |
[INFO] [stdout] 403 |             let side_color = if a.side == "UP" { Color::Green } else { Color::Red };
[INFO] [stdout]     |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_side_color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_pnl`
[INFO] [stdout]    --> src/ui/terminal.rs:515:9
[INFO] [stdout]     |
[INFO] [stdout] 515 |     let total_pnl = cached.realized_pnl + cached.live_pnl;
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_pnl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ClobClient` is never constructed
[INFO] [stdout]  --> src/api/clob.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct ClobClient {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `fetch_order_book`, and `fetch_price` are never used
[INFO] [stdout]   --> src/api/clob.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl ClobClient {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 12 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub async fn fetch_order_book(&self, token_id: &str) -> Result<OrderBook> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub async fn fetch_price(&self, token_id: &str, side: &str) -> Result<f64> {
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `fetch_open_events` is never used
[INFO] [stdout]   --> src/api/gamma.rs:20:18
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl GammaClient {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub async fn fetch_open_events(&self) -> Result<Vec<GammaEvent>> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `slug`, and `title` are never read
[INFO] [stdout]   --> src/api/types.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct GammaEvent {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 11 |     pub id: String,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 12 |     pub slug: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 13 |     pub title: String,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GammaEvent` 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`, `outcomes`, `outcome_prices`, `volume`, `liquidity`, and `closed` are never read
[INFO] [stdout]   --> src/api/types.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct GammaMarket {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 22 |     pub id: String,
[INFO] [stdout]    |         ^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub outcomes: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 31 |     #[serde(default)]
[INFO] [stdout] 32 |     pub outcome_prices: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub volume: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 36 |     #[serde(default)]
[INFO] [stdout] 37 |     pub liquidity: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub closed: bool,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GammaMarket` 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 `OrderBook` is never constructed
[INFO] [stdout]   --> src/api/types.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub struct OrderBook {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PriceResponse` is never constructed
[INFO] [stdout]   --> src/api/types.rs:83:12
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub struct PriceResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `market` and `timestamp` are never read
[INFO] [stdout]    --> src/api/types.rs:156:9
[INFO] [stdout]     |
[INFO] [stdout] 153 | pub struct ClobWsMessage {
[INFO] [stdout]     |            ------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 156 |     pub market: Option<String>,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 162 |     pub timestamp: Option<String>,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ClobWsMessage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `MarketDiscovered` and `MarketResolved` are never constructed
[INFO] [stdout]    --> src/api/types.rs:175:5
[INFO] [stdout]     |
[INFO] [stdout] 170 | pub enum Event {
[INFO] [stdout]     |          ----- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 175 |     MarketDiscovered(MarketInfo),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 176 |     MarketResolved(String), // market_id
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Event` 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 `timestamp` is never read
[INFO] [stdout]    --> src/api/types.rs:217:9
[INFO] [stdout]     |
[INFO] [stdout] 212 | pub struct OrderBookUpdateEvent {
[INFO] [stdout]     |            -------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 217 |     pub timestamp: i64,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `OrderBookUpdateEvent` 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 `question` is never read
[INFO] [stdout]    --> src/api/types.rs:231:9
[INFO] [stdout]     |
[INFO] [stdout] 223 | pub struct MarketInfo {
[INFO] [stdout]     |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 231 |     pub question: String,
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `MarketInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CLOB_API` is never used
[INFO] [stdout]    --> src/config.rs:102:15
[INFO] [stdout]     |
[INFO] [stdout] 102 |     pub const CLOB_API: &str = "https://clob.polymarket.com";
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DATA_API` is never used
[INFO] [stdout]    --> src/config.rs:103:15
[INFO] [stdout]     |
[INFO] [stdout] 103 |     pub const DATA_API: &str = "https://data-api.polymarket.com";
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `SetResolution` and `Flush` are never constructed
[INFO] [stdout]   --> src/db/writer.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum DbCommand {
[INFO] [stdout]    |          --------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 16 |     SetResolution { market_id: i64, resolution: String, final_price: f64 },
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     Flush,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DbCommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_market_id` is never used
[INFO] [stdout]    --> src/db/writer.rs:280:12
[INFO] [stdout]     |
[INFO] [stdout]  39 | impl DatabaseWriter {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 280 |     pub fn get_market_id(&mut self, slug: &str) -> Option<i64> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_market_by_slug`, `get_recent_activity`, `get_activity_count`, and `get_latest_price` are never used
[INFO] [stdout]    --> src/db/writer.rs:340:12
[INFO] [stdout]     |
[INFO] [stdout] 334 | impl DatabaseReader {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 340 |     pub fn get_market_by_slug(&self, slug: &str) -> Option<(i64, Option<f64>)> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 350 |     pub fn get_recent_activity(&self, market_id: i64, limit: usize) -> Vec<ActivityEvent> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 379 |     pub fn get_activity_count(&self, market_id: i64) -> i64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 389 |     pub fn get_latest_price(&self, token: &str) -> Option<f64> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `InvalidTokenId` is never constructed
[INFO] [stdout]   --> src/error.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub enum Error {
[INFO] [stdout]    |          ----- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 27 |     InvalidTokenId,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `market_id` is never read
[INFO] [stdout]   --> src/processor/algo.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub struct TheoreticalTrade {
[INFO] [stdout]    |            ---------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub market_id: Option<i64>,  // Track which market this belongs to
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TheoreticalTrade` 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 `market_id`, `token`, and `market_end_time` are never read
[INFO] [stdout]   --> src/processor/algo.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub struct MarketPosition {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 71 |     pub market_id: i64,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 72 |     pub token: Token,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     pub market_end_time: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MarketPosition` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `resolved_pnl` is never used
[INFO] [stdout]    --> src/processor/algo.rs:131:12
[INFO] [stdout]     |
[INFO] [stdout]  82 | impl MarketPosition {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub fn resolved_pnl(&self, winner: &str) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]    --> src/processor/algo.rs:151:9
[INFO] [stdout]     |
[INFO] [stdout] 150 | pub struct ResolvedMarket {
[INFO] [stdout]     |            -------------- fields in this struct
[INFO] [stdout] 151 |     pub market_id: i64,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] 152 |     pub token: Token,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 153 |     pub winner: String,  // "UP" or "DOWN"
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] 154 |     pub pnl: f64,
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 155 |     pub up_shares: f64,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] 156 |     pub down_shares: f64,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 157 |     pub total_cost: f64,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ResolvedMarket` 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 `timestamp`, `up_bid`, `up_ask`, `down_bid`, and `down_ask` are never read
[INFO] [stdout]    --> src/processor/algo.rs:178:5
[INFO] [stdout]     |
[INFO] [stdout] 177 | struct PriceSnapshot {
[INFO] [stdout]     |        ------------- fields in this struct
[INFO] [stdout] 178 |     timestamp: i64,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 179 |     up_bid: u32,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 180 |     up_ask: u32,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 181 |     down_bid: u32,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 182 |     down_ask: u32,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `PriceSnapshot` 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 `resolved` is never read
[INFO] [stdout]    --> src/processor/algo.rs:194:5
[INFO] [stdout]     |
[INFO] [stdout] 186 | pub struct AlgoProcessor {
[INFO] [stdout]     |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 194 |     resolved: Vec<ResolvedMarket>,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_total_pnl`, `set_market`, and `resolve_market` are never used
[INFO] [stdout]    --> src/processor/algo.rs:252:12
[INFO] [stdout]     |
[INFO] [stdout] 213 | impl AlgoProcessor {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 252 |     pub fn get_total_pnl(&self) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 257 |     pub fn set_market(&mut self, token: Token, market_id: i64, end_time: i64) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 278 |     pub fn resolve_market(&mut self, market_id: i64, winner: &str) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AlgoState` is never constructed
[INFO] [stdout]    --> src/processor/algo.rs:783:12
[INFO] [stdout]     |
[INFO] [stdout] 783 | pub struct AlgoState {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Resolved` is never constructed
[INFO] [stdout]   --> src/processor/market.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub enum MarketState {
[INFO] [stdout]    |          ----------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 16 |     Resolved, // Ended
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MarketState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `next_markets`, `get_market_id_for_slug`, and `get_subscription_token_ids` are never used
[INFO] [stdout]    --> src/processor/market.rs:99:12
[INFO] [stdout]     |
[INFO] [stdout]  44 | impl MarketManager {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  99 |     pub fn next_markets(&self) -> Arc<RwLock<HashMap<Token, TrackedMarket>>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 253 |     pub async fn get_market_id_for_slug(&self, slug: &str) -> Option<i64> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 352 |     pub async fn get_subscription_token_ids(&self) -> Vec<(String, String, i64)> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `register_token`, `unregister_token`, `get_order_book`, `get_all_order_books`, and `snapshot_all` are never used
[INFO] [stdout]    --> src/processor/orderbook.rs:44:12
[INFO] [stdout]     |
[INFO] [stdout]  26 | impl OrderBookProcessor {
[INFO] [stdout]     | ----------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  44 |     pub fn register_token(&mut self, token_id: String, market_id: i64, side: String, token: Token) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  52 |     pub fn unregister_token(&mut self, token_id: &str) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 186 |     pub fn get_order_book(&self, token_id: &str) -> Option<&OrderBookState> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 191 |     pub fn get_all_order_books(&self) -> &HashMap<String, OrderBookState> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 196 |     pub async fn snapshot_all(&mut self) {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_latest_price` and `get_all_prices` are never used
[INFO] [stdout]   --> src/processor/price.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl PriceProcessor {
[INFO] [stdout]    | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 87 |     pub fn get_latest_price(&self, token: Token) -> Option<f64> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 92 |     pub fn get_all_prices(&self) -> &HashMap<Token, f64> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `total_cost` is never read
[INFO] [stdout]   --> src/ui/terminal.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct CachedAlgoState {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub total_cost: f64,       // Money spent on current market
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CachedAlgoState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `time` is never read
[INFO] [stdout]   --> src/ui/terminal.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct CachedTrade {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 43 |     pub time: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CachedTrade` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 20s
[INFO] running `Command { std: "docker" "inspect" "bd785c7f0b100c6ddc98bb5f1c9f37ec00cef648c7c04e5a0da740b1de7df60c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bd785c7f0b100c6ddc98bb5f1c9f37ec00cef648c7c04e5a0da740b1de7df60c", kill_on_drop: false }`
[INFO] [stdout] bd785c7f0b100c6ddc98bb5f1c9f37ec00cef648c7c04e5a0da740b1de7df60c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8c714059292beaf4ccb8197aa8d5425ef2e628476f82ef581ae75ef8bf69cd17
[INFO] running `Command { std: "docker" "start" "-a" "8c714059292beaf4ccb8197aa8d5425ef2e628476f82ef581ae75ef8bf69cd17", kill_on_drop: false }`
[INFO] [stderr]    Compiling polymarket-scraper v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `DatabaseWriter`
[INFO] [stdout]  --> src/db/mod.rs:4:49
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use writer::{create_writer, DatabaseReader, DatabaseWriter, DbCommand};
[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: `warn`
[INFO] [stdout]  --> src/processor/activity.rs:7:28
[INFO] [stdout]   |
[INFO] [stdout] 7 | use tracing::{debug, info, warn};
[INFO] [stdout]   |                            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TrackedMarket`
[INFO] [stdout]  --> src/processor/algo.rs:3:47
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::processor::market::{MarketManager, TrackedMarket};
[INFO] [stdout]   |                                               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]  --> src/processor/market.rs:9:35
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tracing::{debug, error, info, warn};
[INFO] [stdout]   |                                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `OrderBookLevel`
[INFO] [stdout]  --> src/processor/orderbook.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::api::types::{OrderBookLevel, OrderBookSnapshotEvent, OrderBookUpdateEvent};
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debug`
[INFO] [stdout]  --> src/processor/price.rs:8:15
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tracing::{debug, info};
[INFO] [stdout]   |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AlgoState` and `TradingState`
[INFO] [stdout]  --> src/processor/mod.rs:8:31
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use algo::{AlgoProcessor, AlgoState, Signal, StrategyType, TheoreticalTrade, TradingState};
[INFO] [stdout]   |                               ^^^^^^^^^                                          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MarketState`
[INFO] [stdout]  --> src/processor/mod.rs:9:33
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub use market::{MarketManager, MarketState, TrackedMarket};
[INFO] [stdout]   |                                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TheoreticalTrade`
[INFO] [stdout]  --> src/ui/terminal.rs:4:76
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::processor::{AlgoProcessor, Signal, StrategyType, TrackedMarket, TheoreticalTrade};
[INFO] [stdout]   |                                                                            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing_subscriber::layer::SubscriberExt`
[INFO] [stdout]   --> src/main.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout] 53 |         use tracing_subscriber::layer::SubscriberExt;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db_id`
[INFO] [stdout]    --> src/processor/market.rs:232:33
[INFO] [stdout]     |
[INFO] [stdout] 232 |                     if let Some(db_id) = old.db_id {
[INFO] [stdout]     |                                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_db_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `side_color`
[INFO] [stdout]    --> src/ui/terminal.rs:403:17
[INFO] [stdout]     |
[INFO] [stdout] 403 |             let side_color = if a.side == "UP" { Color::Green } else { Color::Red };
[INFO] [stdout]     |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_side_color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_pnl`
[INFO] [stdout]    --> src/ui/terminal.rs:515:9
[INFO] [stdout]     |
[INFO] [stdout] 515 |     let total_pnl = cached.realized_pnl + cached.live_pnl;
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_pnl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ClobClient` is never constructed
[INFO] [stdout]  --> src/api/clob.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct ClobClient {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `fetch_order_book`, and `fetch_price` are never used
[INFO] [stdout]   --> src/api/clob.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl ClobClient {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 12 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub async fn fetch_order_book(&self, token_id: &str) -> Result<OrderBook> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub async fn fetch_price(&self, token_id: &str, side: &str) -> Result<f64> {
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `slug`, and `title` are never read
[INFO] [stdout]   --> src/api/types.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct GammaEvent {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 11 |     pub id: String,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 12 |     pub slug: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 13 |     pub title: String,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GammaEvent` 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`, `outcomes`, `outcome_prices`, `volume`, `liquidity`, and `closed` are never read
[INFO] [stdout]   --> src/api/types.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct GammaMarket {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 22 |     pub id: String,
[INFO] [stdout]    |         ^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub outcomes: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 31 |     #[serde(default)]
[INFO] [stdout] 32 |     pub outcome_prices: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub volume: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 36 |     #[serde(default)]
[INFO] [stdout] 37 |     pub liquidity: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub closed: bool,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GammaMarket` 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 `OrderBook` is never constructed
[INFO] [stdout]   --> src/api/types.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub struct OrderBook {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PriceResponse` is never constructed
[INFO] [stdout]   --> src/api/types.rs:83:12
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub struct PriceResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `market` and `timestamp` are never read
[INFO] [stdout]    --> src/api/types.rs:156:9
[INFO] [stdout]     |
[INFO] [stdout] 153 | pub struct ClobWsMessage {
[INFO] [stdout]     |            ------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 156 |     pub market: Option<String>,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 162 |     pub timestamp: Option<String>,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ClobWsMessage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `MarketDiscovered` and `MarketResolved` are never constructed
[INFO] [stdout]    --> src/api/types.rs:175:5
[INFO] [stdout]     |
[INFO] [stdout] 170 | pub enum Event {
[INFO] [stdout]     |          ----- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 175 |     MarketDiscovered(MarketInfo),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 176 |     MarketResolved(String), // market_id
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Event` 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 `timestamp` is never read
[INFO] [stdout]    --> src/api/types.rs:217:9
[INFO] [stdout]     |
[INFO] [stdout] 212 | pub struct OrderBookUpdateEvent {
[INFO] [stdout]     |            -------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 217 |     pub timestamp: i64,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `OrderBookUpdateEvent` 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 `question` is never read
[INFO] [stdout]    --> src/api/types.rs:231:9
[INFO] [stdout]     |
[INFO] [stdout] 223 | pub struct MarketInfo {
[INFO] [stdout]     |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 231 |     pub question: String,
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `MarketInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CLOB_API` is never used
[INFO] [stdout]    --> src/config.rs:102:15
[INFO] [stdout]     |
[INFO] [stdout] 102 |     pub const CLOB_API: &str = "https://clob.polymarket.com";
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DATA_API` is never used
[INFO] [stdout]    --> src/config.rs:103:15
[INFO] [stdout]     |
[INFO] [stdout] 103 |     pub const DATA_API: &str = "https://data-api.polymarket.com";
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `SetResolution` and `Flush` are never constructed
[INFO] [stdout]   --> src/db/writer.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum DbCommand {
[INFO] [stdout]    |          --------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 16 |     SetResolution { market_id: i64, resolution: String, final_price: f64 },
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     Flush,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DbCommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_market_id` is never used
[INFO] [stdout]    --> src/db/writer.rs:280:12
[INFO] [stdout]     |
[INFO] [stdout]  39 | impl DatabaseWriter {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 280 |     pub fn get_market_id(&mut self, slug: &str) -> Option<i64> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_market_by_slug`, `get_recent_activity`, `get_activity_count`, and `get_latest_price` are never used
[INFO] [stdout]    --> src/db/writer.rs:340:12
[INFO] [stdout]     |
[INFO] [stdout] 334 | impl DatabaseReader {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 340 |     pub fn get_market_by_slug(&self, slug: &str) -> Option<(i64, Option<f64>)> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 350 |     pub fn get_recent_activity(&self, market_id: i64, limit: usize) -> Vec<ActivityEvent> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 379 |     pub fn get_activity_count(&self, market_id: i64) -> i64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 389 |     pub fn get_latest_price(&self, token: &str) -> Option<f64> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `InvalidTokenId` is never constructed
[INFO] [stdout]   --> src/error.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub enum Error {
[INFO] [stdout]    |          ----- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 27 |     InvalidTokenId,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `market_id` is never read
[INFO] [stdout]   --> src/processor/algo.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub struct TheoreticalTrade {
[INFO] [stdout]    |            ---------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub market_id: Option<i64>,  // Track which market this belongs to
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TheoreticalTrade` 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 `market_id`, `token`, and `market_end_time` are never read
[INFO] [stdout]   --> src/processor/algo.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub struct MarketPosition {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 71 |     pub market_id: i64,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 72 |     pub token: Token,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     pub market_end_time: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MarketPosition` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `resolved_pnl` is never used
[INFO] [stdout]    --> src/processor/algo.rs:131:12
[INFO] [stdout]     |
[INFO] [stdout]  82 | impl MarketPosition {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub fn resolved_pnl(&self, winner: &str) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]    --> src/processor/algo.rs:151:9
[INFO] [stdout]     |
[INFO] [stdout] 150 | pub struct ResolvedMarket {
[INFO] [stdout]     |            -------------- fields in this struct
[INFO] [stdout] 151 |     pub market_id: i64,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] 152 |     pub token: Token,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 153 |     pub winner: String,  // "UP" or "DOWN"
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] 154 |     pub pnl: f64,
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 155 |     pub up_shares: f64,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] 156 |     pub down_shares: f64,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 157 |     pub total_cost: f64,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ResolvedMarket` 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 `timestamp`, `up_bid`, `up_ask`, `down_bid`, and `down_ask` are never read
[INFO] [stdout]    --> src/processor/algo.rs:178:5
[INFO] [stdout]     |
[INFO] [stdout] 177 | struct PriceSnapshot {
[INFO] [stdout]     |        ------------- fields in this struct
[INFO] [stdout] 178 |     timestamp: i64,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 179 |     up_bid: u32,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 180 |     up_ask: u32,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 181 |     down_bid: u32,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 182 |     down_ask: u32,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `PriceSnapshot` 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 `resolved` is never read
[INFO] [stdout]    --> src/processor/algo.rs:194:5
[INFO] [stdout]     |
[INFO] [stdout] 186 | pub struct AlgoProcessor {
[INFO] [stdout]     |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 194 |     resolved: Vec<ResolvedMarket>,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_total_pnl`, `set_market`, and `resolve_market` are never used
[INFO] [stdout]    --> src/processor/algo.rs:252:12
[INFO] [stdout]     |
[INFO] [stdout] 213 | impl AlgoProcessor {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 252 |     pub fn get_total_pnl(&self) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 257 |     pub fn set_market(&mut self, token: Token, market_id: i64, end_time: i64) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 278 |     pub fn resolve_market(&mut self, market_id: i64, winner: &str) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AlgoState` is never constructed
[INFO] [stdout]    --> src/processor/algo.rs:783:12
[INFO] [stdout]     |
[INFO] [stdout] 783 | pub struct AlgoState {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Resolved` is never constructed
[INFO] [stdout]   --> src/processor/market.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub enum MarketState {
[INFO] [stdout]    |          ----------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 16 |     Resolved, // Ended
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MarketState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `next_markets`, `get_market_id_for_slug`, and `get_subscription_token_ids` are never used
[INFO] [stdout]    --> src/processor/market.rs:99:12
[INFO] [stdout]     |
[INFO] [stdout]  44 | impl MarketManager {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  99 |     pub fn next_markets(&self) -> Arc<RwLock<HashMap<Token, TrackedMarket>>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 253 |     pub async fn get_market_id_for_slug(&self, slug: &str) -> Option<i64> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 352 |     pub async fn get_subscription_token_ids(&self) -> Vec<(String, String, i64)> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `register_token`, `unregister_token`, `get_order_book`, `get_all_order_books`, and `snapshot_all` are never used
[INFO] [stdout]    --> src/processor/orderbook.rs:44:12
[INFO] [stdout]     |
[INFO] [stdout]  26 | impl OrderBookProcessor {
[INFO] [stdout]     | ----------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  44 |     pub fn register_token(&mut self, token_id: String, market_id: i64, side: String, token: Token) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  52 |     pub fn unregister_token(&mut self, token_id: &str) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 186 |     pub fn get_order_book(&self, token_id: &str) -> Option<&OrderBookState> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 191 |     pub fn get_all_order_books(&self) -> &HashMap<String, OrderBookState> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 196 |     pub async fn snapshot_all(&mut self) {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_latest_price` and `get_all_prices` are never used
[INFO] [stdout]   --> src/processor/price.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl PriceProcessor {
[INFO] [stdout]    | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 87 |     pub fn get_latest_price(&self, token: Token) -> Option<f64> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 92 |     pub fn get_all_prices(&self) -> &HashMap<Token, f64> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `total_cost` is never read
[INFO] [stdout]   --> src/ui/terminal.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct CachedAlgoState {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub total_cost: f64,       // Money spent on current market
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CachedAlgoState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `time` is never read
[INFO] [stdout]   --> src/ui/terminal.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct CachedTrade {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 43 |     pub time: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CachedTrade` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 4.41s
[INFO] running `Command { std: "docker" "inspect" "8c714059292beaf4ccb8197aa8d5425ef2e628476f82ef581ae75ef8bf69cd17", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8c714059292beaf4ccb8197aa8d5425ef2e628476f82ef581ae75ef8bf69cd17", kill_on_drop: false }`
[INFO] [stdout] 8c714059292beaf4ccb8197aa8d5425ef2e628476f82ef581ae75ef8bf69cd17
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 5f5486afee32267906faf90b286e9ab15c47e08331c767ae32295b62abce4f35
[INFO] running `Command { std: "docker" "start" "-a" "5f5486afee32267906faf90b286e9ab15c47e08331c767ae32295b62abce4f35", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `DatabaseWriter`
[INFO] [stderr]  --> src/db/mod.rs:4:49
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub use writer::{create_writer, DatabaseReader, DatabaseWriter, DbCommand};
[INFO] [stderr]   |                                                 ^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `warn`
[INFO] [stderr]  --> src/processor/activity.rs:7:28
[INFO] [stderr]   |
[INFO] [stderr] 7 | use tracing::{debug, info, warn};
[INFO] [stderr]   |                            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `TrackedMarket`
[INFO] [stderr]  --> src/processor/algo.rs:3:47
[INFO] [stderr]   |
[INFO] [stderr] 3 | use crate::processor::market::{MarketManager, TrackedMarket};
[INFO] [stderr]   |                                               ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `warn`
[INFO] [stderr]  --> src/processor/market.rs:9:35
[INFO] [stderr]   |
[INFO] [stderr] 9 | use tracing::{debug, error, info, warn};
[INFO] [stderr]   |                                   ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `OrderBookLevel`
[INFO] [stderr]  --> src/processor/orderbook.rs:1:25
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::api::types::{OrderBookLevel, OrderBookSnapshotEvent, OrderBookUpdateEvent};
[INFO] [stderr]   |                         ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `debug`
[INFO] [stderr]  --> src/processor/price.rs:8:15
[INFO] [stderr]   |
[INFO] [stderr] 8 | use tracing::{debug, info};
[INFO] [stderr]   |               ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `AlgoState` and `TradingState`
[INFO] [stderr]  --> src/processor/mod.rs:8:31
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub use algo::{AlgoProcessor, AlgoState, Signal, StrategyType, TheoreticalTrade, TradingState};
[INFO] [stderr]   |                               ^^^^^^^^^                                          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `MarketState`
[INFO] [stderr]  --> src/processor/mod.rs:9:33
[INFO] [stderr]   |
[INFO] [stderr] 9 | pub use market::{MarketManager, MarketState, TrackedMarket};
[INFO] [stderr]   |                                 ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `TheoreticalTrade`
[INFO] [stderr]  --> src/ui/terminal.rs:4:76
[INFO] [stderr]   |
[INFO] [stderr] 4 | use crate::processor::{AlgoProcessor, Signal, StrategyType, TrackedMarket, TheoreticalTrade};
[INFO] [stderr]   |                                                                            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tracing_subscriber::layer::SubscriberExt`
[INFO] [stderr]   --> src/main.rs:53:13
[INFO] [stderr]    |
[INFO] [stderr] 53 |         use tracing_subscriber::layer::SubscriberExt;
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `db_id`
[INFO] [stderr]    --> src/processor/market.rs:232:33
[INFO] [stderr]     |
[INFO] [stderr] 232 |                     if let Some(db_id) = old.db_id {
[INFO] [stderr]     |                                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_db_id`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `side_color`
[INFO] [stderr]    --> src/ui/terminal.rs:403:17
[INFO] [stderr]     |
[INFO] [stderr] 403 |             let side_color = if a.side == "UP" { Color::Green } else { Color::Red };
[INFO] [stderr]     |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_side_color`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `total_pnl`
[INFO] [stderr]    --> src/ui/terminal.rs:515:9
[INFO] [stderr]     |
[INFO] [stderr] 515 |     let total_pnl = cached.realized_pnl + cached.live_pnl;
[INFO] [stderr]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_pnl`
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ClobClient` is never constructed
[INFO] [stderr]  --> src/api/clob.rs:7:12
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub struct ClobClient {
[INFO] [stderr]   |            ^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `fetch_order_book`, and `fetch_price` are never used
[INFO] [stderr]   --> src/api/clob.rs:12:12
[INFO] [stderr]    |
[INFO] [stderr] 11 | impl ClobClient {
[INFO] [stderr]    | --------------- associated items in this implementation
[INFO] [stderr] 12 |     pub fn new() -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 19 |     pub async fn fetch_order_book(&self, token_id: &str) -> Result<OrderBook> {
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 36 |     pub async fn fetch_price(&self, token_id: &str, side: &str) -> Result<f64> {
[INFO] [stderr]    |                  ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `id`, `slug`, and `title` are never read
[INFO] [stderr]   --> src/api/types.rs:11:9
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub struct GammaEvent {
[INFO] [stderr]    |            ---------- fields in this struct
[INFO] [stderr] 11 |     pub id: String,
[INFO] [stderr]    |         ^^
[INFO] [stderr] 12 |     pub slug: String,
[INFO] [stderr]    |         ^^^^
[INFO] [stderr] 13 |     pub title: String,
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `GammaEvent` 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`, `outcomes`, `outcome_prices`, `volume`, `liquidity`, and `closed` are never read
[INFO] [stderr]   --> src/api/types.rs:22:9
[INFO] [stderr]    |
[INFO] [stderr] 21 | pub struct GammaMarket {
[INFO] [stderr]    |            ----------- fields in this struct
[INFO] [stderr] 22 |     pub id: String,
[INFO] [stderr]    |         ^^
[INFO] [stderr] ...
[INFO] [stderr] 30 |     pub outcomes: String,
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr] 31 |     #[serde(default)]
[INFO] [stderr] 32 |     pub outcome_prices: String,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 35 |     pub volume: String,
[INFO] [stderr]    |         ^^^^^^
[INFO] [stderr] 36 |     #[serde(default)]
[INFO] [stderr] 37 |     pub liquidity: String,
[INFO] [stderr]    |         ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 41 |     pub closed: bool,
[INFO] [stderr]    |         ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `GammaMarket` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: struct `OrderBook` is never constructed
[INFO] [stderr]   --> src/api/types.rs:69:12
[INFO] [stderr]    |
[INFO] [stderr] 69 | pub struct OrderBook {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `PriceResponse` is never constructed
[INFO] [stderr]   --> src/api/types.rs:83:12
[INFO] [stderr]    |
[INFO] [stderr] 83 | pub struct PriceResponse {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `market` and `timestamp` are never read
[INFO] [stderr]    --> src/api/types.rs:156:9
[INFO] [stderr]     |
[INFO] [stderr] 153 | pub struct ClobWsMessage {
[INFO] [stderr]     |            ------------- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 156 |     pub market: Option<String>,
[INFO] [stderr]     |         ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 162 |     pub timestamp: Option<String>,
[INFO] [stderr]     |         ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `ClobWsMessage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: variants `MarketDiscovered` and `MarketResolved` are never constructed
[INFO] [stderr]    --> src/api/types.rs:175:5
[INFO] [stderr]     |
[INFO] [stderr] 170 | pub enum Event {
[INFO] [stderr]     |          ----- variants in this enum
[INFO] [stderr] ...
[INFO] [stderr] 175 |     MarketDiscovered(MarketInfo),
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 176 |     MarketResolved(String), // market_id
[INFO] [stderr]     |     ^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `Event` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `timestamp` is never read
[INFO] [stderr]    --> src/api/types.rs:217:9
[INFO] [stderr]     |
[INFO] [stderr] 212 | pub struct OrderBookUpdateEvent {
[INFO] [stderr]     |            -------------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 217 |     pub timestamp: i64,
[INFO] [stderr]     |         ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `OrderBookUpdateEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `question` is never read
[INFO] [stderr]    --> src/api/types.rs:231:9
[INFO] [stderr]     |
[INFO] [stderr] 223 | pub struct MarketInfo {
[INFO] [stderr]     |            ---------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 231 |     pub question: String,
[INFO] [stderr]     |         ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `MarketInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CLOB_API` is never used
[INFO] [stderr]    --> src/config.rs:102:15
[INFO] [stderr]     |
[INFO] [stderr] 102 |     pub const CLOB_API: &str = "https://clob.polymarket.com";
[INFO] [stderr]     |               ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `DATA_API` is never used
[INFO] [stderr]    --> src/config.rs:103:15
[INFO] [stderr]     |
[INFO] [stderr] 103 |     pub const DATA_API: &str = "https://data-api.polymarket.com";
[INFO] [stderr]     |               ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variants `SetResolution` and `Flush` are never constructed
[INFO] [stderr]   --> src/db/writer.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub enum DbCommand {
[INFO] [stderr]    |          --------- variants in this enum
[INFO] [stderr] ...
[INFO] [stderr] 16 |     SetResolution { market_id: i64, resolution: String, final_price: f64 },
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 25 |     Flush,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `DbCommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: method `get_market_id` is never used
[INFO] [stderr]    --> src/db/writer.rs:280:12
[INFO] [stderr]     |
[INFO] [stderr]  39 | impl DatabaseWriter {
[INFO] [stderr]     | ------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 280 |     pub fn get_market_id(&mut self, slug: &str) -> Option<i64> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `get_market_by_slug`, `get_recent_activity`, `get_activity_count`, and `get_latest_price` are never used
[INFO] [stderr]    --> src/db/writer.rs:340:12
[INFO] [stderr]     |
[INFO] [stderr] 334 | impl DatabaseReader {
[INFO] [stderr]     | ------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 340 |     pub fn get_market_by_slug(&self, slug: &str) -> Option<(i64, Option<f64>)> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 350 |     pub fn get_recent_activity(&self, market_id: i64, limit: usize) -> Vec<ActivityEvent> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 379 |     pub fn get_activity_count(&self, market_id: i64) -> i64 {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 389 |     pub fn get_latest_price(&self, token: &str) -> Option<f64> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant `InvalidTokenId` is never constructed
[INFO] [stderr]   --> src/error.rs:27:5
[INFO] [stderr]    |
[INFO] [stderr]  4 | pub enum Error {
[INFO] [stderr]    |          ----- variant in this enum
[INFO] [stderr] ...
[INFO] [stderr] 27 |     InvalidTokenId,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `market_id` is never read
[INFO] [stderr]   --> src/processor/algo.rs:65:9
[INFO] [stderr]    |
[INFO] [stderr] 57 | pub struct TheoreticalTrade {
[INFO] [stderr]    |            ---------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 65 |     pub market_id: Option<i64>,  // Track which market this belongs to
[INFO] [stderr]    |         ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `TheoreticalTrade` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `market_id`, `token`, and `market_end_time` are never read
[INFO] [stderr]   --> src/processor/algo.rs:71:9
[INFO] [stderr]    |
[INFO] [stderr] 70 | pub struct MarketPosition {
[INFO] [stderr]    |            -------------- fields in this struct
[INFO] [stderr] 71 |     pub market_id: i64,
[INFO] [stderr]    |         ^^^^^^^^^
[INFO] [stderr] 72 |     pub token: Token,
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 79 |     pub market_end_time: i64,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `MarketPosition` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: method `resolved_pnl` is never used
[INFO] [stderr]    --> src/processor/algo.rs:131:12
[INFO] [stderr]     |
[INFO] [stderr]  82 | impl MarketPosition {
[INFO] [stderr]     | ------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 131 |     pub fn resolved_pnl(&self, winner: &str) -> f64 {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple fields are never read
[INFO] [stderr]    --> src/processor/algo.rs:151:9
[INFO] [stderr]     |
[INFO] [stderr] 150 | pub struct ResolvedMarket {
[INFO] [stderr]     |            -------------- fields in this struct
[INFO] [stderr] 151 |     pub market_id: i64,
[INFO] [stderr]     |         ^^^^^^^^^
[INFO] [stderr] 152 |     pub token: Token,
[INFO] [stderr]     |         ^^^^^
[INFO] [stderr] 153 |     pub winner: String,  // "UP" or "DOWN"
[INFO] [stderr]     |         ^^^^^^
[INFO] [stderr] 154 |     pub pnl: f64,
[INFO] [stderr]     |         ^^^
[INFO] [stderr] 155 |     pub up_shares: f64,
[INFO] [stderr]     |         ^^^^^^^^^
[INFO] [stderr] 156 |     pub down_shares: f64,
[INFO] [stderr]     |         ^^^^^^^^^^^
[INFO] [stderr] 157 |     pub total_cost: f64,
[INFO] [stderr]     |         ^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `ResolvedMarket` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `timestamp`, `up_bid`, `up_ask`, `down_bid`, and `down_ask` are never read
[INFO] [stderr]    --> src/processor/algo.rs:178:5
[INFO] [stderr]     |
[INFO] [stderr] 177 | struct PriceSnapshot {
[INFO] [stderr]     |        ------------- fields in this struct
[INFO] [stderr] 178 |     timestamp: i64,
[INFO] [stderr]     |     ^^^^^^^^^
[INFO] [stderr] 179 |     up_bid: u32,
[INFO] [stderr]     |     ^^^^^^
[INFO] [stderr] 180 |     up_ask: u32,
[INFO] [stderr]     |     ^^^^^^
[INFO] [stderr] 181 |     down_bid: u32,
[INFO] [stderr]     |     ^^^^^^^^
[INFO] [stderr] 182 |     down_ask: u32,
[INFO] [stderr]     |     ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `PriceSnapshot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `resolved` is never read
[INFO] [stderr]    --> src/processor/algo.rs:194:5
[INFO] [stderr]     |
[INFO] [stderr] 186 | pub struct AlgoProcessor {
[INFO] [stderr]     |            ------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 194 |     resolved: Vec<ResolvedMarket>,
[INFO] [stderr]     |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `get_total_pnl`, `set_market`, and `resolve_market` are never used
[INFO] [stderr]    --> src/processor/algo.rs:252:12
[INFO] [stderr]     |
[INFO] [stderr] 213 | impl AlgoProcessor {
[INFO] [stderr]     | ------------------ methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 252 |     pub fn get_total_pnl(&self) -> f64 {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 257 |     pub fn set_market(&mut self, token: Token, market_id: i64, end_time: i64) {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 278 |     pub fn resolve_market(&mut self, market_id: i64, winner: &str) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AlgoState` is never constructed
[INFO] [stderr]    --> src/processor/algo.rs:783:12
[INFO] [stderr]     |
[INFO] [stderr] 783 | pub struct AlgoState {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant `Resolved` is never constructed
[INFO] [stderr]   --> src/processor/market.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub enum MarketState {
[INFO] [stderr]    |          ----------- variant in this enum
[INFO] [stderr] ...
[INFO] [stderr] 16 |     Resolved, // Ended
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `MarketState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: methods `next_markets`, `get_market_id_for_slug`, and `get_subscription_token_ids` are never used
[INFO] [stderr]    --> src/processor/market.rs:99:12
[INFO] [stderr]     |
[INFO] [stderr]  44 | impl MarketManager {
[INFO] [stderr]     | ------------------ methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  99 |     pub fn next_markets(&self) -> Arc<RwLock<HashMap<Token, TrackedMarket>>> {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 253 |     pub async fn get_market_id_for_slug(&self, slug: &str) -> Option<i64> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 352 |     pub async fn get_subscription_token_ids(&self) -> Vec<(String, String, i64)> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `register_token`, `unregister_token`, `get_order_book`, `get_all_order_books`, and `snapshot_all` are never used
[INFO] [stderr]    --> src/processor/orderbook.rs:44:12
[INFO] [stderr]     |
[INFO] [stderr]  26 | impl OrderBookProcessor {
[INFO] [stderr]     | ----------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  44 |     pub fn register_token(&mut self, token_id: String, market_id: i64, side: String, token: Token) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  52 |     pub fn unregister_token(&mut self, token_id: &str) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 186 |     pub fn get_order_book(&self, token_id: &str) -> Option<&OrderBookState> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 191 |     pub fn get_all_order_books(&self) -> &HashMap<String, OrderBookState> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 196 |     pub async fn snapshot_all(&mut self) {
[INFO] [stderr]     |                  ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `get_latest_price` and `get_all_prices` are never used
[INFO] [stderr]   --> src/processor/price.rs:87:12
[INFO] [stderr]    |
[INFO] [stderr] 20 | impl PriceProcessor {
[INFO] [stderr]    | ------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 87 |     pub fn get_latest_price(&self, token: Token) -> Option<f64> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 92 |     pub fn get_all_prices(&self) -> &HashMap<Token, f64> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `total_cost` is never read
[INFO] [stderr]   --> src/ui/terminal.rs:34:9
[INFO] [stderr]    |
[INFO] [stderr] 27 | pub struct CachedAlgoState {
[INFO] [stderr]    |            --------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 34 |     pub total_cost: f64,       // Money spent on current market
[INFO] [stderr]    |         ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `CachedAlgoState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `time` is never read
[INFO] [stderr]   --> src/ui/terminal.rs:43:9
[INFO] [stderr]    |
[INFO] [stderr] 42 | pub struct CachedTrade {
[INFO] [stderr]    |            ----------- field in this struct
[INFO] [stderr] 43 |     pub time: String,
[INFO] [stderr]    |         ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `CachedTrade` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: `polymarket-scraper` (bin "polymarket-scraper" test) generated 43 warnings (run `cargo fix --bin "polymarket-scraper" -p polymarket-scraper --tests` to apply 13 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.51s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/polymarket_scraper-7a87b317fa1997ce)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test api::gamma::tests::test_fetch_events ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- api::gamma::tests::test_fetch_events stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'api::gamma::tests::test_fetch_events' (26) panicked at src/api/gamma.rs:165:9:
[INFO] [stdout] assertion failed: events.is_ok()
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x56e473f7ce52 - std[716c9a7a72e5c14e]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x56e473f7ce52 - std[716c9a7a72e5c14e]::backtrace_rs::backtrace::trace_unsynchronized::<std[716c9a7a72e5c14e]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x56e473f7ce52 - std[716c9a7a72e5c14e]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x56e473f7ce52 - <<std[716c9a7a72e5c14e]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[c5ed12ab89cc536a]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x56e473f9314a - <core[c5ed12ab89cc536a]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x56e473f9314a - core[c5ed12ab89cc536a]::fmt::write
[INFO] [stdout]    6:     0x56e473f82146 - std[716c9a7a72e5c14e]::io::default_write_fmt::<alloc[9c68fdf4f4f29218]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x56e473f82146 - <alloc[9c68fdf4f4f29218]::vec::Vec<u8> as std[716c9a7a72e5c14e]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x56e473f5a0ef - <std[716c9a7a72e5c14e]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x56e473f5a0ef - std[716c9a7a72e5c14e]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x56e473f74939 - std[716c9a7a72e5c14e]::panicking::default_hook
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x56e473b621ae - <alloc[9c68fdf4f4f29218]::boxed::Box<dyn for<'a, 'b> core[c5ed12ab89cc536a]::ops::function::Fn<(&'a std[716c9a7a72e5c14e]::panic::PanicHookInfo<'b>,), Output = ()> + core[c5ed12ab89cc536a]::marker::Sync + core[c5ed12ab89cc536a]::marker::Send> as core[c5ed12ab89cc536a]::ops::function::Fn<(&std[716c9a7a72e5c14e]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x56e473b621ae - test[64760d2bdea328cc]::test_main_with_exit_callback::<test[64760d2bdea328cc]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x56e473f74ba2 - <alloc[9c68fdf4f4f29218]::boxed::Box<dyn for<'a, 'b> core[c5ed12ab89cc536a]::ops::function::Fn<(&'a std[716c9a7a72e5c14e]::panic::PanicHookInfo<'b>,), Output = ()> + core[c5ed12ab89cc536a]::marker::Sync + core[c5ed12ab89cc536a]::marker::Send> as core[c5ed12ab89cc536a]::ops::function::Fn<(&std[716c9a7a72e5c14e]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x56e473f74ba2 - std[716c9a7a72e5c14e]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x56e473f5a1da - std[716c9a7a72e5c14e]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:691:13
[INFO] [stdout]   16:     0x56e473f51a99 - std[716c9a7a72e5c14e]::sys::backtrace::__rust_end_short_backtrace::<std[716c9a7a72e5c14e]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x56e473f5b1cd - __rustc[4f0b026143eab78e]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x56e473f938bc - core[c5ed12ab89cc536a]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x56e473f93882 - core[c5ed12ab89cc536a]::panicking::panic
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panicking.rs:150:5
[INFO] [stdout]   20:     0x56e473b51f61 - polymarket_scraper[19025da223d8e340]::api::gamma::tests::test_fetch_events::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/api/gamma.rs:165:9
[INFO] [stdout]   21:     0x56e473b4d562 - <core[c5ed12ab89cc536a]::pin::Pin<&mut dyn core[c5ed12ab89cc536a]::future::future::Future<Output = ()>> as core[c5ed12ab89cc536a]::future::future::Future>::poll
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/future/future.rs:133:9
[INFO] [stdout]   22:     0x56e473b4d5dd - <core[c5ed12ab89cc536a]::pin::Pin<&mut core[c5ed12ab89cc536a]::pin::Pin<&mut dyn core[c5ed12ab89cc536a]::future::future::Future<Output = ()>>> as core[c5ed12ab89cc536a]::future::future::Future>::poll
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/future/future.rs:133:9
[INFO] [stdout]   23:     0x56e473b4a6ad - <tokio[6d316705b097a4be]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[c5ed12ab89cc536a]::pin::Pin<&mut core[c5ed12ab89cc536a]::pin::Pin<&mut dyn core[c5ed12ab89cc536a]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:742:70
[INFO] [stdout]   24:     0x56e473b4a5ab - tokio[6d316705b097a4be]::task::coop::with_budget::<core[c5ed12ab89cc536a]::task::poll::Poll<()>, <tokio[6d316705b097a4be]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[c5ed12ab89cc536a]::pin::Pin<&mut core[c5ed12ab89cc536a]::pin::Pin<&mut dyn core[c5ed12ab89cc536a]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}::{closure#0}>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/task/coop/mod.rs:167:5
[INFO] [stdout]   25:     0x56e473b4a5ab - tokio[6d316705b097a4be]::task::coop::budget::<core[c5ed12ab89cc536a]::task::poll::Poll<()>, <tokio[6d316705b097a4be]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[c5ed12ab89cc536a]::pin::Pin<&mut core[c5ed12ab89cc536a]::pin::Pin<&mut dyn core[c5ed12ab89cc536a]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}::{closure#0}>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/task/coop/mod.rs:133:5
[INFO] [stdout]   26:     0x56e473b4a5ab - <tokio[6d316705b097a4be]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[c5ed12ab89cc536a]::pin::Pin<&mut core[c5ed12ab89cc536a]::pin::Pin<&mut dyn core[c5ed12ab89cc536a]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:742:25
[INFO] [stdout]   27:     0x56e473b45b90 - <tokio[6d316705b097a4be]::runtime::scheduler::current_thread::Context>::enter::<core[c5ed12ab89cc536a]::task::poll::Poll<()>, <tokio[6d316705b097a4be]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[c5ed12ab89cc536a]::pin::Pin<&mut core[c5ed12ab89cc536a]::pin::Pin<&mut dyn core[c5ed12ab89cc536a]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:432:19
[INFO] [stdout]   28:     0x56e473b4997d - <tokio[6d316705b097a4be]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[c5ed12ab89cc536a]::pin::Pin<&mut core[c5ed12ab89cc536a]::pin::Pin<&mut dyn core[c5ed12ab89cc536a]::future::future::Future<Output = ()>>>>::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:741:44
[INFO] [stdout]   29:     0x56e473b48c74 - <tokio[6d316705b097a4be]::runtime::scheduler::current_thread::CoreGuard>::enter::<<tokio[6d316705b097a4be]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[c5ed12ab89cc536a]::pin::Pin<&mut core[c5ed12ab89cc536a]::pin::Pin<&mut dyn core[c5ed12ab89cc536a]::future::future::Future<Output = ()>>>>::{closure#0}, core[c5ed12ab89cc536a]::option::Option<()>>::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:829:68
[INFO] [stdout]   30:     0x56e473b5426b - <tokio[6d316705b097a4be]::runtime::context::scoped::Scoped<tokio[6d316705b097a4be]::runtime::scheduler::Context>>::set::<<tokio[6d316705b097a4be]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[6d316705b097a4be]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[c5ed12ab89cc536a]::pin::Pin<&mut core[c5ed12ab89cc536a]::pin::Pin<&mut dyn core[c5ed12ab89cc536a]::future::future::Future<Output = ()>>>>::{closure#0}, core[c5ed12ab89cc536a]::option::Option<()>>::{closure#0}, (alloc[9c68fdf4f4f29218]::boxed::Box<tokio[6d316705b097a4be]::runtime::scheduler::current_thread::Core>, core[c5ed12ab89cc536a]::option::Option<()>)>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/context/scoped.rs:40:9
[INFO] [stdout]   31:     0x56e473b4b329 - tokio[6d316705b097a4be]::runtime::context::set_scheduler::<(alloc[9c68fdf4f4f29218]::boxed::Box<tokio[6d316705b097a4be]::runtime::scheduler::current_thread::Core>, core[c5ed12ab89cc536a]::option::Option<()>), <tokio[6d316705b097a4be]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[6d316705b097a4be]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[c5ed12ab89cc536a]::pin::Pin<&mut core[c5ed12ab89cc536a]::pin::Pin<&mut dyn core[c5ed12ab89cc536a]::future::future::Future<Output = ()>>>>::{closure#0}, core[c5ed12ab89cc536a]::option::Option<()>>::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/context.rs:176:38
[INFO] [stdout]   32:     0x56e473b4e3a2 - <std[716c9a7a72e5c14e]::thread::local::LocalKey<tokio[6d316705b097a4be]::runtime::context::Context>>::try_with::<tokio[6d316705b097a4be]::runtime::context::set_scheduler<(alloc[9c68fdf4f4f29218]::boxed::Box<tokio[6d316705b097a4be]::runtime::scheduler::current_thread::Core>, core[c5ed12ab89cc536a]::option::Option<()>), <tokio[6d316705b097a4be]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[6d316705b097a4be]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[c5ed12ab89cc536a]::pin::Pin<&mut core[c5ed12ab89cc536a]::pin::Pin<&mut dyn core[c5ed12ab89cc536a]::future::future::Future<Output = ()>>>>::{closure#0}, core[c5ed12ab89cc536a]::option::Option<()>>::{closure#0}>::{closure#0}, (alloc[9c68fdf4f4f29218]::boxed::Box<tokio[6d316705b097a4be]::runtime::scheduler::current_thread::Core>, core[c5ed12ab89cc536a]::option::Option<()>)>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/thread/local.rs:513:12
[INFO] [stdout]   33:     0x56e473b4df2e - <std[716c9a7a72e5c14e]::thread::local::LocalKey<tokio[6d316705b097a4be]::runtime::context::Context>>::with::<tokio[6d316705b097a4be]::runtime::context::set_scheduler<(alloc[9c68fdf4f4f29218]::boxed::Box<tokio[6d316705b097a4be]::runtime::scheduler::current_thread::Core>, core[c5ed12ab89cc536a]::option::Option<()>), <tokio[6d316705b097a4be]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[6d316705b097a4be]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[c5ed12ab89cc536a]::pin::Pin<&mut core[c5ed12ab89cc536a]::pin::Pin<&mut dyn core[c5ed12ab89cc536a]::future::future::Future<Output = ()>>>>::{closure#0}, core[c5ed12ab89cc536a]::option::Option<()>>::{closure#0}>::{closure#0}, (alloc[9c68fdf4f4f29218]::boxed::Box<tokio[6d316705b097a4be]::runtime::scheduler::current_thread::Core>, core[c5ed12ab89cc536a]::option::Option<()>)>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/thread/local.rs:477:20
[INFO] [stdout]   34:     0x56e473b4aded - tokio[6d316705b097a4be]::runtime::context::set_scheduler::<(alloc[9c68fdf4f4f29218]::boxed::Box<tokio[6d316705b097a4be]::runtime::scheduler::current_thread::Core>, core[c5ed12ab89cc536a]::option::Option<()>), <tokio[6d316705b097a4be]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[6d316705b097a4be]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[c5ed12ab89cc536a]::pin::Pin<&mut core[c5ed12ab89cc536a]::pin::Pin<&mut dyn core[c5ed12ab89cc536a]::future::future::Future<Output = ()>>>>::{closure#0}, core[c5ed12ab89cc536a]::option::Option<()>>::{closure#0}>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/context.rs:176:17
[INFO] [stdout]   35:     0x56e473b47cd0 - <tokio[6d316705b097a4be]::runtime::scheduler::current_thread::CoreGuard>::enter::<<tokio[6d316705b097a4be]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[c5ed12ab89cc536a]::pin::Pin<&mut core[c5ed12ab89cc536a]::pin::Pin<&mut dyn core[c5ed12ab89cc536a]::future::future::Future<Output = ()>>>>::{closure#0}, core[c5ed12ab89cc536a]::option::Option<()>>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:829:27
[INFO] [stdout]   36:     0x56e473b47fc6 - <tokio[6d316705b097a4be]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[c5ed12ab89cc536a]::pin::Pin<&mut core[c5ed12ab89cc536a]::pin::Pin<&mut dyn core[c5ed12ab89cc536a]::future::future::Future<Output = ()>>>>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:729:24
[INFO] [stdout]   37:     0x56e473b48780 - <tokio[6d316705b097a4be]::runtime::scheduler::current_thread::CurrentThread>::block_on::<core[c5ed12ab89cc536a]::pin::Pin<&mut dyn core[c5ed12ab89cc536a]::future::future::Future<Output = ()>>>::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:200:33
[INFO] [stdout]   38:     0x56e473b503b3 - tokio[6d316705b097a4be]::runtime::context::runtime::enter_runtime::<<tokio[6d316705b097a4be]::runtime::scheduler::current_thread::CurrentThread>::block_on<core[c5ed12ab89cc536a]::pin::Pin<&mut dyn core[c5ed12ab89cc536a]::future::future::Future<Output = ()>>>::{closure#0}, ()>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/context/runtime.rs:65:16
[INFO] [stdout]   39:     0x56e473b45511 - <tokio[6d316705b097a4be]::runtime::scheduler::current_thread::CurrentThread>::block_on::<core[c5ed12ab89cc536a]::pin::Pin<&mut dyn core[c5ed12ab89cc536a]::future::future::Future<Output = ()>>>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:188:9
[INFO] [stdout]   40:     0x56e473b53df4 - <tokio[6d316705b097a4be]::runtime::runtime::Runtime>::block_on_inner::<core[c5ed12ab89cc536a]::pin::Pin<&mut dyn core[c5ed12ab89cc536a]::future::future::Future<Output = ()>>>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/runtime.rs:368:52
[INFO] [stdout]   41:     0x56e473b53fbc - <tokio[6d316705b097a4be]::runtime::runtime::Runtime>::block_on::<core[c5ed12ab89cc536a]::pin::Pin<&mut dyn core[c5ed12ab89cc536a]::future::future::Future<Output = ()>>>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/runtime.rs:342:18
[INFO] [stdout]   42:     0x56e473b52303 - polymarket_scraper[19025da223d8e340]::api::gamma::tests::test_fetch_events
[INFO] [stdout]                                at /opt/rustwide/workdir/src/api/gamma.rs:165:32
[INFO] [stdout]   43:     0x56e473b51cd7 - polymarket_scraper[19025da223d8e340]::api::gamma::tests::test_fetch_events::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/api/gamma.rs:162:33
[INFO] [stdout]   44:     0x56e473b3ddf6 - <polymarket_scraper[19025da223d8e340]::api::gamma::tests::test_fetch_events::{closure#0} as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x56e473b5655b - <fn() -> core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String> as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   46:     0x56e473b5655b - test[64760d2bdea328cc]::__rust_begin_short_backtrace::<core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String>, fn() -> core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String>>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:663:18
[INFO] [stdout]   47:     0x56e473b62dba - test[64760d2bdea328cc]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:686:74
[INFO] [stdout]   48:     0x56e473b62dba - <core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe<test[64760d2bdea328cc]::run_test_in_process::{closure#0}> as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   49:     0x56e473b62dba - std[716c9a7a72e5c14e]::panicking::catch_unwind::do_call::<core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe<test[64760d2bdea328cc]::run_test_in_process::{closure#0}>, core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String>>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:581:40
[INFO] [stdout]   50:     0x56e473b62dba - std[716c9a7a72e5c14e]::panicking::catch_unwind::<core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String>, core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe<test[64760d2bdea328cc]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:544:19
[INFO] [stdout]   51:     0x56e473b62dba - std[716c9a7a72e5c14e]::panic::catch_unwind::<core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe<test[64760d2bdea328cc]::run_test_in_process::{closure#0}>, core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String>>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panic.rs:359:14
[INFO] [stdout]   52:     0x56e473b62dba - test[64760d2bdea328cc]::run_test_in_process
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:686:27
[INFO] [stdout]   53:     0x56e473b62dba - test[64760d2bdea328cc]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:607:43
[INFO] [stdout]   54:     0x56e473b5d284 - test[64760d2bdea328cc]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:637:41
[INFO] [stdout]   55:     0x56e473b5d284 - std[716c9a7a72e5c14e]::sys::backtrace::__rust_begin_short_backtrace::<test[64760d2bdea328cc]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   56:     0x56e473b658b2 - std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked::<test[64760d2bdea328cc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   57:     0x56e473b658b2 - <core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe<std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked<test[64760d2bdea328cc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   58:     0x56e473b658b2 - std[716c9a7a72e5c14e]::panicking::catch_unwind::do_call::<core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe<std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked<test[64760d2bdea328cc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:581:40
[INFO] [stdout]   59:     0x56e473b658b2 - std[716c9a7a72e5c14e]::panicking::catch_unwind::<(), core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe<std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked<test[64760d2bdea328cc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:544:19
[INFO] [stdout]   60:     0x56e473b658b2 - std[716c9a7a72e5c14e]::panic::catch_unwind::<core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe<std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked<test[64760d2bdea328cc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panic.rs:359:14
[INFO] [stdout]   61:     0x56e473b658b2 - std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked::<test[64760d2bdea328cc]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   62:     0x56e473b658b2 - <std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked<test[64760d2bdea328cc]::run_test::{closure#1}, ()>::{closure#1} as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   63:     0x56e473f7c6bf - <alloc[9c68fdf4f4f29218]::boxed::Box<dyn core[c5ed12ab89cc536a]::ops::function::FnOnce<(), Output = ()> + core[c5ed12ab89cc536a]::marker::Send> as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   64:     0x56e473f7c6bf - <std[716c9a7a72e5c14e]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/thread/unix.rs:119:17
[INFO] [stdout]   65:     0x763c3c858aa4 - <unknown>
[INFO] [stdout]   66:     0x763c3c8e5a64 - clone
[INFO] [stdout]   67:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     api::gamma::tests::test_fetch_events
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.35s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin polymarket-scraper`
[INFO] running `Command { std: "docker" "inspect" "5f5486afee32267906faf90b286e9ab15c47e08331c767ae32295b62abce4f35", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5f5486afee32267906faf90b286e9ab15c47e08331c767ae32295b62abce4f35", kill_on_drop: false }`
[INFO] [stdout] 5f5486afee32267906faf90b286e9ab15c47e08331c767ae32295b62abce4f35
