[INFO] cloning repository https://github.com/AlwaysSolo/Poly-15-Modified [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AlwaysSolo/Poly-15-Modified" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlwaysSolo%2FPoly-15-Modified", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlwaysSolo%2FPoly-15-Modified'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 765f45857be9f238b034e1af15225d8131e85dc6 [INFO] checking AlwaysSolo/Poly-15-Modified against master#d9563937fa3b030c5845811113505070109414d2 for pr-151830 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlwaysSolo%2FPoly-15-Modified" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/AlwaysSolo/Poly-15-Modified [INFO] finished tweaking git repo https://github.com/AlwaysSolo/Poly-15-Modified [INFO] tweaked toml for git repo https://github.com/AlwaysSolo/Poly-15-Modified written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AlwaysSolo/Poly-15-Modified on toolchain d9563937fa3b030c5845811113505070109414d2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d9563937fa3b030c5845811113505070109414d2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/AlwaysSolo/Poly-15-Modified 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" "+d9563937fa3b030c5845811113505070109414d2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.114 [INFO] [stderr] Downloaded wasm-bindgen v0.2.114 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.114 [INFO] [stderr] Downloaded wit-bindgen-rust-macro v0.51.0 [INFO] [stderr] Downloaded getrandom v0.4.1 [INFO] [stderr] Downloaded alloy-tx-macros v1.7.3 [INFO] [stderr] Downloaded uuid v1.21.0 [INFO] [stderr] Downloaded enum-ordinalize-derive v4.3.2 [INFO] [stderr] Downloaded id-arena v2.3.0 [INFO] [stderr] Downloaded ark-ff-asm v0.5.0 [INFO] [stderr] Downloaded futures-macro v0.3.32 [INFO] [stderr] Downloaded bitcoin-io v0.1.4 [INFO] [stderr] Downloaded ark-ff-macros v0.5.0 [INFO] [stderr] Downloaded alloy-eip2124 v0.2.0 [INFO] [stderr] Downloaded ghash v0.5.1 [INFO] [stderr] Downloaded bitcoin_hashes v0.14.1 [INFO] [stderr] Downloaded pin-project v1.1.11 [INFO] [stderr] Downloaded alloy-core v1.5.7 [INFO] [stderr] Downloaded alloy-contract v1.7.3 [INFO] [stderr] Downloaded alloy-dyn-abi v1.5.7 [INFO] [stderr] Downloaded ruint v1.17.2 [INFO] [stderr] Downloaded pest v2.8.6 [INFO] [stderr] Downloaded alloy-provider v1.7.3 [INFO] [stderr] Downloaded proptest v1.10.0 [INFO] [stderr] Downloaded aws-lc-rs v1.16.0 [INFO] [stderr] Downloaded chrono v0.4.44 [INFO] [stderr] Downloaded aes-gcm v0.10.3 [INFO] [stderr] Downloaded polymarket-client-sdk v0.4.3 [INFO] [stderr] Downloaded wasmparser v0.244.0 [INFO] [stderr] Downloaded wit-component v0.244.0 [INFO] [stderr] Downloaded blst v0.3.16 [INFO] [stderr] Downloaded regex-syntax v0.8.10 [INFO] [stderr] Downloaded sha3-asm v0.1.5 [INFO] [stderr] Downloaded alloy-eips v1.7.3 [INFO] [stderr] Downloaded serde_with v3.17.0 [INFO] [stderr] Downloaded webpki-root-certs v1.0.6 [INFO] [stderr] Downloaded rust_decimal v1.40.0 [INFO] [stderr] Downloaded wit-parser v0.244.0 [INFO] [stderr] Downloaded rkyv v0.7.46 [INFO] [stderr] Downloaded rand v0.10.0 [INFO] [stderr] Downloaded wasm-encoder v0.244.0 [INFO] [stderr] Downloaded alloy-chains v0.2.30 [INFO] [stderr] Downloaded alloy-consensus v1.7.3 [INFO] [stderr] Downloaded alloy-sol-types v1.5.7 [INFO] [stderr] Downloaded alloy-primitives v1.5.7 [INFO] [stderr] Downloaded wasip3 v0.4.0+wasi-0.3.0-rc-2026-01-06 [INFO] [stderr] Downloaded web-sys v0.3.91 [INFO] [stderr] Downloaded alloy-consensus-any v1.7.3 [INFO] [stderr] Downloaded hex-conservative v0.2.2 [INFO] [stderr] Downloaded secp256k1 v0.30.0 [INFO] [stderr] Downloaded alloy-rpc-types-eth v1.7.3 [INFO] [stderr] Downloaded educe v0.6.0 [INFO] [stderr] Downloaded const_format v0.2.35 [INFO] [stderr] Downloaded bon-macros v3.9.0 [INFO] [stderr] Downloaded schemars v1.2.1 [INFO] [stderr] Downloaded security-framework v3.7.0 [INFO] [stderr] Downloaded tungstenite v0.28.0 [INFO] [stderr] Downloaded zerocopy-derive v0.8.40 [INFO] [stderr] Downloaded alloy-rpc-client v1.7.3 [INFO] [stderr] Downloaded alloy-json-abi v1.5.7 [INFO] [stderr] Downloaded syn-solidity v1.5.7 [INFO] [stderr] Downloaded rapidhash v4.4.1 [INFO] [stderr] Downloaded ark-ff v0.5.0 [INFO] [stderr] Downloaded alloy-trie v0.9.4 [INFO] [stderr] Downloaded alloy v1.7.3 [INFO] [stderr] Downloaded bon v3.9.0 [INFO] [stderr] Downloaded futures v0.3.32 [INFO] [stderr] Downloaded alloy-network v1.7.3 [INFO] [stderr] Downloaded alloy-sol-macro-expander v1.5.7 [INFO] [stderr] Downloaded alloy-json-rpc v1.7.3 [INFO] [stderr] Downloaded alloy-transport-http v1.7.3 [INFO] [stderr] Downloaded nybbles v0.4.8 [INFO] [stderr] Downloaded chacha20 v0.10.0 [INFO] [stderr] Downloaded serde_with_macros v3.17.0 [INFO] [stderr] Downloaded tokio-tungstenite v0.28.0 [INFO] [stderr] Downloaded system-configuration v0.7.0 [INFO] [stderr] Downloaded wit-bindgen-core v0.51.0 [INFO] [stderr] Downloaded pin-project-internal v1.1.11 [INFO] [stderr] Downloaded alloy-rpc-types-any v1.7.3 [INFO] [stderr] Downloaded alloy-eip7702 v0.6.3 [INFO] [stderr] Downloaded alloy-eip7928 v0.3.2 [INFO] [stderr] Downloaded alloy-network-primitives v1.7.3 [INFO] [stderr] Downloaded alloy-signer v1.7.3 [INFO] [stderr] Downloaded alloy-signer-local v1.7.3 [INFO] [stderr] Downloaded alloy-sol-type-parser v1.5.7 [INFO] [stderr] Downloaded alloy-sol-macro-input v1.5.7 [INFO] [stderr] Downloaded alloy-sol-macro v1.5.7 [INFO] [stderr] Downloaded wasmtimer v0.4.3 [INFO] [stderr] Downloaded alloy-transport v1.7.3 [INFO] [stderr] Downloaded const-hex v1.18.0 [INFO] [stderr] Downloaded ark-std v0.5.0 [INFO] [stderr] Downloaded rusty-fork v0.3.1 [INFO] [stderr] Downloaded futures-executor v0.3.32 [INFO] [stderr] Downloaded strum_macros v0.28.0 [INFO] [stderr] Downloaded security-framework-sys v2.17.0 [INFO] [stderr] Downloaded wit-bindgen-rust v0.51.0 [INFO] [stderr] Downloaded js-sys v0.3.91 [INFO] [stderr] Downloaded alloy-serde v1.7.3 [INFO] [stderr] Downloaded serde_html_form v0.4.0 [INFO] [stderr] Downloaded deranged v0.5.8 [INFO] [stderr] Downloaded enum-ordinalize v4.3.2 [INFO] [stderr] Downloaded serde_ignored v0.1.14 [INFO] [stderr] Downloaded rkyv_derive v0.7.46 [INFO] [stderr] Downloaded wasm-metadata v0.244.0 [INFO] [stderr] Downloaded alloy-eip2930 v0.2.3 [INFO] [stderr] Downloaded keccak-asm v0.1.5 [INFO] [stderr] Downloaded alloy-rlp-derive v0.3.13 [INFO] [stderr] Downloaded alloy-rlp v0.3.13 [INFO] [stderr] Downloaded ark-serialize v0.5.0 [INFO] [stderr] Downloaded rand_xorshift v0.4.0 [INFO] [stderr] Downloaded cpufeatures v0.3.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.64 [INFO] [stderr] Downloaded c-kzg v2.1.6 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.114 [INFO] [stderr] Downloaded rust_decimal_macros v1.40.0 [INFO] [stderr] Downloaded rand_core v0.10.0 [INFO] [stderr] Downloaded aws-lc-sys v0.37.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+d9563937fa3b030c5845811113505070109414d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 798adbe98bd07d21f7c67ece0b23507791f0e646bcd52c58cec0e0b8800d81e0 [INFO] running `Command { std: "docker" "start" "-a" "798adbe98bd07d21f7c67ece0b23507791f0e646bcd52c58cec0e0b8800d81e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "798adbe98bd07d21f7c67ece0b23507791f0e646bcd52c58cec0e0b8800d81e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "798adbe98bd07d21f7c67ece0b23507791f0e646bcd52c58cec0e0b8800d81e0", kill_on_drop: false }` [INFO] [stdout] 798adbe98bd07d21f7c67ece0b23507791f0e646bcd52c58cec0e0b8800d81e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+d9563937fa3b030c5845811113505070109414d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c799fa87c85d12737c4c6ad2b2e11e7fa1c8a8107ad482dc6d7ca7dcec9a45d [INFO] running `Command { std: "docker" "start" "-a" "6c799fa87c85d12737c4c6ad2b2e11e7fa1c8a8107ad482dc6d7ca7dcec9a45d", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling ruint-macro v1.2.1 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Checking pin-project-lite v0.2.17 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Checking keccak v0.1.6 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Checking futures-core v0.3.32 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking futures-sink v0.3.32 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Compiling aws-lc-rs v1.16.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking rustls-pki-types v1.14.0 [INFO] [stderr] Checking futures-io v0.3.32 [INFO] [stderr] Checking futures-task v0.3.32 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking iana-time-zone v0.1.65 [INFO] [stderr] Checking crc v3.4.0 [INFO] [stderr] Compiling zerocopy v0.8.40 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking ryu v1.0.23 [INFO] [stderr] Checking webpki-roots v1.0.6 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Checking futures-utils-wasm v0.1.0 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Checking bitflags v2.11.0 [INFO] [stderr] Checking iri-string v0.7.10 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking openssl-probe v0.2.1 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling siphasher v1.0.2 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling getrandom v0.4.1 [INFO] [stderr] Checking rand_core v0.10.0 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking socket2 v0.6.2 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Compiling phf_shared v0.13.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking rustls-native-certs v0.8.3 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Checking data-encoding v2.10.0 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Compiling phf_generator v0.13.1 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling rust_decimal v1.40.0 [INFO] [stderr] Checking regex-syntax v0.8.10 [INFO] [stderr] Checking cpufeatures v0.3.0 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking chacha20 v0.10.0 [INFO] [stderr] Compiling cmake v0.1.57 [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 sha1 v0.10.6 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking rand v0.10.0 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Compiling aws-lc-sys v0.37.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Compiling ruint v1.17.2 [INFO] [stderr] Compiling const-hex v1.18.0 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Checking serde_ignored v0.1.14 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking uuid v1.21.0 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Checking lru v0.16.3 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking serde_html_form v0.4.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling macro-string v0.1.4 [INFO] [stderr] Compiling syn-solidity v1.5.7 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling alloy-rlp-derive v0.3.13 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling auto_impl v1.3.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling pin-project-internal v1.1.11 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling num_enum_derive v0.7.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling phf_macros v0.13.1 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling strum_macros v0.28.0 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking pin-project v1.1.11 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Compiling rust_decimal_macros v1.40.0 [INFO] [stderr] Checking backoff v0.4.0 [INFO] [stderr] Checking num_enum v0.7.5 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking phf v0.13.1 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Checking strum v0.27.2 [INFO] [stderr] Compiling bon-macros v3.9.0 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking bytes v1.11.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking alloy-sol-type-parser v1.5.7 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking derive_more v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking secrecy v0.10.3 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking alloy-rlp v0.3.13 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling alloy-primitives v1.5.7 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking nybbles v0.4.8 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Compiling alloy-json-abi v1.5.7 [INFO] [stderr] Compiling alloy-sol-macro-input v1.5.7 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Checking alloy-eip2930 v0.2.3 [INFO] [stderr] Checking alloy-eip7702 v0.6.3 [INFO] [stderr] Checking alloy-eip2124 v0.2.0 [INFO] [stderr] Checking alloy-serde v1.7.3 [INFO] [stderr] Checking alloy-eip7928 v0.3.2 [INFO] [stderr] Compiling alloy-sol-macro-expander v1.5.7 [INFO] [stderr] Checking alloy-trie v0.9.4 [INFO] [stderr] Checking alloy-signer v1.7.3 [INFO] [stderr] Checking alloy-chains v0.2.30 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling serde_with_macros v3.17.0 [INFO] [stderr] Compiling alloy-tx-macros v1.7.3 [INFO] [stderr] Checking bon v3.9.0 [INFO] [stderr] Checking serde_with v3.17.0 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Compiling alloy-sol-macro v1.5.7 [INFO] [stderr] Checking alloy-sol-types v1.5.7 [INFO] [stderr] Checking alloy-eips v1.7.3 [INFO] [stderr] Checking rustls-webpki v0.103.9 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking alloy-consensus 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-transport v1.7.3 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking alloy-core v1.5.7 [INFO] [stderr] Checking alloy-network-primitives v1.7.3 [INFO] [stderr] Checking alloy-consensus-any v1.7.3 [INFO] [stderr] Checking alloy-rpc-types-eth v1.7.3 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking rustls-platform-verifier v0.6.2 [INFO] [stderr] Checking tungstenite v0.28.0 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking reqwest v0.13.2 [INFO] [stderr] Checking alloy-rpc-types-any v1.7.3 [INFO] [stderr] Checking tokio-tungstenite v0.28.0 [INFO] [stderr] Checking alloy-network v1.7.3 [INFO] [stderr] Checking alloy-transport-http v1.7.3 [INFO] [stderr] Checking alloy-signer-local v1.7.3 [INFO] [stderr] Checking alloy-rpc-client v1.7.3 [INFO] [stderr] Checking alloy-provider v1.7.3 [INFO] [stderr] Checking alloy-contract v1.7.3 [INFO] [stderr] Checking alloy v1.7.3 [INFO] [stderr] Checking polymarket-client-sdk v0.4.3 [INFO] [stderr] Checking poly_5min_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `debug` and `trace` [INFO] [stdout] --> src/risk/hedge_monitor.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | use tracing::{debug, error, info, trace, warn}; [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: `debug` [INFO] [stdout] --> src/risk/recovery.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::{debug, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FundsReservation` and `PreflightReject` [INFO] [stdout] --> src/risk/mod.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | pub use funds::{FundsEngine, FundsReservation, PreflightReject}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug` and `trace` [INFO] [stdout] --> src/risk/hedge_monitor.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | use tracing::{debug, error, info, trace, warn}; [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: `debug` [INFO] [stdout] --> src/risk/recovery.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::{debug, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FundsReservation` and `PreflightReject` [INFO] [stdout] --> src/risk/mod.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | pub use funds::{FundsEngine, FundsReservation, PreflightReject}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `actionable_hint` is never used [INFO] [stdout] --> src/diagnostics.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 351 | impl ReasonCode { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 352 | pub fn actionable_hint(self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_order_pair_ids` is never used [INFO] [stdout] --> src/diagnostics.rs:426:12 [INFO] [stdout] | [INFO] [stdout] 405 | impl DecisionContext { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 426 | pub fn with_order_pair_ids( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `funnel` is never read [INFO] [stdout] --> src/diagnostics.rs:553:5 [INFO] [stdout] | [INFO] [stdout] 549 | struct ScopeSummary { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 553 | funnel: FunnelCounters, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScopeSummary` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fast_path_sample_per_mille` is never read [INFO] [stdout] --> src/diagnostics.rs:575:5 [INFO] [stdout] | [INFO] [stdout] 570 | pub struct Diagnostics { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 575 | fast_path_sample_per_mille: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Diagnostics` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `fast_path_sample_per_mille` and `emit_decision` are never used [INFO] [stdout] --> src/diagnostics.rs:614:12 [INFO] [stdout] | [INFO] [stdout] 578 | impl Diagnostics { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 614 | pub fn fast_path_sample_per_mille(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 649 | pub fn emit_decision( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_age` is never used [INFO] [stdout] --> src/diagnostics.rs:1244:4 [INFO] [stdout] | [INFO] [stdout] 1244 | fn format_age(ts: Option>) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `slug` is never read [INFO] [stdout] --> src/market/discoverer.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct MarketInfo { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 12 | pub market_id: B256, [INFO] [stdout] 13 | pub slug: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MarketInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `yes_bid_price`, `no_bid_price`, and `total_cost` are never read [INFO] [stdout] --> src/monitor/arbitrage.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ArbitrageOpportunity { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub yes_bid_price: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 14 | pub no_bid_price: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 15 | pub total_cost: Decimal, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArbitrageOpportunity` 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 `min_profit_threshold` and `max_depth` are never read [INFO] [stdout] --> src/monitor/arbitrage.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct ArbitrageDetector { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 39 | min_profit_threshold: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | max_depth: usize, // Maximum probe depth [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_book` is never used [INFO] [stdout] --> src/monitor/orderbook.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl OrderBookMonitor { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn get_book(&self, token_id: U256) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ExposureLimit` is never constructed [INFO] [stdout] --> src/risk/funds.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum PreflightReject { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | ExposureLimit(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PreflightReject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pair_id` is never read [INFO] [stdout] --> src/risk/funds.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct FundsReservation { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 62 | pub pair_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FundsReservation` 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 `finalize` and `is_finalized` are never used [INFO] [stdout] --> src/risk/funds.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 85 | impl FillWatermarks { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | fn finalize(&mut self, order_id: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | fn is_finalized(&self, order_id: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_expected_spendable_usdc` is never read [INFO] [stdout] --> src/risk/funds.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct FundsSnapshot { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 158 | pub last_expected_spendable_usdc: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FundsSnapshot` 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 `has_synced`, `finalize_orders`, and `resolve_unknown` are never used [INFO] [stdout] --> src/risk/funds.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 170 | impl FundsEngine { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn has_synced(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | pub fn finalize_orders(&self, yes_order_id: &str, no_order_id: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | pub fn resolve_unknown(&self, pair_id: &str, was_filled: bool, filled_cost: Decimal) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/risk/hedge_monitor.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct HedgePosition { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 21 | pub token_id: U256, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | pub opposite_token_id: U256, // Token ID of the opposite side (used for calculating difference) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | pub amount: Decimal, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | pub entry_price: Decimal, // Entry price (best ask price) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 25 | pub take_profit_price: Decimal, // Take-profit price [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | pub stop_loss_price: Decimal, // Stop-loss price [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | pub pair_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 28 | pub market_display: String, // Market display name (e.g. "BTC prediction market") [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 29 | pub order_id: Option, // If a GTC order has been placed, store the order ID [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 30 | pub pending_sell_amount: Decimal, // Pending sell quantity [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HedgePosition` 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 `client`, `private_key`, `proxy_address`, `positions`, and `position_tracker` are never read [INFO] [stdout] --> src/risk/hedge_monitor.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct HedgeMonitor { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 34 | client: Client< [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | private_key: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 38 | proxy_address: Option
, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 39 | positions: DashMap, // pair_id -> position [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 40 | position_tracker: Arc, // For updating risk exposure [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/risk/hedge_monitor.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl HedgeMonitor { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn add_position(&self, action: &RecoveryAction) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn update_entry_price(&self, pair_id: &str, entry_price: Decimal) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub async fn check_and_execute(&self, book: &BookUpdate) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | fn calculate_sell_amount(&self, position: &HedgePosition) -> Decimal { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 351 | fn calculate_sell_amount_with_size( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 385 | fn calculate_sell_amount_static(position: &HedgePosition, base_amount: Decimal) -> Decimal { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 415 | async fn execute_sell_order( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 509 | async fn sell_with_gtc( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 617 | pub fn remove_position(&self, pair_id: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 623 | pub fn get_positions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `filled_notional` and `snapshot` are never used [INFO] [stdout] --> src/risk/manager.rs:406:12 [INFO] [stdout] | [INFO] [stdout] 84 | impl SessionCircuitBreaker { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 406 | pub fn filled_notional(&self) -> Decimal { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 411 | pub fn snapshot(&self) -> BreakerState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Settling`, `Hedging`, `Hedged`, and `ManualIntervention` are never constructed [INFO] [stdout] --> src/risk/manager.rs:456:5 [INFO] [stdout] | [INFO] [stdout] 454 | pub enum PairStatus { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 455 | Submitted, // Both legs sent to API [INFO] [stdout] 456 | Settling, // Waiting for settlement poll [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 459 | Hedging, // Selling excess, hedge in progress [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 460 | Hedged, // Hedge complete [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 461 | Failed, // Both unfilled, no action needed [INFO] [stdout] 462 | ManualIntervention, // Hedge timed out, bot paused [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PairStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `market_id` and `created_at` are never read [INFO] [stdout] --> src/risk/manager.rs:468:9 [INFO] [stdout] | [INFO] [stdout] 466 | pub struct OrderPair { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 467 | pub pair_id: String, [INFO] [stdout] 468 | pub market_id: B256, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 481 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderPair` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `clob_client` is never read [INFO] [stdout] --> src/risk/manager.rs:487:5 [INFO] [stdout] | [INFO] [stdout] 486 | pub struct RiskManager { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 487 | clob_client: Client< [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_order_size` is never read [INFO] [stdout] --> src/risk/position_balancer.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct PositionBalancer { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | max_order_size: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `should_skip_arbitrage` is never used [INFO] [stdout] --> src/risk/position_balancer.rs:432:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl PositionBalancer { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 432 | pub fn should_skip_arbitrage(&self, yes_token: U256, no_token: U256) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `condition_id` is never read [INFO] [stdout] --> src/risk/position_balancer.rs:440:5 [INFO] [stdout] | [INFO] [stdout] 439 | struct MarketBalanceData { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 440 | condition_id: B256, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `calculate_imbalance`, `is_within_limits`, `would_exceed_limit`, and `check_condition_imbalance` are never used [INFO] [stdout] --> src/risk/positions.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl PositionTracker { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 239 | pub fn calculate_imbalance(&self, yes_token: U256, no_token: U256) -> Decimal { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub fn is_within_limits(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | pub fn would_exceed_limit(&self, yes_cost: Decimal, no_cost: Decimal) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn check_condition_imbalance(&self, yes_token: U256, no_token: U256) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SellExcess`, `MonitorForExit`, and `ManualIntervention` are never constructed [INFO] [stdout] --> src/risk/recovery.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum RecoveryAction { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 11 | None, [INFO] [stdout] 12 | SellExcess { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | MonitorForExit { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | ManualIntervention { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RecoveryAction` 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 `imbalance_threshold`, `take_profit_pct`, and `stop_loss_pct` are never read [INFO] [stdout] --> src/risk/recovery.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct RecoveryStrategy { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 37 | imbalance_threshold: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | take_profit_pct: Decimal, // Take-profit percentage [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 39 | stop_loss_pct: Decimal, // Stop-loss percentage [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle_partial_fill` is never used [INFO] [stdout] --> src/risk/recovery.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 42 | impl RecoveryStrategy { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub async fn handle_partial_fill( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `success` is never read [INFO] [stdout] --> src/trading/executor.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct OrderPairResult { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | pub success: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sell_at_price_gtc` is never used [INFO] [stdout] --> src/trading/executor.rs:218:18 [INFO] [stdout] | [INFO] [stdout] 48 | impl TradingExecutor { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 218 | pub async fn sell_at_price_gtc( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ArbitrageRecord` is never constructed [INFO] [stdout] --> src/utils/arbitrage_logger.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct ArbitrageRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_arbitrage_opportunity` is never used [INFO] [stdout] --> src/utils/arbitrage_logger.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn log_arbitrage_opportunity( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_arbitrage_opportunity_async` is never used [INFO] [stdout] --> src/utils/arbitrage_logger.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | pub async fn log_arbitrage_opportunity_async( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `actionable_hint` is never used [INFO] [stdout] --> src/diagnostics.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 351 | impl ReasonCode { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 352 | pub fn actionable_hint(self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_order_pair_ids` is never used [INFO] [stdout] --> src/diagnostics.rs:426:12 [INFO] [stdout] | [INFO] [stdout] 405 | impl DecisionContext { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 426 | pub fn with_order_pair_ids( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `funnel` is never read [INFO] [stdout] --> src/diagnostics.rs:553:5 [INFO] [stdout] | [INFO] [stdout] 549 | struct ScopeSummary { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 553 | funnel: FunnelCounters, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScopeSummary` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fast_path_sample_per_mille` is never read [INFO] [stdout] --> src/diagnostics.rs:575:5 [INFO] [stdout] | [INFO] [stdout] 570 | pub struct Diagnostics { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 575 | fast_path_sample_per_mille: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Diagnostics` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `fast_path_sample_per_mille` and `emit_decision` are never used [INFO] [stdout] --> src/diagnostics.rs:614:12 [INFO] [stdout] | [INFO] [stdout] 578 | impl Diagnostics { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 614 | pub fn fast_path_sample_per_mille(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 649 | pub fn emit_decision( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_age` is never used [INFO] [stdout] --> src/diagnostics.rs:1244:4 [INFO] [stdout] | [INFO] [stdout] 1244 | fn format_age(ts: Option>) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `slug` is never read [INFO] [stdout] --> src/market/discoverer.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct MarketInfo { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 12 | pub market_id: B256, [INFO] [stdout] 13 | pub slug: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MarketInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `yes_bid_price`, `no_bid_price`, and `total_cost` are never read [INFO] [stdout] --> src/monitor/arbitrage.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ArbitrageOpportunity { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub yes_bid_price: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 14 | pub no_bid_price: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 15 | pub total_cost: Decimal, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArbitrageOpportunity` 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 `min_profit_threshold` and `max_depth` are never read [INFO] [stdout] --> src/monitor/arbitrage.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct ArbitrageDetector { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 39 | min_profit_threshold: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | max_depth: usize, // Maximum probe depth [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_book` is never used [INFO] [stdout] --> src/monitor/orderbook.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl OrderBookMonitor { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn get_book(&self, token_id: U256) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ExposureLimit` is never constructed [INFO] [stdout] --> src/risk/funds.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum PreflightReject { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | ExposureLimit(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PreflightReject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pair_id` is never read [INFO] [stdout] --> src/risk/funds.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct FundsReservation { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 62 | pub pair_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FundsReservation` 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 `finalize` and `is_finalized` are never used [INFO] [stdout] --> src/risk/funds.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 85 | impl FillWatermarks { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | fn finalize(&mut self, order_id: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | fn is_finalized(&self, order_id: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_expected_spendable_usdc` is never read [INFO] [stdout] --> src/risk/funds.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct FundsSnapshot { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 158 | pub last_expected_spendable_usdc: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FundsSnapshot` 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 `has_synced`, `finalize_orders`, and `resolve_unknown` are never used [INFO] [stdout] --> src/risk/funds.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 170 | impl FundsEngine { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn has_synced(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | pub fn finalize_orders(&self, yes_order_id: &str, no_order_id: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | pub fn resolve_unknown(&self, pair_id: &str, was_filled: bool, filled_cost: Decimal) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/risk/hedge_monitor.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct HedgePosition { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 21 | pub token_id: U256, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | pub opposite_token_id: U256, // Token ID of the opposite side (used for calculating difference) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | pub amount: Decimal, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | pub entry_price: Decimal, // Entry price (best ask price) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 25 | pub take_profit_price: Decimal, // Take-profit price [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | pub stop_loss_price: Decimal, // Stop-loss price [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | pub pair_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 28 | pub market_display: String, // Market display name (e.g. "BTC prediction market") [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 29 | pub order_id: Option, // If a GTC order has been placed, store the order ID [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 30 | pub pending_sell_amount: Decimal, // Pending sell quantity [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HedgePosition` 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 `client`, `private_key`, `proxy_address`, `positions`, and `position_tracker` are never read [INFO] [stdout] --> src/risk/hedge_monitor.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct HedgeMonitor { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 34 | client: Client< [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | private_key: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 38 | proxy_address: Option
, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 39 | positions: DashMap, // pair_id -> position [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 40 | position_tracker: Arc, // For updating risk exposure [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/risk/hedge_monitor.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl HedgeMonitor { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn add_position(&self, action: &RecoveryAction) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn update_entry_price(&self, pair_id: &str, entry_price: Decimal) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub async fn check_and_execute(&self, book: &BookUpdate) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | fn calculate_sell_amount(&self, position: &HedgePosition) -> Decimal { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 351 | fn calculate_sell_amount_with_size( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 385 | fn calculate_sell_amount_static(position: &HedgePosition, base_amount: Decimal) -> Decimal { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 415 | async fn execute_sell_order( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 509 | async fn sell_with_gtc( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 617 | pub fn remove_position(&self, pair_id: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 623 | pub fn get_positions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `filled_notional` and `snapshot` are never used [INFO] [stdout] --> src/risk/manager.rs:406:12 [INFO] [stdout] | [INFO] [stdout] 84 | impl SessionCircuitBreaker { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 406 | pub fn filled_notional(&self) -> Decimal { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 411 | pub fn snapshot(&self) -> BreakerState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Settling`, `Hedging`, `Hedged`, and `ManualIntervention` are never constructed [INFO] [stdout] --> src/risk/manager.rs:456:5 [INFO] [stdout] | [INFO] [stdout] 454 | pub enum PairStatus { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 455 | Submitted, // Both legs sent to API [INFO] [stdout] 456 | Settling, // Waiting for settlement poll [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 459 | Hedging, // Selling excess, hedge in progress [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 460 | Hedged, // Hedge complete [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 461 | Failed, // Both unfilled, no action needed [INFO] [stdout] 462 | ManualIntervention, // Hedge timed out, bot paused [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PairStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `market_id` and `created_at` are never read [INFO] [stdout] --> src/risk/manager.rs:468:9 [INFO] [stdout] | [INFO] [stdout] 466 | pub struct OrderPair { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 467 | pub pair_id: String, [INFO] [stdout] 468 | pub market_id: B256, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 481 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderPair` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `clob_client` is never read [INFO] [stdout] --> src/risk/manager.rs:487:5 [INFO] [stdout] | [INFO] [stdout] 486 | pub struct RiskManager { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 487 | clob_client: Client< [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_order_size` is never read [INFO] [stdout] --> src/risk/position_balancer.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct PositionBalancer { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | max_order_size: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `should_skip_arbitrage` is never used [INFO] [stdout] --> src/risk/position_balancer.rs:432:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl PositionBalancer { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 432 | pub fn should_skip_arbitrage(&self, yes_token: U256, no_token: U256) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `condition_id` is never read [INFO] [stdout] --> src/risk/position_balancer.rs:440:5 [INFO] [stdout] | [INFO] [stdout] 439 | struct MarketBalanceData { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 440 | condition_id: B256, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `calculate_imbalance`, `is_within_limits`, `would_exceed_limit`, and `check_condition_imbalance` are never used [INFO] [stdout] --> src/risk/positions.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl PositionTracker { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 239 | pub fn calculate_imbalance(&self, yes_token: U256, no_token: U256) -> Decimal { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub fn is_within_limits(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | pub fn would_exceed_limit(&self, yes_cost: Decimal, no_cost: Decimal) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn check_condition_imbalance(&self, yes_token: U256, no_token: U256) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SellExcess`, `MonitorForExit`, and `ManualIntervention` are never constructed [INFO] [stdout] --> src/risk/recovery.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum RecoveryAction { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 11 | None, [INFO] [stdout] 12 | SellExcess { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | MonitorForExit { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | ManualIntervention { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RecoveryAction` 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 `imbalance_threshold`, `take_profit_pct`, and `stop_loss_pct` are never read [INFO] [stdout] --> src/risk/recovery.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct RecoveryStrategy { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 37 | imbalance_threshold: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | take_profit_pct: Decimal, // Take-profit percentage [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 39 | stop_loss_pct: Decimal, // Stop-loss percentage [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle_partial_fill` is never used [INFO] [stdout] --> src/risk/recovery.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 42 | impl RecoveryStrategy { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub async fn handle_partial_fill( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `success` is never read [INFO] [stdout] --> src/trading/executor.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct OrderPairResult { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | pub success: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sell_at_price_gtc` is never used [INFO] [stdout] --> src/trading/executor.rs:218:18 [INFO] [stdout] | [INFO] [stdout] 48 | impl TradingExecutor { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 218 | pub async fn sell_at_price_gtc( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ArbitrageRecord` is never constructed [INFO] [stdout] --> src/utils/arbitrage_logger.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct ArbitrageRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_arbitrage_opportunity` is never used [INFO] [stdout] --> src/utils/arbitrage_logger.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn log_arbitrage_opportunity( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_arbitrage_opportunity_async` is never used [INFO] [stdout] --> src/utils/arbitrage_logger.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | pub async fn log_arbitrage_opportunity_async( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 56s [INFO] running `Command { std: "docker" "inspect" "6c799fa87c85d12737c4c6ad2b2e11e7fa1c8a8107ad482dc6d7ca7dcec9a45d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c799fa87c85d12737c4c6ad2b2e11e7fa1c8a8107ad482dc6d7ca7dcec9a45d", kill_on_drop: false }` [INFO] [stdout] 6c799fa87c85d12737c4c6ad2b2e11e7fa1c8a8107ad482dc6d7ca7dcec9a45d