[INFO] cloning repository https://github.com/Jon-Becker/pythia [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jon-Becker/pythia" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJon-Becker%2Fpythia", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJon-Becker%2Fpythia'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d449911d9630737e1dda4bdb6b53ad1789eb74b0 [INFO] checking Jon-Becker/pythia against try#b10dae361a61486cfbdcd3aae3877ee17e00d192 for pr-153912 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJon-Becker%2Fpythia" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/Jon-Becker/pythia [INFO] finished tweaking git repo https://github.com/Jon-Becker/pythia [INFO] tweaked toml for git repo https://github.com/Jon-Becker/pythia written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Jon-Becker/pythia on toolchain b10dae361a61486cfbdcd3aae3877ee17e00d192 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b10dae361a61486cfbdcd3aae3877ee17e00d192" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Jon-Becker/pythia 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" "+b10dae361a61486cfbdcd3aae3877ee17e00d192" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b10dae361a61486cfbdcd3aae3877ee17e00d192" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84f38753caf0975a75fdbfd236204574e0317e7bce338408c5937b66c79c5680 [INFO] running `Command { std: "docker" "start" "-a" "84f38753caf0975a75fdbfd236204574e0317e7bce338408c5937b66c79c5680", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84f38753caf0975a75fdbfd236204574e0317e7bce338408c5937b66c79c5680", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84f38753caf0975a75fdbfd236204574e0317e7bce338408c5937b66c79c5680", kill_on_drop: false }` [INFO] [stdout] 84f38753caf0975a75fdbfd236204574e0317e7bce338408c5937b66c79c5680 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b10dae361a61486cfbdcd3aae3877ee17e00d192" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89ccd8bb2f8cd22898cf8c4a9027fe64235c778760719236d24edd88195699b1 [INFO] running `Command { std: "docker" "start" "-a" "89ccd8bb2f8cd22898cf8c4a9027fe64235c778760719236d24edd88195699b1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking itoa v1.0.17 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking pin-project-lite v0.2.17 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Checking foldhash v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-core v0.3.32 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking futures-sink v0.3.32 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Checking futures-io v0.3.32 [INFO] [stderr] Compiling zerocopy v0.8.42 [INFO] [stderr] Checking futures-task v0.3.32 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Checking base64ct v1.8.3 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling ruint-macro v1.2.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling winnow v0.7.15 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Checking bitflags v2.11.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking socket2 v0.6.3 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Compiling cc v1.2.57 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking rustls-pki-types v1.14.0 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Compiling libm v0.2.16 [INFO] [stderr] Compiling aws-lc-rs v1.16.1 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking keccak v0.1.6 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Checking const-hex v1.18.1 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Checking litemap v0.8.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking writeable v0.6.2 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking webpki-roots v1.0.6 [INFO] [stderr] Checking ipnet v2.12.0 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking openssl-probe v0.2.1 [INFO] [stderr] Checking uuid v1.22.0 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking ryu v1.0.23 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling aws-lc-sys v0.38.0 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Checking crc v3.4.0 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking rustls-native-certs v0.8.3 [INFO] [stderr] Compiling ruint v1.17.2 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling rust_decimal v1.40.0 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling toml_parser v1.0.9+spec-1.1.0 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling toml_datetime v1.0.0+spec-1.1.0 [INFO] [stderr] Checking iana-time-zone v0.1.65 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling toml_edit v0.25.4+spec-1.1.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking data-encoding v2.10.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [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 darling_core v0.23.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking iri-string v0.7.10 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking raw-cpuid v11.6.0 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking regex-syntax v0.8.10 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling libz-sys v1.1.25 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling alloy-rlp-derive v0.3.13 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling auto_impl v1.3.0 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling num_enum_derive v0.7.5 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Checking quanta v0.12.6 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Compiling serde_with_macros v3.18.0 [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 num_enum v0.7.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Compiling tinyvec v1.11.0 [INFO] [stderr] Checking metrics v0.24.3 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking serde_with v3.18.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling alloy-sol-type-parser v1.5.7 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking tokio v1.50.0 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Checking alloy-rlp v0.3.13 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Compiling rustls-webpki v0.103.9 [INFO] [stderr] Checking rand_xoshiro v0.7.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking derive_more v2.1.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking tungstenite v0.28.0 [INFO] [stderr] Checking webpki-roots v0.26.11 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Compiling alloy-primitives v1.5.7 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Checking nybbles v0.4.8 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Checking sketches-ddsketch v0.3.1 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking metrics-util v0.19.1 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking alloy-json-abi v1.5.7 [INFO] [stderr] Checking alloy-eip7928 v0.3.3 [INFO] [stderr] Checking alloy-eip2124 v0.2.0 [INFO] [stderr] Checking alloy-eip7702 v0.6.3 [INFO] [stderr] Checking alloy-eip2930 v0.2.3 [INFO] [stderr] Checking alloy-serde v1.7.3 [INFO] [stderr] Checking alloy-trie v0.9.5 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling rdkafka-sys v4.10.0+2.12.1 [INFO] [stderr] Checking alloy-eips v1.7.3 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking pythia-common v0.0.1 (/opt/rustwide/workdir/crates/common) [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling alloy-sol-macro-input v1.5.7 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Compiling alloy-tx-macros v1.7.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Compiling alloy-sol-macro-expander v1.5.7 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-tungstenite v0.28.0 [INFO] [stderr] Checking deadpool-runtime v0.1.4 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Checking deadpool v0.12.3 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking tracing-serde v0.2.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking arc-swap v1.8.2 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking alloy-consensus v1.7.3 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Checking futures-utils-wasm v0.1.0 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Checking alloy-signer v1.7.3 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling pin-project-internal v1.1.11 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking lru v0.16.3 [INFO] [stderr] Compiling portable-atomic v1.13.1 [INFO] [stderr] Compiling num-bigint-dig v0.8.6 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking headers-core v0.3.0 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking headers v0.4.1 [INFO] [stderr] Compiling rust_decimal_macros v1.40.0 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Compiling alloy-sol-macro v1.5.7 [INFO] [stderr] Checking spinning_top v0.3.0 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking no-std-compat v0.4.1 [INFO] [stderr] Checking nonzero_ext v0.3.0 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking pin-project v1.1.11 [INFO] [stderr] Checking tempfile v3.27.0 [INFO] [stderr] Checking alloy-sol-types v1.5.7 [INFO] [stderr] Checking insta v1.46.3 [INFO] [stderr] Checking strum v0.27.2 [INFO] [stderr] Checking alloy-chains v0.2.31 [INFO] [stderr] Checking governor v0.8.1 [INFO] [stderr] Checking redis v0.27.6 [INFO] [stderr] Checking alloy-consensus-any v1.7.3 [INFO] [stderr] Checking alloy-network-primitives v1.7.3 [INFO] [stderr] Checking redis v0.29.5 [INFO] [stderr] Checking rsa v0.9.10 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Checking alloy-json-rpc v1.7.3 [INFO] [stderr] Checking alloy-rpc-types-eth v1.7.3 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking alloy-dyn-abi v1.5.7 [INFO] [stderr] Checking alloy-transport v1.7.3 [INFO] [stderr] Checking alloy-core v1.5.7 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking axum v0.8.8 [INFO] [stderr] Checking wiremock v0.6.5 [INFO] [stderr] Checking deadpool-redis v0.18.0 [INFO] [stderr] Checking alloy-rpc-types-any v1.7.3 [INFO] [stderr] Checking alloy-network v1.7.3 [INFO] [stderr] Checking alloy-rpc-types v1.7.3 [INFO] [stderr] Checking alloy-signer-local v1.7.3 [INFO] [stderr] Checking rdkafka v0.37.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Checking axum-extra v0.10.3 [INFO] [stderr] Checking pythia-broker v0.0.1 (/opt/rustwide/workdir/crates/broker) [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking tungstenite v0.26.2 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking metrics-exporter-prometheus v0.16.2 [INFO] [stderr] Checking tokio-tungstenite v0.26.2 [INFO] [stderr] Checking pythia-o11y v0.0.1 (/opt/rustwide/workdir/crates/o11y) [INFO] [stderr] Checking ws-broadcaster v0.0.1 (/opt/rustwide/workdir/crates/ws-broadcaster) [INFO] [stderr] Checking alloy-transport-http v1.7.3 [INFO] [stderr] Checking indexer-kalshi v0.0.1 (/opt/rustwide/workdir/crates/indexer-kalshi) [INFO] [stderr] Checking alloy-rpc-client v1.7.3 [INFO] [stderr] Checking alloy-provider v1.7.3 [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> crates/indexer-kalshi/src/config.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) struct KalshiConfig { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub env: KalshiEnv, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub redpanda_brokers: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub backfill_rate_limit_per_sec: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub market_refresh_interval_secs: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | /// Interval for periodic REST orderbook reconciliation (seconds). [INFO] [stdout] 55 | pub orderbook_snapshot_interval_secs: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub backfill_lookback_secs: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub dedup_cache_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub enable_backfill: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 70 | /// Optional Unix timestamp to start backfill from. [INFO] [stdout] 71 | pub backfill_start_ts: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | /// Subscribe to `orderbook_delta` channel. [INFO] [stdout] 73 | pub enable_orderbook: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KalshiConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `auth_context` is never used [INFO] [stdout] --> crates/indexer-kalshi/src/error.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) fn auth_context(result: anyhow::Result) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ws_connect_context` is never used [INFO] [stdout] --> crates/indexer-kalshi/src/error.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) fn ws_connect_context(result: anyhow::Result) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rest_context` is never used [INFO] [stdout] --> crates/indexer-kalshi/src/error.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) fn rest_context(result: anyhow::Result, endpoint: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize_context` is never used [INFO] [stdout] --> crates/indexer-kalshi/src/error.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn normalize_context(result: anyhow::Result, entity: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `publish_context` is never used [INFO] [stdout] --> crates/indexer-kalshi/src/error.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) fn publish_context(result: anyhow::Result, topic: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize_rest_trade` is never used [INFO] [stdout] --> crates/indexer-kalshi/src/normalize.rs:235:15 [INFO] [stdout] | [INFO] [stdout] 235 | pub(crate) fn normalize_rest_trade(raw: &KalshiTrade) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove` and `get` are never used [INFO] [stdout] --> crates/indexer-kalshi/src/orderbook_manager.rs:161:19 [INFO] [stdout] | [INFO] [stdout] 49 | impl OrderbookManager { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 161 | pub(crate) fn remove(&mut self, ticker: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub(crate) fn get(&self, ticker: &str) -> Option<&MarketBook> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> crates/indexer-kalshi/src/raw_types.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct KalshiMarket { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pub no_sub_title: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub expected_expiration_time: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | /// Best YES bid price (FixedPoint dollars string). [INFO] [stdout] 34 | pub yes_bid_dollars: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | /// Best YES ask price (FixedPoint dollars string). [INFO] [stdout] 36 | pub yes_ask_dollars: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | /// Best NO bid price (FixedPoint dollars string). [INFO] [stdout] 38 | pub no_bid_dollars: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 39 | /// Best NO ask price (FixedPoint dollars string). [INFO] [stdout] 40 | pub no_ask_dollars: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 41 | /// Last trade price — YES side (FixedPoint dollars string). [INFO] [stdout] 42 | pub last_price_dollars: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | /// Lifetime trading volume (FixedPoint count string). [INFO] [stdout] 44 | pub volume_fp: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 45 | /// Open interest (FixedPoint count string). [INFO] [stdout] 46 | pub open_interest_fp: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KalshiMarket` 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 `KalshiMarketsResponse` is never constructed [INFO] [stdout] --> crates/indexer-kalshi/src/raw_types.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | pub(crate) struct KalshiMarketsResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KalshiTrade` is never constructed [INFO] [stdout] --> crates/indexer-kalshi/src/raw_types.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | pub(crate) struct KalshiTrade { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KalshiTradesResponse` is never constructed [INFO] [stdout] --> crates/indexer-kalshi/src/raw_types.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | pub(crate) struct KalshiTradesResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KalshiOrderbookResponse` is never constructed [INFO] [stdout] --> crates/indexer-kalshi/src/raw_types.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 98 | pub(crate) struct KalshiOrderbookResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KalshiOrderbookFp` is never constructed [INFO] [stdout] --> crates/indexer-kalshi/src/raw_types.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | pub(crate) struct KalshiOrderbookFp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `market_id` is never read [INFO] [stdout] --> crates/indexer-kalshi/src/raw_types.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 198 | pub(crate) struct KalshiWsOrderbookSnapshot { [INFO] [stdout] | ------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 202 | pub market_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KalshiWsOrderbookSnapshot` 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 `market_id` is never read [INFO] [stdout] --> crates/indexer-kalshi/src/raw_types.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 211 | pub(crate) struct KalshiWsOrderbookDelta { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 215 | pub market_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KalshiWsOrderbookDelta` 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 `no_price_dollars` is never read [INFO] [stdout] --> crates/indexer-kalshi/src/raw_types.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 228 | pub(crate) struct KalshiWsTrade { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 236 | pub no_price_dollars: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KalshiWsTrade` 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 `market_id` is never read [INFO] [stdout] --> crates/indexer-kalshi/src/raw_types.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 247 | pub(crate) struct KalshiWsTicker { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 251 | pub market_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KalshiWsTicker` 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 `base_url` is never used [INFO] [stdout] --> crates/indexer-kalshi/src/rest/client.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 28 | impl KalshiRestClient { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | pub(crate) fn base_url(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_markets_page` is never used [INFO] [stdout] --> crates/indexer-kalshi/src/rest/markets.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) async fn fetch_markets_page( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_all_markets` is never used [INFO] [stdout] --> crates/indexer-kalshi/src/rest/markets.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) async fn fetch_all_markets( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_orderbook` is never used [INFO] [stdout] --> crates/indexer-kalshi/src/rest/orderbook.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) async fn fetch_orderbook( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_trades_page` is never used [INFO] [stdout] --> crates/indexer-kalshi/src/rest/trades.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) async fn fetch_trades_page( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_all_trades` is never used [INFO] [stdout] --> crates/indexer-kalshi/src/rest/trades.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | pub(crate) async fn fetch_all_trades( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sid_for_channel` is never used [INFO] [stdout] --> crates/indexer-kalshi/src/ws/subscriptions.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 33 | impl SubscriptionTracker { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub(crate) fn sid_for_channel(&self, channel: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `subscribe_orderbook_delta` is never used [INFO] [stdout] --> crates/indexer-kalshi/src/ws/subscriptions.rs:73:15 [INFO] [stdout] | [INFO] [stdout] 73 | pub(crate) fn subscribe_orderbook_delta(tickers: &[&str]) -> (u64, String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_subscription_add` is never used [INFO] [stdout] --> crates/indexer-kalshi/src/ws/subscriptions.rs:136:15 [INFO] [stdout] | [INFO] [stdout] 136 | pub(crate) fn update_subscription_add(sid: u64, tickers: &[&str]) -> (u64, String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_subscription_remove` is never used [INFO] [stdout] --> crates/indexer-kalshi/src/ws/subscriptions.rs:154:15 [INFO] [stdout] | [INFO] [stdout] 154 | pub(crate) fn update_subscription_remove(sid: u64, tickers: &[&str]) -> (u64, String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `backfill_rate_limit_per_sec`, `market_refresh_interval_secs`, `orderbook_snapshot_interval_secs`, `backfill_lookback_secs`, and `dedup_cache_size` are never read [INFO] [stdout] --> crates/indexer-kalshi/src/config.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) struct KalshiConfig { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 41 | pub backfill_rate_limit_per_sec: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub market_refresh_interval_secs: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | /// Interval for periodic REST orderbook reconciliation (seconds). [INFO] [stdout] 55 | pub orderbook_snapshot_interval_secs: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub backfill_lookback_secs: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub dedup_cache_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KalshiConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `auth_context` is never used [INFO] [stdout] --> crates/indexer-kalshi/src/error.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) fn auth_context(result: anyhow::Result) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ws_connect_context` is never used [INFO] [stdout] --> crates/indexer-kalshi/src/error.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) fn ws_connect_context(result: anyhow::Result) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rest_context` is never used [INFO] [stdout] --> crates/indexer-kalshi/src/error.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) fn rest_context(result: anyhow::Result, endpoint: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize_context` is never used [INFO] [stdout] --> crates/indexer-kalshi/src/error.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn normalize_context(result: anyhow::Result, entity: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `publish_context` is never used [INFO] [stdout] --> crates/indexer-kalshi/src/error.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) fn publish_context(result: anyhow::Result, topic: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> crates/indexer-kalshi/src/raw_types.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct KalshiMarket { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pub no_sub_title: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub expected_expiration_time: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub yes_ask_dollars: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | /// Best NO bid price (FixedPoint dollars string). [INFO] [stdout] 38 | pub no_bid_dollars: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 39 | /// Best NO ask price (FixedPoint dollars string). [INFO] [stdout] 40 | pub no_ask_dollars: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 41 | /// Last trade price — YES side (FixedPoint dollars string). [INFO] [stdout] 42 | pub last_price_dollars: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | /// Lifetime trading volume (FixedPoint count string). [INFO] [stdout] 44 | pub volume_fp: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 45 | /// Open interest (FixedPoint count string). [INFO] [stdout] 46 | pub open_interest_fp: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KalshiMarket` 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 `no_price` is never read [INFO] [stdout] --> crates/indexer-kalshi/src/raw_types.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub(crate) struct KalshiTrade { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 78 | pub no_price: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KalshiTrade` 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 `KalshiTradesResponse` is never constructed [INFO] [stdout] --> crates/indexer-kalshi/src/raw_types.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | pub(crate) struct KalshiTradesResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `market_id` is never read [INFO] [stdout] --> crates/indexer-kalshi/src/raw_types.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 198 | pub(crate) struct KalshiWsOrderbookSnapshot { [INFO] [stdout] | ------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 202 | pub market_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KalshiWsOrderbookSnapshot` 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 `market_id` is never read [INFO] [stdout] --> crates/indexer-kalshi/src/raw_types.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 211 | pub(crate) struct KalshiWsOrderbookDelta { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 215 | pub market_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KalshiWsOrderbookDelta` 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 `no_price_dollars` is never read [INFO] [stdout] --> crates/indexer-kalshi/src/raw_types.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 228 | pub(crate) struct KalshiWsTrade { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 236 | pub no_price_dollars: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KalshiWsTrade` 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 `market_id` is never read [INFO] [stdout] --> crates/indexer-kalshi/src/raw_types.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 247 | pub(crate) struct KalshiWsTicker { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 251 | pub market_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KalshiWsTicker` 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 `base_url` is never used [INFO] [stdout] --> crates/indexer-kalshi/src/rest/client.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 28 | impl KalshiRestClient { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | pub(crate) fn base_url(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_markets_page` is never used [INFO] [stdout] --> crates/indexer-kalshi/src/rest/markets.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) async fn fetch_markets_page( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_all_markets` is never used [INFO] [stdout] --> crates/indexer-kalshi/src/rest/markets.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) async fn fetch_all_markets( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_orderbook` is never used [INFO] [stdout] --> crates/indexer-kalshi/src/rest/orderbook.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) async fn fetch_orderbook( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_trades_page` is never used [INFO] [stdout] --> crates/indexer-kalshi/src/rest/trades.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) async fn fetch_trades_page( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_all_trades` is never used [INFO] [stdout] --> crates/indexer-kalshi/src/rest/trades.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | pub(crate) async fn fetch_all_trades( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking pythia-db v0.0.1 (/opt/rustwide/workdir/crates/db-client) [INFO] [stderr] Checking api-gateway v0.0.1 (/opt/rustwide/workdir/crates/api-gateway) [INFO] [stderr] Checking pg-writer v0.0.1 (/opt/rustwide/workdir/crates/pg-writer) [INFO] [stderr] Checking alloy-contract v1.7.3 [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> crates/pg-writer/src/accumulator.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking alloy v1.7.3 [INFO] [stderr] Checking indexer-polymarket v0.0.1 (/opt/rustwide/workdir/crates/indexer-polymarket) [INFO] [stdout] warning: struct `ClobRestClient` is never constructed [INFO] [stdout] --> crates/indexer-polymarket/src/clob/rest_client.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) struct ClobRestClient { [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 `BookResponse` is never constructed [INFO] [stdout] --> crates/indexer-polymarket/src/clob/rest_client.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct BookResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `fetch_book`, and `fetch_books_batch` are never used [INFO] [stdout] --> crates/indexer-polymarket/src/clob/rest_client.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 37 | impl ClobRestClient { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 38 | /// Creates a new CLOB REST client. [INFO] [stdout] 39 | pub(crate) fn new(base_url: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub(crate) async fn fetch_book( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub(crate) async fn fetch_books_batch( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `asset_id`, `market`, and `timestamp` are never read [INFO] [stdout] --> crates/indexer-polymarket/src/clob/types.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 113 | pub(crate) struct RawTickSizeChange { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 114 | /// ERC-1155 token ID (decimal string). [INFO] [stdout] 115 | pub asset_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 116 | /// Condition ID (hex-encoded). [INFO] [stdout] 117 | pub market: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub timestamp: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawTickSizeChange` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `market`, `asset_id`, and `timestamp` are never read [INFO] [stdout] --> crates/indexer-polymarket/src/clob/types.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 128 | pub(crate) struct RawBestBidAsk { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 129 | /// Condition ID (hex-encoded). [INFO] [stdout] 130 | pub market: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 131 | /// ERC-1155 token ID (decimal string). [INFO] [stdout] 132 | pub asset_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub timestamp: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawBestBidAsk` 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 `id` is never read [INFO] [stdout] --> crates/indexer-polymarket/src/clob/types.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 145 | pub(crate) struct RawNewMarket { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 146 | /// Optional Gamma internal ID. [INFO] [stdout] 147 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawNewMarket` 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 `id`, `question`, `slug`, and `description` are never read [INFO] [stdout] --> crates/indexer-polymarket/src/clob/types.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 166 | pub(crate) struct RawMarketResolved { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 167 | /// Optional Gamma internal ID. [INFO] [stdout] 168 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 169 | /// Optional market question text. [INFO] [stdout] 170 | pub question: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub slug: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 175 | /// Optional market description. [INFO] [stdout] 176 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawMarketResolved` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `on_chain_context` is never used [INFO] [stdout] --> crates/indexer-polymarket/src/error.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) fn on_chain_context(result: anyhow::Result) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ws_connect_context` is never used [INFO] [stdout] --> crates/indexer-polymarket/src/error.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) fn ws_connect_context(result: anyhow::Result) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rest_context` is never used [INFO] [stdout] --> crates/indexer-polymarket/src/error.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) fn rest_context(result: anyhow::Result, endpoint: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gamma_context` is never used [INFO] [stdout] --> crates/indexer-polymarket/src/error.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn gamma_context(result: anyhow::Result, endpoint: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize_context` is never used [INFO] [stdout] --> crates/indexer-polymarket/src/error.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) fn normalize_context(result: anyhow::Result, entity: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `publish_context` is never used [INFO] [stdout] --> crates/indexer-polymarket/src/error.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) fn publish_context(result: anyhow::Result, topic: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fetch_market_by_condition_id` is never used [INFO] [stdout] --> crates/indexer-polymarket/src/gamma/client.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 17 | impl GammaClient { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub(crate) async fn fetch_market_by_condition_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `closed` is never read [INFO] [stdout] --> crates/indexer-polymarket/src/gamma/types.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) struct GammaEvent { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pub closed: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GammaEvent` 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 `outcomes` is never read [INFO] [stdout] --> crates/indexer-polymarket/src/gamma/types.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) struct GammaMarket { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 44 | pub outcomes: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GammaMarket` 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 `ClobRestClient` is never constructed [INFO] [stdout] --> crates/indexer-polymarket/src/clob/rest_client.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) struct ClobRestClient { [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 `BookResponse` is never constructed [INFO] [stdout] --> crates/indexer-polymarket/src/clob/rest_client.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct BookResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `fetch_book`, and `fetch_books_batch` are never used [INFO] [stdout] --> crates/indexer-polymarket/src/clob/rest_client.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 37 | impl ClobRestClient { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 38 | /// Creates a new CLOB REST client. [INFO] [stdout] 39 | pub(crate) fn new(base_url: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub(crate) async fn fetch_book( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub(crate) async fn fetch_books_batch( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `best_bid` and `best_ask` are never read [INFO] [stdout] --> crates/indexer-polymarket/src/clob/types.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub(crate) struct RawPriceChange { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 87 | pub best_bid: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 88 | /// Optional best ask price after this change. [INFO] [stdout] 89 | pub best_ask: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawPriceChange` 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 `fee_rate_bps` is never read [INFO] [stdout] --> crates/indexer-polymarket/src/clob/types.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 94 | pub(crate) struct RawClobTrade { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 106 | pub fee_rate_bps: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawClobTrade` 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 `asset_id`, `market`, `old_tick_size`, `new_tick_size`, and `timestamp` are never read [INFO] [stdout] --> crates/indexer-polymarket/src/clob/types.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 113 | pub(crate) struct RawTickSizeChange { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 114 | /// ERC-1155 token ID (decimal string). [INFO] [stdout] 115 | pub asset_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 116 | /// Condition ID (hex-encoded). [INFO] [stdout] 117 | pub market: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 118 | /// Previous tick size as a decimal string. [INFO] [stdout] 119 | pub old_tick_size: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 120 | /// New tick size as a decimal string. [INFO] [stdout] 121 | pub new_tick_size: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 122 | /// Timestamp in milliseconds (string-encoded). [INFO] [stdout] 123 | pub timestamp: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawTickSizeChange` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `market`, `asset_id`, `best_bid`, `best_ask`, `spread`, and `timestamp` are never read [INFO] [stdout] --> crates/indexer-polymarket/src/clob/types.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 128 | pub(crate) struct RawBestBidAsk { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 129 | /// Condition ID (hex-encoded). [INFO] [stdout] 130 | pub market: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 131 | /// ERC-1155 token ID (decimal string). [INFO] [stdout] 132 | pub asset_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 133 | /// Best bid price as a decimal string. [INFO] [stdout] 134 | pub best_bid: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 135 | /// Best ask price as a decimal string. [INFO] [stdout] 136 | pub best_ask: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 137 | /// Optional spread as a decimal string. [INFO] [stdout] 138 | pub spread: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 139 | /// Timestamp in milliseconds (string-encoded). [INFO] [stdout] 140 | pub timestamp: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawBestBidAsk` 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 `id` is never read [INFO] [stdout] --> crates/indexer-polymarket/src/clob/types.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 145 | pub(crate) struct RawNewMarket { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 146 | /// Optional Gamma internal ID. [INFO] [stdout] 147 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawNewMarket` 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 `id`, `question`, `slug`, and `description` are never read [INFO] [stdout] --> crates/indexer-polymarket/src/clob/types.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 166 | pub(crate) struct RawMarketResolved { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 167 | /// Optional Gamma internal ID. [INFO] [stdout] 168 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 169 | /// Optional market question text. [INFO] [stdout] 170 | pub question: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub slug: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 175 | /// Optional market description. [INFO] [stdout] 176 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawMarketResolved` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_unsubscribe_message` is never used [INFO] [stdout] --> crates/indexer-polymarket/src/clob/ws_client.rs:118:15 [INFO] [stdout] | [INFO] [stdout] 118 | pub(crate) fn build_unsubscribe_message(token_ids: &[String]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NEG_RISK_ADAPTER_ADDRESS` is never used [INFO] [stdout] --> crates/indexer-polymarket/src/config.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) const NEG_RISK_ADAPTER_ADDRESS: &str = "0xd91E80cF2E7be2e162c6513ceD06f1dD0dA35296"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USDC_ADDRESS` is never used [INFO] [stdout] --> crates/indexer-polymarket/src/config.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) const USDC_ADDRESS: &str = "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `redpanda_brokers` and `clob_rest_url` are never read [INFO] [stdout] --> crates/indexer-polymarket/src/config.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) struct PolymarketConfig { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | pub redpanda_brokers: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub clob_rest_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PolymarketConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `on_chain_context` is never used [INFO] [stdout] --> crates/indexer-polymarket/src/error.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) fn on_chain_context(result: anyhow::Result) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ws_connect_context` is never used [INFO] [stdout] --> crates/indexer-polymarket/src/error.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) fn ws_connect_context(result: anyhow::Result) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rest_context` is never used [INFO] [stdout] --> crates/indexer-polymarket/src/error.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) fn rest_context(result: anyhow::Result, endpoint: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gamma_context` is never used [INFO] [stdout] --> crates/indexer-polymarket/src/error.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn gamma_context(result: anyhow::Result, endpoint: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize_context` is never used [INFO] [stdout] --> crates/indexer-polymarket/src/error.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) fn normalize_context(result: anyhow::Result, entity: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `publish_context` is never used [INFO] [stdout] --> crates/indexer-polymarket/src/error.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) fn publish_context(result: anyhow::Result, topic: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fetch_market_by_condition_id` is never used [INFO] [stdout] --> crates/indexer-polymarket/src/gamma/client.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 17 | impl GammaClient { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub(crate) async fn fetch_market_by_condition_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `active` and `closed` are never read [INFO] [stdout] --> crates/indexer-polymarket/src/gamma/types.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) struct GammaEvent { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | pub active: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | /// Whether the event is closed for trading. [INFO] [stdout] 22 | pub closed: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GammaEvent` 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 `outcomes` and `outcome_prices` are never read [INFO] [stdout] --> crates/indexer-polymarket/src/gamma/types.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) struct GammaMarket { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 44 | pub outcomes: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub outcome_prices: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GammaMarket` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hex_to_bytes32` is never used [INFO] [stdout] --> crates/indexer-polymarket/src/on_chain/normalize.rs:209:15 [INFO] [stdout] | [INFO] [stdout] 209 | pub(crate) fn hex_to_bytes32(hex_str: &str) -> Result<[u8; 32]> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_condition_id`, `get_token_ids`, `contains_token`, and `is_empty` are never used [INFO] [stdout] --> crates/indexer-polymarket/src/token_registry.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 18 | impl TokenRegistry { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub(crate) fn get_condition_id(&self, token_id: &str) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub(crate) fn get_token_ids(&self, condition_id: &str) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub(crate) fn contains_token(&self, token_id: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub(crate) fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 37s [INFO] running `Command { std: "docker" "inspect" "89ccd8bb2f8cd22898cf8c4a9027fe64235c778760719236d24edd88195699b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89ccd8bb2f8cd22898cf8c4a9027fe64235c778760719236d24edd88195699b1", kill_on_drop: false }` [INFO] [stdout] 89ccd8bb2f8cd22898cf8c4a9027fe64235c778760719236d24edd88195699b1