[INFO] cloning repository https://github.com/2796gaurav/blazemetrics
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/2796gaurav/blazemetrics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2796gaurav%2Fblazemetrics", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2796gaurav%2Fblazemetrics'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6aa959d4891b52af32905a71827f839fb101ac05
[INFO] testing 2796gaurav/blazemetrics against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2796gaurav%2Fblazemetrics" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/2796gaurav/blazemetrics
[INFO] finished tweaking git repo https://github.com/2796gaurav/blazemetrics
[INFO] tweaked toml for git repo https://github.com/2796gaurav/blazemetrics written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/2796gaurav/blazemetrics on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/2796gaurav/blazemetrics 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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.101
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.101
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.101
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.101
[INFO] [stderr]   Downloaded js-sys v0.3.78
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.101
[INFO] [stderr]   Downloaded num-cmp v0.1.0
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.4.51
[INFO] [stderr]   Downloaded target-lexicon v0.12.16
[INFO] [stderr]   Downloaded iso8601 v0.6.3
[INFO] [stderr]   Downloaded clap_derive v4.5.47
[INFO] [stderr]   Downloaded wit-bindgen v0.45.0
[INFO] [stderr]   Downloaded clap v4.5.47
[INFO] [stderr]   Downloaded numpy v0.20.0
[INFO] [stderr]   Downloaded indexmap v2.11.0
[INFO] [stderr]   Downloaded jsonschema v0.17.1
[INFO] [stderr]   Downloaded wasi v0.14.3+wasi-0.2.4
[INFO] [stderr]   Downloaded clap_builder v4.5.47
[INFO] [stderr]   Downloaded serde_json v1.0.143
[INFO] [stderr]   Downloaded time v0.3.43
[INFO] [stderr]   Downloaded fraction v0.13.1
[INFO] [stderr]   Downloaded pyo3-ffi v0.20.3
[INFO] [stderr]   Downloaded pyo3-macros-backend v0.20.3
[INFO] [stderr]   Downloaded pyo3-build-config v0.20.3
[INFO] [stderr]   Downloaded deranged v0.5.3
[INFO] [stderr]   Downloaded pyo3-macros v0.20.3
[INFO] [stderr]   Downloaded pyo3 v0.20.3
[INFO] [stderr]   Downloaded regex-automata v0.4.10
[INFO] [stderr]   Downloaded web-sys v0.3.78
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b39ad2233c77cab9ab644321e217abcea242dd6ee38b0b9b9595d3c8855bb6eb
[INFO] running `Command { std: "docker" "start" "-a" "b39ad2233c77cab9ab644321e217abcea242dd6ee38b0b9b9595d3c8855bb6eb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b39ad2233c77cab9ab644321e217abcea242dd6ee38b0b9b9595d3c8855bb6eb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b39ad2233c77cab9ab644321e217abcea242dd6ee38b0b9b9595d3c8855bb6eb", kill_on_drop: false }`
[INFO] [stdout] b39ad2233c77cab9ab644321e217abcea242dd6ee38b0b9b9595d3c8855bb6eb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3cb2059cf74b293b2eea3d5c5e9614e424a8382431040f3e57546a655c0f93a0
[INFO] running `Command { std: "docker" "start" "-a" "3cb2059cf74b293b2eea3d5c5e9614e424a8382431040f3e57546a655c0f93a0", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling target-lexicon v0.12.16
[INFO] [stderr]    Compiling cfg-if v1.0.3
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling matrixmultiply v0.3.10
[INFO] [stderr]    Compiling memoffset v0.9.1
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling anstyle-query v1.1.4
[INFO] [stderr]    Compiling serde_json v1.0.143
[INFO] [stderr]    Compiling regex-syntax v0.8.6
[INFO] [stderr]    Compiling anstream v0.6.20
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]    Compiling anyhow v1.0.99
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling indexmap v2.11.0
[INFO] [stderr]    Compiling clap_builder v4.5.47
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]    Compiling deranged v0.5.3
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling nom v8.0.0
[INFO] [stderr]    Compiling pyo3-build-config v0.20.3
[INFO] [stderr]    Compiling unindent v0.2.4
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling indoc v2.0.6
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling regex-automata v0.4.10
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling time v0.3.43
[INFO] [stderr]    Compiling ndarray v0.15.6
[INFO] [stderr]    Compiling num-cmp v0.1.0
[INFO] [stderr]    Compiling uuid v1.18.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling num v0.4.3
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling fraction v0.13.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling pyo3-ffi v0.20.3
[INFO] [stderr]    Compiling pyo3 v0.20.3
[INFO] [stderr]    Compiling regex v1.11.2
[INFO] [stderr]    Compiling iso8601 v0.6.3
[INFO] [stderr]    Compiling fancy-regex v0.11.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling pyo3-macros-backend v0.20.3
[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 displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling clap_derive v4.5.47
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling clap v4.5.47
[INFO] [stderr]    Compiling pyo3-macros v0.20.3
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.3
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling numpy v0.20.0
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling jsonschema v0.17.1
[INFO] [stderr]    Compiling blazemetrics_core v0.1.6 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `pyo3::exceptions::PyValueError`
[INFO] [stdout]  --> src/ann_hnsw.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use pyo3::exceptions::PyValueError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `json`
[INFO] [stdout]  --> src/agentic_rag.rs:4:25
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json::{Value, json};
[INFO] [stdout]   |                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `json`
[INFO] [stdout]  --> src/multimodal.rs:4:25
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json::{Value, json};
[INFO] [stdout]   |                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `json`
[INFO] [stdout]  --> src/agent_eval.rs:4:25
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json::{Value, json};
[INFO] [stdout]   |                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]  --> src/production_monitor.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json::json;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Value`
[INFO] [stdout]  --> src/code_eval.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json::Value;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rayon::prelude`
[INFO] [stdout]  --> src/moverscore.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rayon::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `query_idx`
[INFO] [stdout]   --> src/embeddings.rs:60:46
[INFO] [stdout]    |
[INFO] [stdout] 60 |         queries.par_iter().enumerate().map(|(query_idx, query)| {
[INFO] [stdout]    |                                              ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_query_idx`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> src/multimodal.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let input: MultimodalEvalInput = serde_json::from_str(input_json)
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> src/multimodal.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let input: GenerationEvalInput = serde_json::from_str(input_json)
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `refs_norm`
[INFO] [stdout]    --> src/lib.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 128 |     let refs_norm = normalize_embeddings(refs_view);
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_refs_norm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_parallel_enabled` is never used
[INFO] [stdout]   --> src/common.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn set_parallel_enabled(enabled: bool) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_parallel_threshold` is never used
[INFO] [stdout]   --> src/common.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub fn set_parallel_threshold(threshold: usize) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `levenshtein_distance` is never used
[INFO] [stdout]    --> src/fuzzy.rs:140:8
[INFO] [stdout]     |
[INFO] [stdout] 140 | pub fn levenshtein_distance(s1: &str, s2: &str) -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `damerau_levenshtein_distance` is never used
[INFO] [stdout]    --> src/fuzzy.rs:145:8
[INFO] [stdout]     |
[INFO] [stdout] 145 | pub fn damerau_levenshtein_distance(s1: &str, s2: &str) -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `jaro_winkler_similarity` is never used
[INFO] [stdout]    --> src/fuzzy.rs:150:8
[INFO] [stdout]     |
[INFO] [stdout] 150 | pub fn jaro_winkler_similarity(s1: &str, s2: &str) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `normalize_whitespace` is never read
[INFO] [stdout]    --> src/fuzzy.rs:160:9
[INFO] [stdout]     |
[INFO] [stdout] 156 | pub struct FuzzyConfig {
[INFO] [stdout]     |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 160 |     pub normalize_whitespace: bool,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `FuzzyConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fuzzy_match_best` is never used
[INFO] [stdout]    --> src/fuzzy.rs:384:8
[INFO] [stdout]     |
[INFO] [stdout] 384 | pub fn fuzzy_match_best(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `normalize_vector_fast` is never used
[INFO] [stdout]  --> src/embeddings.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn normalize_vector_fast(vector: &[f32]) -> Vec<f32> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `normalize_vector` is never used
[INFO] [stdout]    --> src/embeddings.rs:306:8
[INFO] [stdout]     |
[INFO] [stdout] 306 | pub fn normalize_vector(vector: &[f32]) -> Vec<f32> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cosine_similarity` is never used
[INFO] [stdout]    --> src/embeddings.rs:310:8
[INFO] [stdout]     |
[INFO] [stdout] 310 | pub fn cosine_similarity(a: &[f32], b: &[f32]) -> f32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fast_dot_product` is never used
[INFO] [stdout]    --> src/embeddings.rs:319:8
[INFO] [stdout]     |
[INFO] [stdout] 319 | pub fn fast_dot_product(a: &[f32], b: &[f32]) -> f32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `similarity_matrix_chunked` is never used
[INFO] [stdout]    --> src/embeddings.rs:341:8
[INFO] [stdout]     |
[INFO] [stdout] 341 | pub fn similarity_matrix_chunked(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `batch_cosine_similarity` is never used
[INFO] [stdout]   --> src/embeddings.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub fn batch_cosine_similarity(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `approximate_nearest_neighbor` is never used
[INFO] [stdout]   --> src/embeddings.rs:94:12
[INFO] [stdout]    |
[INFO] [stdout] 94 |     pub fn approximate_nearest_neighbor(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `multi_query_similarity` is never used
[INFO] [stdout]    --> src/embeddings.rs:127:12
[INFO] [stdout]     |
[INFO] [stdout] 127 |     pub fn multi_query_similarity(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `semantic_clustering_fast` is never used
[INFO] [stdout]    --> src/embeddings.rs:148:12
[INFO] [stdout]     |
[INFO] [stdout] 148 |     pub fn semantic_clustering_fast(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `semantic_clustering` is never used
[INFO] [stdout]    --> src/embeddings.rs:216:12
[INFO] [stdout]     |
[INFO] [stdout] 216 |     pub fn semantic_clustering(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `multimodal_similarity` is never used
[INFO] [stdout]    --> src/embeddings.rs:283:12
[INFO] [stdout]     |
[INFO] [stdout] 283 |     pub fn multimodal_similarity(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HNSWIndex` is never constructed
[INFO] [stdout]  --> src/ann_hnsw.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct HNSWIndex {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `queries` and `metrics` are never read
[INFO] [stdout]   --> src/agentic_rag.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | struct AgenticRAGEvalInput {
[INFO] [stdout]    |        ------------------- fields in this struct
[INFO] [stdout]  8 |     queries: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 11 |     metrics: Option<Vec<String>>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `inputs`, `outputs`, `modalities`, and `metrics` are never read
[INFO] [stdout]   --> src/multimodal.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | struct MultimodalEvalInput {
[INFO] [stdout]    |        ------------------- fields in this struct
[INFO] [stdout]  8 |     inputs: Value,      // {"text": [...], "images": [...], ...}
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]  9 |     outputs: Value,     // model responses
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 10 |     modalities: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 11 |     metrics: Option<Vec<String>>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `prompts`, `generated_images`, `reference_images`, and `metrics` are never read
[INFO] [stdout]   --> src/multimodal.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | struct GenerationEvalInput {
[INFO] [stdout]    |        ------------------- fields in this struct
[INFO] [stdout] 23 |     prompts: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 24 |     generated_images: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 25 |     reference_images: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 26 |     metrics: Option<Vec<String>>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dummy_similarity` is never used
[INFO] [stdout]   --> src/multimodal.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn dummy_similarity(a: &str, b: &str) -> f64 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `tasks`, `agent_traces`, `metrics`, `available_tools`, `safety_policies`, and `goal_tracking` are never read
[INFO] [stdout]   --> src/agent_eval.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | struct AgentEvalInput {
[INFO] [stdout]    |        -------------- fields in this struct
[INFO] [stdout]  8 |     tasks: Value,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]  9 |     agent_traces: Value,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 10 |     metrics: Option<Vec<String>>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 11 |     available_tools: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     safety_policies: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 13 |     goal_tracking: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `metrics`, `alert_thresholds`, and `a_b_testing` are never read
[INFO] [stdout]   --> src/production_monitor.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | struct MonitorConfig {
[INFO] [stdout]    |        ------------- fields in this struct
[INFO] [stdout]  9 |     models: Vec<String>,
[INFO] [stdout] 10 |     metrics: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 11 |     alert_thresholds: Option<serde_json::Value>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     a_b_testing: Option<bool>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/safety.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | struct SafetyInput {
[INFO] [stdout]    |        ----------- fields in this struct
[INFO] [stdout]  9 |     model_outputs: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 10 |     user_contexts: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 11 |     demographic_data: Value,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     metrics: Option<Vec<String>>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 13 |     alignment_principles: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     bias_categories: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 15 |     adversarial_tests: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `prompts`, `metrics`, and `languages` are never read
[INFO] [stdout]   --> src/code_eval.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | struct CodeEvalInput {
[INFO] [stdout]    |        ------------- fields in this struct
[INFO] [stdout]  8 |     prompts: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 11 |     metrics: Option<Vec<String>>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 12 |     languages: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.94s
[INFO] running `Command { std: "docker" "inspect" "3cb2059cf74b293b2eea3d5c5e9614e424a8382431040f3e57546a655c0f93a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3cb2059cf74b293b2eea3d5c5e9614e424a8382431040f3e57546a655c0f93a0", kill_on_drop: false }`
[INFO] [stdout] 3cb2059cf74b293b2eea3d5c5e9614e424a8382431040f3e57546a655c0f93a0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e7dd4f65f848657cee32b3a7c3c4dfcd387eb2d65f89ad55c16381e90716cac5
[INFO] running `Command { std: "docker" "start" "-a" "e7dd4f65f848657cee32b3a7c3c4dfcd387eb2d65f89ad55c16381e90716cac5", kill_on_drop: false }`
[INFO] [stderr]    Compiling blazemetrics_core v0.1.6 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `pyo3::exceptions::PyValueError`
[INFO] [stdout]  --> src/ann_hnsw.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use pyo3::exceptions::PyValueError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `json`
[INFO] [stdout]  --> src/agentic_rag.rs:4:25
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json::{Value, json};
[INFO] [stdout]   |                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `json`
[INFO] [stdout]  --> src/multimodal.rs:4:25
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json::{Value, json};
[INFO] [stdout]   |                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `json`
[INFO] [stdout]  --> src/agent_eval.rs:4:25
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json::{Value, json};
[INFO] [stdout]   |                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]  --> src/production_monitor.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json::json;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Value`
[INFO] [stdout]  --> src/code_eval.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json::Value;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rayon::prelude`
[INFO] [stdout]  --> src/moverscore.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rayon::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `query_idx`
[INFO] [stdout]   --> src/embeddings.rs:60:46
[INFO] [stdout]    |
[INFO] [stdout] 60 |         queries.par_iter().enumerate().map(|(query_idx, query)| {
[INFO] [stdout]    |                                              ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_query_idx`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> src/multimodal.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let input: MultimodalEvalInput = serde_json::from_str(input_json)
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> src/multimodal.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let input: GenerationEvalInput = serde_json::from_str(input_json)
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `refs_norm`
[INFO] [stdout]    --> src/lib.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 128 |     let refs_norm = normalize_embeddings(refs_view);
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_refs_norm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_parallel_enabled` is never used
[INFO] [stdout]   --> src/common.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn set_parallel_enabled(enabled: bool) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_parallel_threshold` is never used
[INFO] [stdout]   --> src/common.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub fn set_parallel_threshold(threshold: usize) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `normalize_whitespace` is never read
[INFO] [stdout]    --> src/fuzzy.rs:160:9
[INFO] [stdout]     |
[INFO] [stdout] 156 | pub struct FuzzyConfig {
[INFO] [stdout]     |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 160 |     pub normalize_whitespace: bool,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `FuzzyConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fuzzy_match_best` is never used
[INFO] [stdout]    --> src/fuzzy.rs:384:8
[INFO] [stdout]     |
[INFO] [stdout] 384 | pub fn fuzzy_match_best(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fast_dot_product` is never used
[INFO] [stdout]    --> src/embeddings.rs:319:8
[INFO] [stdout]     |
[INFO] [stdout] 319 | pub fn fast_dot_product(a: &[f32], b: &[f32]) -> f32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `similarity_matrix_chunked` is never used
[INFO] [stdout]    --> src/embeddings.rs:341:8
[INFO] [stdout]     |
[INFO] [stdout] 341 | pub fn similarity_matrix_chunked(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `batch_cosine_similarity` is never used
[INFO] [stdout]   --> src/embeddings.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub fn batch_cosine_similarity(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `approximate_nearest_neighbor` is never used
[INFO] [stdout]   --> src/embeddings.rs:94:12
[INFO] [stdout]    |
[INFO] [stdout] 94 |     pub fn approximate_nearest_neighbor(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `multi_query_similarity` is never used
[INFO] [stdout]    --> src/embeddings.rs:127:12
[INFO] [stdout]     |
[INFO] [stdout] 127 |     pub fn multi_query_similarity(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `semantic_clustering_fast` is never used
[INFO] [stdout]    --> src/embeddings.rs:148:12
[INFO] [stdout]     |
[INFO] [stdout] 148 |     pub fn semantic_clustering_fast(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `semantic_clustering` is never used
[INFO] [stdout]    --> src/embeddings.rs:216:12
[INFO] [stdout]     |
[INFO] [stdout] 216 |     pub fn semantic_clustering(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `multimodal_similarity` is never used
[INFO] [stdout]    --> src/embeddings.rs:283:12
[INFO] [stdout]     |
[INFO] [stdout] 283 |     pub fn multimodal_similarity(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HNSWIndex` is never constructed
[INFO] [stdout]  --> src/ann_hnsw.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct HNSWIndex {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `queries` and `metrics` are never read
[INFO] [stdout]   --> src/agentic_rag.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | struct AgenticRAGEvalInput {
[INFO] [stdout]    |        ------------------- fields in this struct
[INFO] [stdout]  8 |     queries: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 11 |     metrics: Option<Vec<String>>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `inputs`, `outputs`, `modalities`, and `metrics` are never read
[INFO] [stdout]   --> src/multimodal.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | struct MultimodalEvalInput {
[INFO] [stdout]    |        ------------------- fields in this struct
[INFO] [stdout]  8 |     inputs: Value,      // {"text": [...], "images": [...], ...}
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]  9 |     outputs: Value,     // model responses
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 10 |     modalities: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 11 |     metrics: Option<Vec<String>>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `prompts`, `generated_images`, `reference_images`, and `metrics` are never read
[INFO] [stdout]   --> src/multimodal.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | struct GenerationEvalInput {
[INFO] [stdout]    |        ------------------- fields in this struct
[INFO] [stdout] 23 |     prompts: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 24 |     generated_images: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 25 |     reference_images: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 26 |     metrics: Option<Vec<String>>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dummy_similarity` is never used
[INFO] [stdout]   --> src/multimodal.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn dummy_similarity(a: &str, b: &str) -> f64 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `tasks`, `agent_traces`, `metrics`, `available_tools`, `safety_policies`, and `goal_tracking` are never read
[INFO] [stdout]   --> src/agent_eval.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | struct AgentEvalInput {
[INFO] [stdout]    |        -------------- fields in this struct
[INFO] [stdout]  8 |     tasks: Value,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]  9 |     agent_traces: Value,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 10 |     metrics: Option<Vec<String>>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 11 |     available_tools: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     safety_policies: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 13 |     goal_tracking: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `metrics`, `alert_thresholds`, and `a_b_testing` are never read
[INFO] [stdout]   --> src/production_monitor.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | struct MonitorConfig {
[INFO] [stdout]    |        ------------- fields in this struct
[INFO] [stdout]  9 |     models: Vec<String>,
[INFO] [stdout] 10 |     metrics: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 11 |     alert_thresholds: Option<serde_json::Value>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     a_b_testing: Option<bool>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/safety.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | struct SafetyInput {
[INFO] [stdout]    |        ----------- fields in this struct
[INFO] [stdout]  9 |     model_outputs: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 10 |     user_contexts: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 11 |     demographic_data: Value,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     metrics: Option<Vec<String>>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 13 |     alignment_principles: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     bias_categories: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 15 |     adversarial_tests: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `prompts`, `metrics`, and `languages` are never read
[INFO] [stdout]   --> src/code_eval.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | struct CodeEvalInput {
[INFO] [stdout]    |        ------------- fields in this struct
[INFO] [stdout]  8 |     prompts: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 11 |     metrics: Option<Vec<String>>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 12 |     languages: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.52s
[INFO] running `Command { std: "docker" "inspect" "e7dd4f65f848657cee32b3a7c3c4dfcd387eb2d65f89ad55c16381e90716cac5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e7dd4f65f848657cee32b3a7c3c4dfcd387eb2d65f89ad55c16381e90716cac5", kill_on_drop: false }`
[INFO] [stdout] e7dd4f65f848657cee32b3a7c3c4dfcd387eb2d65f89ad55c16381e90716cac5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 41504663e3192eaa0565cee26ce957c2a48b93ee993b0efc85c7bad090d68d5f
[INFO] running `Command { std: "docker" "start" "-a" "41504663e3192eaa0565cee26ce957c2a48b93ee993b0efc85c7bad090d68d5f", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `pyo3::exceptions::PyValueError`
[INFO] [stderr]  --> src/ann_hnsw.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use pyo3::exceptions::PyValueError;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `json`
[INFO] [stderr]  --> src/agentic_rag.rs:4:25
[INFO] [stderr]   |
[INFO] [stderr] 4 | use serde_json::{Value, json};
[INFO] [stderr]   |                         ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `json`
[INFO] [stderr]  --> src/multimodal.rs:4:25
[INFO] [stderr]   |
[INFO] [stderr] 4 | use serde_json::{Value, json};
[INFO] [stderr]   |                         ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `json`
[INFO] [stderr]  --> src/agent_eval.rs:4:25
[INFO] [stderr]   |
[INFO] [stderr] 4 | use serde_json::{Value, json};
[INFO] [stderr]   |                         ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `serde_json::json`
[INFO] [stderr]  --> src/production_monitor.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use serde_json::json;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `serde_json::Value`
[INFO] [stderr]  --> src/code_eval.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use serde_json::Value;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `rayon::prelude`
[INFO] [stderr]  --> src/moverscore.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use rayon::prelude::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `query_idx`
[INFO] [stderr]   --> src/embeddings.rs:60:46
[INFO] [stderr]    |
[INFO] [stderr] 60 |         queries.par_iter().enumerate().map(|(query_idx, query)| {
[INFO] [stderr]    |                                              ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_query_idx`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `input`
[INFO] [stderr]   --> src/multimodal.rs:49:9
[INFO] [stderr]    |
[INFO] [stderr] 49 |     let input: MultimodalEvalInput = serde_json::from_str(input_json)
[INFO] [stderr]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `input`
[INFO] [stderr]   --> src/multimodal.rs:66:9
[INFO] [stderr]    |
[INFO] [stderr] 66 |     let input: GenerationEvalInput = serde_json::from_str(input_json)
[INFO] [stderr]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `refs_norm`
[INFO] [stderr]    --> src/lib.rs:128:9
[INFO] [stderr]     |
[INFO] [stderr] 128 |     let refs_norm = normalize_embeddings(refs_view);
[INFO] [stderr]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_refs_norm`
[INFO] [stderr] 
[INFO] [stderr] warning: function `set_parallel_enabled` is never used
[INFO] [stderr]   --> src/common.rs:27:8
[INFO] [stderr]    |
[INFO] [stderr] 27 | pub fn set_parallel_enabled(enabled: bool) {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `set_parallel_threshold` is never used
[INFO] [stderr]   --> src/common.rs:31:8
[INFO] [stderr]    |
[INFO] [stderr] 31 | pub fn set_parallel_threshold(threshold: usize) {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `normalize_whitespace` is never read
[INFO] [stderr]    --> src/fuzzy.rs:160:9
[INFO] [stderr]     |
[INFO] [stderr] 156 | pub struct FuzzyConfig {
[INFO] [stderr]     |            ----------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 160 |     pub normalize_whitespace: bool,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `FuzzyConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: function `fuzzy_match_best` is never used
[INFO] [stderr]    --> src/fuzzy.rs:384:8
[INFO] [stderr]     |
[INFO] [stderr] 384 | pub fn fuzzy_match_best(
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `fast_dot_product` is never used
[INFO] [stderr]    --> src/embeddings.rs:319:8
[INFO] [stderr]     |
[INFO] [stderr] 319 | pub fn fast_dot_product(a: &[f32], b: &[f32]) -> f32 {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `similarity_matrix_chunked` is never used
[INFO] [stderr]    --> src/embeddings.rs:341:8
[INFO] [stderr]     |
[INFO] [stderr] 341 | pub fn similarity_matrix_chunked(
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `batch_cosine_similarity` is never used
[INFO] [stderr]   --> src/embeddings.rs:47:12
[INFO] [stderr]    |
[INFO] [stderr] 47 |     pub fn batch_cosine_similarity(
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `approximate_nearest_neighbor` is never used
[INFO] [stderr]   --> src/embeddings.rs:94:12
[INFO] [stderr]    |
[INFO] [stderr] 94 |     pub fn approximate_nearest_neighbor(
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `multi_query_similarity` is never used
[INFO] [stderr]    --> src/embeddings.rs:127:12
[INFO] [stderr]     |
[INFO] [stderr] 127 |     pub fn multi_query_similarity(
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `semantic_clustering_fast` is never used
[INFO] [stderr]    --> src/embeddings.rs:148:12
[INFO] [stderr]     |
[INFO] [stderr] 148 |     pub fn semantic_clustering_fast(
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `semantic_clustering` is never used
[INFO] [stderr]    --> src/embeddings.rs:216:12
[INFO] [stderr]     |
[INFO] [stderr] 216 |     pub fn semantic_clustering(
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `multimodal_similarity` is never used
[INFO] [stderr]    --> src/embeddings.rs:283:12
[INFO] [stderr]     |
[INFO] [stderr] 283 |     pub fn multimodal_similarity(
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `HNSWIndex` is never constructed
[INFO] [stderr]  --> src/ann_hnsw.rs:7:8
[INFO] [stderr]   |
[INFO] [stderr] 7 | struct HNSWIndex {
[INFO] [stderr]   |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `queries` and `metrics` are never read
[INFO] [stderr]   --> src/agentic_rag.rs:8:5
[INFO] [stderr]    |
[INFO] [stderr]  7 | struct AgenticRAGEvalInput {
[INFO] [stderr]    |        ------------------- fields in this struct
[INFO] [stderr]  8 |     queries: Vec<String>,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 11 |     metrics: Option<Vec<String>>,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `inputs`, `outputs`, `modalities`, and `metrics` are never read
[INFO] [stderr]   --> src/multimodal.rs:8:5
[INFO] [stderr]    |
[INFO] [stderr]  7 | struct MultimodalEvalInput {
[INFO] [stderr]    |        ------------------- fields in this struct
[INFO] [stderr]  8 |     inputs: Value,      // {"text": [...], "images": [...], ...}
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr]  9 |     outputs: Value,     // model responses
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] 10 |     modalities: Vec<String>,
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr] 11 |     metrics: Option<Vec<String>>,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `prompts`, `generated_images`, `reference_images`, and `metrics` are never read
[INFO] [stderr]   --> src/multimodal.rs:23:5
[INFO] [stderr]    |
[INFO] [stderr] 22 | struct GenerationEvalInput {
[INFO] [stderr]    |        ------------------- fields in this struct
[INFO] [stderr] 23 |     prompts: Vec<String>,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] 24 |     generated_images: Vec<String>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 25 |     reference_images: Vec<String>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 26 |     metrics: Option<Vec<String>>,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `dummy_similarity` is never used
[INFO] [stderr]   --> src/multimodal.rs:37:4
[INFO] [stderr]    |
[INFO] [stderr] 37 | fn dummy_similarity(a: &str, b: &str) -> f64 {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `tasks`, `agent_traces`, `metrics`, `available_tools`, `safety_policies`, and `goal_tracking` are never read
[INFO] [stderr]   --> src/agent_eval.rs:8:5
[INFO] [stderr]    |
[INFO] [stderr]  7 | struct AgentEvalInput {
[INFO] [stderr]    |        -------------- fields in this struct
[INFO] [stderr]  8 |     tasks: Value,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]  9 |     agent_traces: Value,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr] 10 |     metrics: Option<Vec<String>>,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] 11 |     available_tools: Vec<String>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 12 |     safety_policies: Vec<String>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 13 |     goal_tracking: bool,
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `metrics`, `alert_thresholds`, and `a_b_testing` are never read
[INFO] [stderr]   --> src/production_monitor.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr]  8 | struct MonitorConfig {
[INFO] [stderr]    |        ------------- fields in this struct
[INFO] [stderr]  9 |     models: Vec<String>,
[INFO] [stderr] 10 |     metrics: Vec<String>,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] 11 |     alert_thresholds: Option<serde_json::Value>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 12 |     a_b_testing: Option<bool>,
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple fields are never read
[INFO] [stderr]   --> src/safety.rs:9:5
[INFO] [stderr]    |
[INFO] [stderr]  8 | struct SafetyInput {
[INFO] [stderr]    |        ----------- fields in this struct
[INFO] [stderr]  9 |     model_outputs: Vec<String>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] 10 |     user_contexts: Vec<String>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] 11 |     demographic_data: Value,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 12 |     metrics: Option<Vec<String>>,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] 13 |     alignment_principles: Vec<String>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 14 |     bias_categories: Vec<String>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 15 |     adversarial_tests: Vec<String>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `prompts`, `metrics`, and `languages` are never read
[INFO] [stderr]   --> src/code_eval.rs:8:5
[INFO] [stderr]    |
[INFO] [stderr]  7 | struct CodeEvalInput {
[INFO] [stderr]    |        ------------- fields in this struct
[INFO] [stderr]  8 |     prompts: Vec<String>,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 11 |     metrics: Option<Vec<String>>,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] 12 |     languages: Vec<String>,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `blazemetrics_core` (lib test) generated 32 warnings (run `cargo fix --lib -p blazemetrics_core --tests` to apply 10 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/blazemetrics_core-cb49b5b9260f3b58)
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test embeddings::tests::test_cosine_similarity ... ok
[INFO] [stdout] test embeddings::tests::test_normalize_vector ... ok
[INFO] [stdout] test fuzzy::tests::test_jaro_winkler_similarity ... ok
[INFO] [stdout] test fuzzy::tests::test_levenshtein_distance ... ok
[INFO] [stdout] test fuzzy::tests::test_optimized_functions ... ok
[INFO] [stdout] test embeddings::tests::test_batch_cosine_similarity ... ok
[INFO] [stdout] test fuzzy::tests::test_fuzzy_match_any ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "41504663e3192eaa0565cee26ce957c2a48b93ee993b0efc85c7bad090d68d5f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "41504663e3192eaa0565cee26ce957c2a48b93ee993b0efc85c7bad090d68d5f", kill_on_drop: false }`
[INFO] [stdout] 41504663e3192eaa0565cee26ce957c2a48b93ee993b0efc85c7bad090d68d5f
