[INFO] cloning repository https://github.com/loco306/polyeth-15
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/loco306/polyeth-15" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floco306%2Fpolyeth-15", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floco306%2Fpolyeth-15'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d30eeeb99d2c78a1fb64d8728ef1b716d6e16c07
[INFO] checking loco306/polyeth-15 against master#df1ae0f7dd168513de2d89beb2cb7a95d4fdc118 for pr-159343
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floco306%2Fpolyeth-15" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/loco306/polyeth-15
[INFO] finished tweaking git repo https://github.com/loco306/polyeth-15
[INFO] tweaked toml for git repo https://github.com/loco306/polyeth-15 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/loco306/polyeth-15 on toolchain df1ae0f7dd168513de2d89beb2cb7a95d4fdc118
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+df1ae0f7dd168513de2d89beb2cb7a95d4fdc118" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/loco306/polyeth-15 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" "+df1ae0f7dd168513de2d89beb2cb7a95d4fdc118" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded polymarket-client-sdk v0.3.3
[INFO] [stderr]   Downloaded alloy-trie v0.9.3
[INFO] [stderr]   Downloaded bon v3.8.2
[INFO] [stderr]   Downloaded alloy v1.5.2
[INFO] [stderr]   Downloaded nybbles v0.4.7
[INFO] [stderr]   Downloaded bon-macros v3.8.2
[INFO] [stderr]   Downloaded alloy-primitives v1.5.4
[INFO] [stderr]   Downloaded rapidhash v4.2.1
[INFO] [stderr]   Downloaded alloy-transport-ws v1.5.2
[INFO] [stderr]   Downloaded alloy-sol-macro v1.5.4
[INFO] [stderr]   Downloaded alloy-transport v1.5.2
[INFO] [stderr]   Downloaded alloy-sol-types v1.5.4
[INFO] [stderr]   Downloaded alloy-sol-type-parser v1.5.4
[INFO] [stderr]   Downloaded alloy-json-rpc v1.5.2
[INFO] [stderr]   Downloaded alloy-sol-macro-input v1.5.4
[INFO] [stderr]   Downloaded alloy-json-abi v1.5.4
[INFO] [stderr]   Downloaded alloy-pubsub v1.5.2
[INFO] [stderr]   Downloaded alloy-sol-macro-expander v1.5.4
[INFO] [stderr]   Downloaded syn-solidity v1.5.4
[INFO] [stderr]   Downloaded alloy-transport-ipc v1.5.2
[INFO] [stderr]   Downloaded alloy-transport-http v1.5.2
[INFO] [stderr]   Downloaded alloy-signer v1.5.2
[INFO] [stderr]   Downloaded alloy-network v1.5.2
[INFO] [stderr]   Downloaded alloy-network-primitives v1.5.2
[INFO] [stderr]   Downloaded alloy-signer-local v1.5.2
[INFO] [stderr]   Downloaded alloy-serde v1.5.2
[INFO] [stderr]   Downloaded alloy-rpc-types-eth v1.5.2
[INFO] [stderr]   Downloaded alloy-eips v1.5.2
[INFO] [stderr]   Downloaded alloy-rpc-types v1.5.2
[INFO] [stderr]   Downloaded alloy-consensus v1.5.2
[INFO] [stderr]   Downloaded alloy-tx-macros v1.5.2
[INFO] [stderr]   Downloaded alloy-consensus-any v1.5.2
[INFO] [stderr]   Downloaded alloy-rpc-types-any v1.5.2
[INFO] [stderr]   Downloaded alloy-rpc-types-txpool v1.5.2
[INFO] [stderr]   Downloaded alloy-rpc-types-trace v1.5.2
[INFO] [stderr]   Downloaded alloy-rpc-types-debug v1.5.2
[INFO] [stderr]   Downloaded alloy-rpc-types-engine v1.5.2
[INFO] [stderr]   Downloaded alloy-rpc-types-anvil v1.5.2
[INFO] [stderr]   Downloaded alloy-core v1.5.4
[INFO] [stderr]   Downloaded alloy-rpc-client v1.5.2
[INFO] [stderr]   Downloaded alloy-genesis v1.5.2
[INFO] [stderr]   Downloaded alloy-dyn-abi v1.5.4
[INFO] [stderr]   Downloaded alloy-contract v1.5.2
[INFO] [stderr]   Downloaded alloy-provider v1.5.2
[INFO] [stderr]   Downloaded clap v4.5.56
[INFO] [stderr]   Downloaded clap_builder v4.5.56
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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] 8c7f402edd10167d16f6f842a5ff79e37bf85cce5f27eb4e41d297a3bcdb299d
[INFO] running `Command { std: "docker" "start" "8c7f402edd10167d16f6f842a5ff79e37bf85cce5f27eb4e41d297a3bcdb299d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8c7f402edd10167d16f6f842a5ff79e37bf85cce5f27eb4e41d297a3bcdb299d", 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" "8c7f402edd10167d16f6f842a5ff79e37bf85cce5f27eb4e41d297a3bcdb299d" "/opt/rustwide/cargo-home/bin/cargo" "+df1ae0f7dd168513de2d89beb2cb7a95d4fdc118" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8c7f402edd10167d16f6f842a5ff79e37bf85cce5f27eb4e41d297a3bcdb299d", 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" "8c7f402edd10167d16f6f842a5ff79e37bf85cce5f27eb4e41d297a3bcdb299d" "/opt/rustwide/cargo-home/bin/cargo" "+df1ae0f7dd168513de2d89beb2cb7a95d4fdc118" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.180
[INFO] [stderr]     Checking foldhash v0.2.0
[INFO] [stderr]    Compiling convert_case v0.10.0
[INFO] [stderr]    Compiling ruint-macro v1.2.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking keccak v0.1.5
[INFO] [stderr]     Checking const-hex v1.17.0
[INFO] [stderr]     Checking rustc-hash v2.1.1
[INFO] [stderr]    Compiling zeroize_derive v1.4.3
[INFO] [stderr]    Compiling alloy-rlp-derive v0.3.13
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]     Checking thiserror v2.0.18
[INFO] [stderr]     Checking hashbrown v0.16.1
[INFO] [stderr]    Compiling itoa v1.0.17
[INFO] [stderr]    Compiling zmij v1.0.19
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling derive_more-impl v2.1.1
[INFO] [stderr]    Compiling ruint v1.17.2
[INFO] [stderr]    Compiling winnow v0.7.14
[INFO] [stderr]    Compiling macro-string v0.1.4
[INFO] [stderr]    Compiling syn-solidity v1.5.4
[INFO] [stderr]     Checking bytes v1.11.0
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking serdect v0.2.0
[INFO] [stderr]     Checking arrayvec v0.7.6
[INFO] [stderr]     Checking zeroize v1.8.2
[INFO] [stderr]     Checking der v0.7.10
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]    Compiling auto_impl v1.3.0
[INFO] [stderr]     Checking alloy-rlp v0.3.13
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling cc v1.2.55
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling darling_core v0.21.3
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling sha3 v0.10.8
[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]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking rfc6979 v0.4.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking spki v0.7.3
[INFO] [stderr]     Checking sec1 v0.7.3
[INFO] [stderr]     Checking ff v0.13.1
[INFO] [stderr]     Checking crypto-bigint v0.5.5
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]     Checking socket2 v0.6.2
[INFO] [stderr]     Checking mio v1.1.1
[INFO] [stderr]     Checking pkcs8 v0.10.2
[INFO] [stderr]     Checking group v0.13.0
[INFO] [stderr]    Compiling alloy-sol-type-parser v1.5.4
[INFO] [stderr]    Compiling cmake v0.1.57
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]     Checking rustls-pki-types v1.14.0
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking chrono v0.4.43
[INFO] [stderr]     Checking threadpool v1.8.1
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]    Compiling zerocopy v0.8.37
[INFO] [stderr]     Checking crc v3.4.0
[INFO] [stderr]     Checking nybbles v0.4.7
[INFO] [stderr]     Checking indexmap v2.13.0
[INFO] [stderr]    Compiling rustls v0.23.36
[INFO] [stderr]     Checking tokio v1.49.0
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking icu_properties v2.1.2
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]     Checking itertools v0.14.0
[INFO] [stderr]     Checking webpki-roots v1.0.5
[INFO] [stderr]     Checking futures-utils-wasm v0.1.0
[INFO] [stderr]     Checking rand_core v0.9.5
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]    Compiling aws-lc-sys v0.37.0
[INFO] [stderr]     Checking elliptic-curve v0.13.8
[INFO] [stderr]    Compiling blst v0.3.16
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling c-kzg v2.1.5
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]     Checking ecdsa v0.16.9
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking bimap v0.6.3
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking webpki-roots v0.26.11
[INFO] [stderr]    Compiling doctest-file v1.0.0
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]    Compiling strum_macros v0.27.2
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking k256 v0.13.4
[INFO] [stderr]    Compiling num_enum_derive v0.7.5
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling siphasher v1.0.2
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]    Compiling phf_shared v0.13.1
[INFO] [stderr]     Checking dashmap v6.1.0
[INFO] [stderr]    Compiling darling_macro v0.23.0
[INFO] [stderr]    Compiling darling_macro v0.21.3
[INFO] [stderr]     Checking lru v0.16.3
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]     Checking derive_more v2.1.1
[INFO] [stderr]     Checking rustls-native-certs v0.8.3
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]    Compiling darling v0.23.0
[INFO] [stderr]    Compiling prettyplease v0.2.37
[INFO] [stderr]    Compiling alloy-primitives v1.5.4
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]    Compiling darling v0.21.3
[INFO] [stderr]     Checking num_enum v0.7.5
[INFO] [stderr]    Compiling phf_generator v0.13.1
[INFO] [stderr]    Compiling serde_with_macros v3.16.1
[INFO] [stderr]    Compiling alloy-tx-macros v1.5.2
[INFO] [stderr]    Compiling rust_decimal v1.40.0
[INFO] [stderr]    Compiling phf_macros v0.13.1
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]     Checking clap_lex v0.7.7
[INFO] [stderr]     Checking clap_builder v4.5.56
[INFO] [stderr]     Checking alloy-json-abi v1.5.4
[INFO] [stderr]     Checking alloy-eip2124 v0.2.0
[INFO] [stderr]     Checking alloy-eip2930 v0.2.3
[INFO] [stderr]     Checking alloy-serde v1.5.2
[INFO] [stderr]     Checking serde_with v3.16.1
[INFO] [stderr]     Checking alloy-eip7702 v0.6.3
[INFO] [stderr]     Checking alloy-eip7928 v0.3.2
[INFO] [stderr]     Checking alloy-trie v0.9.3
[INFO] [stderr]     Checking alloy-signer v1.5.2
[INFO] [stderr]    Compiling bon-macros v3.8.2
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking phf v0.13.1
[INFO] [stderr]     Checking uuid v1.20.0
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking interprocess v2.2.3
[INFO] [stderr]     Checking strum v0.27.2
[INFO] [stderr]     Checking secrecy v0.10.3
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking alloy-chains v0.2.30
[INFO] [stderr]    Compiling clap_derive v4.5.55
[INFO] [stderr]    Compiling serde_repr v0.1.20
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking regex v1.12.2
[INFO] [stderr]    Compiling rust_decimal_macros v1.40.0
[INFO] [stderr]    Compiling alloy-sol-macro-input v1.5.4
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking h2 v0.4.13
[INFO] [stderr]     Checking tokio-stream v0.1.18
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking tower-http v0.6.8
[INFO] [stderr]     Checking env_filter v0.1.4
[INFO] [stderr]    Compiling alloy-sol-macro-expander v1.5.4
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking jiff v0.2.18
[INFO] [stderr]     Checking tungstenite v0.21.0
[INFO] [stderr]     Checking tokio-tungstenite v0.21.0
[INFO] [stderr]     Checking alloy-eips v1.5.2
[INFO] [stderr]     Checking alloy-rpc-types-debug v1.5.2
[INFO] [stderr]     Checking clap v4.5.56
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking hyper-util v0.1.19
[INFO] [stderr]     Checking alloy-consensus v1.5.2
[INFO] [stderr]     Checking bon v3.8.2
[INFO] [stderr]    Compiling alloy-sol-macro v1.5.4
[INFO] [stderr]     Checking alloy-sol-types v1.5.4
[INFO] [stderr]     Checking env_logger v0.11.8
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking alloy-network-primitives v1.5.2
[INFO] [stderr]     Checking alloy-consensus-any v1.5.2
[INFO] [stderr]     Checking alloy-json-rpc v1.5.2
[INFO] [stderr]     Checking alloy-rpc-types-eth v1.5.2
[INFO] [stderr]     Checking alloy-dyn-abi v1.5.4
[INFO] [stderr]     Checking alloy-core v1.5.4
[INFO] [stderr]     Checking alloy-transport v1.5.2
[INFO] [stderr]     Checking alloy-pubsub v1.5.2
[INFO] [stderr]     Checking alloy-transport-ipc v1.5.2
[INFO] [stderr]     Checking alloy-rpc-types-any v1.5.2
[INFO] [stderr]     Checking alloy-rpc-types-anvil v1.5.2
[INFO] [stderr]     Checking alloy-rpc-types-trace v1.5.2
[INFO] [stderr]     Checking alloy-rpc-types-txpool v1.5.2
[INFO] [stderr]     Checking alloy-network v1.5.2
[INFO] [stderr]     Checking alloy-signer-local v1.5.2
[INFO] [stderr]    Compiling aws-lc-rs v1.15.4
[INFO] [stderr]     Checking alloy-rpc-types v1.5.2
[INFO] [stderr]     Checking rustls-webpki v0.103.9
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]     Checking tungstenite v0.26.2
[INFO] [stderr]     Checking rustls-platform-verifier v0.6.2
[INFO] [stderr]     Checking hyper-rustls v0.27.7
[INFO] [stderr]     Checking tokio-tungstenite v0.26.2
[INFO] [stderr]     Checking reqwest v0.12.28
[INFO] [stderr]     Checking reqwest v0.13.1
[INFO] [stderr]     Checking alloy-transport-ws v1.5.2
[INFO] [stderr]     Checking alloy-transport-http v1.5.2
[INFO] [stderr]     Checking alloy-rpc-client v1.5.2
[INFO] [stderr]     Checking alloy-provider v1.5.2
[INFO] [stderr]     Checking alloy-contract v1.5.2
[INFO] [stderr]     Checking alloy v1.5.2
[INFO] [stderr]     Checking polymarket-client-sdk v0.3.3
[INFO] [stderr]     Checking polyeth-15-bot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]   --> src/api.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 | use log::{warn, info, error};
[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 imports: `Address as AlloyAddressPrimitive` and `Bytes`
[INFO] [stdout]   --> src/api.rs:24:25
[INFO] [stdout]    |
[INFO] [stdout] 24 | use alloy::primitives::{Address as AlloyAddressPrimitive, B256, U256, Bytes};
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `alloy::rpc::types::eth::TransactionRequest`
[INFO] [stdout]   --> src/api.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use alloy::rpc::types::eth::TransactionRequest;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> src/monitor.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | use log::{debug, info, warn};
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sleep`
[INFO] [stdout]  --> src/monitor.rs:6:19
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tokio::time::{sleep, Duration};
[INFO] [stdout]   |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rust_decimal::Decimal`
[INFO] [stdout]  --> src/simulation.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rust_decimal::Decimal;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> src/simulation.rs:386:37
[INFO] [stdout]     |
[INFO] [stdout] 386 | ...                   ((order.target_price - ask_f64) / order.target_price * 100.0)
[INFO] [stdout]     |                       ^                                                           ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 386 -                                     ((order.target_price - ask_f64) / order.target_price * 100.0)
[INFO] [stdout] 386 +                                     (order.target_price - ask_f64) / order.target_price * 100.0
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::monitor::MarketSnapshot`
[INFO] [stdout]  --> src/trader.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::monitor::MarketSnapshot;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]   --> src/trader.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::str::FromStr;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]   --> src/api.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 | use log::{warn, info, error};
[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 imports: `Address as AlloyAddressPrimitive` and `Bytes`
[INFO] [stdout]   --> src/api.rs:24:25
[INFO] [stdout]    |
[INFO] [stdout] 24 | use alloy::primitives::{Address as AlloyAddressPrimitive, B256, U256, Bytes};
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `alloy::rpc::types::eth::TransactionRequest`
[INFO] [stdout]   --> src/api.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use alloy::rpc::types::eth::TransactionRequest;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> src/monitor.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | use log::{debug, info, warn};
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sleep`
[INFO] [stdout]  --> src/monitor.rs:6:19
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tokio::time::{sleep, Duration};
[INFO] [stdout]   |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rust_decimal::Decimal`
[INFO] [stdout]  --> src/simulation.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rust_decimal::Decimal;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> src/simulation.rs:386:37
[INFO] [stdout]     |
[INFO] [stdout] 386 | ...                   ((order.target_price - ask_f64) / order.target_price * 100.0)
[INFO] [stdout]     |                       ^                                                           ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 386 -                                     ((order.target_price - ask_f64) / order.target_price * 100.0)
[INFO] [stdout] 386 +                                     (order.target_price - ask_f64) / order.target_price * 100.0
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::monitor::MarketSnapshot`
[INFO] [stdout]  --> src/trader.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::monitor::MarketSnapshot;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]   --> src/trader.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::str::FromStr;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]     --> src/trader.rs:1076:9
[INFO] [stdout]      |
[INFO] [stdout]  626 |             return Ok(());
[INFO] [stdout]      |             ------------- any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 1076 |         Ok(())
[INFO] [stdout]      |         ^^^^^^ unreachable expression
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]     --> src/trader.rs:1076:9
[INFO] [stdout]      |
[INFO] [stdout]  626 |             return Ok(());
[INFO] [stdout]      |             ------------- any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 1076 |         Ok(())
[INFO] [stdout]      |         ^^^^^^ unreachable expression
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/trader.rs:2528:19
[INFO] [stdout]      |
[INFO] [stdout] 2528 |         for (key, mut trade) in pending_trades {
[INFO] [stdout]      |                   ----^^^^^
[INFO] [stdout]      |                   |
[INFO] [stdout]      |                   help: remove this `mut`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/trader.rs:2528:19
[INFO] [stdout]      |
[INFO] [stdout] 2528 |         for (key, mut trade) in pending_trades {
[INFO] [stdout]      |                   ----^^^^^
[INFO] [stdout]      |                   |
[INFO] [stdout]      |                   help: remove this `mut`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Provider`
[INFO] [stdout]   --> src/api.rs:25:24
[INFO] [stdout]    |
[INFO] [stdout] 25 | use alloy::providers::{Provider, ProviderBuilder};
[INFO] [stdout]    |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]   --> src/lib.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::io::Write;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `btc_condition_id`
[INFO] [stdout]    --> src/api.rs:647:50
[INFO] [stdout]     |
[INFO] [stdout] 647 | ...kens_all(&self, btc_condition_id: Option<&str>, eth_condition_id: Option<&str>) -> Result<Vec<(String, f64, String, String)>> {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_btc_condition_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: `eth_condition_id`
[INFO] [stdout]    --> src/api.rs:647:82
[INFO] [stdout]     |
[INFO] [stdout] 647 | ...: Option<&str>, eth_condition_id: Option<&str>) -> Result<Vec<(String, f64, String, String)>> {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eth_condition_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `order_builder`
[INFO] [stdout]     --> src/api.rs:1949:13
[INFO] [stdout]      |
[INFO] [stdout] 1949 |         let order_builder = client
[INFO] [stdout]      |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_builder`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token_id`
[INFO] [stdout]     --> src/api.rs:2202:9
[INFO] [stdout]      |
[INFO] [stdout] 2202 |         token_id: &str,
[INFO] [stdout]      |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `up_fill_time` is assigned to, but never used
[INFO] [stdout]    --> src/backtest.rs:354:9
[INFO] [stdout]     |
[INFO] [stdout] 354 |     let mut up_fill_time: Option<u64> = None;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_up_fill_time` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `down_fill_time` is assigned to, but never used
[INFO] [stdout]    --> src/backtest.rs:355:9
[INFO] [stdout]     |
[INFO] [stdout] 355 |     let mut down_fill_time: Option<u64> = None;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_down_fill_time` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `up_fill_time` is never read
[INFO] [stdout]    --> src/backtest.rs:383:21
[INFO] [stdout]     |
[INFO] [stdout] 383 |                     up_fill_time = Some(time_elapsed_seconds);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `down_fill_time` is never read
[INFO] [stdout]    --> src/backtest.rs:398:21
[INFO] [stdout]     |
[INFO] [stdout] 398 |                     down_fill_time = Some(time_elapsed_seconds);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Provider`
[INFO] [stdout]   --> src/api.rs:25:24
[INFO] [stdout]    |
[INFO] [stdout] 25 | use alloy::providers::{Provider, ProviderBuilder};
[INFO] [stdout]    |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]   --> src/lib.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::io::Write;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `btc_condition_id`
[INFO] [stdout]    --> src/api.rs:647:50
[INFO] [stdout]     |
[INFO] [stdout] 647 | ...kens_all(&self, btc_condition_id: Option<&str>, eth_condition_id: Option<&str>) -> Result<Vec<(String, f64, String, String)>> {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_btc_condition_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: `eth_condition_id`
[INFO] [stdout]    --> src/api.rs:647:82
[INFO] [stdout]     |
[INFO] [stdout] 647 | ...: Option<&str>, eth_condition_id: Option<&str>) -> Result<Vec<(String, f64, String, String)>> {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eth_condition_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `btc_condition_id`
[INFO] [stdout]    --> src/monitor.rs:193:32
[INFO] [stdout]     |
[INFO] [stdout] 193 |         let (eth_condition_id, btc_condition_id) = self.get_current_condition_ids().await;
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_btc_condition_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `solana_condition_id`
[INFO] [stdout]    --> src/monitor.rs:194:13
[INFO] [stdout]     |
[INFO] [stdout] 194 |         let solana_condition_id = {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_solana_condition_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `xrp_condition_id`
[INFO] [stdout]    --> src/monitor.rs:198:13
[INFO] [stdout]     |
[INFO] [stdout] 198 |         let xrp_condition_id = {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xrp_condition_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `btc_remaining_secs`
[INFO] [stdout]    --> src/monitor.rs:323:13
[INFO] [stdout]     |
[INFO] [stdout] 323 |         let btc_remaining_secs = if btc_period_end > current_timestamp {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_btc_remaining_secs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `solana_remaining_secs`
[INFO] [stdout]    --> src/monitor.rs:328:13
[INFO] [stdout]     |
[INFO] [stdout] 328 |         let solana_remaining_secs = if solana_period_end > current_timestamp {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_solana_remaining_secs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `xrp_remaining_secs`
[INFO] [stdout]    --> src/monitor.rs:333:13
[INFO] [stdout]     |
[INFO] [stdout] 333 |         let xrp_remaining_secs = if xrp_period_end > current_timestamp {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xrp_remaining_secs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_earned`
[INFO] [stdout]    --> src/simulation.rs:555:35
[INFO] [stdout]     |
[INFO] [stdout] 555 |                 let (total_spent, total_earned, total_realized_pnl) = self.get_total_spending_and_earnings().await;
[INFO] [stdout]     |                                   ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_earned`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `order_builder`
[INFO] [stdout]     --> src/api.rs:1949:13
[INFO] [stdout]      |
[INFO] [stdout] 1949 |         let order_builder = client
[INFO] [stdout]      |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_builder`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token_id`
[INFO] [stdout]     --> src/api.rs:2202:9
[INFO] [stdout]      |
[INFO] [stdout] 2202 |         token_id: &str,
[INFO] [stdout]      |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `up_fill_time` is assigned to, but never used
[INFO] [stdout]    --> src/backtest.rs:354:9
[INFO] [stdout]     |
[INFO] [stdout] 354 |     let mut up_fill_time: Option<u64> = None;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_up_fill_time` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `down_fill_time` is assigned to, but never used
[INFO] [stdout]    --> src/backtest.rs:355:9
[INFO] [stdout]     |
[INFO] [stdout] 355 |     let mut down_fill_time: Option<u64> = None;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_down_fill_time` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `up_fill_time` is never read
[INFO] [stdout]    --> src/backtest.rs:383:21
[INFO] [stdout]     |
[INFO] [stdout] 383 |                     up_fill_time = Some(time_elapsed_seconds);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `down_fill_time` is never read
[INFO] [stdout]    --> src/backtest.rs:398:21
[INFO] [stdout]     |
[INFO] [stdout] 398 |                     down_fill_time = Some(time_elapsed_seconds);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buy`
[INFO] [stdout]     --> src/trader.rs:1409:33
[INFO] [stdout]      |
[INFO] [stdout] 1409 | ...                   let buy = t.purchase_price;
[INFO] [stdout]      |                           ^^^ help: if this is intentional, prefix it with an underscore: `_buy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `btc_condition_id`
[INFO] [stdout]    --> src/monitor.rs:193:32
[INFO] [stdout]     |
[INFO] [stdout] 193 |         let (eth_condition_id, btc_condition_id) = self.get_current_condition_ids().await;
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_btc_condition_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `solana_condition_id`
[INFO] [stdout]    --> src/monitor.rs:194:13
[INFO] [stdout]     |
[INFO] [stdout] 194 |         let solana_condition_id = {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_solana_condition_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `xrp_condition_id`
[INFO] [stdout]    --> src/monitor.rs:198:13
[INFO] [stdout]     |
[INFO] [stdout] 198 |         let xrp_condition_id = {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xrp_condition_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `btc_remaining_secs`
[INFO] [stdout]    --> src/monitor.rs:323:13
[INFO] [stdout]     |
[INFO] [stdout] 323 |         let btc_remaining_secs = if btc_period_end > current_timestamp {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_btc_remaining_secs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `solana_remaining_secs`
[INFO] [stdout]    --> src/monitor.rs:328:13
[INFO] [stdout]     |
[INFO] [stdout] 328 |         let solana_remaining_secs = if solana_period_end > current_timestamp {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_solana_remaining_secs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `xrp_remaining_secs`
[INFO] [stdout]    --> src/monitor.rs:333:13
[INFO] [stdout]     |
[INFO] [stdout] 333 |         let xrp_remaining_secs = if xrp_period_end > current_timestamp {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xrp_remaining_secs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_earned`
[INFO] [stdout]    --> src/simulation.rs:555:35
[INFO] [stdout]     |
[INFO] [stdout] 555 |                 let (total_spent, total_earned, total_realized_pnl) = self.get_total_spending_and_earnings().await;
[INFO] [stdout]     |                                   ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_earned`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buy`
[INFO] [stdout]     --> src/trader.rs:1409:33
[INFO] [stdout]      |
[INFO] [stdout] 1409 | ...                   let buy = t.purchase_price;
[INFO] [stdout]      |                           ^^^ help: if this is intentional, prefix it with an underscore: `_buy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `seconds_until_close`
[INFO] [stdout]     --> src/trader.rs:4105:25
[INFO] [stdout]      |
[INFO] [stdout] 4105 |                     let seconds_until_close = market_end_timestamp.saturating_sub(current_timestamp);
[INFO] [stdout]      |                         ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seconds_until_close`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `redemption_successful` is never read
[INFO] [stdout]     --> src/trader.rs:4360:49
[INFO] [stdout]      |
[INFO] [stdout] 4360 |                 let mut redemption_successful = false;
[INFO] [stdout]      |                                                 ^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 4522 |                     redemption_successful = true; // In simulation, consider it successful
[INFO] [stdout]      |                     ---------------------------- `redemption_successful` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_clob_contract_address` and `get_ctf_contract_address` are never used
[INFO] [stdout]     --> src/api.rs:1213:8
[INFO] [stdout]      |
[INFO] [stdout]   62 | impl PolymarketApi {
[INFO] [stdout]      | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1213 |     fn get_clob_contract_address(&self) -> Result<String> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1222 |     fn get_ctf_contract_address(&self) -> Result<String> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `enable_eth_trading` is never read
[INFO] [stdout]   --> src/detector.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct PriceDetector {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 46 |     enable_eth_trading: bool, // Whether ETH trading is enabled
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `fetch_resolved_prices` is never used
[INFO] [stdout]    --> src/monitor.rs:532:14
[INFO] [stdout]     |
[INFO] [stdout]  49 | impl MarketMonitor {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 532 |     async fn fetch_resolved_prices(&self, condition_id: &str) -> (Option<TokenPrice>, Option<TokenPrice>) {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `redeem_token_by_id` is never used
[INFO] [stdout]     --> src/trader.rs:4619:14
[INFO] [stdout]      |
[INFO] [stdout]   28 | impl Trader {
[INFO] [stdout]      | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 4619 |     async fn redeem_token_by_id(&self, token_id: &str, _units: f64) -> Result<()> {
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ToF64` is never used
[INFO] [stdout]     --> src/trader.rs:4849:7
[INFO] [stdout]      |
[INFO] [stdout] 4849 | trait ToF64 {
[INFO] [stdout]      |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `snapshot`
[INFO] [stdout]    --> src/bin/main_price_monitor.rs:134:16
[INFO] [stdout]     |
[INFO] [stdout] 134 |             Ok(snapshot) => {
[INFO] [stdout]     |                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_snapshot`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `snapshot`
[INFO] [stdout]    --> src/bin/main_price_monitor.rs:134:16
[INFO] [stdout]     |
[INFO] [stdout] 134 |             Ok(snapshot) => {
[INFO] [stdout]     |                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_snapshot`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rust_decimal::Decimal`
[INFO] [stdout]  --> src/bin/test_redeem.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rust_decimal::Decimal;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `jwt_token` is never read
[INFO] [stdout]   --> src/bin/test_predict_fun.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | struct PredictFunClient {
[INFO] [stdout]    |        ---------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     jwt_token: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreateOrderRequest` is never constructed
[INFO] [stdout]   --> src/bin/test_predict_fun.rs:54:8
[INFO] [stdout]    |
[INFO] [stdout] 54 | struct CreateOrderRequest {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreateOrderResponse` is never constructed
[INFO] [stdout]   --> src/bin/test_predict_fun.rs:65:8
[INFO] [stdout]    |
[INFO] [stdout] 65 | struct CreateOrderResponse {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `authenticate`, `add_auth_header`, and `create_order` are never used
[INFO] [stdout]    --> src/bin/test_predict_fun.rs:118:14
[INFO] [stdout]     |
[INFO] [stdout]  71 | impl PredictFunClient {
[INFO] [stdout]     | --------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 118 |     async fn authenticate(&mut self, signature: String, message: String) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 148 |     fn add_auth_header(&self, request: reqwest::RequestBuilder) -> reqwest::RequestBuilder {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 246 |     async fn create_order(
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rust_decimal::Decimal`
[INFO] [stdout]  --> src/bin/test_redeem.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rust_decimal::Decimal;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `jwt_token` is never read
[INFO] [stdout]   --> src/bin/test_predict_fun.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | struct PredictFunClient {
[INFO] [stdout]    |        ---------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     jwt_token: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreateOrderRequest` is never constructed
[INFO] [stdout]   --> src/bin/test_predict_fun.rs:54:8
[INFO] [stdout]    |
[INFO] [stdout] 54 | struct CreateOrderRequest {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreateOrderResponse` is never constructed
[INFO] [stdout]   --> src/bin/test_predict_fun.rs:65:8
[INFO] [stdout]    |
[INFO] [stdout] 65 | struct CreateOrderResponse {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `authenticate`, `add_auth_header`, and `create_order` are never used
[INFO] [stdout]    --> src/bin/test_predict_fun.rs:118:14
[INFO] [stdout]     |
[INFO] [stdout]  71 | impl PredictFunClient {
[INFO] [stdout]     | --------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 118 |     async fn authenticate(&mut self, signature: String, message: String) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 148 |     fn add_auth_header(&self, request: reqwest::RequestBuilder) -> reqwest::RequestBuilder {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 246 |     async fn create_order(
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `shares_to_sell` is never read
[INFO] [stdout]    --> src/bin/test_sell.rs:216:30
[INFO] [stdout]     |
[INFO] [stdout] 216 |     let mut shares_to_sell = shares.unwrap_or(balance);
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 231 |             shares_to_sell = shares.unwrap_or(balance_f64);
[INFO] [stdout]     |             ---------------------------------------------- `shares_to_sell` 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 `find_token_market` is never used
[INFO] [stdout]    --> src/bin/test_redeem.rs:241:10
[INFO] [stdout]     |
[INFO] [stdout] 241 | async fn find_token_market(
[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 `find_token_market_manual` is never used
[INFO] [stdout]    --> src/bin/test_redeem.rs:273:10
[INFO] [stdout]     |
[INFO] [stdout] 273 | async fn find_token_market_manual(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_token_market` is never used
[INFO] [stdout]    --> src/bin/test_redeem.rs:241:10
[INFO] [stdout]     |
[INFO] [stdout] 241 | async fn find_token_market(
[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 `find_token_market_manual` is never used
[INFO] [stdout]    --> src/bin/test_redeem.rs:273:10
[INFO] [stdout]     |
[INFO] [stdout] 273 | async fn find_token_market_manual(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `shares_to_sell` is never read
[INFO] [stdout]    --> src/bin/test_sell.rs:216:30
[INFO] [stdout]     |
[INFO] [stdout] 216 |     let mut shares_to_sell = shares.unwrap_or(balance);
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 231 |             shares_to_sell = shares.unwrap_or(balance_f64);
[INFO] [stdout]     |             ---------------------------------------------- `shares_to_sell` 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: unused variable: `seconds_until_close`
[INFO] [stdout]     --> src/trader.rs:4105:25
[INFO] [stdout]      |
[INFO] [stdout] 4105 |                     let seconds_until_close = market_end_timestamp.saturating_sub(current_timestamp);
[INFO] [stdout]      |                         ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seconds_until_close`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `redemption_successful` is never read
[INFO] [stdout]     --> src/trader.rs:4360:49
[INFO] [stdout]      |
[INFO] [stdout] 4360 |                 let mut redemption_successful = false;
[INFO] [stdout]      |                                                 ^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 4522 |                     redemption_successful = true; // In simulation, consider it successful
[INFO] [stdout]      |                     ---------------------------- `redemption_successful` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_clob_contract_address` and `get_ctf_contract_address` are never used
[INFO] [stdout]     --> src/api.rs:1213:8
[INFO] [stdout]      |
[INFO] [stdout]   62 | impl PolymarketApi {
[INFO] [stdout]      | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1213 |     fn get_clob_contract_address(&self) -> Result<String> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1222 |     fn get_ctf_contract_address(&self) -> Result<String> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `enable_eth_trading` is never read
[INFO] [stdout]   --> src/detector.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct PriceDetector {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 46 |     enable_eth_trading: bool, // Whether ETH trading is enabled
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `fetch_resolved_prices` is never used
[INFO] [stdout]    --> src/monitor.rs:532:14
[INFO] [stdout]     |
[INFO] [stdout]  49 | impl MarketMonitor {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 532 |     async fn fetch_resolved_prices(&self, condition_id: &str) -> (Option<TokenPrice>, Option<TokenPrice>) {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `redeem_token_by_id` is never used
[INFO] [stdout]     --> src/trader.rs:4619:14
[INFO] [stdout]      |
[INFO] [stdout]   28 | impl Trader {
[INFO] [stdout]      | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 4619 |     async fn redeem_token_by_id(&self, token_id: &str, _units: f64) -> Result<()> {
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ToF64` is never used
[INFO] [stdout]     --> src/trader.rs:4849:7
[INFO] [stdout]      |
[INFO] [stdout] 4849 | trait ToF64 {
[INFO] [stdout]      |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 33s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "8c7f402edd10167d16f6f842a5ff79e37bf85cce5f27eb4e41d297a3bcdb299d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8c7f402edd10167d16f6f842a5ff79e37bf85cce5f27eb4e41d297a3bcdb299d", kill_on_drop: false }`
[INFO] [stdout] 8c7f402edd10167d16f6f842a5ff79e37bf85cce5f27eb4e41d297a3bcdb299d
