[INFO] cloning repository https://github.com/edgartorosyan/rust_polymarket-collector
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/edgartorosyan/rust_polymarket-collector" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedgartorosyan%2Frust_polymarket-collector", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedgartorosyan%2Frust_polymarket-collector'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4fc1fb4c1732b29636369f890ee1b62340cad005
[INFO] checking edgartorosyan/rust_polymarket-collector against try#d0ab665d12770dbaae620b539ee4319b83445f45 for pr-133502-24
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedgartorosyan%2Frust_polymarket-collector" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/edgartorosyan/rust_polymarket-collector
[INFO] finished tweaking git repo https://github.com/edgartorosyan/rust_polymarket-collector
[INFO] tweaked toml for git repo https://github.com/edgartorosyan/rust_polymarket-collector written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/edgartorosyan/rust_polymarket-collector on toolchain d0ab665d12770dbaae620b539ee4319b83445f45
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d0ab665d12770dbaae620b539ee4319b83445f45" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/edgartorosyan/rust_polymarket-collector 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" "+d0ab665d12770dbaae620b539ee4319b83445f45" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d2bc9de02dbc5641967bb4e7550b72f7020ded23482ac421be3652dc3a0bb849
[INFO] running `Command { std: "docker" "start" "d2bc9de02dbc5641967bb4e7550b72f7020ded23482ac421be3652dc3a0bb849", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d2bc9de02dbc5641967bb4e7550b72f7020ded23482ac421be3652dc3a0bb849", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d2bc9de02dbc5641967bb4e7550b72f7020ded23482ac421be3652dc3a0bb849" "/opt/rustwide/cargo-home/bin/cargo" "+d0ab665d12770dbaae620b539ee4319b83445f45" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d2bc9de02dbc5641967bb4e7550b72f7020ded23482ac421be3652dc3a0bb849", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d2bc9de02dbc5641967bb4e7550b72f7020ded23482ac421be3652dc3a0bb849" "/opt/rustwide/cargo-home/bin/cargo" "+d0ab665d12770dbaae620b539ee4319b83445f45" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.183
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling icu_properties_data v2.1.2
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling zerocopy v0.8.42
[INFO] [stderr]    Compiling bytes v1.11.1
[INFO] [stderr]    Compiling bitflags v2.11.0
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling openssl-probe v0.2.1
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]    Compiling uuid v1.23.1
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling whoami v1.6.1
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking mio v1.1.1
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking socket2 v0.6.3
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]     Checking getrandom v0.4.2
[INFO] [stderr]     Checking rand_core v0.9.5
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling home v0.5.12
[INFO] [stderr]     Checking tokio v1.50.0
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking futures-intrusive v0.5.0
[INFO] [stderr]     Checking raw-cpuid v11.6.0
[INFO] [stderr]     Checking regex-syntax v0.8.10
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking metrics v0.24.3
[INFO] [stderr]     Checking rand v0.9.4
[INFO] [stderr]     Checking rand_xoshiro v0.7.0
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking sketches-ddsketch v0.3.1
[INFO] [stderr]     Checking rayon v1.12.0
[INFO] [stderr]     Checking axum-core v0.5.6
[INFO] [stderr]     Checking envy v0.4.2
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking quanta v0.12.6
[INFO] [stderr]     Checking metrics-util v0.19.1
[INFO] [stderr]     Checking metrics-exporter-prometheus v0.16.2
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking sysinfo v0.32.1
[INFO] [stderr]     Checking tracing-subscriber v0.3.22
[INFO] [stderr]     Checking tungstenite v0.24.0
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking tokio-tungstenite v0.24.0
[INFO] [stderr]     Checking h2 v0.4.13
[INFO] [stderr]     Checking tower-http v0.6.8
[INFO] [stderr]    Compiling sqlx-postgres v0.8.6
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking axum v0.8.8
[INFO] [stderr]     Checking reqwest v0.12.28
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]     Checking sqlx v0.8.6
[INFO] [stderr]     Checking polymarket-collector v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `error::ChainlinkError`
[INFO] [stdout]  --> src/chainlink_client/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use error::ChainlinkError;
[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: `strategies::print::PrintStrategy`
[INFO] [stdout]   --> src/main.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | use strategies::print::PrintStrategy;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error::ChainlinkError`
[INFO] [stdout]  --> src/chainlink_client/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use error::ChainlinkError;
[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: `strategies::print::PrintStrategy`
[INFO] [stdout]   --> src/main.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | use strategies::print::PrintStrategy;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `HmacSha256` is never used
[INFO] [stdout]   --> src/chainlink_client/client.rs:22:6
[INFO] [stdout]    |
[INFO] [stdout] 22 | type HmacSha256 = Hmac<Sha256>;
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CL_REST_BASE` is never used
[INFO] [stdout]   --> src/chainlink_client/client.rs:25:7
[INFO] [stdout]    |
[INFO] [stdout] 25 | const CL_REST_BASE: &str = "https://api.dataengine.chain.link";
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BINANCE_BASE` is never used
[INFO] [stdout]   --> src/chainlink_client/client.rs:26:7
[INFO] [stdout]    |
[INFO] [stdout] 26 | const BINANCE_BASE: &str = "https://api.binance.com/api/v3";
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cl_feed_id` is never used
[INFO] [stdout]   --> src/chainlink_client/client.rs:30:4
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn cl_feed_id(coin: &str) -> &'static str {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `binance_symbol` is never used
[INFO] [stdout]   --> src/chainlink_client/client.rs:39:4
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn binance_symbol(coin: &str) -> &'static str {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cl_sign` is never used
[INFO] [stdout]   --> src/chainlink_client/client.rs:57:4
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn cl_sign(method: &str, path: &str, api_key: &str, api_secret: &str, ts_ms: u64) -> String {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_benchmark_price` is never used
[INFO] [stdout]   --> src/chainlink_client/client.rs:67:4
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn parse_benchmark_price(full_report_hex: &str) -> Option<f64> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `http` is never read
[INFO] [stdout]   --> src/chainlink_client/client.rs:81:5
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub struct ChainlinkClient {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] 81 |     http: reqwest::Client,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `price_at`, `cl_price_at`, `binance_price_at`, and `stream_price` are never used
[INFO] [stdout]    --> src/chainlink_client/client.rs:98:18
[INFO] [stdout]     |
[INFO] [stdout]  84 | impl ChainlinkClient {
[INFO] [stdout]     | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  98 |     pub async fn price_at(&self, coin: &str, ts_secs: u64) -> Option<f64> {
[INFO] [stdout]     |                  ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 110 |     async fn cl_price_at(
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 145 |     async fn binance_price_at(&self, coin: &str, ts_secs: u64) -> Option<f64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 162 |     pub async fn stream_price(
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `WebSocket` is never constructed
[INFO] [stdout]  --> src/chainlink_client/error.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum ChainlinkError {
[INFO] [stdout]   |          -------------- variant in this enum
[INFO] [stdout] 5 |     #[error("WebSocket connection failed: {0}")]
[INFO] [stdout] 6 |     WebSocket(String),
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ChainlinkError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `symbol` and `timestamp_ms` are never read
[INFO] [stdout]   --> src/chainlink_client/models.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct ChainlinkTick {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 28 |     pub symbol: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 29 |     /// Millisecond Unix timestamp of the Chainlink observation.
[INFO] [stdout] 30 |     pub timestamp_ms: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ChainlinkTick` 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 `chainlink_api_key` and `chainlink_api_secret` are never read
[INFO] [stdout]   --> src/config.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Config {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub chainlink_api_key: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub chainlink_api_secret: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` 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: function `current_updown_market_slug` is never used
[INFO] [stdout]   --> src/services/polymarket_updown_service.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub fn current_updown_market_slug(coin: &str, window_minutes: u64) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `resolve_outcome` is never used
[INFO] [stdout]    --> src/services/polymarket_updown_service.rs:129:8
[INFO] [stdout]     |
[INFO] [stdout] 129 | pub fn resolve_outcome(event: &GammaEvent) -> Option<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `market` is never read
[INFO] [stdout]   --> src/services/ws_orderbook.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub struct BookSnapshot {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 77 |     pub market: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BookSnapshot` 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`, `side`, `price`, `size`, and `timestamp_ms` are never read
[INFO] [stdout]    --> src/services/ws_orderbook.rs:93:9
[INFO] [stdout]     |
[INFO] [stdout]  90 | pub struct BookUpdate {
[INFO] [stdout]     |            ---------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout]  93 |     pub market: String,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]  94 |     /// `"BUY"` (bid side) or `"SELL"` (ask side).
[INFO] [stdout]  95 |     pub side: String,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout]  96 |     pub price: f64,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout]  97 |     /// New resting size. `0.0` = level removed.
[INFO] [stdout]  98 |     pub size: f64,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout]  99 |     /// Millisecond Unix timestamp from the server.
[INFO] [stdout] 100 |     pub timestamp_ms: u64,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `BookUpdate` 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: function `stream_orderbook` is never used
[INFO] [stdout]    --> src/services/ws_orderbook.rs:121:14
[INFO] [stdout]     |
[INFO] [stdout] 121 | pub async fn stream_orderbook(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `market`, `best_bid`, and `timestamp_ms` are never read
[INFO] [stdout]   --> src/services/ws_updown_beat.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct ClobPriceTick {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 68 |     pub market: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 69 |     /// Current best bid price (0–1, USDC per share).
[INFO] [stdout] 70 |     pub best_bid: f64,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 74 |     pub timestamp_ms: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ClobPriceTick` 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: function `stream_clob_prices` is never used
[INFO] [stdout]    --> src/services/ws_updown_beat.rs:164:14
[INFO] [stdout]     |
[INFO] [stdout] 164 | pub async fn stream_clob_prices(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PrintStrategy` is never constructed
[INFO] [stdout]   --> src/strategies/print.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct PrintStrategy {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `fmt_price`, `on_chainlink`, and `on_clob` are never used
[INFO] [stdout]   --> src/strategies/print.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl PrintStrategy {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 30 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     fn fmt_price(p: f64) -> String {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn on_chainlink(&mut self, tick: &ChainlinkTick) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn on_clob(&mut self, tick: &UpdownTick) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `HmacSha256` is never used
[INFO] [stdout]   --> src/chainlink_client/client.rs:22:6
[INFO] [stdout]    |
[INFO] [stdout] 22 | type HmacSha256 = Hmac<Sha256>;
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CL_REST_BASE` is never used
[INFO] [stdout]   --> src/chainlink_client/client.rs:25:7
[INFO] [stdout]    |
[INFO] [stdout] 25 | const CL_REST_BASE: &str = "https://api.dataengine.chain.link";
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BINANCE_BASE` is never used
[INFO] [stdout]   --> src/chainlink_client/client.rs:26:7
[INFO] [stdout]    |
[INFO] [stdout] 26 | const BINANCE_BASE: &str = "https://api.binance.com/api/v3";
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cl_feed_id` is never used
[INFO] [stdout]   --> src/chainlink_client/client.rs:30:4
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn cl_feed_id(coin: &str) -> &'static str {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `binance_symbol` is never used
[INFO] [stdout]   --> src/chainlink_client/client.rs:39:4
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn binance_symbol(coin: &str) -> &'static str {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cl_sign` is never used
[INFO] [stdout]   --> src/chainlink_client/client.rs:57:4
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn cl_sign(method: &str, path: &str, api_key: &str, api_secret: &str, ts_ms: u64) -> String {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_benchmark_price` is never used
[INFO] [stdout]   --> src/chainlink_client/client.rs:67:4
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn parse_benchmark_price(full_report_hex: &str) -> Option<f64> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `http` is never read
[INFO] [stdout]   --> src/chainlink_client/client.rs:81:5
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub struct ChainlinkClient {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] 81 |     http: reqwest::Client,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `price_at`, `cl_price_at`, `binance_price_at`, and `stream_price` are never used
[INFO] [stdout]    --> src/chainlink_client/client.rs:98:18
[INFO] [stdout]     |
[INFO] [stdout]  84 | impl ChainlinkClient {
[INFO] [stdout]     | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  98 |     pub async fn price_at(&self, coin: &str, ts_secs: u64) -> Option<f64> {
[INFO] [stdout]     |                  ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 110 |     async fn cl_price_at(
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 145 |     async fn binance_price_at(&self, coin: &str, ts_secs: u64) -> Option<f64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 162 |     pub async fn stream_price(
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `WebSocket` is never constructed
[INFO] [stdout]  --> src/chainlink_client/error.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum ChainlinkError {
[INFO] [stdout]   |          -------------- variant in this enum
[INFO] [stdout] 5 |     #[error("WebSocket connection failed: {0}")]
[INFO] [stdout] 6 |     WebSocket(String),
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ChainlinkError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `symbol` and `timestamp_ms` are never read
[INFO] [stdout]   --> src/chainlink_client/models.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct ChainlinkTick {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 28 |     pub symbol: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 29 |     /// Millisecond Unix timestamp of the Chainlink observation.
[INFO] [stdout] 30 |     pub timestamp_ms: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ChainlinkTick` 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 `chainlink_api_key` and `chainlink_api_secret` are never read
[INFO] [stdout]   --> src/config.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Config {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub chainlink_api_key: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub chainlink_api_secret: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` 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: function `current_updown_market_slug` is never used
[INFO] [stdout]   --> src/services/polymarket_updown_service.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub fn current_updown_market_slug(coin: &str, window_minutes: u64) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `resolve_outcome` is never used
[INFO] [stdout]    --> src/services/polymarket_updown_service.rs:129:8
[INFO] [stdout]     |
[INFO] [stdout] 129 | pub fn resolve_outcome(event: &GammaEvent) -> Option<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `market` is never read
[INFO] [stdout]   --> src/services/ws_orderbook.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub struct BookSnapshot {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 77 |     pub market: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BookSnapshot` 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`, `side`, `price`, `size`, and `timestamp_ms` are never read
[INFO] [stdout]    --> src/services/ws_orderbook.rs:93:9
[INFO] [stdout]     |
[INFO] [stdout]  90 | pub struct BookUpdate {
[INFO] [stdout]     |            ---------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout]  93 |     pub market: String,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]  94 |     /// `"BUY"` (bid side) or `"SELL"` (ask side).
[INFO] [stdout]  95 |     pub side: String,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout]  96 |     pub price: f64,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout]  97 |     /// New resting size. `0.0` = level removed.
[INFO] [stdout]  98 |     pub size: f64,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout]  99 |     /// Millisecond Unix timestamp from the server.
[INFO] [stdout] 100 |     pub timestamp_ms: u64,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `BookUpdate` 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: function `stream_orderbook` is never used
[INFO] [stdout]    --> src/services/ws_orderbook.rs:121:14
[INFO] [stdout]     |
[INFO] [stdout] 121 | pub async fn stream_orderbook(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `market`, `best_bid`, and `timestamp_ms` are never read
[INFO] [stdout]   --> src/services/ws_updown_beat.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct ClobPriceTick {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 68 |     pub market: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 69 |     /// Current best bid price (0–1, USDC per share).
[INFO] [stdout] 70 |     pub best_bid: f64,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 74 |     pub timestamp_ms: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ClobPriceTick` 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: function `stream_clob_prices` is never used
[INFO] [stdout]    --> src/services/ws_updown_beat.rs:164:14
[INFO] [stdout]     |
[INFO] [stdout] 164 | pub async fn stream_clob_prices(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PrintStrategy` is never constructed
[INFO] [stdout]   --> src/strategies/print.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct PrintStrategy {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `fmt_price`, `on_chainlink`, and `on_clob` are never used
[INFO] [stdout]   --> src/strategies/print.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl PrintStrategy {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 30 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     fn fmt_price(p: f64) -> String {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn on_chainlink(&mut self, tick: &ChainlinkTick) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn on_clob(&mut self, tick: &UpdownTick) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s
[INFO] running `Command { std: "docker" "inspect" "d2bc9de02dbc5641967bb4e7550b72f7020ded23482ac421be3652dc3a0bb849", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d2bc9de02dbc5641967bb4e7550b72f7020ded23482ac421be3652dc3a0bb849", kill_on_drop: false }`
[INFO] [stdout] d2bc9de02dbc5641967bb4e7550b72f7020ded23482ac421be3652dc3a0bb849
