[INFO] cloning repository https://github.com/broogle/polymarket-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/broogle/polymarket-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbroogle%2Fpolymarket-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbroogle%2Fpolymarket-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 831d825966027a309041a52b69f33d4e8f313a4c [INFO] checking broogle/polymarket-bot against master#49b6ac01d6f4c3da812039ae846407a20961aa4c for pr-154887 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbroogle%2Fpolymarket-bot" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/broogle/polymarket-bot [INFO] finished tweaking git repo https://github.com/broogle/polymarket-bot [INFO] tweaked toml for git repo https://github.com/broogle/polymarket-bot written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/broogle/polymarket-bot on toolchain 49b6ac01d6f4c3da812039ae846407a20961aa4c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+49b6ac01d6f4c3da812039ae846407a20961aa4c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/broogle/polymarket-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" "+49b6ac01d6f4c3da812039ae846407a20961aa4c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded toml_datetime v1.0.0+spec-1.1.0 [INFO] [stderr] Downloaded alloy-tx-macros v1.7.3 [INFO] [stderr] Downloaded keccak-asm v0.1.5 [INFO] [stderr] Downloaded uuid v1.22.0 [INFO] [stderr] Downloaded alloy-core v1.5.7 [INFO] [stderr] Downloaded toml_edit v0.25.4+spec-1.1.0 [INFO] [stderr] Downloaded alloy-serde v1.7.3 [INFO] [stderr] Downloaded alloy-chains v0.2.30 [INFO] [stderr] Downloaded alloy-transport v1.7.3 [INFO] [stderr] Downloaded alloy-rpc-client v1.7.3 [INFO] [stderr] Downloaded bon-macros v3.9.0 [INFO] [stderr] Downloaded alloy-rpc-types-eth v1.7.3 [INFO] [stderr] Downloaded alloy-consensus v1.7.3 [INFO] [stderr] Downloaded alloy-provider v1.7.3 [INFO] [stderr] Downloaded rand v0.10.0 [INFO] [stderr] Downloaded serde_with v3.17.0 [INFO] [stderr] Downloaded aws-lc-rs v1.16.1 [INFO] [stderr] Downloaded alloy v1.7.3 [INFO] [stderr] Downloaded polymarket-client-sdk v0.4.3 [INFO] [stderr] Downloaded bon v3.9.0 [INFO] [stderr] Downloaded alloy-consensus-any v1.7.3 [INFO] [stderr] Downloaded alloy-network-primitives v1.7.3 [INFO] [stderr] Downloaded alloy-eips v1.7.3 [INFO] [stderr] Downloaded alloy-network v1.7.3 [INFO] [stderr] Downloaded alloy-signer-local v1.7.3 [INFO] [stderr] Downloaded alloy-json-rpc v1.7.3 [INFO] [stderr] Downloaded sha3-asm v0.1.5 [INFO] [stderr] Downloaded alloy-transport-http v1.7.3 [INFO] [stderr] Downloaded alloy-trie v0.9.4 [INFO] [stderr] Downloaded rust_decimal_macros v1.40.0 [INFO] [stderr] Downloaded serde_html_form v0.4.0 [INFO] [stderr] Downloaded serde_with_macros v3.17.0 [INFO] [stderr] Downloaded strum_macros v0.28.0 [INFO] [stderr] Downloaded alloy-signer v1.7.3 [INFO] [stderr] Downloaded alloy-rpc-types-any v1.7.3 [INFO] [stderr] Downloaded alloy-rlp v0.3.13 [INFO] [stderr] Downloaded serde_ignored v0.1.14 [INFO] [stderr] Downloaded alloy-rlp-derive v0.3.13 [INFO] [stderr] Downloaded c-kzg v2.1.6 [INFO] [stderr] Downloaded aws-lc-sys v0.38.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+49b6ac01d6f4c3da812039ae846407a20961aa4c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39b8611b9ce7efe5c841e53811accced58ca8cf5bdfa87793312b50e33eb792c [INFO] running `Command { std: "docker" "start" "-a" "39b8611b9ce7efe5c841e53811accced58ca8cf5bdfa87793312b50e33eb792c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39b8611b9ce7efe5c841e53811accced58ca8cf5bdfa87793312b50e33eb792c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39b8611b9ce7efe5c841e53811accced58ca8cf5bdfa87793312b50e33eb792c", kill_on_drop: false }` [INFO] [stdout] 39b8611b9ce7efe5c841e53811accced58ca8cf5bdfa87793312b50e33eb792c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+49b6ac01d6f4c3da812039ae846407a20961aa4c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e372a4e72430099545398fbdabc9276946b363457447396452f090ce31c77bb1 [INFO] running `Command { std: "docker" "start" "-a" "e372a4e72430099545398fbdabc9276946b363457447396452f090ce31c77bb1", kill_on_drop: false }` [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Checking foldhash v0.2.0 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling alloy-rlp-derive v0.3.13 [INFO] [stderr] Compiling ruint-macro v1.2.1 [INFO] [stderr] Checking keccak v0.1.6 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking const-hex v1.18.1 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling zerocopy v0.8.40 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling syn-solidity v1.5.7 [INFO] [stderr] Checking socket2 v0.6.3 [INFO] [stderr] Compiling macro-string v0.1.4 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Checking bytes v1.11.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling aws-lc-rs v1.16.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking alloy-rlp v0.3.13 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Checking tokio v1.50.0 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Checking crc v3.4.0 [INFO] [stderr] Checking ruint v1.17.2 [INFO] [stderr] Compiling auto_impl v1.3.0 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Checking winnow v0.7.15 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking webpki-roots v1.0.6 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking bitflags v2.11.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling pest v2.8.6 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Compiling aws-lc-sys v0.38.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Checking rand_core v0.10.0 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Checking nybbles v0.4.8 [INFO] [stderr] Compiling siphasher v1.0.2 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Compiling phf_shared v0.13.1 [INFO] [stderr] Checking futures-utils-wasm v0.1.0 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Compiling phf_generator v0.13.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking cpufeatures v0.3.0 [INFO] [stderr] Compiling rust_decimal v1.40.0 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Checking chacha20 v0.10.0 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Compiling phf_macros v0.13.1 [INFO] [stderr] Checking webpki-roots v0.26.11 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking alloy-sol-type-parser v1.5.7 [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 pest_meta v2.8.6 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking arraydeque v0.5.1 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling alloy-sol-macro-input v1.5.7 [INFO] [stderr] Checking phf v0.13.1 [INFO] [stderr] Checking rand v0.10.0 [INFO] [stderr] Compiling alloy-sol-macro-expander v1.5.7 [INFO] [stderr] Checking serde_with v3.17.0 [INFO] [stderr] Compiling pest_generator v2.8.6 [INFO] [stderr] Checking uuid v1.22.0 [INFO] [stderr] Checking serde_html_form v0.4.0 [INFO] [stderr] Checking derive_more v2.1.1 [INFO] [stderr] Checking alloy-primitives v1.5.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking secrecy v0.10.3 [INFO] [stderr] Compiling strum_macros v0.28.0 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking serde_ignored v0.1.14 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Compiling pest_derive v2.8.6 [INFO] [stderr] Compiling rust_decimal_macros v1.40.0 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking chrono-tz v0.10.4 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Compiling bon-macros v3.9.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking alloy-serde v1.7.3 [INFO] [stderr] Checking alloy-eip2930 v0.2.3 [INFO] [stderr] Checking alloy-eip7928 v0.3.3 [INFO] [stderr] Checking alloy-eip2124 v0.2.0 [INFO] [stderr] Checking alloy-eip7702 v0.6.3 [INFO] [stderr] Checking alloy-trie v0.9.4 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking alloy-json-abi v1.5.7 [INFO] [stderr] Checking alloy-signer v1.7.3 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking backoff v0.4.0 [INFO] [stderr] Checking rust-ini v0.20.0 [INFO] [stderr] Checking yaml-rust2 v0.8.1 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking config v0.14.1 [INFO] [stderr] Checking alloy-eips v1.7.3 [INFO] [stderr] Compiling alloy-sol-macro v1.5.7 [INFO] [stderr] Checking alloy-sol-types v1.5.7 [INFO] [stderr] Checking alloy-consensus v1.7.3 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking alloy-json-rpc v1.7.3 [INFO] [stderr] Checking alloy-dyn-abi v1.5.7 [INFO] [stderr] Checking alloy-core v1.5.7 [INFO] [stderr] Checking bon v3.9.0 [INFO] [stderr] Checking alloy-consensus-any v1.7.3 [INFO] [stderr] Checking alloy-network-primitives v1.7.3 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking alloy-rpc-types-eth v1.7.3 [INFO] [stderr] Checking alloy-rpc-types-any v1.7.3 [INFO] [stderr] Checking alloy-network v1.7.3 [INFO] [stderr] Checking alloy-signer-local v1.7.3 [INFO] [stderr] Checking alloy v1.7.3 [INFO] [stderr] Checking rustls-webpki v0.103.9 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking rustls-platform-verifier v0.6.2 [INFO] [stderr] Checking tungstenite v0.28.0 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking reqwest v0.13.2 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking tokio-tungstenite v0.28.0 [INFO] [stderr] Checking polymarket-client-sdk v0.4.3 [INFO] [stderr] Checking polymarket-btc-hft-bot v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `stale_threshold_ms` is never read [INFO] [stdout] --> src/config.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct FeedsConfig { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub stale_threshold_ms: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FeedsConfig` 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: field `requote_threshold_ticks` is never read [INFO] [stdout] --> src/config.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct StrategyConfig { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 76 | pub requote_threshold_ticks: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StrategyConfig` 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 `max_order_size` and `max_open_orders` are never read [INFO] [stdout] --> src/config.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct RiskConfig { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 83 | #[serde(default = "default_max_order_size")] [INFO] [stdout] 84 | pub max_order_size: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub max_open_orders: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RiskConfig` 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: variants `FeedStale`, `OrderRejected`, and `InvalidData` are never constructed [INFO] [stdout] --> src/errors.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum BotError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 5 | #[error("feed stale: {0}")] [INFO] [stdout] 6 | FeedStale(&'static str), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | OrderRejected(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 11 | #[error("invalid data: {0}")] [INFO] [stdout] 12 | InvalidData(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BotError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dry_run` is never used [INFO] [stdout] --> src/execution/client.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl ExecutionClient { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn dry_run(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_order_size` is never used [INFO] [stdout] --> src/risk/limits.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn check_order_size(size: f64, cfg: &RiskConfig) -> Result<(), BotError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_open_orders` is never used [INFO] [stdout] --> src/risk/limits.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn check_open_orders(count: u32, cfg: &RiskConfig) -> Result<(), BotError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_token_mapping`, `yes_qty`, and `no_qty` are never used [INFO] [stdout] --> src/state/inventory.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl InventoryState { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn set_token_mapping(&mut self, _yes_token: &str, _no_token: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn yes_qty(&self) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn no_qty(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/state/orderbook.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl OrderBookStore { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get(&self, asset_id: &str) -> Option<&OrderBookSnapshot> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_reconcile_ms` is never read [INFO] [stdout] --> src/state/orders.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct OrdersState { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | last_reconcile_ms: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrdersState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `open_order_count`, `open_orders`, and `mark_reconciled` are never used [INFO] [stdout] --> src/state/orders.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl OrdersState { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn open_order_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn open_orders(&self) -> Vec<&LiveOrder> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn mark_reconciled(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fill_ids` is never read [INFO] [stdout] --> src/state/pnl.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct PnlState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | fill_ids: HashSet, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PnlState` 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 `path` is never read [INFO] [stdout] --> src/storage/file_log.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct EventFileLogger { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 10 | path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventFileLogger` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `path` is never used [INFO] [stdout] --> src/storage/file_log.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl EventFileLogger { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn path(&self) -> &Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `asset_id`, `best_bid`, `best_ask`, `best_bid_size`, `best_ask_size`, and `spread` are never read [INFO] [stdout] --> src/types.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct OrderBookSnapshot { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 31 | pub asset_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 32 | pub best_bid: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | pub best_ask: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 34 | pub best_bid_size: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 35 | pub best_ask_size: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 36 | pub midpoint: f64, [INFO] [stdout] 37 | pub spread: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderBookSnapshot` 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: function `clamp` is never used [INFO] [stdout] --> src/utils/math.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn clamp(value: f64, min: f64, max: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stale_threshold_ms` is never read [INFO] [stdout] --> src/config.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct FeedsConfig { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub stale_threshold_ms: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FeedsConfig` 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: field `requote_threshold_ticks` is never read [INFO] [stdout] --> src/config.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct StrategyConfig { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 76 | pub requote_threshold_ticks: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StrategyConfig` 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 `max_order_size` and `max_open_orders` are never read [INFO] [stdout] --> src/config.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct RiskConfig { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 83 | #[serde(default = "default_max_order_size")] [INFO] [stdout] 84 | pub max_order_size: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub max_open_orders: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RiskConfig` 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: variants `FeedStale`, `OrderRejected`, and `InvalidData` are never constructed [INFO] [stdout] --> src/errors.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum BotError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 5 | #[error("feed stale: {0}")] [INFO] [stdout] 6 | FeedStale(&'static str), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | OrderRejected(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 11 | #[error("invalid data: {0}")] [INFO] [stdout] 12 | InvalidData(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BotError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dry_run` is never used [INFO] [stdout] --> src/execution/client.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl ExecutionClient { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn dry_run(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_order_size` is never used [INFO] [stdout] --> src/risk/limits.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn check_order_size(size: f64, cfg: &RiskConfig) -> Result<(), BotError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_open_orders` is never used [INFO] [stdout] --> src/risk/limits.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn check_open_orders(count: u32, cfg: &RiskConfig) -> Result<(), BotError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_token_mapping`, `yes_qty`, and `no_qty` are never used [INFO] [stdout] --> src/state/inventory.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl InventoryState { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn set_token_mapping(&mut self, _yes_token: &str, _no_token: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn yes_qty(&self) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn no_qty(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/state/orderbook.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl OrderBookStore { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get(&self, asset_id: &str) -> Option<&OrderBookSnapshot> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_reconcile_ms` is never read [INFO] [stdout] --> src/state/orders.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct OrdersState { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | last_reconcile_ms: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrdersState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `open_order_count`, `open_orders`, and `mark_reconciled` are never used [INFO] [stdout] --> src/state/orders.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl OrdersState { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn open_order_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn open_orders(&self) -> Vec<&LiveOrder> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn mark_reconciled(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fill_ids` is never read [INFO] [stdout] --> src/state/pnl.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct PnlState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | fill_ids: HashSet, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PnlState` 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 `path` is never read [INFO] [stdout] --> src/storage/file_log.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct EventFileLogger { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 10 | path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventFileLogger` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `path` is never used [INFO] [stdout] --> src/storage/file_log.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl EventFileLogger { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn path(&self) -> &Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `asset_id`, `best_bid`, `best_ask`, `best_bid_size`, `best_ask_size`, and `spread` are never read [INFO] [stdout] --> src/types.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct OrderBookSnapshot { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 31 | pub asset_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 32 | pub best_bid: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | pub best_ask: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 34 | pub best_bid_size: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 35 | pub best_ask_size: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 36 | pub midpoint: f64, [INFO] [stdout] 37 | pub spread: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderBookSnapshot` 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: function `clamp` is never used [INFO] [stdout] --> src/utils/math.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn clamp(value: f64, min: f64, max: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 55s [INFO] running `Command { std: "docker" "inspect" "e372a4e72430099545398fbdabc9276946b363457447396452f090ce31c77bb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e372a4e72430099545398fbdabc9276946b363457447396452f090ce31c77bb1", kill_on_drop: false }` [INFO] [stdout] e372a4e72430099545398fbdabc9276946b363457447396452f090ce31c77bb1