[INFO] cloning repository https://github.com/prayerERROR/polymarket-btc5min-simulation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/prayerERROR/polymarket-btc5min-simulation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FprayerERROR%2Fpolymarket-btc5min-simulation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FprayerERROR%2Fpolymarket-btc5min-simulation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e0a577e4529a390c82aa4d52df7debd1315adac5 [INFO] testing prayerERROR/polymarket-btc5min-simulation/e0a577e4529a390c82aa4d52df7debd1315adac5 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FprayerERROR%2Fpolymarket-btc5min-simulation" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/prayerERROR/polymarket-btc5min-simulation [INFO] finished tweaking git repo https://github.com/prayerERROR/polymarket-btc5min-simulation [INFO] tweaked toml for git repo https://github.com/prayerERROR/polymarket-btc5min-simulation written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/prayerERROR/polymarket-btc5min-simulation on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/prayerERROR/polymarket-btc5min-simulation 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded toml_parser v1.0.10+spec-1.1.0 [INFO] [stderr] Downloaded toml_edit v0.25.5+spec-1.1.0 [INFO] [stderr] Downloaded alloy-rpc-types-any v1.7.3 [INFO] [stderr] Downloaded alloy-json-rpc v1.7.3 [INFO] [stderr] Downloaded rust_decimal_macros v1.40.0 [INFO] [stderr] Downloaded alloy-core v1.5.7 [INFO] [stderr] Downloaded alloy-network-primitives v1.7.3 [INFO] [stderr] Downloaded alloy-chains v0.2.32 [INFO] [stderr] Downloaded alloy v1.7.3 [INFO] [stderr] Downloaded bon-macros v3.9.1 [INFO] [stderr] Downloaded alloy-network v1.7.3 [INFO] [stderr] Downloaded polymarket-client-sdk v0.4.4 [INFO] [stderr] Downloaded alloy-signer v1.7.3 [INFO] [stderr] Downloaded alloy-signer-local v1.7.3 [INFO] [stderr] Downloaded alloy-rpc-types-eth v1.7.3 [INFO] [stderr] Downloaded bon v3.9.1 [INFO] [stderr] Downloaded alloy-consensus v1.7.3 [INFO] [stderr] Downloaded alloy-serde v1.7.3 [INFO] [stderr] Downloaded strum_macros v0.28.0 [INFO] [stderr] Downloaded toml_datetime v1.0.1+spec-1.1.0 [INFO] [stderr] Downloaded alloy-consensus-any v1.7.3 [INFO] [stderr] Downloaded alloy-tx-macros v1.7.3 [INFO] [stderr] Downloaded alloy-eips v1.7.3 [INFO] [stderr] Downloaded serde_html_form v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2133c79462e55587b96038c205f954f7122fa2556ef05106f96dab960332bde [INFO] running `Command { std: "docker" "start" "-a" "a2133c79462e55587b96038c205f954f7122fa2556ef05106f96dab960332bde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2133c79462e55587b96038c205f954f7122fa2556ef05106f96dab960332bde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2133c79462e55587b96038c205f954f7122fa2556ef05106f96dab960332bde", kill_on_drop: false }` [INFO] [stdout] a2133c79462e55587b96038c205f954f7122fa2556ef05106f96dab960332bde [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14595d2d02ec137daa7fd583d612892f56db8f09b2feb238fd0c5d7c9372bf53 [INFO] running `Command { std: "docker" "start" "-a" "14595d2d02ec137daa7fd583d612892f56db8f09b2feb238fd0c5d7c9372bf53", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Compiling serde_core v1.0.228 [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 once_cell v1.21.4 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling keccak v0.1.6 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling ruint-macro v1.2.1 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling const-hex v1.18.1 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling aws-lc-rs v1.16.1 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Compiling openssl-probe v0.2.1 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling ipnet v2.12.0 [INFO] [stderr] Compiling winnow v0.7.15 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling phf_shared v0.13.1 [INFO] [stderr] Compiling futures-utils-wasm v0.1.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling rustls-native-certs v0.8.3 [INFO] [stderr] Compiling iri-string v0.7.10 [INFO] [stderr] Compiling rust_decimal v1.40.0 [INFO] [stderr] Compiling data-encoding v2.10.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling phf_generator v0.13.1 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling cc v1.2.57 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling rand v0.10.0 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Compiling uuid v1.22.0 [INFO] [stderr] Compiling aws-lc-sys v0.38.0 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.23.0 [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.21.3 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling serde_html_form v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling alloy-rlp-derive v0.3.13 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [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 yoke-derive v0.8.1 [INFO] [stderr] Compiling tokio-macros v2.6.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 async-stream-impl v0.3.6 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling phf_macros v0.13.1 [INFO] [stderr] Compiling rust_decimal_macros v1.40.0 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling strum_macros v0.28.0 [INFO] [stderr] Compiling alloy-sol-macro-input v1.5.7 [INFO] [stderr] Compiling alloy-sol-macro-expander v1.5.7 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Compiling serde_with_macros v3.18.0 [INFO] [stderr] Compiling bon-macros v3.9.1 [INFO] [stderr] Compiling phf v0.13.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling alloy-tx-macros v1.7.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling derive_more v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling alloy-sol-type-parser v1.5.7 [INFO] [stderr] Compiling alloy-sol-macro v1.5.7 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling secrecy v0.10.3 [INFO] [stderr] Compiling alloy-rlp v0.3.13 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Compiling ruint v1.17.2 [INFO] [stderr] Compiling serde_with v3.18.0 [INFO] [stderr] Compiling alloy-primitives v1.5.7 [INFO] [stderr] Compiling nybbles v0.4.8 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling bon v3.9.1 [INFO] [stderr] Compiling alloy-eip7702 v0.6.3 [INFO] [stderr] Compiling alloy-eip2124 v0.2.0 [INFO] [stderr] Compiling alloy-eip7928 v0.3.3 [INFO] [stderr] Compiling alloy-serde v1.7.3 [INFO] [stderr] Compiling alloy-eip2930 v0.2.3 [INFO] [stderr] Compiling alloy-sol-types v1.5.7 [INFO] [stderr] Compiling alloy-trie v0.9.5 [INFO] [stderr] Compiling alloy-signer v1.7.3 [INFO] [stderr] Compiling alloy-json-abi v1.5.7 [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 tokio-util v0.7.18 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling alloy-core v1.5.7 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling alloy-consensus-any v1.7.3 [INFO] [stderr] Compiling alloy-network-primitives v1.7.3 [INFO] [stderr] Compiling alloy-rpc-types-eth v1.7.3 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling rustls-webpki v0.103.9 [INFO] [stderr] Compiling alloy-rpc-types-any v1.7.3 [INFO] [stderr] Compiling alloy-network v1.7.3 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling alloy-signer-local v1.7.3 [INFO] [stderr] Compiling alloy v1.7.3 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling tungstenite v0.28.0 [INFO] [stderr] Compiling rustls-platform-verifier v0.6.2 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.13.2 [INFO] [stderr] Compiling tokio-tungstenite v0.28.0 [INFO] [stderr] Compiling polymarket-client-sdk v0.4.4 [INFO] [stderr] Compiling polymarket-btc5min-simulation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `start_time`, `up_price`, and `down_price` are never read [INFO] [stdout] --> src/market_tracker.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ActiveMarket { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub start_time: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub up_price: Decimal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | pub down_price: Decimal, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActiveMarket` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mid` and `spread` are never read [INFO] [stdout] --> src/polymarket.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct BookSnapshot { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | pub mid: Decimal, [INFO] [stdout] | ^^^ [INFO] [stdout] 39 | pub spread: Decimal, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BookSnapshot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `order_type` and `secs_left` are never read [INFO] [stdout] --> src/strategy.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Fill { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 40 | pub side: Side, [INFO] [stdout] 41 | pub order_type: OrderType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub secs_left: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Fill` 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`, `entry`, `exit`, and `exit_reason` are never read [INFO] [stdout] --> src/strategy.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct ClosedTrade { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 56 | pub market_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 57 | pub entry: Fill, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 58 | pub exit: Fill, [INFO] [stdout] | ^^^^ [INFO] [stdout] 59 | pub pnl: f64, [INFO] [stdout] 60 | pub exit_reason: ExitReason, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClosedTrade` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 18s [INFO] running `Command { std: "docker" "inspect" "14595d2d02ec137daa7fd583d612892f56db8f09b2feb238fd0c5d7c9372bf53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14595d2d02ec137daa7fd583d612892f56db8f09b2feb238fd0c5d7c9372bf53", kill_on_drop: false }` [INFO] [stdout] 14595d2d02ec137daa7fd583d612892f56db8f09b2feb238fd0c5d7c9372bf53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f0eff7ca48b26598141b24b61e8262afe02cf1f23d770abc4989241687bb358 [INFO] running `Command { std: "docker" "start" "-a" "2f0eff7ca48b26598141b24b61e8262afe02cf1f23d770abc4989241687bb358", kill_on_drop: false }` [INFO] [stderr] Compiling polymarket-btc5min-simulation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `start_time`, `up_price`, and `down_price` are never read [INFO] [stdout] --> src/market_tracker.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ActiveMarket { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub start_time: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub up_price: Decimal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | pub down_price: Decimal, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActiveMarket` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mid` and `spread` are never read [INFO] [stdout] --> src/polymarket.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct BookSnapshot { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | pub mid: Decimal, [INFO] [stdout] | ^^^ [INFO] [stdout] 39 | pub spread: Decimal, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BookSnapshot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `order_type` and `secs_left` are never read [INFO] [stdout] --> src/strategy.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Fill { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 40 | pub side: Side, [INFO] [stdout] 41 | pub order_type: OrderType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub secs_left: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Fill` 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`, `entry`, `exit`, and `exit_reason` are never read [INFO] [stdout] --> src/strategy.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct ClosedTrade { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 56 | pub market_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 57 | pub entry: Fill, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 58 | pub exit: Fill, [INFO] [stdout] | ^^^^ [INFO] [stdout] 59 | pub pnl: f64, [INFO] [stdout] 60 | pub exit_reason: ExitReason, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClosedTrade` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.63s [INFO] running `Command { std: "docker" "inspect" "2f0eff7ca48b26598141b24b61e8262afe02cf1f23d770abc4989241687bb358", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f0eff7ca48b26598141b24b61e8262afe02cf1f23d770abc4989241687bb358", kill_on_drop: false }` [INFO] [stdout] 2f0eff7ca48b26598141b24b61e8262afe02cf1f23d770abc4989241687bb358 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d12e863071b3ea1c35e39d2f680e11fe26a83369248f1a71183223a1e609a9f1 [INFO] running `Command { std: "docker" "start" "-a" "d12e863071b3ea1c35e39d2f680e11fe26a83369248f1a71183223a1e609a9f1", kill_on_drop: false }` [INFO] [stderr] warning: fields `start_time`, `up_price`, and `down_price` are never read [INFO] [stderr] --> src/market_tracker.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct ActiveMarket { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 14 | pub start_time: DateTime, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 18 | pub up_price: Decimal, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 19 | pub down_price: Decimal, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ActiveMarket` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `mid` and `spread` are never read [INFO] [stderr] --> src/polymarket.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 35 | pub struct BookSnapshot { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 38 | pub mid: Decimal, [INFO] [stderr] | ^^^ [INFO] [stderr] 39 | pub spread: Decimal, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `BookSnapshot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `order_type` and `secs_left` are never read [INFO] [stderr] --> src/strategy.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 39 | pub struct Fill { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 40 | pub side: Side, [INFO] [stderr] 41 | pub order_type: OrderType, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 45 | pub secs_left: u64, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Fill` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `market_id`, `entry`, `exit`, and `exit_reason` are never read [INFO] [stderr] --> src/strategy.rs:56:9 [INFO] [stderr] | [INFO] [stderr] 55 | pub struct ClosedTrade { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 56 | pub market_id: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 57 | pub entry: Fill, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 58 | pub exit: Fill, [INFO] [stderr] | ^^^^ [INFO] [stderr] 59 | pub pnl: f64, [INFO] [stderr] 60 | pub exit_reason: ExitReason, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ClosedTrade` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `polymarket-btc5min-simulation` (bin "polymarket-btc5min-simulation" test) generated 4 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.58s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/polymarket_btc5min_simulation-967ad8b356a1de0a) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d12e863071b3ea1c35e39d2f680e11fe26a83369248f1a71183223a1e609a9f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d12e863071b3ea1c35e39d2f680e11fe26a83369248f1a71183223a1e609a9f1", kill_on_drop: false }` [INFO] [stdout] d12e863071b3ea1c35e39d2f680e11fe26a83369248f1a71183223a1e609a9f1