[INFO] cloning repository https://github.com/mkrfsbri/PolyMMRF
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mkrfsbri/PolyMMRF" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmkrfsbri%2FPolyMMRF", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmkrfsbri%2FPolyMMRF'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6c51cc4178c29d1072adfc39c88ddfde48036357
[INFO] checking mkrfsbri/PolyMMRF against try#50f413885985a8b0a0b6ca0766a0aedd45304953 for pr-155657
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmkrfsbri%2FPolyMMRF" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mkrfsbri/PolyMMRF
[INFO] finished tweaking git repo https://github.com/mkrfsbri/PolyMMRF
[INFO] tweaked toml for git repo https://github.com/mkrfsbri/PolyMMRF written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mkrfsbri/PolyMMRF on toolchain 50f413885985a8b0a0b6ca0766a0aedd45304953
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mkrfsbri/PolyMMRF 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" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 37f3b1918c96234b4d407e9763fce2f553ae6a2fa6ec25a1db2a37b2353fbab9
[INFO] running `Command { std: "docker" "start" "-a" "37f3b1918c96234b4d407e9763fce2f553ae6a2fa6ec25a1db2a37b2353fbab9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "37f3b1918c96234b4d407e9763fce2f553ae6a2fa6ec25a1db2a37b2353fbab9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "37f3b1918c96234b4d407e9763fce2f553ae6a2fa6ec25a1db2a37b2353fbab9", kill_on_drop: false }`
[INFO] [stdout] 37f3b1918c96234b4d407e9763fce2f553ae6a2fa6ec25a1db2a37b2353fbab9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] de239227d738e89fa091aae2e50da4449eb174ba6d48c1b10ee75e1dc6798380
[INFO] running `Command { std: "docker" "start" "-a" "de239227d738e89fa091aae2e50da4449eb174ba6d48c1b10ee75e1dc6798380", kill_on_drop: false }`
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]     Checking itoa v1.0.17
[INFO] [stderr]     Checking const-oid v0.9.6
[INFO] [stderr]     Checking foldhash v0.2.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling ruint-macro v1.2.1
[INFO] [stderr]    Compiling convert_case v0.10.0
[INFO] [stderr]     Checking arrayvec v0.7.6
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking base16ct v0.2.0
[INFO] [stderr]    Compiling alloy-rlp-derive v0.3.13
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking keccak v0.1.6
[INFO] [stderr]     Checking der v0.7.10
[INFO] [stderr]     Checking const-hex v1.18.1
[INFO] [stderr]     Checking rustc-hash v2.1.1
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling cc v1.2.57
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]     Checking hashbrown v0.16.1
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking ff v0.13.1
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling derive_more-impl v2.1.1
[INFO] [stderr]    Compiling winnow v0.7.15
[INFO] [stderr]     Checking group v0.13.0
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]    Compiling tokio-macros v2.6.1
[INFO] [stderr]     Checking bytes v1.11.1
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking mio v1.1.1
[INFO] [stderr]    Compiling syn-solidity v1.5.7
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]    Compiling macro-string v0.1.4
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-bigint v0.5.5
[INFO] [stderr]     Checking alloy-rlp v0.3.13
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking tokio v1.50.0
[INFO] [stderr]     Checking alloy-sol-type-parser v1.5.7
[INFO] [stderr]     Checking sec1 v0.7.3
[INFO] [stderr]     Checking spki v0.7.3
[INFO] [stderr]     Checking ruint v1.17.2
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]     Checking rfc6979 v0.4.0
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking sha3 v0.10.8
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]    Compiling darling_core v0.23.0
[INFO] [stderr]    Compiling auto_impl v1.3.0
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]     Checking crc v3.4.0
[INFO] [stderr]     Checking indexmap v2.13.0
[INFO] [stderr]     Checking bitflags v2.11.0
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking nybbles v0.4.8
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking itertools v0.14.0
[INFO] [stderr]    Compiling rustls v0.23.37
[INFO] [stderr]    Compiling zerocopy v0.8.42
[INFO] [stderr]     Checking futures-utils-wasm v0.1.0
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking iri-string v0.7.10
[INFO] [stderr]    Compiling openssl-sys v0.9.112
[INFO] [stderr]     Checking elliptic-curve v0.13.8
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking ecdsa v0.16.9
[INFO] [stderr]    Compiling strum_macros v0.27.2
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]     Checking k256 v0.13.4
[INFO] [stderr]    Compiling openssl v0.10.76
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]    Compiling num_enum_derive v0.7.6
[INFO] [stderr]    Compiling pin-project-internal v1.1.11
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling darling_core v0.21.3
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]     Checking dashmap v6.1.0
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]     Checking num_enum v0.7.6
[INFO] [stderr]     Checking lru v0.16.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]    Compiling rust_decimal v1.40.0
[INFO] [stderr]     Checking getrandom v0.4.2
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking pin-project v1.1.11
[INFO] [stderr]     Checking tracing-serde v0.2.0
[INFO] [stderr]     Checking uuid v1.22.0
[INFO] [stderr]    Compiling rust_decimal_macros v1.40.0
[INFO] [stderr]     Checking strum v0.27.2
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]     Checking derive_more v2.1.1
[INFO] [stderr]    Compiling alloy-primitives v1.5.7
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking chrono v0.4.44
[INFO] [stderr]    Compiling darling_macro v0.23.0
[INFO] [stderr]    Compiling darling v0.23.0
[INFO] [stderr]    Compiling serde_with_macros v3.18.0
[INFO] [stderr]    Compiling darling_macro v0.21.3
[INFO] [stderr]    Compiling darling v0.21.3
[INFO] [stderr]    Compiling alloy-tx-macros v1.7.3
[INFO] [stderr]     Checking futures-executor v0.3.32
[INFO] [stderr]    Compiling alloy-json-abi v1.5.7
[INFO] [stderr]     Checking futures v0.3.32
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking serde_with v3.18.0
[INFO] [stderr]     Checking alloy-eip2124 v0.2.0
[INFO] [stderr]     Checking alloy-eip7702 v0.6.3
[INFO] [stderr]     Checking alloy-eip2930 v0.2.3
[INFO] [stderr]     Checking alloy-eip7928 v0.3.3
[INFO] [stderr]     Checking alloy-serde v1.7.3
[INFO] [stderr]     Checking alloy-trie v0.9.5
[INFO] [stderr]     Checking alloy-chains v0.2.31
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking rustls-webpki v0.103.9
[INFO] [stderr]     Checking tower-http v0.6.8
[INFO] [stderr]     Checking h2 v0.4.13
[INFO] [stderr]     Checking tokio-stream v0.1.18
[INFO] [stderr]    Compiling alloy-sol-macro-input v1.5.7
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling alloy-sol-macro-expander v1.5.7
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking alloy-eips v1.7.3
[INFO] [stderr]     Checking tungstenite v0.24.0
[INFO] [stderr]     Checking tokio-tungstenite v0.24.0
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking alloy-consensus v1.7.3
[INFO] [stderr]    Compiling alloy-sol-macro v1.5.7
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking alloy-sol-types v1.5.7
[INFO] [stderr]     Checking hyper-rustls v0.27.7
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.28
[INFO] [stderr]     Checking alloy-consensus-any v1.7.3
[INFO] [stderr]     Checking alloy-network-primitives v1.7.3
[INFO] [stderr]     Checking alloy-json-rpc v1.7.3
[INFO] [stderr]     Checking alloy-dyn-abi v1.5.7
[INFO] [stderr]     Checking alloy-rpc-types-eth v1.7.3
[INFO] [stderr]     Checking alloy-transport v1.7.3
[INFO] [stderr]     Checking alloy-transport-http v1.7.3
[INFO] [stderr]     Checking alloy-signer v1.7.3
[INFO] [stderr]     Checking alloy-core v1.5.7
[INFO] [stderr]     Checking alloy-rpc-client v1.7.3
[INFO] [stderr]     Checking alloy-rpc-types-any v1.7.3
[INFO] [stderr]     Checking alloy-rpc-types v1.7.3
[INFO] [stderr]     Checking alloy-network v1.7.3
[INFO] [stderr]     Checking alloy-provider v1.7.3
[INFO] [stderr]     Checking alloy-signer-local v1.7.3
[INFO] [stderr]     Checking alloy-contract v1.7.3
[INFO] [stderr]     Checking alloy v1.7.3
[INFO] [stderr]     Checking mm-bot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: value assigned to `market_done` is never read
[INFO] [stdout]    --> src/strategy/market_making.rs:130:29
[INFO] [stdout]     |
[INFO] [stdout] 130 | ...                   market_done = true;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 185 | ...                           market_done = true;
[INFO] [stdout]     |                               ------------------ `market_done` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `market_done` is never read
[INFO] [stdout]    --> src/strategy/market_making.rs:130:29
[INFO] [stdout]     |
[INFO] [stdout] 130 | ...                   market_done = true;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 185 | ...                           market_done = true;
[INFO] [stdout]     |                               ------------------ `market_done` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_polymarket_feed` is never used
[INFO] [stdout]    --> src/data/mod.rs:203:14
[INFO] [stdout]     |
[INFO] [stdout] 203 | pub async fn run_polymarket_feed(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_orderbook_message` is never used
[INFO] [stdout]    --> src/data/mod.rs:273:4
[INFO] [stdout]     |
[INFO] [stdout] 273 | fn parse_orderbook_message(text: &str) -> Option<(String, OrderBook)> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fetch_orderbook_rest` is never used
[INFO] [stdout]    --> src/data/mod.rs:323:14
[INFO] [stdout]     |
[INFO] [stdout] 323 | pub async fn fetch_orderbook_rest(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `cancel_and_replace` and `orders_for_outcome` are never used
[INFO] [stdout]    --> src/execution/mod.rs:334:18
[INFO] [stdout]     |
[INFO] [stdout]  26 | impl ExecutionEngine {
[INFO] [stdout]     | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 334 |     pub async fn cancel_and_replace(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 343 |     pub fn orders_for_outcome(&self, outcome: Outcome) -> Vec<ActiveOrder> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SAFE_FACTORY` is never used
[INFO] [stdout]   --> src/execution/signing.rs:28:11
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub const SAFE_FACTORY: &str = "0xa6B71E26C5e0845f74c812102Ca7114b6a896AB2";
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `normalize_price` is never used
[INFO] [stdout]    --> src/execution/signing.rs:275:8
[INFO] [stdout]     |
[INFO] [stdout] 275 | pub fn normalize_price(price: Decimal, tick_size: Decimal) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_taker_fee` is never used
[INFO] [stdout]    --> src/execution/signing.rs:330:8
[INFO] [stdout]     |
[INFO] [stdout] 330 | pub fn calculate_taker_fee(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `estimate_maker_rebate` is never used
[INFO] [stdout]    --> src/execution/signing.rs:342:8
[INFO] [stdout]     |
[INFO] [stdout] 342 | pub fn estimate_maker_rebate(taker_fee: Decimal) -> Decimal {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_next_slug` is never used
[INFO] [stdout]   --> src/market_discovery/mod.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn calculate_next_slug(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `time_remaining` is never used
[INFO] [stdout]   --> src/market_discovery/mod.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub fn time_remaining(market_type: MarketType, now_ts: i64) -> i64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_fee_rate` is never used
[INFO] [stdout]    --> src/market_discovery/mod.rs:483:18
[INFO] [stdout]     |
[INFO] [stdout]  56 | impl MarketDiscovery {
[INFO] [stdout]     | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 483 |     pub async fn get_fee_rate(&self, token_id: &str) -> u32 {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TradeLogger` is never constructed
[INFO] [stdout]  --> src/monitoring/trade_logger.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct TradeLogger {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `log_order`, and `log_settlement` are never used
[INFO] [stdout]   --> src/monitoring/trade_logger.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl TradeLogger {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 16 |     pub fn new(output_dir: &str) -> Result<Self> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn log_order(
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |     pub fn log_settlement(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `inventory_skew_adjustment` and `reset_daily` are never used
[INFO] [stdout]    --> src/risk/mod.rs:166:12
[INFO] [stdout]     |
[INFO] [stdout]  72 | impl RiskEngine {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 166 |     pub fn inventory_skew_adjustment(&self) -> (Decimal, Decimal) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 201 |     pub fn reset_daily(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `up_ask` and `down_ask` are never read
[INFO] [stdout]   --> src/strategy/market_making.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct QuotePair {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 19 |     pub up_bid: Decimal,
[INFO] [stdout] 20 |     pub up_ask: Decimal,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 21 |     pub down_bid: Decimal,
[INFO] [stdout] 22 |     pub down_ask: Decimal,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `QuotePair` 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: associated function `time_to_settlement` is never used
[INFO] [stdout]    --> src/strategy/market_making.rs:479:12
[INFO] [stdout]     |
[INFO] [stdout]  45 | impl MarketMakingStrategy {
[INFO] [stdout]     | ------------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 479 |     pub fn time_to_settlement(market: &Market) -> i64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `order_id`, `token_id`, and `price` are never read
[INFO] [stdout]   --> src/strategy/sim_fills.rs:9:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct SimFill {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout]  9 |     pub order_id: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 10 |     pub token_id: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub price: Decimal,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SimFill` 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 `opposite` is never used
[INFO] [stdout]   --> src/types.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl Outcome {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] 29 |     pub fn opposite(self) -> Self {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `token_id` is never used
[INFO] [stdout]   --> src/types.rs:90:12
[INFO] [stdout]    |
[INFO] [stdout] 89 | impl Market {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] 90 |     pub fn token_id(&self, outcome: Outcome) -> &str {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `mid_price` and `spread` are never used
[INFO] [stdout]    --> src/types.rs:143:12
[INFO] [stdout]     |
[INFO] [stdout] 134 | impl OrderBook {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 143 |     pub fn mid_price(&self) -> Option<Decimal> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 149 |     pub fn spread(&self) -> Option<Decimal> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `OrderBookUpdate` and `MarketResolved` are never constructed
[INFO] [stdout]    --> src/types.rs:208:5
[INFO] [stdout]     |
[INFO] [stdout] 206 | pub enum DataEvent {
[INFO] [stdout]     |          --------- variants in this enum
[INFO] [stdout] 207 |     PriceUpdate(BtcPrice),
[INFO] [stdout] 208 |     OrderBookUpdate {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 212 |     MarketResolved {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `DataEvent` 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 `resume`, `reset_daily`, and `reset_inventory` are never used
[INFO] [stdout]    --> src/types.rs:347:12
[INFO] [stdout]     |
[INFO] [stdout] 244 | impl BotState {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 347 |     pub fn resume(&self) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 351 |     pub fn reset_daily(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 357 |     pub fn reset_inventory(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_polymarket_feed` is never used
[INFO] [stdout]    --> src/data/mod.rs:203:14
[INFO] [stdout]     |
[INFO] [stdout] 203 | pub async fn run_polymarket_feed(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_orderbook_message` is never used
[INFO] [stdout]    --> src/data/mod.rs:273:4
[INFO] [stdout]     |
[INFO] [stdout] 273 | fn parse_orderbook_message(text: &str) -> Option<(String, OrderBook)> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fetch_orderbook_rest` is never used
[INFO] [stdout]    --> src/data/mod.rs:323:14
[INFO] [stdout]     |
[INFO] [stdout] 323 | pub async fn fetch_orderbook_rest(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `cancel_and_replace` and `orders_for_outcome` are never used
[INFO] [stdout]    --> src/execution/mod.rs:334:18
[INFO] [stdout]     |
[INFO] [stdout]  26 | impl ExecutionEngine {
[INFO] [stdout]     | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 334 |     pub async fn cancel_and_replace(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 343 |     pub fn orders_for_outcome(&self, outcome: Outcome) -> Vec<ActiveOrder> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SAFE_FACTORY` is never used
[INFO] [stdout]   --> src/execution/signing.rs:28:11
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub const SAFE_FACTORY: &str = "0xa6B71E26C5e0845f74c812102Ca7114b6a896AB2";
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_fee_rate` is never used
[INFO] [stdout]    --> src/market_discovery/mod.rs:483:18
[INFO] [stdout]     |
[INFO] [stdout]  56 | impl MarketDiscovery {
[INFO] [stdout]     | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 483 |     pub async fn get_fee_rate(&self, token_id: &str) -> u32 {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TradeLogger` is never constructed
[INFO] [stdout]  --> src/monitoring/trade_logger.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct TradeLogger {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `log_order`, and `log_settlement` are never used
[INFO] [stdout]   --> src/monitoring/trade_logger.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl TradeLogger {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 16 |     pub fn new(output_dir: &str) -> Result<Self> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn log_order(
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |     pub fn log_settlement(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `reset_daily` is never used
[INFO] [stdout]    --> src/risk/mod.rs:201:12
[INFO] [stdout]     |
[INFO] [stdout]  72 | impl RiskEngine {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 201 |     pub fn reset_daily(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `down_ask` is never read
[INFO] [stdout]   --> src/strategy/market_making.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct QuotePair {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub down_ask: Decimal,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `QuotePair` 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: associated function `time_to_settlement` is never used
[INFO] [stdout]    --> src/strategy/market_making.rs:479:12
[INFO] [stdout]     |
[INFO] [stdout]  45 | impl MarketMakingStrategy {
[INFO] [stdout]     | ------------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 479 |     pub fn time_to_settlement(market: &Market) -> i64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `order_id`, `token_id`, and `price` are never read
[INFO] [stdout]   --> src/strategy/sim_fills.rs:9:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct SimFill {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout]  9 |     pub order_id: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 10 |     pub token_id: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub price: Decimal,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SimFill` 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 `opposite` is never used
[INFO] [stdout]   --> src/types.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl Outcome {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] 29 |     pub fn opposite(self) -> Self {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `token_id` is never used
[INFO] [stdout]   --> src/types.rs:90:12
[INFO] [stdout]    |
[INFO] [stdout] 89 | impl Market {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] 90 |     pub fn token_id(&self, outcome: Outcome) -> &str {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `mid_price` and `spread` are never used
[INFO] [stdout]    --> src/types.rs:143:12
[INFO] [stdout]     |
[INFO] [stdout] 134 | impl OrderBook {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 143 |     pub fn mid_price(&self) -> Option<Decimal> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 149 |     pub fn spread(&self) -> Option<Decimal> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `OrderBookUpdate` and `MarketResolved` are never constructed
[INFO] [stdout]    --> src/types.rs:208:5
[INFO] [stdout]     |
[INFO] [stdout] 206 | pub enum DataEvent {
[INFO] [stdout]     |          --------- variants in this enum
[INFO] [stdout] 207 |     PriceUpdate(BtcPrice),
[INFO] [stdout] 208 |     OrderBookUpdate {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 212 |     MarketResolved {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `DataEvent` 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 `resume`, `reset_daily`, and `reset_inventory` are never used
[INFO] [stdout]    --> src/types.rs:347:12
[INFO] [stdout]     |
[INFO] [stdout] 244 | impl BotState {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 347 |     pub fn resume(&self) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 351 |     pub fn reset_daily(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 357 |     pub fn reset_inventory(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 16s
[INFO] running `Command { std: "docker" "inspect" "de239227d738e89fa091aae2e50da4449eb174ba6d48c1b10ee75e1dc6798380", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "de239227d738e89fa091aae2e50da4449eb174ba6d48c1b10ee75e1dc6798380", kill_on_drop: false }`
[INFO] [stdout] de239227d738e89fa091aae2e50da4449eb174ba6d48c1b10ee75e1dc6798380
