[INFO] cloning repository https://github.com/WWW-Spaceships/polymarket-maker-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WWW-Spaceships/polymarket-maker-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWWW-Spaceships%2Fpolymarket-maker-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWWW-Spaceships%2Fpolymarket-maker-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1faae75800a31dab45719a8b903d87cabd8fc693 [INFO] checking WWW-Spaceships/polymarket-maker-bot against try#579169d0e78824dc60934e5eb74cd3841f2b33e8 for pr-149328 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWWW-Spaceships%2Fpolymarket-maker-bot" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/WWW-Spaceships/polymarket-maker-bot [INFO] finished tweaking git repo https://github.com/WWW-Spaceships/polymarket-maker-bot [INFO] tweaked toml for git repo https://github.com/WWW-Spaceships/polymarket-maker-bot written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/WWW-Spaceships/polymarket-maker-bot on toolchain 579169d0e78824dc60934e5eb74cd3841f2b33e8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+579169d0e78824dc60934e5eb74cd3841f2b33e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/WWW-Spaceships/polymarket-maker-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" "+579169d0e78824dc60934e5eb74cd3841f2b33e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+579169d0e78824dc60934e5eb74cd3841f2b33e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b4d6dcb25a94cb32223fa51b4c6872782cd5785ffc7800f28c4e498be619a9c5 [INFO] running `Command { std: "docker" "start" "-a" "b4d6dcb25a94cb32223fa51b4c6872782cd5785ffc7800f28c4e498be619a9c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4d6dcb25a94cb32223fa51b4c6872782cd5785ffc7800f28c4e498be619a9c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4d6dcb25a94cb32223fa51b4c6872782cd5785ffc7800f28c4e498be619a9c5", kill_on_drop: false }` [INFO] [stdout] b4d6dcb25a94cb32223fa51b4c6872782cd5785ffc7800f28c4e498be619a9c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+579169d0e78824dc60934e5eb74cd3841f2b33e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 806c6507248faef25bf1a93dfca33c79e8f99565adc5d598fbcd7c1984aa95b4 [INFO] running `Command { std: "docker" "start" "-a" "806c6507248faef25bf1a93dfca33c79e8f99565adc5d598fbcd7c1984aa95b4", kill_on_drop: false }` [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 libc v0.2.182 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking foldhash v0.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling ruint-macro v1.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking futures-core v0.3.32 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Checking keccak v0.1.6 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking futures-sink v0.3.32 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling zerocopy v0.8.39 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking futures-task v0.3.32 [INFO] [stderr] Checking futures-io v0.3.32 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking openssl-probe v0.2.1 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking iana-time-zone v0.1.65 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling aws-lc-rs v1.16.0 [INFO] [stderr] Checking rustls-pki-types v1.14.0 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking crc v3.4.0 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Checking ryu v1.0.23 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Checking iri-string v0.7.10 [INFO] [stderr] Checking webpki-roots v1.0.6 [INFO] [stderr] Checking futures-utils-wasm v0.1.0 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking socket2 v0.6.2 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Compiling const-hex v1.17.0 [INFO] [stderr] Compiling ruint v1.17.2 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling pest v2.8.6 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Checking regex-syntax v0.8.9 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling siphasher v1.0.2 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling aws-lc-sys v0.37.1 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling getrandom v0.4.1 [INFO] [stderr] Checking rand_core v0.10.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling phf_shared v0.13.1 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling pest_meta v2.8.6 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Checking lru v0.16.3 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling phf_generator v0.13.1 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking rustls-native-certs v0.8.3 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking cpufeatures v0.3.0 [INFO] [stderr] Compiling rust_decimal v1.40.0 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking chacha20 v0.10.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling macro-string v0.1.4 [INFO] [stderr] Compiling syn-solidity v1.5.7 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling pest_generator v2.8.6 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking clap_builder v4.5.60 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking rand v0.10.0 [INFO] [stderr] Checking uuid v1.21.0 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking serde_html_form v0.4.0 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking is-terminal v0.4.17 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling alloy-rlp-derive v0.3.13 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling zerocopy-derive v0.8.39 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling auto_impl v1.3.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling num_enum_derive v0.7.5 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking num_enum v0.7.5 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling phf_macros v0.13.1 [INFO] [stderr] Compiling pest_derive v2.8.6 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking phf v0.13.1 [INFO] [stderr] Checking strum v0.27.2 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling rust_decimal_macros v1.40.0 [INFO] [stderr] Compiling strum_macros v0.28.0 [INFO] [stderr] Checking clap v4.5.60 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking derive_more v2.1.1 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking bytes v1.11.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking alloy-sol-type-parser v1.5.7 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Checking alloy-rlp v0.3.13 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling alloy-primitives v1.5.7 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking secrecy v0.10.3 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking tracing-serde v0.2.0 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking nybbles v0.4.8 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Compiling alloy-json-abi v1.5.7 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Checking tungstenite v0.24.0 [INFO] [stderr] Checking yaml-rust2 v0.8.1 [INFO] [stderr] Checking rust-ini v0.20.0 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling serde_with_macros v3.16.1 [INFO] [stderr] Compiling alloy-tx-macros v1.7.3 [INFO] [stderr] Compiling bon-macros v3.9.0 [INFO] [stderr] Checking config v0.14.1 [INFO] [stderr] Checking alloy-eip7702 v0.6.3 [INFO] [stderr] Checking alloy-eip2124 v0.2.0 [INFO] [stderr] Checking alloy-eip2930 v0.2.3 [INFO] [stderr] Checking alloy-eip7928 v0.3.2 [INFO] [stderr] Checking alloy-serde v1.7.3 [INFO] [stderr] Compiling alloy-sol-macro-input v1.5.7 [INFO] [stderr] Checking alloy-trie v0.9.4 [INFO] [stderr] Checking alloy-signer v1.7.3 [INFO] [stderr] Checking serde_with v3.16.1 [INFO] [stderr] Checking alloy-chains v0.2.30 [INFO] [stderr] Compiling alloy-sol-macro-expander v1.5.7 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking tokio-tungstenite v0.24.0 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking sqlx-core v0.8.6 [INFO] [stderr] Checking tokio-test v0.4.5 [INFO] [stderr] Checking alloy-eips v1.7.3 [INFO] [stderr] Compiling alloy-sol-macro v1.5.7 [INFO] [stderr] Checking bon v3.9.0 [INFO] [stderr] Checking alloy-sol-types v1.5.7 [INFO] [stderr] Checking alloy-consensus v1.7.3 [INFO] [stderr] Checking sqlx-postgres v0.8.6 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking alloy-json-rpc v1.7.3 [INFO] [stderr] Checking alloy-dyn-abi v1.5.7 [INFO] [stderr] Checking alloy-consensus-any v1.7.3 [INFO] [stderr] Checking alloy-network-primitives v1.7.3 [INFO] [stderr] Checking alloy-rpc-types-eth v1.7.3 [INFO] [stderr] Checking alloy-core v1.5.7 [INFO] [stderr] Checking alloy-transport v1.7.3 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking alloy-rpc-types-any v1.7.3 [INFO] [stderr] Checking alloy-rpc-types v1.7.3 [INFO] [stderr] Checking alloy-network v1.7.3 [INFO] [stderr] Checking rustls-webpki v0.103.9 [INFO] [stderr] Checking alloy-signer-local v1.7.3 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking rustls-platform-verifier v0.6.2 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking reqwest v0.13.2 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking alloy-transport-http v1.7.3 [INFO] [stderr] Checking alloy-rpc-client v1.7.3 [INFO] [stderr] Checking alloy-provider v1.7.3 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking alloy-contract v1.7.3 [INFO] [stderr] Checking alloy v1.7.3 [INFO] [stderr] Checking polymarket-client-sdk v0.4.3 [INFO] [stderr] Checking polymarket-maker-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/executor/order_manager.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polymarket_client_sdk::clob::client::AuthenticationBuilder` [INFO] [stdout] --> src/executor/order_manager.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use polymarket_client_sdk::clob::client::AuthenticationBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polymarket_client_sdk::clob::types::response::PostOrderResponse` [INFO] [stdout] --> src/executor/order_manager.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use polymarket_client_sdk::clob::types::response::PostOrderResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/telegram/bot.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use tracing::{error, info, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/executor/order_manager.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polymarket_client_sdk::clob::client::AuthenticationBuilder` [INFO] [stdout] --> src/executor/order_manager.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use polymarket_client_sdk::clob::client::AuthenticationBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polymarket_client_sdk::clob::types::response::PostOrderResponse` [INFO] [stdout] --> src/executor/order_manager.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use polymarket_client_sdk::clob::types::response::PostOrderResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/telegram/bot.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use tracing::{error, info, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_health_server` is never used [INFO] [stdout] --> src/main.rs:227:10 [INFO] [stdout] | [INFO] [stdout] 227 | async fn run_health_server(port: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ws_market_url`, `ws_user_url`, and `chain_id` are never read [INFO] [stdout] --> src/config.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct ClobConfig { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 54 | pub ws_market_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 55 | #[serde(default = "default_ws_user_url")] [INFO] [stdout] 56 | pub ws_user_url: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 57 | #[serde(default = "default_chain_id")] [INFO] [stdout] 58 | pub chain_id: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClobConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `min_half_spread`, `volatility_coefficient`, `inventory_skew_factor`, `cancel_threshold_bps`, `default_order_size`, and `quote_size` are never read [INFO] [stdout] --> src/config.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct StrategyConfig { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 87 | #[serde(default = "default_min_half_spread")] [INFO] [stdout] 88 | pub min_half_spread: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 89 | #[serde(default = "default_vol_coeff")] [INFO] [stdout] 90 | pub volatility_coefficient: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 91 | #[serde(default = "default_skew_factor")] [INFO] [stdout] 92 | pub inventory_skew_factor: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 93 | #[serde(default = "default_cancel_threshold")] [INFO] [stdout] 94 | pub cancel_threshold_bps: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 95 | #[serde(default = "default_default_order_size")] [INFO] [stdout] 96 | pub default_order_size: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 97 | #[serde(default = "default_quote_size")] [INFO] [stdout] 98 | pub quote_size: 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: multiple fields are never read [INFO] [stdout] --> src/config.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct RiskConfig { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 122 | #[serde(default = "default_max_position")] [INFO] [stdout] 123 | pub max_yes_position: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 124 | #[serde(default = "default_max_position")] [INFO] [stdout] 125 | pub max_no_position: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 126 | #[serde(default = "default_max_exposure")] [INFO] [stdout] 127 | pub max_total_exposure_usd: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 128 | #[serde(default = "default_max_markets")] [INFO] [stdout] 129 | pub max_concurrent_markets: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 130 | #[serde(default = "default_max_daily_loss")] [INFO] [stdout] 131 | pub max_daily_loss_usd: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 132 | #[serde(default = "default_max_order_size")] [INFO] [stdout] 133 | pub max_order_size: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 134 | #[serde(default = "default_min_order_size")] [INFO] [stdout] 135 | pub min_order_size: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 136 | #[serde(default = "default_max_imbalance")] [INFO] [stdout] 137 | pub max_inventory_imbalance: f64, [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: multiple fields are never read [INFO] [stdout] --> src/config.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 163 | pub struct ArticleConfig { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 164 | #[serde(default = "default_true")] [INFO] [stdout] 165 | pub enabled: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 166 | #[serde(default = "default_article_bn_delta")] [INFO] [stdout] 167 | pub min_bn_delta_60s_bps: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 168 | #[serde(default = "default_article_cb_delta")] [INFO] [stdout] 169 | pub min_cb_delta_60s_bps: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 170 | #[serde(default = "default_article_trending_mid")] [INFO] [stdout] 171 | pub min_trending_mid: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 172 | #[serde(default = "default_article_size")] [INFO] [stdout] 173 | pub article_size: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 174 | #[serde(default = "default_article_price_cap")] [INFO] [stdout] 175 | pub entry_price_cap: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 176 | #[serde(default = "default_article_trigger_secs")] [INFO] [stdout] 177 | pub trigger_seconds_before_close: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 178 | #[serde(default = "default_article_min_secs")] [INFO] [stdout] 179 | pub min_seconds_before_close: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArticleConfig` 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 `oracle_stale_max_ms` and `book_stale_max_ms` are never read [INFO] [stdout] --> src/config.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 229 | pub struct FeedConfig { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 235 | pub oracle_stale_max_ms: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 236 | #[serde(default = "default_book_stale")] [INFO] [stdout] 237 | pub book_stale_max_ms: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FeedConfig` 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: struct `DbMarket` is never constructed [INFO] [stdout] --> src/db/models.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DbMarket { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DbFeature` is never constructed [INFO] [stdout] --> src/db/models.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct DbFeature { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DbResolution` is never constructed [INFO] [stdout] --> src/db/models.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct DbResolution { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DbEvent` is never constructed [INFO] [stdout] --> src/db/models.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct DbEvent { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DbMakerOrder` is never constructed [INFO] [stdout] --> src/db/models.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct DbMakerOrder { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DbRebate` is never constructed [INFO] [stdout] --> src/db/models.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct DbRebate { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DbInventory` is never constructed [INFO] [stdout] --> src/db/models.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct DbInventory { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `health_check` is never used [INFO] [stdout] --> src/db/pool.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | pub async fn health_check(pool: &PgPool) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_market_by_condition_id` is never used [INFO] [stdout] --> src/db/queries.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | pub async fn get_market_by_condition_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_market` is never used [INFO] [stdout] --> src/db/queries.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | pub async fn resolve_market( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_trade` is never used [INFO] [stdout] --> src/db/queries.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | pub async fn insert_trade( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_signal_type_stats` is never used [INFO] [stdout] --> src/db/queries.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | pub async fn get_signal_type_stats( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_resolution` is never used [INFO] [stdout] --> src/db/queries.rs:122:14 [INFO] [stdout] | [INFO] [stdout] 122 | pub async fn insert_resolution( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_signal` is never used [INFO] [stdout] --> src/db/queries.rs:146:14 [INFO] [stdout] | [INFO] [stdout] 146 | pub async fn insert_signal( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `record_event` is never used [INFO] [stdout] --> src/db/queries.rs:189:14 [INFO] [stdout] | [INFO] [stdout] 189 | pub async fn record_event( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_live_orders` is never used [INFO] [stdout] --> src/db/queries.rs:271:14 [INFO] [stdout] | [INFO] [stdout] 271 | pub async fn get_live_orders(pool: &PgPool) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `upsert_inventory` is never used [INFO] [stdout] --> src/db/queries.rs:282:14 [INFO] [stdout] | [INFO] [stdout] 282 | pub async fn upsert_inventory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_all_inventory` is never used [INFO] [stdout] --> src/db/queries.rs:308:14 [INFO] [stdout] | [INFO] [stdout] 308 | pub async fn get_all_inventory(pool: &PgPool) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `title`, and `slug` are never read [INFO] [stdout] --> src/discovery/gamma.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct GammaEvent { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 37 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 38 | pub title: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | pub slug: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GammaEvent` 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 `question` and `slug` are never read [INFO] [stdout] --> src/discovery/gamma.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct GammaMarket { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 48 | pub question: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 49 | pub slug: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GammaMarket` 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 `db` is never read [INFO] [stdout] --> src/discovery/gamma.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct GammaDiscovery { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 86 | db: PgPool, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BotError` is never used [INFO] [stdout] --> src/error.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum BotError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/error.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/events/bus.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum BotEvent { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | OrderFilled { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | MarketResolved { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | RiskAlert { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | CircuitBreaker { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | FeedDisconnected { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | FeedReconnected { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | DailySummary { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BotEvent` 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: method `subscriber_count` is never used [INFO] [stdout] --> src/events/bus.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl EventBus { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn subscriber_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrderResponse` is never constructed [INFO] [stdout] --> src/executor/order_manager.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct OrderResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CancelResponse` is never constructed [INFO] [stdout] --> src/executor/order_manager.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct CancelResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `on_fill` and `reconcile` are never used [INFO] [stdout] --> src/executor/order_manager.rs:445:18 [INFO] [stdout] | [INFO] [stdout] 73 | impl OrderManager { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 445 | pub async fn on_fill( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 488 | pub async fn reconcile(&self) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `event_bus` is never read [INFO] [stdout] --> src/feeds/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct FeedHub { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | event_bus: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unsubscribe_market` is never used [INFO] [stdout] --> src/feeds/mod.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 25 | impl FeedHub { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | pub async fn unsubscribe_market(&self, yes_token_id: &str, no_token_id: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_latest_price`, `get_latest_timestamp`, `len`, and `is_empty` are never used [INFO] [stdout] --> src/feeds/delta.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl DeltaComputer { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn get_latest_price(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn get_latest_timestamp(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reconnect_notifier` and `unsubscribe` are never used [INFO] [stdout] --> src/feeds/polymarket.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl PolymarketFeed { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn reconnect_notifier(&self) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 357 | pub async fn unsubscribe(&self, token_ids: Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `price`, `timestamp`, and `source` are never read [INFO] [stdout] --> src/feeds/types.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct OracleTick { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 15 | pub price: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | pub timestamp: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | pub source: FeedSource, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OracleTick` 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 `delta_bps`, `available`, `sample_age_ms`, `window_start_ts`, and `window_end_ts` are never read [INFO] [stdout] --> src/feeds/types.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct DeltaResult { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 23 | pub delta_bps: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 24 | pub available: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | pub sample_age_ms: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 26 | pub window_start_ts: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | pub window_end_ts: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeltaResult` 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/feeds/types.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct OracleSnapshot { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 54 | pub binance_price: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 55 | pub coinbase_price: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 56 | pub binance_delta_1s: DeltaResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | pub binance_delta_3s: DeltaResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 58 | pub binance_delta_60s: DeltaResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 59 | pub coinbase_delta_1s: DeltaResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 60 | pub coinbase_delta_3s: DeltaResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 61 | pub coinbase_delta_60s: DeltaResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | pub timestamp: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OracleSnapshot` 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 `token_id`, `tick_size`, and `min_order_size` are never read [INFO] [stdout] --> src/feeds/types.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct OrderBook { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 75 | pub token_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub tick_size: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 80 | pub min_order_size: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderBook` 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 `mid` and `spread` are never used [INFO] [stdout] --> src/feeds/types.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 83 | impl OrderBook { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 84 | pub fn mid(&self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn spread(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/feeds/types.rs:139:16 [INFO] [stdout] | [INFO] [stdout] 139 | OracleTick(OracleTick), [INFO] [stdout] | ---------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FeedUpdate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 139 - OracleTick(OracleTick), [INFO] [stdout] 139 + OracleTick(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/feeds/types.rs:140:18 [INFO] [stdout] | [INFO] [stdout] 140 | BookSnapshot(OrderBook), [INFO] [stdout] | ------------ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FeedUpdate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 140 - BookSnapshot(OrderBook), [INFO] [stdout] 140 + BookSnapshot(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `token_id`, `price`, `size`, and `side` are never read [INFO] [stdout] --> src/feeds/types.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 141 | BookDelta { [INFO] [stdout] | --------- fields in this variant [INFO] [stdout] 142 | token_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 143 | price: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 144 | size: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 145 | side: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FeedUpdate` 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 `0` is never read [INFO] [stdout] --> src/feeds/types.rs:147:18 [INFO] [stdout] | [INFO] [stdout] 147 | Disconnected(FeedSource), [INFO] [stdout] | ------------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FeedUpdate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 147 - Disconnected(FeedSource), [INFO] [stdout] 147 + Disconnected(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAKER_FEE_RATE` is never used [INFO] [stdout] --> src/fees/calculator.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const MAKER_FEE_RATE: f64 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `taker_fee_rate`, `taker_fee`, and `taker_breakeven_edge_bps` are never used [INFO] [stdout] --> src/fees/calculator.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl FeeCalculator { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn taker_fee_rate(p: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn taker_fee(shares: f64, p: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn taker_breakeven_edge_bps(p: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_and_merge` is never used [INFO] [stdout] --> src/position/merger.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn check_and_merge( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `yes_token_id`, `no_token_id`, `yes_shares`, and `no_shares` are never read [INFO] [stdout] --> src/position/tracker.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct ConditionInventory { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 24 | yes_token_id: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 25 | no_token_id: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 26 | yes_shares: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 27 | no_shares: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConditionInventory` 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 `inventories` and `db` are never read [INFO] [stdout] --> src/position/tracker.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct PositionTracker { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | inventories: DashMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 36 | db: PgPool, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `load_from_db` and `on_fill` are never used [INFO] [stdout] --> src/position/tracker.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 39 | impl PositionTracker { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub async fn load_from_db(&self) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub async fn on_fill( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `now_ts` is never used [INFO] [stdout] --> src/position/tracker.rs:176:4 [INFO] [stdout] | [INFO] [stdout] 176 | fn now_ts() -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/strategy/article.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ArticleStrategy { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 21 | config: ArticleConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> src/strategy/article.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl ArticleStrategy { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn evaluate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Qualifying`, `Quoting`, and `ArticleZone` are never constructed [INFO] [stdout] --> src/strategy/engine.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum MarketState { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Qualifying, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 20 | Quoting, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | ArticleZone, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MarketState` 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: method `is_5min` is never used [INFO] [stdout] --> src/strategy/engine.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl MarketContext { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn is_5min(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PostQuotes`, `PostArticle`, and `Withdraw` are never constructed [INFO] [stdout] --> src/strategy/engine.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub enum StrategyAction { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 60 | /// Post/update two-sided quotes. [INFO] [stdout] 61 | PostQuotes(QuoteSet), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 62 | /// Post an article endgame order. [INFO] [stdout] 63 | PostArticle(ArticleOrder), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | Withdraw, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StrategyAction` 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 `pricer` and `article` are never read [INFO] [stdout] --> src/strategy/engine.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct StrategyEngine { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 74 | pricer: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 75 | article: Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `yes_shares` and `no_shares` are never read [INFO] [stdout] --> src/strategy/pricing.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct MarketInventory { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 23 | pub yes_shares: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 24 | pub no_shares: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MarketInventory` 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: method `net_yes` is never used [INFO] [stdout] --> src/strategy/pricing.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl MarketInventory { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 28 | pub fn net_yes(&self) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config` and `bayesian_weights` are never read [INFO] [stdout] --> src/strategy/pricing.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct QuotePricer { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 35 | config: StrategyConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 36 | bayesian_weights: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `compute_quotes` and `estimate_fair_value` are never used [INFO] [stdout] --> src/strategy/pricing.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl QuotePricer { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn compute_quotes( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn estimate_fair_value( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quantize_down` is never used [INFO] [stdout] --> src/strategy/pricing.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn quantize_down(price: f64, tick: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quantize_up` is never used [INFO] [stdout] --> src/strategy/pricing.rs:124:4 [INFO] [stdout] | [INFO] [stdout] 124 | fn quantize_up(price: f64, tick: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config` and `event_bus` are never read [INFO] [stdout] --> src/strategy/risk.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct RiskManager { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 22 | config: RiskConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | event_bus: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `can_post_order`, `check_inventory_imbalance`, `get_max_order_size`, `update_daily_pnl`, `set_total_exposure`, and `reset_daily` are never used [INFO] [stdout] --> src/strategy/risk.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl RiskManager { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn can_post_order( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn check_inventory_imbalance(&self, inventory: &MarketInventory) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn get_max_order_size(&self, side: &str, inventory: &MarketInventory) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn update_daily_pnl(&self, pnl_change: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn set_total_exposure(&self, exposure: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn reset_daily(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_health_server` is never used [INFO] [stdout] --> src/main.rs:227:10 [INFO] [stdout] | [INFO] [stdout] 227 | async fn run_health_server(port: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ws_market_url`, `ws_user_url`, and `chain_id` are never read [INFO] [stdout] --> src/config.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct ClobConfig { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 54 | pub ws_market_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 55 | #[serde(default = "default_ws_user_url")] [INFO] [stdout] 56 | pub ws_user_url: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 57 | #[serde(default = "default_chain_id")] [INFO] [stdout] 58 | pub chain_id: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClobConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `min_half_spread`, `volatility_coefficient`, `inventory_skew_factor`, `cancel_threshold_bps`, `default_order_size`, and `quote_size` are never read [INFO] [stdout] --> src/config.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct StrategyConfig { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 87 | #[serde(default = "default_min_half_spread")] [INFO] [stdout] 88 | pub min_half_spread: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 89 | #[serde(default = "default_vol_coeff")] [INFO] [stdout] 90 | pub volatility_coefficient: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 91 | #[serde(default = "default_skew_factor")] [INFO] [stdout] 92 | pub inventory_skew_factor: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 93 | #[serde(default = "default_cancel_threshold")] [INFO] [stdout] 94 | pub cancel_threshold_bps: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 95 | #[serde(default = "default_default_order_size")] [INFO] [stdout] 96 | pub default_order_size: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 97 | #[serde(default = "default_quote_size")] [INFO] [stdout] 98 | pub quote_size: 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: multiple fields are never read [INFO] [stdout] --> src/config.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct RiskConfig { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 122 | #[serde(default = "default_max_position")] [INFO] [stdout] 123 | pub max_yes_position: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 124 | #[serde(default = "default_max_position")] [INFO] [stdout] 125 | pub max_no_position: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 126 | #[serde(default = "default_max_exposure")] [INFO] [stdout] 127 | pub max_total_exposure_usd: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 128 | #[serde(default = "default_max_markets")] [INFO] [stdout] 129 | pub max_concurrent_markets: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 130 | #[serde(default = "default_max_daily_loss")] [INFO] [stdout] 131 | pub max_daily_loss_usd: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 132 | #[serde(default = "default_max_order_size")] [INFO] [stdout] 133 | pub max_order_size: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 134 | #[serde(default = "default_min_order_size")] [INFO] [stdout] 135 | pub min_order_size: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 136 | #[serde(default = "default_max_imbalance")] [INFO] [stdout] 137 | pub max_inventory_imbalance: f64, [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: multiple fields are never read [INFO] [stdout] --> src/config.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 163 | pub struct ArticleConfig { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 164 | #[serde(default = "default_true")] [INFO] [stdout] 165 | pub enabled: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 166 | #[serde(default = "default_article_bn_delta")] [INFO] [stdout] 167 | pub min_bn_delta_60s_bps: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 168 | #[serde(default = "default_article_cb_delta")] [INFO] [stdout] 169 | pub min_cb_delta_60s_bps: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 170 | #[serde(default = "default_article_trending_mid")] [INFO] [stdout] 171 | pub min_trending_mid: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 172 | #[serde(default = "default_article_size")] [INFO] [stdout] 173 | pub article_size: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 174 | #[serde(default = "default_article_price_cap")] [INFO] [stdout] 175 | pub entry_price_cap: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 176 | #[serde(default = "default_article_trigger_secs")] [INFO] [stdout] 177 | pub trigger_seconds_before_close: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 178 | #[serde(default = "default_article_min_secs")] [INFO] [stdout] 179 | pub min_seconds_before_close: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArticleConfig` 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 `oracle_stale_max_ms` and `book_stale_max_ms` are never read [INFO] [stdout] --> src/config.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 229 | pub struct FeedConfig { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 235 | pub oracle_stale_max_ms: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 236 | #[serde(default = "default_book_stale")] [INFO] [stdout] 237 | pub book_stale_max_ms: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FeedConfig` 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: struct `DbMarket` is never constructed [INFO] [stdout] --> src/db/models.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DbMarket { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DbFeature` is never constructed [INFO] [stdout] --> src/db/models.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct DbFeature { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DbResolution` is never constructed [INFO] [stdout] --> src/db/models.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct DbResolution { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DbEvent` is never constructed [INFO] [stdout] --> src/db/models.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct DbEvent { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DbMakerOrder` is never constructed [INFO] [stdout] --> src/db/models.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct DbMakerOrder { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DbRebate` is never constructed [INFO] [stdout] --> src/db/models.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct DbRebate { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DbInventory` is never constructed [INFO] [stdout] --> src/db/models.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct DbInventory { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `health_check` is never used [INFO] [stdout] --> src/db/pool.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | pub async fn health_check(pool: &PgPool) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_market_by_condition_id` is never used [INFO] [stdout] --> src/db/queries.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | pub async fn get_market_by_condition_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_market` is never used [INFO] [stdout] --> src/db/queries.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | pub async fn resolve_market( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_trade` is never used [INFO] [stdout] --> src/db/queries.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | pub async fn insert_trade( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_signal_type_stats` is never used [INFO] [stdout] --> src/db/queries.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | pub async fn get_signal_type_stats( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_resolution` is never used [INFO] [stdout] --> src/db/queries.rs:122:14 [INFO] [stdout] | [INFO] [stdout] 122 | pub async fn insert_resolution( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_signal` is never used [INFO] [stdout] --> src/db/queries.rs:146:14 [INFO] [stdout] | [INFO] [stdout] 146 | pub async fn insert_signal( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `record_event` is never used [INFO] [stdout] --> src/db/queries.rs:189:14 [INFO] [stdout] | [INFO] [stdout] 189 | pub async fn record_event( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_live_orders` is never used [INFO] [stdout] --> src/db/queries.rs:271:14 [INFO] [stdout] | [INFO] [stdout] 271 | pub async fn get_live_orders(pool: &PgPool) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `upsert_inventory` is never used [INFO] [stdout] --> src/db/queries.rs:282:14 [INFO] [stdout] | [INFO] [stdout] 282 | pub async fn upsert_inventory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_all_inventory` is never used [INFO] [stdout] --> src/db/queries.rs:308:14 [INFO] [stdout] | [INFO] [stdout] 308 | pub async fn get_all_inventory(pool: &PgPool) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `title`, and `slug` are never read [INFO] [stdout] --> src/discovery/gamma.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct GammaEvent { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 37 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 38 | pub title: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | pub slug: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GammaEvent` 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 `question` and `slug` are never read [INFO] [stdout] --> src/discovery/gamma.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct GammaMarket { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 48 | pub question: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 49 | pub slug: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GammaMarket` 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 `db` is never read [INFO] [stdout] --> src/discovery/gamma.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct GammaDiscovery { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 86 | db: PgPool, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BotError` is never used [INFO] [stdout] --> src/error.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum BotError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/error.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/events/bus.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum BotEvent { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | OrderFilled { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | MarketResolved { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | RiskAlert { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | CircuitBreaker { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | FeedDisconnected { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | FeedReconnected { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | DailySummary { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BotEvent` 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: method `subscriber_count` is never used [INFO] [stdout] --> src/events/bus.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl EventBus { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn subscriber_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrderResponse` is never constructed [INFO] [stdout] --> src/executor/order_manager.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct OrderResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CancelResponse` is never constructed [INFO] [stdout] --> src/executor/order_manager.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct CancelResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `on_fill` and `reconcile` are never used [INFO] [stdout] --> src/executor/order_manager.rs:445:18 [INFO] [stdout] | [INFO] [stdout] 73 | impl OrderManager { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 445 | pub async fn on_fill( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 488 | pub async fn reconcile(&self) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `event_bus` is never read [INFO] [stdout] --> src/feeds/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct FeedHub { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | event_bus: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unsubscribe_market` is never used [INFO] [stdout] --> src/feeds/mod.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 25 | impl FeedHub { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | pub async fn unsubscribe_market(&self, yes_token_id: &str, no_token_id: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_latest_price`, `get_latest_timestamp`, `len`, and `is_empty` are never used [INFO] [stdout] --> src/feeds/delta.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl DeltaComputer { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn get_latest_price(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn get_latest_timestamp(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reconnect_notifier` and `unsubscribe` are never used [INFO] [stdout] --> src/feeds/polymarket.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl PolymarketFeed { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn reconnect_notifier(&self) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 357 | pub async fn unsubscribe(&self, token_ids: Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `price`, `timestamp`, and `source` are never read [INFO] [stdout] --> src/feeds/types.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct OracleTick { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 15 | pub price: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | pub timestamp: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | pub source: FeedSource, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OracleTick` 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 `delta_bps`, `available`, `sample_age_ms`, `window_start_ts`, and `window_end_ts` are never read [INFO] [stdout] --> src/feeds/types.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct DeltaResult { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 23 | pub delta_bps: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 24 | pub available: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | pub sample_age_ms: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 26 | pub window_start_ts: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | pub window_end_ts: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeltaResult` 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/feeds/types.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct OracleSnapshot { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 54 | pub binance_price: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 55 | pub coinbase_price: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 56 | pub binance_delta_1s: DeltaResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | pub binance_delta_3s: DeltaResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 58 | pub binance_delta_60s: DeltaResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 59 | pub coinbase_delta_1s: DeltaResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 60 | pub coinbase_delta_3s: DeltaResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 61 | pub coinbase_delta_60s: DeltaResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | pub timestamp: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OracleSnapshot` 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 `token_id`, `tick_size`, and `min_order_size` are never read [INFO] [stdout] --> src/feeds/types.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct OrderBook { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 75 | pub token_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub tick_size: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 80 | pub min_order_size: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderBook` 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 `mid` and `spread` are never used [INFO] [stdout] --> src/feeds/types.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 83 | impl OrderBook { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 84 | pub fn mid(&self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn spread(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/feeds/types.rs:139:16 [INFO] [stdout] | [INFO] [stdout] 139 | OracleTick(OracleTick), [INFO] [stdout] | ---------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FeedUpdate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 139 - OracleTick(OracleTick), [INFO] [stdout] 139 + OracleTick(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/feeds/types.rs:140:18 [INFO] [stdout] | [INFO] [stdout] 140 | BookSnapshot(OrderBook), [INFO] [stdout] | ------------ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FeedUpdate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 140 - BookSnapshot(OrderBook), [INFO] [stdout] 140 + BookSnapshot(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `token_id`, `price`, `size`, and `side` are never read [INFO] [stdout] --> src/feeds/types.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 141 | BookDelta { [INFO] [stdout] | --------- fields in this variant [INFO] [stdout] 142 | token_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 143 | price: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 144 | size: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 145 | side: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FeedUpdate` 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 `0` is never read [INFO] [stdout] --> src/feeds/types.rs:147:18 [INFO] [stdout] | [INFO] [stdout] 147 | Disconnected(FeedSource), [INFO] [stdout] | ------------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FeedUpdate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 147 - Disconnected(FeedSource), [INFO] [stdout] 147 + Disconnected(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAKER_FEE_RATE` is never used [INFO] [stdout] --> src/fees/calculator.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const MAKER_FEE_RATE: f64 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `taker_fee_rate`, `taker_fee`, and `taker_breakeven_edge_bps` are never used [INFO] [stdout] --> src/fees/calculator.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl FeeCalculator { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn taker_fee_rate(p: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn taker_fee(shares: f64, p: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn taker_breakeven_edge_bps(p: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_and_merge` is never used [INFO] [stdout] --> src/position/merger.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn check_and_merge( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `yes_token_id`, `no_token_id`, `yes_shares`, and `no_shares` are never read [INFO] [stdout] --> src/position/tracker.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct ConditionInventory { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 24 | yes_token_id: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 25 | no_token_id: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 26 | yes_shares: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 27 | no_shares: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConditionInventory` 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 `inventories` and `db` are never read [INFO] [stdout] --> src/position/tracker.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct PositionTracker { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | inventories: DashMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 36 | db: PgPool, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `load_from_db` and `on_fill` are never used [INFO] [stdout] --> src/position/tracker.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 39 | impl PositionTracker { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub async fn load_from_db(&self) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub async fn on_fill( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `now_ts` is never used [INFO] [stdout] --> src/position/tracker.rs:176:4 [INFO] [stdout] | [INFO] [stdout] 176 | fn now_ts() -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/strategy/article.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ArticleStrategy { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 21 | config: ArticleConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> src/strategy/article.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl ArticleStrategy { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn evaluate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Qualifying`, `Quoting`, and `ArticleZone` are never constructed [INFO] [stdout] --> src/strategy/engine.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum MarketState { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Qualifying, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 20 | Quoting, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | ArticleZone, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MarketState` 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: method `is_5min` is never used [INFO] [stdout] --> src/strategy/engine.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl MarketContext { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn is_5min(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PostQuotes`, `PostArticle`, and `Withdraw` are never constructed [INFO] [stdout] --> src/strategy/engine.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub enum StrategyAction { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 60 | /// Post/update two-sided quotes. [INFO] [stdout] 61 | PostQuotes(QuoteSet), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 62 | /// Post an article endgame order. [INFO] [stdout] 63 | PostArticle(ArticleOrder), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | Withdraw, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StrategyAction` 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 `pricer` and `article` are never read [INFO] [stdout] --> src/strategy/engine.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct StrategyEngine { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 74 | pricer: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 75 | article: Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `yes_shares` and `no_shares` are never read [INFO] [stdout] --> src/strategy/pricing.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct MarketInventory { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 23 | pub yes_shares: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 24 | pub no_shares: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MarketInventory` 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: method `net_yes` is never used [INFO] [stdout] --> src/strategy/pricing.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl MarketInventory { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 28 | pub fn net_yes(&self) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config` and `bayesian_weights` are never read [INFO] [stdout] --> src/strategy/pricing.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct QuotePricer { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 35 | config: StrategyConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 36 | bayesian_weights: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `compute_quotes` and `estimate_fair_value` are never used [INFO] [stdout] --> src/strategy/pricing.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl QuotePricer { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn compute_quotes( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn estimate_fair_value( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quantize_down` is never used [INFO] [stdout] --> src/strategy/pricing.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn quantize_down(price: f64, tick: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quantize_up` is never used [INFO] [stdout] --> src/strategy/pricing.rs:124:4 [INFO] [stdout] | [INFO] [stdout] 124 | fn quantize_up(price: f64, tick: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config` and `event_bus` are never read [INFO] [stdout] --> src/strategy/risk.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct RiskManager { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 22 | config: RiskConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | event_bus: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `can_post_order`, `check_inventory_imbalance`, `get_max_order_size`, `update_daily_pnl`, `set_total_exposure`, and `reset_daily` are never used [INFO] [stdout] --> src/strategy/risk.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl RiskManager { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn can_post_order( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn check_inventory_imbalance(&self, inventory: &MarketInventory) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn get_max_order_size(&self, side: &str, inventory: &MarketInventory) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn update_daily_pnl(&self, pnl_change: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn set_total_exposure(&self, exposure: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn reset_daily(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 38s [INFO] running `Command { std: "docker" "inspect" "806c6507248faef25bf1a93dfca33c79e8f99565adc5d598fbcd7c1984aa95b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "806c6507248faef25bf1a93dfca33c79e8f99565adc5d598fbcd7c1984aa95b4", kill_on_drop: false }` [INFO] [stdout] 806c6507248faef25bf1a93dfca33c79e8f99565adc5d598fbcd7c1984aa95b4