[INFO] cloning repository https://github.com/goldbar123467/arb-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/goldbar123467/arb-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoldbar123467%2Farb-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoldbar123467%2Farb-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 72802835f663b85a436c3cbdeefb0ed37f4f4eae [INFO] testing goldbar123467/arb-bot against 1.99.0-beta.8 for beta-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoldbar123467%2Farb-bot" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/goldbar123467/arb-bot [INFO] finished tweaking git repo https://github.com/goldbar123467/arb-bot [INFO] tweaked toml for git repo https://github.com/goldbar123467/arb-bot written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/goldbar123467/arb-bot on toolchain 1.99.0-beta.8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/goldbar123467/arb-bot 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" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rust_decimal_macros v1.40.0 [INFO] [stderr] Downloaded uuid v1.21.0 [INFO] [stderr] Downloaded rkyv_derive v0.7.46 [INFO] [stderr] Downloaded proc-macro-crate v3.4.0 [INFO] [stderr] Downloaded borsh-derive v1.6.0 [INFO] [stderr] Downloaded toml_parser v1.0.8+spec-1.1.0 [INFO] [stderr] Downloaded toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.58 [INFO] [stderr] Downloaded rkyv v0.7.46 [INFO] [stderr] Downloaded toml_edit v0.23.10+spec-1.0.0 [INFO] [stderr] Downloaded borsh v1.6.0 [INFO] [stderr] Downloaded syn v2.0.116 [INFO] [stderr] Downloaded rust_decimal v1.40.0 [INFO] [stderr] Downloaded rustls v0.23.36 [INFO] [stderr] Downloaded web-sys v0.3.85 [INFO] [stderr] Downloaded proptest v1.10.0 [INFO] [stderr] Downloaded quinn-proto v0.11.13 [INFO] [stderr] Downloaded chrono v0.4.43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 4ef2b700608d2ffadf51d85a7833af15497cf6c295f066f612cca3a282dff3a7 [INFO] running `Command { std: "docker" "start" "4ef2b700608d2ffadf51d85a7833af15497cf6c295f066f612cca3a282dff3a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ef2b700608d2ffadf51d85a7833af15497cf6c295f066f612cca3a282dff3a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4ef2b700608d2ffadf51d85a7833af15497cf6c295f066f612cca3a282dff3a7" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ef2b700608d2ffadf51d85a7833af15497cf6c295f066f612cca3a282dff3a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4ef2b700608d2ffadf51d85a7833af15497cf6c295f066f612cca3a282dff3a7" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling libm v0.2.16 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling zerocopy v0.8.39 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling base64ct v1.8.3 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling num-bigint-dig v0.8.6 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling regex-syntax v0.8.9 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling webpki-roots v1.0.6 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling rust_decimal v1.40.0 [INFO] [stderr] Compiling anyhow v1.0.101 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling iri-string v0.7.10 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling syn v2.0.116 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [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 serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling rust_decimal_macros v1.40.0 [INFO] [stderr] Compiling rustls-webpki v0.103.9 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling rsa v0.9.10 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.43 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling bracket-arb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `max_open_positions` is never read [INFO] [stdout] --> src/config.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct RiskConfig { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | pub max_open_positions: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RiskConfig` has a derived impl for the trait `Debug`, but this is 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 `event_ticker` and `direction` are never read [INFO] [stdout] --> src/executor.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ExecutionResult { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 11 | pub event_ticker: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 12 | pub direction: ArbDirection, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExecutionResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title` and `status` are never read [INFO] [stdout] --> src/kalshi/types.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Series { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 14 | pub ticker: String, [INFO] [stdout] 15 | pub title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | pub status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Series` 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 `status` is never read [INFO] [stdout] --> src/kalshi/types.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Event { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | pub status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `subtitle` and `result` are never read [INFO] [stdout] --> src/kalshi/types.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Market { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 43 | pub subtitle: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 44 | pub status: String, [INFO] [stdout] 45 | pub result: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Market` 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: multiple fields are never read [INFO] [stdout] --> src/kalshi/types.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct Order { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 113 | pub order_id: String, [INFO] [stdout] 114 | pub ticker: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 115 | pub status: String, [INFO] [stdout] 116 | pub action: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 117 | pub side: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 118 | #[serde(rename = "type")] [INFO] [stdout] 119 | pub order_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 120 | pub yes_price: Option, [INFO] [stdout] 121 | pub no_price: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 122 | pub count: Option, [INFO] [stdout] 123 | pub remaining_count: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub initial_count: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Order` 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 `title` is never read [INFO] [stdout] --> src/kalshi/types.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct BracketQuote { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 135 | pub ticker: String, [INFO] [stdout] 136 | pub title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BracketQuote` 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 `event_title` and `gross_profit_cents` are never read [INFO] [stdout] --> src/kalshi/types.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 144 | pub struct ArbOpportunity { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 145 | pub event_ticker: String, [INFO] [stdout] 146 | pub event_title: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub gross_profit_cents: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArbOpportunity` 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 1m 06s [INFO] running `Command { std: "docker" "inspect" "4ef2b700608d2ffadf51d85a7833af15497cf6c295f066f612cca3a282dff3a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4ef2b700608d2ffadf51d85a7833af15497cf6c295f066f612cca3a282dff3a7" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.9 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rust_decimal v1.40.0 [INFO] [stderr] Compiling chrono v0.4.43 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num-bigint-dig v0.8.6 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling rsa v0.9.10 [INFO] [stderr] Compiling tempfile v3.25.0 [INFO] [stderr] Compiling rusty-fork v0.3.1 [INFO] [stderr] Compiling proptest v1.10.0 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling bracket-arb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `max_open_positions` is never read [INFO] [stdout] --> src/config.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct RiskConfig { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | pub max_open_positions: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RiskConfig` has a derived impl for the trait `Debug`, but this is 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 `event_ticker` and `direction` are never read [INFO] [stdout] --> src/executor.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ExecutionResult { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 11 | pub event_ticker: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 12 | pub direction: ArbDirection, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExecutionResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title` and `status` are never read [INFO] [stdout] --> src/kalshi/types.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Series { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 14 | pub ticker: String, [INFO] [stdout] 15 | pub title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | pub status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Series` 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 `status` is never read [INFO] [stdout] --> src/kalshi/types.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Event { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | pub status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `subtitle` and `result` are never read [INFO] [stdout] --> src/kalshi/types.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Market { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 43 | pub subtitle: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 44 | pub status: String, [INFO] [stdout] 45 | pub result: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Market` 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: multiple fields are never read [INFO] [stdout] --> src/kalshi/types.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct Order { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 113 | pub order_id: String, [INFO] [stdout] 114 | pub ticker: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 115 | pub status: String, [INFO] [stdout] 116 | pub action: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 117 | pub side: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 118 | #[serde(rename = "type")] [INFO] [stdout] 119 | pub order_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 120 | pub yes_price: Option, [INFO] [stdout] 121 | pub no_price: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 122 | pub count: Option, [INFO] [stdout] 123 | pub remaining_count: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub initial_count: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Order` 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 `event_title` is never read [INFO] [stdout] --> src/kalshi/types.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 144 | pub struct ArbOpportunity { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 145 | pub event_ticker: String, [INFO] [stdout] 146 | pub event_title: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArbOpportunity` 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 21.40s [INFO] running `Command { std: "docker" "inspect" "4ef2b700608d2ffadf51d85a7833af15497cf6c295f066f612cca3a282dff3a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4ef2b700608d2ffadf51d85a7833af15497cf6c295f066f612cca3a282dff3a7" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: field `max_open_positions` is never read [INFO] [stderr] --> src/config.rs:37:9 [INFO] [stderr] | [INFO] [stderr] 33 | pub struct RiskConfig { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 37 | pub max_open_positions: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RiskConfig` has a derived impl for the trait `Debug`, but this is 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 `event_ticker` and `direction` are never read [INFO] [stderr] --> src/executor.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct ExecutionResult { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 11 | pub event_ticker: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 12 | pub direction: ArbDirection, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ExecutionResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `title` and `status` are never read [INFO] [stderr] --> src/kalshi/types.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct Series { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 14 | pub ticker: String, [INFO] [stderr] 15 | pub title: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 16 | pub status: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Series` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `status` is never read [INFO] [stderr] --> src/kalshi/types.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub struct Event { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] ... [INFO] [stderr] 32 | pub status: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `subtitle` and `result` are never read [INFO] [stderr] --> src/kalshi/types.rs:43:9 [INFO] [stderr] | [INFO] [stderr] 40 | pub struct Market { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 43 | pub subtitle: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 44 | pub status: String, [INFO] [stderr] 45 | pub result: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Market` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/kalshi/types.rs:114:9 [INFO] [stderr] | [INFO] [stderr] 112 | pub struct Order { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 113 | pub order_id: String, [INFO] [stderr] 114 | pub ticker: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 115 | pub status: String, [INFO] [stderr] 116 | pub action: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 117 | pub side: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 118 | #[serde(rename = "type")] [INFO] [stderr] 119 | pub order_type: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 120 | pub yes_price: Option, [INFO] [stderr] 121 | pub no_price: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 122 | pub count: Option, [INFO] [stderr] 123 | pub remaining_count: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 127 | pub initial_count: Option, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Order` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `event_title` is never read [INFO] [stderr] --> src/kalshi/types.rs:146:9 [INFO] [stderr] | [INFO] [stderr] 144 | pub struct ArbOpportunity { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 145 | pub event_ticker: String, [INFO] [stderr] 146 | pub event_title: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ArbOpportunity` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `bracket-arb` (bin "bracket-arb" test) generated 7 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/bracket_arb-3e66a66156dd6b6f) [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test detector::tests::test_gate_independence_short ... ok [INFO] [stdout] test detector::tests::test_quote_from_orderbook_empty_vecs ... ok [INFO] [stdout] test executor::tests::test_position_size_flows_through ... ok [INFO] [stdout] test detector::tests::test_taker_fee_at_2_contracts ... ok [INFO] [stdout] test detector::tests::test_taker_fee_at_5_contracts ... ok [INFO] [stdout] test executor::tests::test_build_order_short_payload ... ok [INFO] [stdout] test executor::tests::test_long_uses_ask_not_bid ... ok [INFO] [stdout] test executor::tests::test_short_uses_bid_not_ask ... ok [INFO] [stdout] test kalshi::types::tests::test_deserialize_orderbook_null_both ... ok [INFO] [stdout] test detector::tests::test_quote_from_orderbook_unsorted ... ok [INFO] [stdout] test kalshi::types::tests::test_deserialize_orderbook_both_sides ... ok [INFO] [stdout] test kalshi::types::tests::test_deserialize_orderbook_null_yes ... ok [INFO] [stdout] test executor::tests::test_no_price_always_null ... ok [INFO] [stdout] test detector::tests::test_taker_fee_edge_cases ... ok [INFO] [stdout] test detector::tests::test_long_arb_profitable ... ok [INFO] [stdout] test detector::tests::test_long_arb_worked_example ... ok [INFO] [stdout] test detector::tests::test_gate_independence_long ... ok [INFO] [stdout] test executor::tests::test_build_order_long_payload ... ok [INFO] [stdout] test executor::tests::test_order_type_serializes_as_type ... ok [INFO] [stdout] test detector::tests::proptest_quote_sort_invariant ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4ef2b700608d2ffadf51d85a7833af15497cf6c295f066f612cca3a282dff3a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ef2b700608d2ffadf51d85a7833af15497cf6c295f066f612cca3a282dff3a7", kill_on_drop: false }` [INFO] [stdout] 4ef2b700608d2ffadf51d85a7833af15497cf6c295f066f612cca3a282dff3a7