[INFO] cloning repository https://github.com/ahmad-khatib0-org/megacommerce-search [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ahmad-khatib0-org/megacommerce-search" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fahmad-khatib0-org%2Fmegacommerce-search", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fahmad-khatib0-org%2Fmegacommerce-search'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5a07db9d22f5aa519367f3f61709846414ca7911 [INFO] checking ahmad-khatib0-org/megacommerce-search against try#b4c55082edd8dec08ce8af276d7054d9c4db20c4 for pr-147984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fahmad-khatib0-org%2Fmegacommerce-search" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ahmad-khatib0-org/megacommerce-search [INFO] finished tweaking git repo https://github.com/ahmad-khatib0-org/megacommerce-search [INFO] tweaked toml for git repo https://github.com/ahmad-khatib0-org/megacommerce-search written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ahmad-khatib0-org/megacommerce-search on toolchain b4c55082edd8dec08ce8af276d7054d9c4db20c4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ahmad-khatib0-org/megacommerce-search 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" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b20e83b07eb12da1bfeca2554ddf4ad41f6c251bad5049e2dec290d0ca8d9669 [INFO] running `Command { std: "docker" "start" "-a" "b20e83b07eb12da1bfeca2554ddf4ad41f6c251bad5049e2dec290d0ca8d9669", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b20e83b07eb12da1bfeca2554ddf4ad41f6c251bad5049e2dec290d0ca8d9669", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b20e83b07eb12da1bfeca2554ddf4ad41f6c251bad5049e2dec290d0ca8d9669", kill_on_drop: false }` [INFO] [stdout] b20e83b07eb12da1bfeca2554ddf4ad41f6c251bad5049e2dec290d0ca8d9669 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b421b2cf36f6422ac3bb26cba0496e2b10d22b322cd10c1ea074644fe9f6f069 [INFO] running `Command { std: "docker" "start" "-a" "b421b2cf36f6422ac3bb26cba0496e2b10d22b322cd10c1ea074644fe9f6f069", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling openssl v0.10.74 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling syn v2.0.107 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling bigdecimal v0.4.9 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking mio v1.1.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling openssl-sys v0.9.110 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking iana-time-zone v0.1.64 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling axum-core v0.5.5 [INFO] [stderr] Compiling pest v2.8.3 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Compiling rustls v0.23.33 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Checking flate2 v1.1.4 [INFO] [stderr] Checking rustls-webpki v0.103.7 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling toml_edit v0.23.7 [INFO] [stderr] Compiling pest_meta v2.8.3 [INFO] [stderr] Compiling rdkafka-sys v4.9.0+2.10.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Checking deunicode v1.6.2 [INFO] [stderr] Checking compression-core v0.4.29 [INFO] [stderr] Compiling protobuf v3.7.2 [INFO] [stderr] Checking slug v0.1.6 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking compression-codecs v0.4.31 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking webpki-roots v1.0.3 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling prometheus v0.14.0 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling pest_generator v2.8.3 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking ulid v1.2.1 [INFO] [stderr] Checking unidecode v0.3.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking md5 v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking globset v0.4.17 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking ignore v0.4.24 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling num_enum_derive v0.7.5 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Compiling pest_derive v2.8.3 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking protobuf-support v3.7.2 [INFO] [stderr] Checking num_enum v0.7.5 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling prost-derive v0.14.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking tera v1.20.0 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling axum v0.8.6 [INFO] [stderr] Compiling prost v0.14.1 [INFO] [stderr] Checking prost-types v0.14.1 [INFO] [stderr] Checking deadpool-runtime v0.1.4 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking deadpool v0.12.3 [INFO] [stderr] Checking async-compression v0.4.32 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling tonic v0.13.1 [INFO] [stderr] Checking redis v0.32.7 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking reqwest v0.12.24 [INFO] [stderr] Compiling megacommerce-proto v0.1.93 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking megacommerce-proto v0.2.55 [INFO] [stderr] Checking rdkafka v0.38.0 [INFO] [stderr] Checking deadpool-redis v0.22.0 [INFO] [stderr] Compiling megacommerce-shared-sanitize-derive v0.1.2 [INFO] [stderr] Checking megacommerce-shared v0.4.3 [INFO] [stderr] Checking megacommerce-search v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `close` and `reconnect` are never used [INFO] [stdout] --> src/config/mod.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 30 | impl Common { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn close(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub async fn reconnect(&mut self) -> Result<(), BoxedErr> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config` and `redis` are never read [INFO] [stdout] --> src/controller/mod.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Controller { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 14 | pub config: RLock, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | pub redis: RLock, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Controller` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `REGISTRY` is never used [INFO] [stdout] --> src/controller/metrics.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | static REGISTRY: Lazy = Lazy::new(|| Registry::new()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `INFLIGHT_GAUGE` is never used [INFO] [stdout] --> src/controller/metrics.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | static INFLIGHT_GAUGE: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PROCESSED_COUNTER` is never used [INFO] [stdout] --> src/controller/metrics.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | static PROCESSED_COUNTER: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `FAILED_COUNTER` is never used [INFO] [stdout] --> src/controller/metrics.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | static FAILED_COUNTER: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `MEILI_DURATION_HIST` is never used [INFO] [stdout] --> src/controller/metrics.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | static MEILI_DURATION_HIST: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `MEILI_RETRIES` is never used [INFO] [stdout] --> src/controller/metrics.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | static MEILI_RETRIES: Lazy> = Lazy::new(|| DashMap::new()); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `COMMITTED_OFFSETS` is never used [INFO] [stdout] --> src/controller/metrics.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | static COMMITTED_OFFSETS: Lazy> = Lazy::new(|| DashMap::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CachedMetrics` is never constructed [INFO] [stdout] --> src/controller/metrics.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | struct CachedMetrics { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `METRICS_CACHE` is never used [INFO] [stdout] --> src/controller/metrics.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | static METRICS_CACHE: Lazy>> = Lazy::new(|| Mutex::new(None)); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inc_inflight` is never used [INFO] [stdout] --> src/controller/metrics.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn inc_inflight() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dec_inflight` is never used [INFO] [stdout] --> src/controller/metrics.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn dec_inflight() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inc_processed` is never used [INFO] [stdout] --> src/controller/metrics.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn inc_processed() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inc_failed` is never used [INFO] [stdout] --> src/controller/metrics.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn inc_failed(_reason: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inc_meili_retries` is never used [INFO] [stdout] --> src/controller/metrics.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn inc_meili_retries(endpoint: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_committed_offset` is never used [INFO] [stdout] --> src/controller/metrics.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn set_committed_offset(topic: &str, partition: i32, offset: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `observe_meili_duration_secs` is never used [INFO] [stdout] --> src/controller/metrics.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn observe_meili_duration_secs(seconds: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_metrics_bytes` is never used [INFO] [stdout] --> src/controller/metrics.rs:122:4 [INFO] [stdout] | [INFO] [stdout] 122 | fn render_metrics_bytes() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_cached_metrics_bytes` is never used [INFO] [stdout] --> src/controller/metrics.rs:182:4 [INFO] [stdout] | [INFO] [stdout] 182 | fn get_cached_metrics_bytes(cache_ttl: Duration) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_metrics_server` is never used [INFO] [stdout] --> src/controller/metrics.rs:207:14 [INFO] [stdout] | [INFO] [stdout] 207 | pub async fn start_metrics_server( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_metrics_request` is never used [INFO] [stdout] --> src/controller/metrics.rs:314:10 [INFO] [stdout] | [INFO] [stdout] 314 | async fn handle_metrics_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `errors_send` and `db` are never read [INFO] [stdout] --> src/server/mod.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Server { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 30 | pub(crate) common: Common, [INFO] [stdout] 31 | pub(crate) errors_send: Sender, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub(crate) db: Option>>>, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Server` 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 `db` is never used [INFO] [stdout] --> src/server/getters.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 8 | impl Server { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn db(&self) -> RLock> { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `close` and `reconnect` are never used [INFO] [stdout] --> src/config/mod.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 30 | impl Common { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn close(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub async fn reconnect(&mut self) -> Result<(), BoxedErr> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config` and `redis` are never read [INFO] [stdout] --> src/controller/mod.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Controller { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 14 | pub config: RLock, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | pub redis: RLock, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Controller` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `REGISTRY` is never used [INFO] [stdout] --> src/controller/metrics.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | static REGISTRY: Lazy = Lazy::new(|| Registry::new()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `INFLIGHT_GAUGE` is never used [INFO] [stdout] --> src/controller/metrics.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | static INFLIGHT_GAUGE: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PROCESSED_COUNTER` is never used [INFO] [stdout] --> src/controller/metrics.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | static PROCESSED_COUNTER: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `FAILED_COUNTER` is never used [INFO] [stdout] --> src/controller/metrics.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | static FAILED_COUNTER: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `MEILI_DURATION_HIST` is never used [INFO] [stdout] --> src/controller/metrics.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | static MEILI_DURATION_HIST: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `MEILI_RETRIES` is never used [INFO] [stdout] --> src/controller/metrics.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | static MEILI_RETRIES: Lazy> = Lazy::new(|| DashMap::new()); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `COMMITTED_OFFSETS` is never used [INFO] [stdout] --> src/controller/metrics.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | static COMMITTED_OFFSETS: Lazy> = Lazy::new(|| DashMap::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CachedMetrics` is never constructed [INFO] [stdout] --> src/controller/metrics.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | struct CachedMetrics { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `METRICS_CACHE` is never used [INFO] [stdout] --> src/controller/metrics.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | static METRICS_CACHE: Lazy>> = Lazy::new(|| Mutex::new(None)); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inc_inflight` is never used [INFO] [stdout] --> src/controller/metrics.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn inc_inflight() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dec_inflight` is never used [INFO] [stdout] --> src/controller/metrics.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn dec_inflight() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inc_processed` is never used [INFO] [stdout] --> src/controller/metrics.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn inc_processed() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inc_failed` is never used [INFO] [stdout] --> src/controller/metrics.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn inc_failed(_reason: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inc_meili_retries` is never used [INFO] [stdout] --> src/controller/metrics.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn inc_meili_retries(endpoint: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_committed_offset` is never used [INFO] [stdout] --> src/controller/metrics.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn set_committed_offset(topic: &str, partition: i32, offset: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `observe_meili_duration_secs` is never used [INFO] [stdout] --> src/controller/metrics.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn observe_meili_duration_secs(seconds: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_metrics_bytes` is never used [INFO] [stdout] --> src/controller/metrics.rs:122:4 [INFO] [stdout] | [INFO] [stdout] 122 | fn render_metrics_bytes() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_cached_metrics_bytes` is never used [INFO] [stdout] --> src/controller/metrics.rs:182:4 [INFO] [stdout] | [INFO] [stdout] 182 | fn get_cached_metrics_bytes(cache_ttl: Duration) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_metrics_server` is never used [INFO] [stdout] --> src/controller/metrics.rs:207:14 [INFO] [stdout] | [INFO] [stdout] 207 | pub async fn start_metrics_server( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_metrics_request` is never used [INFO] [stdout] --> src/controller/metrics.rs:314:10 [INFO] [stdout] | [INFO] [stdout] 314 | async fn handle_metrics_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `errors_send` and `db` are never read [INFO] [stdout] --> src/server/mod.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Server { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 30 | pub(crate) common: Common, [INFO] [stdout] 31 | pub(crate) errors_send: Sender, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub(crate) db: Option>>>, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Server` 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 `db` is never used [INFO] [stdout] --> src/server/getters.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 8 | impl Server { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn db(&self) -> RLock> { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 59s [INFO] running `Command { std: "docker" "inspect" "b421b2cf36f6422ac3bb26cba0496e2b10d22b322cd10c1ea074644fe9f6f069", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b421b2cf36f6422ac3bb26cba0496e2b10d22b322cd10c1ea074644fe9f6f069", kill_on_drop: false }` [INFO] [stdout] b421b2cf36f6422ac3bb26cba0496e2b10d22b322cd10c1ea074644fe9f6f069