[INFO] cloning repository https://github.com/ayazabbas/polymarket-lp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ayazabbas/polymarket-lp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayazabbas%2Fpolymarket-lp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayazabbas%2Fpolymarket-lp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3df0d4424a7edcd06a7a2df3b45a72879e56a32a [INFO] testing ayazabbas/polymarket-lp against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayazabbas%2Fpolymarket-lp" "/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/ayazabbas/polymarket-lp [INFO] finished tweaking git repo https://github.com/ayazabbas/polymarket-lp [INFO] tweaked toml for git repo https://github.com/ayazabbas/polymarket-lp written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ayazabbas/polymarket-lp on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ayazabbas/polymarket-lp 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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rkyv_derive v0.7.46 [INFO] [stderr] Downloaded rust_decimal_macros v1.40.0 [INFO] [stderr] Downloaded rand_core v0.10.0 [INFO] [stderr] Downloaded serde_ignored v0.1.14 [INFO] [stderr] Downloaded secrecy v0.10.3 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.63 [INFO] [stderr] Downloaded borsh-derive v1.6.0 [INFO] [stderr] Downloaded serde_with_macros v3.17.0 [INFO] [stderr] Downloaded borsh v1.6.0 [INFO] [stderr] Downloaded serde_html_form v0.4.0 [INFO] [stderr] Downloaded cpufeatures v0.3.0 [INFO] [stderr] Downloaded rkyv v0.7.46 [INFO] [stderr] Downloaded chacha20 v0.10.0 [INFO] [stderr] Downloaded bon v3.9.0 [INFO] [stderr] Downloaded alloy v1.7.3 [INFO] [stderr] Downloaded alloy-trie v0.9.4 [INFO] [stderr] Downloaded bon-macros v3.9.0 [INFO] [stderr] Downloaded keccak-asm v0.1.5 [INFO] [stderr] Downloaded rand v0.10.0 [INFO] [stderr] Downloaded const-hex v1.18.0 [INFO] [stderr] Downloaded alloy-transport-http v1.7.3 [INFO] [stderr] Downloaded alloy-tx-macros v1.7.3 [INFO] [stderr] Downloaded alloy-transport v1.7.3 [INFO] [stderr] Downloaded alloy-json-rpc v1.7.3 [INFO] [stderr] Downloaded alloy-signer v1.7.3 [INFO] [stderr] Downloaded alloy-signer-local v1.7.3 [INFO] [stderr] Downloaded alloy-serde v1.7.3 [INFO] [stderr] Downloaded alloy-network-primitives v1.7.3 [INFO] [stderr] Downloaded alloy-network v1.7.3 [INFO] [stderr] Downloaded alloy-rpc-types-any v1.7.3 [INFO] [stderr] Downloaded serde_with v3.17.0 [INFO] [stderr] Downloaded alloy-eip7928 v0.3.2 [INFO] [stderr] Downloaded alloy-consensus-any v1.7.3 [INFO] [stderr] Downloaded alloy-rpc-client v1.7.3 [INFO] [stderr] Downloaded polymarket-client-sdk v0.4.3 [INFO] [stderr] Downloaded alloy-chains v0.2.30 [INFO] [stderr] Downloaded alloy-contract v1.7.3 [INFO] [stderr] Downloaded alloy-consensus v1.7.3 [INFO] [stderr] Downloaded alloy-rpc-types-eth v1.7.3 [INFO] [stderr] Downloaded alloy-provider v1.7.3 [INFO] [stderr] Downloaded alloy-eips v1.7.3 [INFO] [stderr] Downloaded sha3-asm v0.1.5 [INFO] [stderr] Downloaded web-sys v0.3.90 [INFO] [stderr] Downloaded c-kzg v2.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f32536c724b243730d77dee7b25aa79d5977169769672dd47f92fb19cea2c838 [INFO] running `Command { std: "docker" "start" "-a" "f32536c724b243730d77dee7b25aa79d5977169769672dd47f92fb19cea2c838", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f32536c724b243730d77dee7b25aa79d5977169769672dd47f92fb19cea2c838", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f32536c724b243730d77dee7b25aa79d5977169769672dd47f92fb19cea2c838", kill_on_drop: false }` [INFO] [stdout] f32536c724b243730d77dee7b25aa79d5977169769672dd47f92fb19cea2c838 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0ef9f47c4e03d608b1f4185da06e4377c44ade27c0d2cf45552be3d49ed9976 [INFO] running `Command { std: "docker" "start" "-a" "a0ef9f47c4e03d608b1f4185da06e4377c44ade27c0d2cf45552be3d49ed9976", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling foldhash v0.2.0 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling ruint-macro v1.2.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling keccak v0.1.6 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling aws-lc-rs v1.16.0 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling zerocopy v0.8.39 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling ruint v1.17.2 [INFO] [stderr] Compiling const-hex v1.18.0 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling webpki-roots v1.0.6 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling futures-utils-wasm v0.1.0 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling siphasher v1.0.2 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling rand_core v0.10.0 [INFO] [stderr] Compiling getrandom v0.4.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling phf_shared v0.13.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling phf_generator v0.13.1 [INFO] [stderr] Compiling litrs v1.0.0 [INFO] [stderr] Compiling data-encoding v2.10.0 [INFO] [stderr] Compiling cpufeatures v0.3.0 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling rust_decimal v1.40.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling chacha20 v0.10.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling lru v0.16.3 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling clap_lex v1.0.0 [INFO] [stderr] Compiling uuid v1.21.0 [INFO] [stderr] Compiling rand v0.10.0 [INFO] [stderr] Compiling serde_ignored v0.1.14 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Compiling clap_builder v4.5.60 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling serde_html_form v0.4.0 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling syn-solidity v1.5.7 [INFO] [stderr] Compiling macro-string v0.1.4 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling rustls-webpki v0.103.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand v0.8.5 [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 thiserror-impl v2.0.18 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling auto_impl v1.3.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling num_enum_derive v0.7.5 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling phf_macros v0.13.1 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Compiling rust_decimal_macros v1.40.0 [INFO] [stderr] Compiling bon-macros v3.9.0 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling phf v0.13.1 [INFO] [stderr] Compiling strum_macros v0.28.0 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling num_enum v0.7.5 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling derive_more v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling clap v4.5.60 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling alloy-sol-type-parser v1.5.7 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling alloy-rlp v0.3.13 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling alloy-primitives v1.5.7 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling rustls-platform-verifier v0.6.2 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling nybbles v0.4.8 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling secrecy v0.10.3 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling tungstenite v0.28.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling alloy-json-abi v1.5.7 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling comfy-table v7.2.2 [INFO] [stderr] Compiling alloy-eip2930 v0.2.3 [INFO] [stderr] Compiling alloy-serde v1.7.3 [INFO] [stderr] Compiling alloy-eip7702 v0.6.3 [INFO] [stderr] Compiling alloy-eip7928 v0.3.2 [INFO] [stderr] Compiling alloy-eip2124 v0.2.0 [INFO] [stderr] Compiling alloy-trie v0.9.4 [INFO] [stderr] Compiling alloy-signer v1.7.3 [INFO] [stderr] Compiling alloy-chains v0.2.30 [INFO] [stderr] Compiling bon v3.9.0 [INFO] [stderr] Compiling alloy-sol-macro-input v1.5.7 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling alloy-sol-macro-expander v1.5.7 [INFO] [stderr] Compiling darling_macro v0.21.3 [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] Compiling serde_with v3.17.0 [INFO] [stderr] Compiling alloy-sol-macro v1.5.7 [INFO] [stderr] Compiling alloy-sol-types v1.5.7 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.28.0 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling alloy-eips v1.7.3 [INFO] [stderr] Compiling alloy-consensus v1.7.3 [INFO] [stderr] Compiling alloy-json-rpc v1.7.3 [INFO] [stderr] Compiling alloy-dyn-abi v1.5.7 [INFO] [stderr] Compiling alloy-transport v1.7.3 [INFO] [stderr] Compiling alloy-core v1.5.7 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling alloy-network-primitives v1.7.3 [INFO] [stderr] Compiling alloy-consensus-any v1.7.3 [INFO] [stderr] Compiling alloy-rpc-types-eth v1.7.3 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling reqwest v0.13.2 [INFO] [stderr] Compiling alloy-rpc-types-any v1.7.3 [INFO] [stderr] Compiling alloy-network v1.7.3 [INFO] [stderr] Compiling alloy-transport-http v1.7.3 [INFO] [stderr] Compiling alloy-rpc-client v1.7.3 [INFO] [stderr] Compiling alloy-signer-local v1.7.3 [INFO] [stderr] Compiling alloy-provider v1.7.3 [INFO] [stderr] Compiling alloy-contract v1.7.3 [INFO] [stderr] Compiling alloy v1.7.3 [INFO] [stderr] Compiling polymarket-client-sdk v0.4.3 [INFO] [stderr] Compiling polymarket-lp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/manager.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, Result}; [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: `std::sync::Arc` [INFO] [stdout] --> src/manager.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> src/manager.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dry_run` is never read [INFO] [stdout] --> src/engine.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct QuoteEngine { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub dry_run: bool, [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 `check_balances` is never used [INFO] [stdout] --> src/inventory.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn check_balances( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BalanceInfo` is never constructed [INFO] [stdout] --> src/inventory.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct BalanceInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_usdc_to_tokens` is never used [INFO] [stdout] --> src/inventory.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | pub async fn split_usdc_to_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `merge_tokens_to_usdc` is never used [INFO] [stdout] --> src/inventory.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | pub async fn merge_tokens_to_usdc( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `redeem_winning_tokens` is never used [INFO] [stdout] --> src/inventory.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 75 | pub async fn redeem_winning_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_resolution` is never used [INFO] [stdout] --> src/inventory.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn check_resolution(market_closed: bool) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResolutionResult` is never constructed [INFO] [stdout] --> src/inventory.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct ResolutionResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `total_yes_tokens` and `total_no_tokens` are never read [INFO] [stdout] --> src/manager.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 350 | pub struct PortfolioStats { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 354 | pub total_yes_tokens: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 355 | pub total_no_tokens: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PortfolioStats` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `record_tick`, `record_fill`, `record_orders`, `record_reward`, and `record_rebate` are never used [INFO] [stdout] --> src/metrics.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl MarketMetrics { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 30 | pub fn new(condition_id: String, question: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn record_tick(&mut self, had_orders: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn record_fill(&mut self, spread_capture: Decimal) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn record_orders(&mut self, count: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn record_reward(&mut self, amount: Decimal) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn record_rebate(&mut self, amount: Decimal) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `save` is never used [INFO] [stdout] --> src/metrics.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 110 | impl PortfolioMetrics { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn save(&self, path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_telegram_alert` is never used [INFO] [stdout] --> src/metrics.rs:184:14 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn send_telegram_alert( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_incentive_spread` and `min_incentive_size` are never read [INFO] [stdout] --> src/quoter.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct QuoteParams { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub max_incentive_spread: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | /// Minimum order size for reward scoring. [INFO] [stdout] 27 | pub min_incentive_size: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QuoteParams` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `net_position`, and `capital_deployed` are never used [INFO] [stdout] --> src/risk.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl MarketInventory { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 17 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn net_position(&self) -> Decimal { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn capital_deployed(&self) -> Decimal { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `QuoteSideDecision` is never used [INFO] [stdout] --> src/risk.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | pub enum QuoteSideDecision { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inventory_check` is never used [INFO] [stdout] --> src/risk.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn inventory_check( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `holding_reward_factor` is never used [INFO] [stdout] --> src/risk.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn holding_reward_factor(midpoint: Decimal, days_to_resolution: Option) -> Decimal { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `active`, `closed`, and `volume` are never read [INFO] [stdout] --> src/scanner.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MarketInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub active: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | pub closed: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | pub liquidity: Decimal, [INFO] [stdout] 17 | pub volume: Decimal, [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: field `asset_id` is never read [INFO] [stdout] --> src/ws.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | MidpointUpdate { asset_id: String, midpoint: Decimal }, [INFO] [stdout] | -------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `WsEvent` 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: variant `BookUpdate` is never constructed [INFO] [stdout] --> src/ws.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum WsEvent { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | BookUpdate { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WsEvent` 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 `event_tx` is never read [INFO] [stdout] --> src/ws.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct WsManager { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 36 | event_tx: mpsc::Sender, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 09s [INFO] running `Command { std: "docker" "inspect" "a0ef9f47c4e03d608b1f4185da06e4377c44ade27c0d2cf45552be3d49ed9976", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0ef9f47c4e03d608b1f4185da06e4377c44ade27c0d2cf45552be3d49ed9976", kill_on_drop: false }` [INFO] [stdout] a0ef9f47c4e03d608b1f4185da06e4377c44ade27c0d2cf45552be3d49ed9976 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a8dc3b8fbea048383de8b809c4f4b5a915d4ad808dca80bbe68e4848cd48f3c [INFO] running `Command { std: "docker" "start" "-a" "7a8dc3b8fbea048383de8b809c4f4b5a915d4ad808dca80bbe68e4848cd48f3c", kill_on_drop: false }` [INFO] [stderr] Compiling polymarket-lp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/manager.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, Result}; [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: `std::sync::Arc` [INFO] [stdout] --> src/manager.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> src/manager.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dry_run` is never read [INFO] [stdout] --> src/engine.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct QuoteEngine { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub dry_run: bool, [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 `check_balances` is never used [INFO] [stdout] --> src/inventory.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn check_balances( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BalanceInfo` is never constructed [INFO] [stdout] --> src/inventory.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct BalanceInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_usdc_to_tokens` is never used [INFO] [stdout] --> src/inventory.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | pub async fn split_usdc_to_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `merge_tokens_to_usdc` is never used [INFO] [stdout] --> src/inventory.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | pub async fn merge_tokens_to_usdc( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `redeem_winning_tokens` is never used [INFO] [stdout] --> src/inventory.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 75 | pub async fn redeem_winning_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_resolution` is never used [INFO] [stdout] --> src/inventory.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn check_resolution(market_closed: bool) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResolutionResult` is never constructed [INFO] [stdout] --> src/inventory.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct ResolutionResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `total_yes_tokens` and `total_no_tokens` are never read [INFO] [stdout] --> src/manager.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 350 | pub struct PortfolioStats { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 354 | pub total_yes_tokens: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 355 | pub total_no_tokens: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PortfolioStats` 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 `record_fill`, `record_orders`, `record_reward`, and `record_rebate` are never used [INFO] [stdout] --> src/metrics.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl MarketMetrics { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn record_fill(&mut self, spread_capture: Decimal) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn record_orders(&mut self, count: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn record_reward(&mut self, amount: Decimal) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn record_rebate(&mut self, amount: Decimal) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_telegram_alert` is never used [INFO] [stdout] --> src/metrics.rs:184:14 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn send_telegram_alert( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_incentive_spread` and `min_incentive_size` are never read [INFO] [stdout] --> src/quoter.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct QuoteParams { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub max_incentive_spread: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | /// Minimum order size for reward scoring. [INFO] [stdout] 27 | pub min_incentive_size: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QuoteParams` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `capital_deployed` are never used [INFO] [stdout] --> src/risk.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl MarketInventory { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 17 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn capital_deployed(&self) -> Decimal { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `active`, `closed`, and `volume` are never read [INFO] [stdout] --> src/scanner.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MarketInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub active: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | pub closed: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | pub liquidity: Decimal, [INFO] [stdout] 17 | pub volume: Decimal, [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: field `asset_id` is never read [INFO] [stdout] --> src/ws.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | MidpointUpdate { asset_id: String, midpoint: Decimal }, [INFO] [stdout] | -------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `WsEvent` 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: variant `BookUpdate` is never constructed [INFO] [stdout] --> src/ws.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum WsEvent { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | BookUpdate { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WsEvent` 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 `event_tx` is never read [INFO] [stdout] --> src/ws.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct WsManager { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 36 | event_tx: mpsc::Sender, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 9.54s [INFO] running `Command { std: "docker" "inspect" "7a8dc3b8fbea048383de8b809c4f4b5a915d4ad808dca80bbe68e4848cd48f3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a8dc3b8fbea048383de8b809c4f4b5a915d4ad808dca80bbe68e4848cd48f3c", kill_on_drop: false }` [INFO] [stdout] 7a8dc3b8fbea048383de8b809c4f4b5a915d4ad808dca80bbe68e4848cd48f3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 80624dc077cc4e535021e6e813817d46bcddea043043c186cce76987d0f5d3a7 [INFO] running `Command { std: "docker" "start" "-a" "80624dc077cc4e535021e6e813817d46bcddea043043c186cce76987d0f5d3a7", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Context` [INFO] [stderr] --> src/manager.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | use anyhow::{Context, Result}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Arc` [INFO] [stderr] --> src/manager.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::sync::Mutex` [INFO] [stderr] --> src/manager.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use tokio::sync::Mutex; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `dry_run` is never read [INFO] [stderr] --> src/engine.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 21 | pub struct QuoteEngine { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 24 | pub dry_run: bool, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `check_balances` is never used [INFO] [stderr] --> src/inventory.rs:10:14 [INFO] [stderr] | [INFO] [stderr] 10 | pub async fn check_balances( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `BalanceInfo` is never constructed [INFO] [stderr] --> src/inventory.rs:35:12 [INFO] [stderr] | [INFO] [stderr] 35 | pub struct BalanceInfo { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `split_usdc_to_tokens` is never used [INFO] [stderr] --> src/inventory.rs:43:14 [INFO] [stderr] | [INFO] [stderr] 43 | pub async fn split_usdc_to_tokens( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `merge_tokens_to_usdc` is never used [INFO] [stderr] --> src/inventory.rs:60:14 [INFO] [stderr] | [INFO] [stderr] 60 | pub async fn merge_tokens_to_usdc( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `redeem_winning_tokens` is never used [INFO] [stderr] --> src/inventory.rs:75:14 [INFO] [stderr] | [INFO] [stderr] 75 | pub async fn redeem_winning_tokens( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `check_resolution` is never used [INFO] [stderr] --> src/inventory.rs:91:8 [INFO] [stderr] | [INFO] [stderr] 91 | pub fn check_resolution(market_closed: bool) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ResolutionResult` is never constructed [INFO] [stderr] --> src/inventory.rs:100:12 [INFO] [stderr] | [INFO] [stderr] 100 | pub struct ResolutionResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `total_yes_tokens` and `total_no_tokens` are never read [INFO] [stderr] --> src/manager.rs:354:9 [INFO] [stderr] | [INFO] [stderr] 350 | pub struct PortfolioStats { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 354 | pub total_yes_tokens: Decimal, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 355 | pub total_no_tokens: Decimal, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PortfolioStats` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `record_fill`, `record_orders`, `record_reward`, and `record_rebate` are never used [INFO] [stderr] --> src/metrics.rs:77:12 [INFO] [stderr] | [INFO] [stderr] 29 | impl MarketMetrics { [INFO] [stderr] | ------------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 77 | pub fn record_fill(&mut self, spread_capture: Decimal) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 82 | pub fn record_orders(&mut self, count: u64) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 86 | pub fn record_reward(&mut self, amount: Decimal) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 90 | pub fn record_rebate(&mut self, amount: Decimal) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `send_telegram_alert` is never used [INFO] [stderr] --> src/metrics.rs:184:14 [INFO] [stderr] | [INFO] [stderr] 184 | pub async fn send_telegram_alert( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `max_incentive_spread` and `min_incentive_size` are never read [INFO] [stderr] --> src/quoter.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct QuoteParams { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 25 | pub max_incentive_spread: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 26 | /// Minimum order size for reward scoring. [INFO] [stderr] 27 | pub min_incentive_size: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `QuoteParams` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `capital_deployed` are never used [INFO] [stderr] --> src/risk.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 16 | impl MarketInventory { [INFO] [stderr] | -------------------- associated items in this implementation [INFO] [stderr] 17 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 40 | pub fn capital_deployed(&self) -> Decimal { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `active`, `closed`, and `volume` are never read [INFO] [stderr] --> src/scanner.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct MarketInfo { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 14 | pub active: bool, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 15 | pub closed: bool, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 16 | pub liquidity: Decimal, [INFO] [stderr] 17 | pub volume: Decimal, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MarketInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `asset_id` is never read [INFO] [stderr] --> src/ws.rs:15:22 [INFO] [stderr] | [INFO] [stderr] 15 | MidpointUpdate { asset_id: String, midpoint: Decimal }, [INFO] [stderr] | -------------- ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `WsEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variant `BookUpdate` is never constructed [INFO] [stderr] --> src/ws.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 13 | pub enum WsEvent { [INFO] [stderr] | ------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 17 | BookUpdate { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `WsEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `event_tx` is never read [INFO] [stderr] --> src/ws.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 35 | pub struct WsManager { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 36 | event_tx: mpsc::Sender, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `polymarket-lp` (bin "polymarket-lp" test) generated 20 warnings (run `cargo fix --bin "polymarket-lp" -p polymarket-lp --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.63s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/polymarket_lp-ea38d524ce4d1845) [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test manager::tests::test_rate_limiter_burst_limit ... ok [INFO] [stdout] test config::tests::test_minimal_config ... ok [INFO] [stdout] test metrics::tests::test_market_metrics_uptime ... ok [INFO] [stdout] test quoter::tests::test_align_to_tick ... ok [INFO] [stdout] test quoter::tests::test_compute_offset_with_fee ... ok [INFO] [stdout] test quoter::tests::test_compute_offset_no_fee ... ok [INFO] [stdout] test quoter::tests::test_estimate_score ... ok [INFO] [stdout] test metrics::tests::test_market_metrics_fill_rate ... ok [INFO] [stdout] test quoter::tests::test_estimate_score_outside_spread ... ok [INFO] [stdout] test quoter::tests::test_two_sided_score ... ok [INFO] [stdout] test risk::tests::test_holding_reward_factor ... ok [INFO] [stdout] test config::tests::test_default_config_roundtrip ... ok [INFO] [stdout] test risk::tests::test_kill_switch ... ok [INFO] [stdout] test scanner::tests::test_rank_markets_respects_max_count ... ok [INFO] [stdout] test quoter::tests::test_estimate_score_below_min_size ... ok [INFO] [stdout] test manager::tests::test_rate_limiter_basic ... ok [INFO] [stdout] test metrics::tests::test_metrics_save_load ... ok [INFO] [stdout] test risk::tests::test_capital_allocation ... ok [INFO] [stdout] test risk::tests::test_inventory_check_at_cap ... ok [INFO] [stdout] test risk::tests::test_inventory_check_normal ... ok [INFO] [stdout] test risk::tests::test_unrealized_pnl ... ok [INFO] [stdout] test scanner::tests::test_rank_markets_filters_by_reward ... ok [INFO] [stdout] test metrics::tests::test_portfolio_total_pnl ... ok [INFO] [stdout] test quoter::tests::test_generate_quotes_basic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "80624dc077cc4e535021e6e813817d46bcddea043043c186cce76987d0f5d3a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80624dc077cc4e535021e6e813817d46bcddea043043c186cce76987d0f5d3a7", kill_on_drop: false }` [INFO] [stdout] 80624dc077cc4e535021e6e813817d46bcddea043043c186cce76987d0f5d3a7