[INFO] cloning repository https://github.com/stuartoffabean/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/stuartoffabean/polymarket-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstuartoffabean%2Fpolymarket-bot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstuartoffabean%2Fpolymarket-bot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e49337b2f4eab6f10a584067d0409c44fa97741e
[INFO] checking stuartoffabean/polymarket-bot/e49337b2f4eab6f10a584067d0409c44fa97741e against 67854e511de21d881bb16426996cd4259d44aa2e for pr-161154
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstuartoffabean%2Fpolymarket-bot" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/stuartoffabean/polymarket-bot
[INFO] finished tweaking git repo https://github.com/stuartoffabean/polymarket-bot
[INFO] tweaked toml for git repo https://github.com/stuartoffabean/polymarket-bot written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/stuartoffabean/polymarket-bot on toolchain 67854e511de21d881bb16426996cd4259d44aa2e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+67854e511de21d881bb16426996cd4259d44aa2e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/stuartoffabean/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" "+67854e511de21d881bb16426996cd4259d44aa2e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.108
[INFO] [stderr]   Downloaded unicode-ident v1.0.23
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.108
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.108
[INFO] [stderr]   Downloaded tracing-serde v0.2.0
[INFO] [stderr]   Downloaded itoa v1.0.17
[INFO] [stderr]   Downloaded yoke-derive v0.8.1
[INFO] [stderr]   Downloaded stable_deref_trait v1.2.1
[INFO] [stderr]   Downloaded percent-encoding v2.3.2
[INFO] [stderr]   Downloaded tokio-stream v0.1.18
[INFO] [stderr]   Downloaded iana-time-zone-haiku v0.1.2
[INFO] [stderr]   Downloaded errno v0.3.14
[INFO] [stderr]   Downloaded potential_utf v0.1.4
[INFO] [stderr]   Downloaded form_urlencoded v1.2.2
[INFO] [stderr]   Downloaded untrusted v0.9.0
[INFO] [stderr]   Downloaded subtle v2.6.1
[INFO] [stderr]   Downloaded http-range-header v0.4.2
[INFO] [stderr]   Downloaded windows-implement v0.60.2
[INFO] [stderr]   Downloaded flume v0.11.1
[INFO] [stderr]   Downloaded md-5 v0.10.6
[INFO] [stderr]   Downloaded hex v0.4.3
[INFO] [stderr]   Downloaded want v0.3.1
[INFO] [stderr]   Downloaded color-spantrace v0.3.0
[INFO] [stderr]   Downloaded windows-targets v0.53.5
[INFO] [stderr]   Downloaded crc v3.4.0
[INFO] [stderr]   Downloaded openssl-probe v0.2.1
[INFO] [stderr]   Downloaded num-iter v0.1.45
[INFO] [stderr]   Downloaded windows-interface v0.59.3
[INFO] [stderr]   Downloaded try-lock v0.2.5
[INFO] [stderr]   Downloaded indenter v0.3.4
[INFO] [stderr]   Downloaded wasite v0.1.0
[INFO] [stderr]   Downloaded signature v2.2.0
[INFO] [stderr]   Downloaded windows-strings v0.5.1
[INFO] [stderr]   Downloaded sqlx-macros v0.8.6
[INFO] [stderr]   Downloaded crc-catalog v2.4.0
[INFO] [stderr]   Downloaded tokio-macros v2.6.0
[INFO] [stderr]   Downloaded signal-hook-registry v1.4.8
[INFO] [stderr]   Downloaded rustls-native-certs v0.8.3
[INFO] [stderr]   Downloaded zerovec-derive v0.11.2
[INFO] [stderr]   Downloaded home v0.5.12
[INFO] [stderr]   Downloaded etcetera v0.8.0
[INFO] [stderr]   Downloaded atoi v2.0.0
[INFO] [stderr]   Downloaded libredox v0.1.12
[INFO] [stderr]   Downloaded security-framework-sys v2.15.0
[INFO] [stderr]   Downloaded tinystr v0.8.2
[INFO] [stderr]   Downloaded web-time v1.1.0
[INFO] [stderr]   Downloaded data-encoding v2.10.0
[INFO] [stderr]   Downloaded lru-slab v0.1.2
[INFO] [stderr]   Downloaded lock_api v0.4.14
[INFO] [stderr]   Downloaded zeroize v1.8.2
[INFO] [stderr]   Downloaded thiserror v2.0.18
[INFO] [stderr]   Downloaded spki v0.7.3
[INFO] [stderr]   Downloaded slab v0.4.12
[INFO] [stderr]   Downloaded mime_guess v2.0.5
[INFO] [stderr]   Downloaded unicase v2.9.0
[INFO] [stderr]   Downloaded sqlx-macros-core v0.8.6
[INFO] [stderr]   Downloaded thiserror-impl v2.0.18
[INFO] [stderr]   Downloaded async-trait v0.1.89
[INFO] [stderr]   Downloaded pem-rfc7468 v0.7.0
[INFO] [stderr]   Downloaded base64ct v1.8.3
[INFO] [stderr]   Downloaded pkcs8 v0.10.2
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.4.58
[INFO] [stderr]   Downloaded tracing-error v0.2.1
[INFO] [stderr]   Downloaded spin v0.9.8
[INFO] [stderr]   Downloaded redox_syscall v0.5.18
[INFO] [stderr]   Downloaded schannel v0.1.28
[INFO] [stderr]   Downloaded writeable v0.6.2
[INFO] [stderr]   Downloaded hashlink v0.10.0
[INFO] [stderr]   Downloaded tokio-rustls v0.26.4
[INFO] [stderr]   Downloaded whoami v1.6.1
[INFO] [stderr]   Downloaded redox_syscall v0.7.0
[INFO] [stderr]   Downloaded stringprep v0.1.5
[INFO] [stderr]   Downloaded dotenvy v0.15.7
[INFO] [stderr]   Downloaded const-oid v0.9.6
[INFO] [stderr]   Downloaded core-foundation v0.10.1
[INFO] [stderr]   Downloaded parking_lot_core v0.9.12
[INFO] [stderr]   Downloaded hmac v0.12.1
[INFO] [stderr]   Downloaded eyre v0.6.12
[INFO] [stderr]   Downloaded rustc-demangle v0.1.27
[INFO] [stderr]   Downloaded addr2line v0.25.1
[INFO] [stderr]   Downloaded matchit v0.8.4
[INFO] [stderr]   Downloaded parking_lot v0.12.5
[INFO] [stderr]   Downloaded getrandom v0.2.17
[INFO] [stderr]   Downloaded yoke v0.8.1
[INFO] [stderr]   Downloaded litemap v0.8.1
[INFO] [stderr]   Downloaded pkcs1 v0.7.5
[INFO] [stderr]   Downloaded hyper-rustls v0.27.7
[INFO] [stderr]   Downloaded tokio-tungstenite v0.26.2
[INFO] [stderr]   Downloaded axum-core v0.5.6
[INFO] [stderr]   Downloaded uuid v1.20.0
[INFO] [stderr]   Downloaded tracing-attributes v0.1.31
[INFO] [stderr]   Downloaded windows-core v0.62.2
[INFO] [stderr]   Downloaded ipnet v2.11.0
[INFO] [stderr]   Downloaded rustls-pki-types v1.14.0
[INFO] [stderr]   Downloaded bitflags v2.9.4
[INFO] [stderr]   Downloaded quinn-udp v0.5.14
[INFO] [stderr]   Downloaded owo-colors v4.2.3
[INFO] [stderr]   Downloaded icu_properties v2.1.2
[INFO] [stderr]   Downloaded icu_provider v2.1.1
[INFO] [stderr]   Downloaded iana-time-zone v0.1.65
[INFO] [stderr]   Downloaded unicode-properties v0.1.4
[INFO] [stderr]   Downloaded tinyvec v1.10.0
[INFO] [stderr]   Downloaded tungstenite v0.26.2
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.108
[INFO] [stderr]   Downloaded event-listener v5.4.1
[INFO] [stderr]   Downloaded quote v1.0.44
[INFO] [stderr]   Downloaded socket2 v0.6.2
[INFO] [stderr]   Downloaded js-sys v0.3.85
[INFO] [stderr]   Downloaded serde_derive v1.0.217
[INFO] [stderr]   Downloaded ryu v1.0.23
[INFO] [stderr]   Downloaded zerotrie v0.2.3
[INFO] [stderr]   Downloaded icu_locale_core v2.1.1
[INFO] [stderr]   Downloaded icu_normalizer v2.1.1
[INFO] [stderr]   Downloaded unicode-bidi v0.3.18
[INFO] [stderr]   Downloaded sqlx-mysql v0.8.6
[INFO] [stderr]   Downloaded serde v1.0.217
[INFO] [stderr]   Downloaded bytes v1.11.1
[INFO] [stderr]   Downloaded typenum v1.19.0
[INFO] [stderr]   Downloaded rustls-webpki v0.103.9
[INFO] [stderr]   Downloaded cc v1.2.55
[INFO] [stderr]   Downloaded sqlx-sqlite v0.8.6
[INFO] [stderr]   Downloaded url v2.5.8
[INFO] [stderr]   Downloaded icu_collections v2.1.1
[INFO] [stderr]   Downloaded icu_normalizer_data v2.1.1
[INFO] [stderr]   Downloaded futures-intrusive v0.5.0
[INFO] [stderr]   Downloaded rsa v0.9.10
[INFO] [stderr]   Downloaded quinn v0.11.9
[INFO] [stderr]   Downloaded bumpalo v3.19.1
[INFO] [stderr]   Downloaded der v0.7.10
[INFO] [stderr]   Downloaded backtrace v0.3.76
[INFO] [stderr]   Downloaded security-framework v3.5.1
[INFO] [stderr]   Downloaded indexmap v2.11.1
[INFO] [stderr]   Downloaded vcpkg v0.2.15
[INFO] [stderr]   Downloaded mio v1.1.1
[INFO] [stderr]   Downloaded zerocopy-derive v0.8.39
[INFO] [stderr]   Downloaded sqlx-core v0.8.6
[INFO] [stderr]   Downloaded rand v0.9.2
[INFO] [stderr]   Downloaded hyper-util v0.1.20
[INFO] [stderr]   Downloaded tower v0.5.3
[INFO] [stderr]   Downloaded zerovec v0.11.5
[INFO] [stderr]   Downloaded num-bigint-dig v0.8.6
[INFO] [stderr]   Downloaded wasip2 v1.0.2+wasi-0.2.9
[INFO] [stderr]   Downloaded http v1.4.0
[INFO] [stderr]   Downloaded idna v1.1.0
[INFO] [stderr]   Downloaded unicode-normalization v0.1.25
[INFO] [stderr]   Downloaded tower-http v0.6.8
[INFO] [stderr]   Downloaded tokio-util v0.7.18
[INFO] [stderr]   Downloaded iri-string v0.7.10
[INFO] [stderr]   Downloaded icu_properties_data v2.1.2
[INFO] [stderr]   Downloaded sqlx-postgres v0.8.6
[INFO] [stderr]   Downloaded serde_json v1.0.143
[INFO] [stderr]   Downloaded hyper v1.8.1
[INFO] [stderr]   Downloaded sqlx v0.8.6
[INFO] [stderr]   Downloaded hkdf v0.12.4
[INFO] [stderr]   Downloaded reqwest v0.12.28
[INFO] [stderr]   Downloaded axum v0.8.4
[INFO] [stderr]   Downloaded tracing-subscriber v0.3.22
[INFO] [stderr]   Downloaded chrono v0.4.43
[INFO] [stderr]   Downloaded zerocopy v0.8.39
[INFO] [stderr]   Downloaded quinn-proto v0.11.13
[INFO] [stderr]   Downloaded syn v2.0.114
[INFO] [stderr]   Downloaded webpki-roots v1.0.6
[INFO] [stderr]   Downloaded gimli v0.32.3
[INFO] [stderr]   Downloaded regex-syntax v0.8.9
[INFO] [stderr]   Downloaded rustls v0.23.36
[INFO] [stderr]   Downloaded object v0.37.3
[INFO] [stderr]   Downloaded web-sys v0.3.85
[INFO] [stderr]   Downloaded color-eyre v0.6.5
[INFO] [stderr]   Downloaded windows_x86_64_gnullvm v0.53.1
[INFO] [stderr]   Downloaded windows_aarch64_gnullvm v0.53.1
[INFO] [stderr]   Downloaded windows_i686_gnullvm v0.53.1
[INFO] [stderr]   Downloaded libc v0.2.181
[INFO] [stderr]   Downloaded windows_x86_64_msvc v0.53.1
[INFO] [stderr]   Downloaded windows_aarch64_msvc v0.53.1
[INFO] [stderr]   Downloaded tokio v1.49.0
[INFO] [stderr]   Downloaded windows_x86_64_gnu v0.53.1
[INFO] [stderr]   Downloaded windows_i686_msvc v0.53.1
[INFO] [stderr]   Downloaded windows_i686_gnu v0.53.1
[INFO] [stderr]   Downloaded ring v0.17.14
[INFO] [stderr]   Downloaded libsqlite3-sys v0.30.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 7d7d6b211aa61ccebd5b9828671c7235ea6a160f2e8cb9a65b2ece07a15a232e
[INFO] running `Command { std: "docker" "start" "7d7d6b211aa61ccebd5b9828671c7235ea6a160f2e8cb9a65b2ece07a15a232e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7d7d6b211aa61ccebd5b9828671c7235ea6a160f2e8cb9a65b2ece07a15a232e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7d7d6b211aa61ccebd5b9828671c7235ea6a160f2e8cb9a65b2ece07a15a232e" "/opt/rustwide/cargo-home/bin/cargo" "+67854e511de21d881bb16426996cd4259d44aa2e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7d7d6b211aa61ccebd5b9828671c7235ea6a160f2e8cb9a65b2ece07a15a232e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7d7d6b211aa61ccebd5b9828671c7235ea6a160f2e8cb9a65b2ece07a15a232e" "/opt/rustwide/cargo-home/bin/cargo" "+67854e511de21d881bb16426996cd4259d44aa2e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling unicode-ident v1.0.23
[INFO] [stderr]    Compiling libc v0.2.181
[INFO] [stderr]     Checking cfg-if v1.0.4
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]     Checking pin-project-lite v0.2.16
[INFO] [stderr]    Compiling serde v1.0.217
[INFO] [stderr]     Checking itoa v1.0.17
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking once_cell v1.21.3
[INFO] [stderr]     Checking bytes v1.11.1
[INFO] [stderr]     Checking futures-core v0.3.31
[INFO] [stderr]    Compiling find-msvc-tools v0.1.9
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking lock_api v0.4.14
[INFO] [stderr]     Checking log v0.4.29
[INFO] [stderr]     Checking memchr v2.8.0
[INFO] [stderr]    Compiling cc v1.2.55
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]    Compiling icu_properties_data v2.1.2
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling serde_json v1.0.143
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]     Checking slab v0.4.12
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]    Compiling zerocopy v0.8.39
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking socket2 v0.6.2
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking mio v1.1.1
[INFO] [stderr]    Compiling litemap v0.8.1
[INFO] [stderr]    Compiling writeable v0.6.2
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking percent-encoding v2.3.2
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]     Checking ryu v1.0.23
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking zeroize v1.8.2
[INFO] [stderr]     Checking cpufeatures v0.2.17
[INFO] [stderr]     Checking rustls-pki-types v1.14.0
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]     Checking untrusted v0.9.0
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling rustls v0.23.36
[INFO] [stderr]     Checking tower-service v0.3.3
[INFO] [stderr]     Checking base64 v0.22.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]     Checking httpdate v1.0.3
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]     Checking regex-syntax v0.8.9
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]     Checking try-lock v0.2.5
[INFO] [stderr]     Checking rustls-webpki v0.103.9
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]    Compiling chrono v0.4.43
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling crc v3.4.0
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.217
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling indexmap v2.11.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]     Checking rand_core v0.9.5
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]     Checking utf-8 v0.7.6
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]     Checking data-encoding v2.10.0
[INFO] [stderr]    Compiling unicase v2.9.0
[INFO] [stderr]     Checking atomic-waker v1.1.2
[INFO] [stderr]     Checking tower-layer v0.3.3
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]    Compiling flume v0.11.1
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]    Compiling owo-colors v4.2.3
[INFO] [stderr]     Checking ipnet v2.11.0
[INFO] [stderr]    Compiling object v0.37.3
[INFO] [stderr]     Checking nu-ansi-term v0.50.3
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]     Checking tracing-serde v0.2.0
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking tracing-subscriber v0.3.22
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling color-spantrace v0.3.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]     Checking adler2 v2.0.1
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling eyre v0.6.12
[INFO] [stderr]     Checking gimli v0.32.3
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking tungstenite v0.26.2
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking tracing-error v0.2.1
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking webpki-roots v1.0.6
[INFO] [stderr]     Checking http-range-header v0.4.2
[INFO] [stderr]     Checking bitflags v2.9.4
[INFO] [stderr]     Checking rustc-demangle v0.1.27
[INFO] [stderr]     Checking openssl-probe v0.2.1
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking iri-string v0.7.10
[INFO] [stderr]     Checking indenter v0.3.4
[INFO] [stderr]     Checking tungstenite v0.24.0
[INFO] [stderr]     Checking rustls-native-certs v0.8.3
[INFO] [stderr]     Checking hyper-rustls v0.27.7
[INFO] [stderr]     Checking tokio-tungstenite v0.26.2
[INFO] [stderr]     Checking serde_path_to_error v0.1.17
[INFO] [stderr]     Checking axum-core v0.5.6
[INFO] [stderr]     Checking matchit v0.8.4
[INFO] [stderr]     Checking tokio-tungstenite v0.24.0
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking crossbeam-channel v0.5.15
[INFO] [stderr]    Compiling sqlx-sqlite v0.8.6
[INFO] [stderr]     Checking addr2line v0.25.1
[INFO] [stderr]     Checking tower-http v0.6.8
[INFO] [stderr]     Checking uuid v1.20.0
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking axum v0.8.4
[INFO] [stderr]     Checking reqwest v0.12.28
[INFO] [stderr]     Checking backtrace v0.3.76
[INFO] [stderr]     Checking color-eyre v0.6.5
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]     Checking sqlx v0.8.6
[INFO] [stderr]     Checking polymarket-bot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Side`
[INFO] [stdout]   --> src/engine/order_manager.rs:10:60
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::domain::{Order, OrderStatus, OrderType, Signal, Side, Trade};
[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: `Side`
[INFO] [stdout]   --> src/engine/order_manager.rs:10:60
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::domain::{Order, OrderStatus, OrderType, Signal, Side, Trade};
[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: `Side`
[INFO] [stdout]   --> src/engine/order_manager.rs:10:60
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::domain::{Order, OrderStatus, OrderType, Signal, Side, Trade};
[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: `Side`
[INFO] [stdout]   --> src/engine/order_manager.rs:10:60
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::domain::{Order, OrderStatus, OrderType, Signal, Side, Trade};
[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 variable: `token_id`
[INFO] [stdout]   --> src/strategy/intra_arb.rs:62:22
[INFO] [stdout]    |
[INFO] [stdout] 62 |                 for (token_id, price) in &prices {
[INFO] [stdout]    |                      ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrderRequest` is never constructed
[INFO] [stdout]   --> src/adapters/polymarket.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | struct OrderRequest {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrderResponse` is never constructed
[INFO] [stdout]   --> src/adapters/polymarket.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct OrderResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PriceResponse` is never constructed
[INFO] [stdout]   --> src/adapters/polymarket.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | struct PriceResponse {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MidpointResponse` is never constructed
[INFO] [stdout]   --> src/adapters/polymarket.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | struct MidpointResponse {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrderBookResponse` is never constructed
[INFO] [stdout]   --> src/adapters/polymarket.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 56 | struct OrderBookResponse {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrderBookLevel` is never constructed
[INFO] [stdout]   --> src/adapters/polymarket.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | struct OrderBookLevel {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OpenOrder` is never constructed
[INFO] [stdout]   --> src/adapters/polymarket.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub struct OpenOrder {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_price`, `get_midpoint`, `get_orderbook`, `post_order`, `cancel_order`, and `get_open_orders` are never used
[INFO] [stdout]    --> src/adapters/polymarket.rs:121:18
[INFO] [stdout]     |
[INFO] [stdout]  77 | impl PolymarketClient {
[INFO] [stdout]     | --------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 121 |     pub async fn get_price(&self, token_id: &str) -> Result<f64> {
[INFO] [stdout]     |                  ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub async fn get_midpoint(&self, token_id: &str) -> Result<f64> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 159 |     pub async fn get_orderbook(&self, token_id: &str) -> Result<OrderBook> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 193 |     pub async fn post_order(
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 241 |     pub async fn cancel_order(&self, order_id: &str) -> Result<bool> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 271 |     pub async fn get_open_orders(&self) -> Result<Vec<OpenOrder>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `WS_URL` is never used
[INFO] [stdout]   --> src/adapters/polymarket_ws.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | const WS_URL: &str = "wss://ws-subscriptions-clob.polymarket.com/ws/market";
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WsMessage` is never constructed
[INFO] [stdout]   --> src/adapters/polymarket_ws.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct WsMessage {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WsLevel` is never constructed
[INFO] [stdout]   --> src/adapters/polymarket_ws.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct WsLevel {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PolymarketWsFeed` is never constructed
[INFO] [stdout]   --> src/adapters/polymarket_ws.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct PolymarketWsFeed {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `run`, `connect_and_listen`, and `handle_message` are never used
[INFO] [stdout]    --> src/adapters/polymarket_ws.rs:36:12
[INFO] [stdout]     |
[INFO] [stdout]  35 | impl PolymarketWsFeed {
[INFO] [stdout]     | --------------------- associated items in this implementation
[INFO] [stdout]  36 |     pub fn new(tx: broadcast::Sender<MarketData>, market_ids: Vec<String>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  40 |     pub async fn run(self) -> Result<()> {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout]  60 |     async fn connect_and_listen(&self) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     fn handle_message(&self, text: &str) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BinanceTicker` is never constructed
[INFO] [stdout]   --> src/adapters/binance.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct BinanceTicker {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BinanceWsFeed` is never constructed
[INFO] [stdout]   --> src/adapters/binance.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct BinanceWsFeed {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `WS_ENDPOINTS` is never used
[INFO] [stdout]   --> src/adapters/binance.rs:26:7
[INFO] [stdout]    |
[INFO] [stdout] 26 | const WS_ENDPOINTS: &[&str] = &[
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `REST_ENDPOINTS` is never used
[INFO] [stdout]   --> src/adapters/binance.rs:31:7
[INFO] [stdout]    |
[INFO] [stdout] 31 | const REST_ENDPOINTS: &[&str] = &[
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `run`, `try_websocket`, `rest_poll_loop`, `handle_rest_price`, and `handle_message` are never used
[INFO] [stdout]    --> src/adapters/binance.rs:37:12
[INFO] [stdout]     |
[INFO] [stdout]  36 | impl BinanceWsFeed {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout]  37 |     pub fn new(tx: broadcast::Sender<MarketData>, symbols: Vec<String>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  41 |     pub async fn run(self) -> Result<()> {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout]  65 |     async fn try_websocket(&self) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     async fn rest_poll_loop(&self) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 152 |     fn handle_rest_price(&self, text: &str) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 170 |     fn handle_message(&self, text: &str) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/adapters/database.rs:83:18
[INFO] [stdout]     |
[INFO] [stdout]  12 | impl Database {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  83 |     pub async fn insert_trade(&self, trade: &Trade) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 115 |     pub async fn upsert_position(&self, pos: &Position) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 148 |     pub async fn delete_position(&self, market_id: &str, token_id: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 159 |     pub async fn insert_order(&self, order: &Order) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 181 |     pub async fn update_order_status(&self, order_id: &str, status: &OrderStatus) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 202 |     pub async fn record_pnl_snapshot(&self, bankroll: f64, pnl_total: f64) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 235 |     pub async fn set_config(&self, key: &str, value: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 246 |     pub async fn get_config(&self, key: &str) -> Result<Option<String>> {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `max_position_pct`, `max_drawdown_pct`, `min_bankroll`, and `max_exposure` are never read
[INFO] [stdout]   --> src/config.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct RiskConfig {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 17 |     pub max_position_pct: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 18 |     pub max_drawdown_pct: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 19 |     pub min_bankroll: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 20 |     pub starting_bankroll: f64,
[INFO] [stdout] 21 |     pub max_exposure: 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: struct `Market` is never constructed
[INFO] [stdout]   --> src/domain/mod.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct Market {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TokenInfo` is never constructed
[INFO] [stdout]   --> src/domain/mod.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct TokenInfo {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Signal` is never constructed
[INFO] [stdout]   --> src/domain/mod.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 87 | pub struct Signal {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BookLevel` is never constructed
[INFO] [stdout]   --> src/domain/mod.rs:97:12
[INFO] [stdout]    |
[INFO] [stdout] 97 | pub struct BookLevel {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrderBook` is never constructed
[INFO] [stdout]    --> src/domain/mod.rs:103:12
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub struct OrderBook {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `midpoint` and `spread` are never used
[INFO] [stdout]    --> src/domain/mod.rs:110:12
[INFO] [stdout]     |
[INFO] [stdout] 109 | impl OrderBook {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] 110 |     pub fn midpoint(&self) -> Option<f64> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     pub fn spread(&self) -> Option<f64> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `MarketData` is never used
[INFO] [stdout]    --> src/domain/mod.rs:125:10
[INFO] [stdout]     |
[INFO] [stdout] 125 | pub enum MarketData {
[INFO] [stdout]     |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrderManager` is never constructed
[INFO] [stdout]   --> src/engine/order_manager.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct OrderManager {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `run`, `handle_signal`, and `cancel_all` are never used
[INFO] [stdout]    --> src/engine/order_manager.rs:22:12
[INFO] [stdout]     |
[INFO] [stdout]  21 | impl OrderManager {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout]  22 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  38 |     pub async fn run(mut self) -> Result<()> {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout]  61 |     async fn handle_signal(&self, signal: Signal) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 158 |     pub async fn cancel_all(&self) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `config` and `peak_bankroll` are never read
[INFO] [stdout]   --> src/engine/risk.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct RiskManager {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 12 |     config: RiskConfig,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 13 |     peak_bankroll: Arc<RwLock<f64>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RiskManager` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `update_bankroll`, `check_signal`, and `resume` are never used
[INFO] [stdout]    --> src/engine/risk.rs:28:18
[INFO] [stdout]     |
[INFO] [stdout]  17 | impl RiskManager {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  28 |     pub async fn update_bankroll(&self, current_bankroll: f64) -> bool {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  62 |     pub async fn check_signal(&self, signal: &Signal, current_bankroll: f64, total_exposure: f64) -> Result<bool> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn resume(&self) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FeedAggregator` is never constructed
[INFO] [stdout]   --> src/feeds.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct FeedAggregator {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `run`, `update_state`, and `run_strategies` are never used
[INFO] [stdout]   --> src/feeds.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl FeedAggregator {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 21 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub async fn run(mut self) {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     async fn update_state(&self, event: &MarketData) {
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 72 |     async fn run_strategies(&self, event: &MarketData) {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StrategyContext` is never constructed
[INFO] [stdout]  --> src/strategy/mod.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct StrategyContext {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/strategy/mod.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl StrategyContext {
[INFO] [stdout]    | -------------------- associated function in this implementation
[INFO] [stdout] 19 |     pub fn new(bankroll: f64) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Strategy` is never used
[INFO] [stdout]   --> src/strategy/mod.rs:32:11
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub trait Strategy: Send + Sync {
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LatencyArbStrategy` is never constructed
[INFO] [stdout]  --> src/strategy/latency_arb.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct LatencyArbStrategy {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `kelly_size` are never used
[INFO] [stdout]   --> src/strategy/latency_arb.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl LatencyArbStrategy {
[INFO] [stdout]    | ----------------------- associated items in this implementation
[INFO] [stdout] 25 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     fn kelly_size(&self, confidence: f64, price: f64, bankroll: f64) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IntraArbStrategy` is never constructed
[INFO] [stdout]  --> src/strategy/intra_arb.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct IntraArbStrategy {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/strategy/intra_arb.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl IntraArbStrategy {
[INFO] [stdout]    | --------------------- associated function in this implementation
[INFO] [stdout] 16 |     pub fn new(markets: Vec<(String, Vec<String>)>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token_id`
[INFO] [stdout]   --> src/strategy/intra_arb.rs:62:22
[INFO] [stdout]    |
[INFO] [stdout] 62 |                 for (token_id, price) in &prices {
[INFO] [stdout]    |                      ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrderRequest` is never constructed
[INFO] [stdout]   --> src/adapters/polymarket.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | struct OrderRequest {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrderResponse` is never constructed
[INFO] [stdout]   --> src/adapters/polymarket.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct OrderResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PriceResponse` is never constructed
[INFO] [stdout]   --> src/adapters/polymarket.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | struct PriceResponse {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MidpointResponse` is never constructed
[INFO] [stdout]   --> src/adapters/polymarket.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | struct MidpointResponse {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrderBookResponse` is never constructed
[INFO] [stdout]   --> src/adapters/polymarket.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 56 | struct OrderBookResponse {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrderBookLevel` is never constructed
[INFO] [stdout]   --> src/adapters/polymarket.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | struct OrderBookLevel {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OpenOrder` is never constructed
[INFO] [stdout]   --> src/adapters/polymarket.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub struct OpenOrder {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_price`, `get_midpoint`, `get_orderbook`, `post_order`, `cancel_order`, and `get_open_orders` are never used
[INFO] [stdout]    --> src/adapters/polymarket.rs:121:18
[INFO] [stdout]     |
[INFO] [stdout]  77 | impl PolymarketClient {
[INFO] [stdout]     | --------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 121 |     pub async fn get_price(&self, token_id: &str) -> Result<f64> {
[INFO] [stdout]     |                  ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub async fn get_midpoint(&self, token_id: &str) -> Result<f64> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 159 |     pub async fn get_orderbook(&self, token_id: &str) -> Result<OrderBook> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 193 |     pub async fn post_order(
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 241 |     pub async fn cancel_order(&self, order_id: &str) -> Result<bool> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 271 |     pub async fn get_open_orders(&self) -> Result<Vec<OpenOrder>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `WS_URL` is never used
[INFO] [stdout]   --> src/adapters/polymarket_ws.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | const WS_URL: &str = "wss://ws-subscriptions-clob.polymarket.com/ws/market";
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WsMessage` is never constructed
[INFO] [stdout]   --> src/adapters/polymarket_ws.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct WsMessage {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WsLevel` is never constructed
[INFO] [stdout]   --> src/adapters/polymarket_ws.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct WsLevel {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PolymarketWsFeed` is never constructed
[INFO] [stdout]   --> src/adapters/polymarket_ws.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct PolymarketWsFeed {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `run`, `connect_and_listen`, and `handle_message` are never used
[INFO] [stdout]    --> src/adapters/polymarket_ws.rs:36:12
[INFO] [stdout]     |
[INFO] [stdout]  35 | impl PolymarketWsFeed {
[INFO] [stdout]     | --------------------- associated items in this implementation
[INFO] [stdout]  36 |     pub fn new(tx: broadcast::Sender<MarketData>, market_ids: Vec<String>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  40 |     pub async fn run(self) -> Result<()> {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout]  60 |     async fn connect_and_listen(&self) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     fn handle_message(&self, text: &str) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BinanceTicker` is never constructed
[INFO] [stdout]   --> src/adapters/binance.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct BinanceTicker {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BinanceWsFeed` is never constructed
[INFO] [stdout]   --> src/adapters/binance.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct BinanceWsFeed {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `WS_ENDPOINTS` is never used
[INFO] [stdout]   --> src/adapters/binance.rs:26:7
[INFO] [stdout]    |
[INFO] [stdout] 26 | const WS_ENDPOINTS: &[&str] = &[
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `REST_ENDPOINTS` is never used
[INFO] [stdout]   --> src/adapters/binance.rs:31:7
[INFO] [stdout]    |
[INFO] [stdout] 31 | const REST_ENDPOINTS: &[&str] = &[
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `run`, `try_websocket`, `rest_poll_loop`, `handle_rest_price`, and `handle_message` are never used
[INFO] [stdout]    --> src/adapters/binance.rs:37:12
[INFO] [stdout]     |
[INFO] [stdout]  36 | impl BinanceWsFeed {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout]  37 |     pub fn new(tx: broadcast::Sender<MarketData>, symbols: Vec<String>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  41 |     pub async fn run(self) -> Result<()> {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout]  65 |     async fn try_websocket(&self) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     async fn rest_poll_loop(&self) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 152 |     fn handle_rest_price(&self, text: &str) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 170 |     fn handle_message(&self, text: &str) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/adapters/database.rs:83:18
[INFO] [stdout]     |
[INFO] [stdout]  12 | impl Database {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  83 |     pub async fn insert_trade(&self, trade: &Trade) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 115 |     pub async fn upsert_position(&self, pos: &Position) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 148 |     pub async fn delete_position(&self, market_id: &str, token_id: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 159 |     pub async fn insert_order(&self, order: &Order) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 181 |     pub async fn update_order_status(&self, order_id: &str, status: &OrderStatus) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 202 |     pub async fn record_pnl_snapshot(&self, bankroll: f64, pnl_total: f64) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 235 |     pub async fn set_config(&self, key: &str, value: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 246 |     pub async fn get_config(&self, key: &str) -> Result<Option<String>> {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `max_position_pct`, `max_drawdown_pct`, `min_bankroll`, and `max_exposure` are never read
[INFO] [stdout]   --> src/config.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct RiskConfig {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 17 |     pub max_position_pct: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 18 |     pub max_drawdown_pct: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 19 |     pub min_bankroll: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 20 |     pub starting_bankroll: f64,
[INFO] [stdout] 21 |     pub max_exposure: 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: struct `Market` is never constructed
[INFO] [stdout]   --> src/domain/mod.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct Market {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TokenInfo` is never constructed
[INFO] [stdout]   --> src/domain/mod.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct TokenInfo {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Signal` is never constructed
[INFO] [stdout]   --> src/domain/mod.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 87 | pub struct Signal {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BookLevel` is never constructed
[INFO] [stdout]   --> src/domain/mod.rs:97:12
[INFO] [stdout]    |
[INFO] [stdout] 97 | pub struct BookLevel {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrderBook` is never constructed
[INFO] [stdout]    --> src/domain/mod.rs:103:12
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub struct OrderBook {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `midpoint` and `spread` are never used
[INFO] [stdout]    --> src/domain/mod.rs:110:12
[INFO] [stdout]     |
[INFO] [stdout] 109 | impl OrderBook {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] 110 |     pub fn midpoint(&self) -> Option<f64> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     pub fn spread(&self) -> Option<f64> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `MarketData` is never used
[INFO] [stdout]    --> src/domain/mod.rs:125:10
[INFO] [stdout]     |
[INFO] [stdout] 125 | pub enum MarketData {
[INFO] [stdout]     |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrderManager` is never constructed
[INFO] [stdout]   --> src/engine/order_manager.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct OrderManager {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `run`, `handle_signal`, and `cancel_all` are never used
[INFO] [stdout]    --> src/engine/order_manager.rs:22:12
[INFO] [stdout]     |
[INFO] [stdout]  21 | impl OrderManager {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout]  22 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  38 |     pub async fn run(mut self) -> Result<()> {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout]  61 |     async fn handle_signal(&self, signal: Signal) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 158 |     pub async fn cancel_all(&self) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `config` and `peak_bankroll` are never read
[INFO] [stdout]   --> src/engine/risk.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct RiskManager {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 12 |     config: RiskConfig,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 13 |     peak_bankroll: Arc<RwLock<f64>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RiskManager` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `update_bankroll`, `check_signal`, and `resume` are never used
[INFO] [stdout]    --> src/engine/risk.rs:28:18
[INFO] [stdout]     |
[INFO] [stdout]  17 | impl RiskManager {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  28 |     pub async fn update_bankroll(&self, current_bankroll: f64) -> bool {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  62 |     pub async fn check_signal(&self, signal: &Signal, current_bankroll: f64, total_exposure: f64) -> Result<bool> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn resume(&self) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FeedAggregator` is never constructed
[INFO] [stdout]   --> src/feeds.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct FeedAggregator {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `run`, `update_state`, and `run_strategies` are never used
[INFO] [stdout]   --> src/feeds.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl FeedAggregator {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 21 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub async fn run(mut self) {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     async fn update_state(&self, event: &MarketData) {
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 72 |     async fn run_strategies(&self, event: &MarketData) {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StrategyContext` is never constructed
[INFO] [stdout]  --> src/strategy/mod.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct StrategyContext {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/strategy/mod.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl StrategyContext {
[INFO] [stdout]    | -------------------- associated function in this implementation
[INFO] [stdout] 19 |     pub fn new(bankroll: f64) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Strategy` is never used
[INFO] [stdout]   --> src/strategy/mod.rs:32:11
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub trait Strategy: Send + Sync {
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LatencyArbStrategy` is never constructed
[INFO] [stdout]  --> src/strategy/latency_arb.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct LatencyArbStrategy {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `kelly_size` are never used
[INFO] [stdout]   --> src/strategy/latency_arb.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl LatencyArbStrategy {
[INFO] [stdout]    | ----------------------- associated items in this implementation
[INFO] [stdout] 25 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     fn kelly_size(&self, confidence: f64, price: f64, bankroll: f64) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IntraArbStrategy` is never constructed
[INFO] [stdout]  --> src/strategy/intra_arb.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct IntraArbStrategy {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/strategy/intra_arb.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl IntraArbStrategy {
[INFO] [stdout]    | --------------------- associated function in this implementation
[INFO] [stdout] 16 |     pub fn new(markets: Vec<(String, Vec<String>)>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token_id`
[INFO] [stdout]   --> src/strategy/intra_arb.rs:62:22
[INFO] [stdout]    |
[INFO] [stdout] 62 |                 for (token_id, price) in &prices {
[INFO] [stdout]    |                      ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PriceResponse` is never constructed
[INFO] [stdout]   --> src/adapters/polymarket.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | struct PriceResponse {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MidpointResponse` is never constructed
[INFO] [stdout]   --> src/adapters/polymarket.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | struct MidpointResponse {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrderBookResponse` is never constructed
[INFO] [stdout]   --> src/adapters/polymarket.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 56 | struct OrderBookResponse {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrderBookLevel` is never constructed
[INFO] [stdout]   --> src/adapters/polymarket.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | struct OrderBookLevel {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OpenOrder` is never constructed
[INFO] [stdout]   --> src/adapters/polymarket.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub struct OpenOrder {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_price`, `get_midpoint`, `get_orderbook`, `cancel_order`, and `get_open_orders` are never used
[INFO] [stdout]    --> src/adapters/polymarket.rs:121:18
[INFO] [stdout]     |
[INFO] [stdout]  77 | impl PolymarketClient {
[INFO] [stdout]     | --------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 121 |     pub async fn get_price(&self, token_id: &str) -> Result<f64> {
[INFO] [stdout]     |                  ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub async fn get_midpoint(&self, token_id: &str) -> Result<f64> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 159 |     pub async fn get_orderbook(&self, token_id: &str) -> Result<OrderBook> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 241 |     pub async fn cancel_order(&self, order_id: &str) -> Result<bool> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 271 |     pub async fn get_open_orders(&self) -> Result<Vec<OpenOrder>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `upsert_position`, `delete_position`, `set_config`, and `get_config` are never used
[INFO] [stdout]    --> src/adapters/database.rs:115:18
[INFO] [stdout]     |
[INFO] [stdout]  12 | impl Database {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 115 |     pub async fn upsert_position(&self, pos: &Position) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 148 |     pub async fn delete_position(&self, market_id: &str, token_id: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 235 |     pub async fn set_config(&self, key: &str, value: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 246 |     pub async fn get_config(&self, key: &str) -> Result<Option<String>> {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Market` is never constructed
[INFO] [stdout]   --> src/domain/mod.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct Market {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TokenInfo` is never constructed
[INFO] [stdout]   --> src/domain/mod.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct TokenInfo {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `midpoint` and `spread` are never used
[INFO] [stdout]    --> src/domain/mod.rs:110:12
[INFO] [stdout]     |
[INFO] [stdout] 109 | impl OrderBook {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] 110 |     pub fn midpoint(&self) -> Option<f64> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     pub fn spread(&self) -> Option<f64> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `cancel_all` is never used
[INFO] [stdout]    --> src/engine/order_manager.rs:158:18
[INFO] [stdout]     |
[INFO] [stdout]  21 | impl OrderManager {
[INFO] [stdout]     | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 158 |     pub async fn cancel_all(&self) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `resume` is never used
[INFO] [stdout]    --> src/engine/risk.rs:107:12
[INFO] [stdout]     |
[INFO] [stdout]  17 | impl RiskManager {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn resume(&self) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `orderbooks` and `latest_event` are never read
[INFO] [stdout]   --> src/strategy/mod.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct StrategyContext {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub orderbooks: HashMap<String, OrderBook>,  // token_id -> orderbook
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 14 |     pub binance_prices: HashMap<String, f64>,    // symbol -> price
[INFO] [stdout] 15 |     pub latest_event: Option<MarketData>,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `StrategyContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/strategy/mod.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl StrategyContext {
[INFO] [stdout]    | -------------------- associated function in this implementation
[INFO] [stdout] 19 |     pub fn new(bankroll: f64) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `no_token_id` is never read
[INFO] [stdout]   --> src/strategy/latency_arb.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct LatencyArbStrategy {
[INFO] [stdout]    |            ------------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub no_token_id: String,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token_id`
[INFO] [stdout]   --> src/strategy/intra_arb.rs:62:22
[INFO] [stdout]    |
[INFO] [stdout] 62 |                 for (token_id, price) in &prices {
[INFO] [stdout]    |                      ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PriceResponse` is never constructed
[INFO] [stdout]   --> src/adapters/polymarket.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | struct PriceResponse {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MidpointResponse` is never constructed
[INFO] [stdout]   --> src/adapters/polymarket.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | struct MidpointResponse {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrderBookResponse` is never constructed
[INFO] [stdout]   --> src/adapters/polymarket.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 56 | struct OrderBookResponse {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrderBookLevel` is never constructed
[INFO] [stdout]   --> src/adapters/polymarket.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | struct OrderBookLevel {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OpenOrder` is never constructed
[INFO] [stdout]   --> src/adapters/polymarket.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub struct OpenOrder {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_price`, `get_midpoint`, `get_orderbook`, `cancel_order`, and `get_open_orders` are never used
[INFO] [stdout]    --> src/adapters/polymarket.rs:121:18
[INFO] [stdout]     |
[INFO] [stdout]  77 | impl PolymarketClient {
[INFO] [stdout]     | --------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 121 |     pub async fn get_price(&self, token_id: &str) -> Result<f64> {
[INFO] [stdout]     |                  ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub async fn get_midpoint(&self, token_id: &str) -> Result<f64> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 159 |     pub async fn get_orderbook(&self, token_id: &str) -> Result<OrderBook> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 241 |     pub async fn cancel_order(&self, order_id: &str) -> Result<bool> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 271 |     pub async fn get_open_orders(&self) -> Result<Vec<OpenOrder>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `upsert_position`, `delete_position`, `set_config`, and `get_config` are never used
[INFO] [stdout]    --> src/adapters/database.rs:115:18
[INFO] [stdout]     |
[INFO] [stdout]  12 | impl Database {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 115 |     pub async fn upsert_position(&self, pos: &Position) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 148 |     pub async fn delete_position(&self, market_id: &str, token_id: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 235 |     pub async fn set_config(&self, key: &str, value: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 246 |     pub async fn get_config(&self, key: &str) -> Result<Option<String>> {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Market` is never constructed
[INFO] [stdout]   --> src/domain/mod.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct Market {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TokenInfo` is never constructed
[INFO] [stdout]   --> src/domain/mod.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct TokenInfo {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `midpoint` and `spread` are never used
[INFO] [stdout]    --> src/domain/mod.rs:110:12
[INFO] [stdout]     |
[INFO] [stdout] 109 | impl OrderBook {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] 110 |     pub fn midpoint(&self) -> Option<f64> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     pub fn spread(&self) -> Option<f64> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `cancel_all` is never used
[INFO] [stdout]    --> src/engine/order_manager.rs:158:18
[INFO] [stdout]     |
[INFO] [stdout]  21 | impl OrderManager {
[INFO] [stdout]     | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 158 |     pub async fn cancel_all(&self) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `resume` is never used
[INFO] [stdout]    --> src/engine/risk.rs:107:12
[INFO] [stdout]     |
[INFO] [stdout]  17 | impl RiskManager {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn resume(&self) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `orderbooks` and `latest_event` are never read
[INFO] [stdout]   --> src/strategy/mod.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct StrategyContext {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub orderbooks: HashMap<String, OrderBook>,  // token_id -> orderbook
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 14 |     pub binance_prices: HashMap<String, f64>,    // symbol -> price
[INFO] [stdout] 15 |     pub latest_event: Option<MarketData>,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `StrategyContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/strategy/mod.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl StrategyContext {
[INFO] [stdout]    | -------------------- associated function in this implementation
[INFO] [stdout] 19 |     pub fn new(bankroll: f64) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `no_token_id` is never read
[INFO] [stdout]   --> src/strategy/latency_arb.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct LatencyArbStrategy {
[INFO] [stdout]    |            ------------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub no_token_id: String,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 51s
[INFO] running `Command { std: "docker" "inspect" "7d7d6b211aa61ccebd5b9828671c7235ea6a160f2e8cb9a65b2ece07a15a232e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7d7d6b211aa61ccebd5b9828671c7235ea6a160f2e8cb9a65b2ece07a15a232e", kill_on_drop: false }`
[INFO] [stdout] 7d7d6b211aa61ccebd5b9828671c7235ea6a160f2e8cb9a65b2ece07a15a232e
