[INFO] cloning repository https://github.com/decisiongraph/leann-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/decisiongraph/leann-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdecisiongraph%2Fleann-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdecisiongraph%2Fleann-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 308cb4f6de85990cdec2d1a45a3df0b0967fa036 [INFO] testing decisiongraph/leann-rs against master#d933cf483edf1605142ac6899ff32536c0ad8b22 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdecisiongraph%2Fleann-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/decisiongraph/leann-rs [INFO] finished tweaking git repo https://github.com/decisiongraph/leann-rs [INFO] tweaked toml for git repo https://github.com/decisiongraph/leann-rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/decisiongraph/leann-rs on toolchain d933cf483edf1605142ac6899ff32536c0ad8b22 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/decisiongraph/leann-rs 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" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded scratch v1.0.9 [INFO] [stderr] Downloaded link-cplusplus v1.0.12 [INFO] [stderr] Downloaded cxxbridge-flags v1.0.194 [INFO] [stderr] Downloaded codespan-reporting v0.13.1 [INFO] [stderr] Downloaded fd-lock v4.0.4 [INFO] [stderr] Downloaded monostate v0.1.18 [INFO] [stderr] Downloaded socks v0.3.4 [INFO] [stderr] Downloaded async-openai-macros v0.1.1 [INFO] [stderr] Downloaded webpki-roots v0.26.11 [INFO] [stderr] Downloaded nibble_vec v0.1.0 [INFO] [stderr] Downloaded secrecy v0.10.3 [INFO] [stderr] Downloaded type1-encoding-parser v0.1.0 [INFO] [stderr] Downloaded cpu-time v1.0.0 [INFO] [stderr] Downloaded time-macros v0.2.26 [INFO] [stderr] Downloaded cff-parser v0.1.0 [INFO] [stderr] Downloaded reqwest-eventsource v0.6.0 [INFO] [stderr] Downloaded hf-hub v0.4.3 [INFO] [stderr] Downloaded ug v0.1.0 [INFO] [stderr] Downloaded euclid v0.20.14 [INFO] [stderr] Downloaded async-openai v0.28.3 [INFO] [stderr] Downloaded ureq v2.12.1 [INFO] [stderr] Downloaded unicode-normalization v0.1.25 [INFO] [stderr] Downloaded rustyline v14.0.0 [INFO] [stderr] Downloaded esaxx-rs v0.1.10 [INFO] [stderr] Downloaded pom v1.1.0 [INFO] [stderr] Downloaded time v0.3.46 [INFO] [stderr] Downloaded candle-core v0.8.4 [INFO] [stderr] Downloaded rmcp v0.14.0 [INFO] [stderr] Downloaded zerocopy v0.8.37 [INFO] [stderr] Downloaded usearch v2.23.0 [INFO] [stderr] Downloaded candle-transformers v0.8.4 [INFO] [stderr] Downloaded radix_trie v0.2.1 [INFO] [stderr] Downloaded cxx v1.0.194 [INFO] [stderr] Downloaded tokenizers v0.21.4 [INFO] [stderr] Downloaded clap_builder v4.5.56 [INFO] [stderr] Downloaded zerocopy-derive v0.8.37 [INFO] [stderr] Downloaded cxx-build v1.0.194 [INFO] [stderr] Downloaded jiff-static v0.2.18 [INFO] [stderr] Downloaded pdf-extract v0.8.2 [INFO] [stderr] Downloaded fancy-regex v0.13.0 [INFO] [stderr] Downloaded unicode-normalization-alignments v0.1.12 [INFO] [stderr] Downloaded spm_precompiled v0.1.4 [INFO] [stderr] Downloaded candle-nn v0.8.4 [INFO] [stderr] Downloaded clap v4.5.56 [INFO] [stderr] Downloaded clap_derive v4.5.55 [INFO] [stderr] Downloaded onig_sys v69.9.1 [INFO] [stderr] Downloaded anndists v0.1.3 [INFO] [stderr] Downloaded schemars_derive v1.2.1 [INFO] [stderr] Downloaded dary_heap v0.3.8 [INFO] [stderr] Downloaded jiff v0.2.18 [INFO] [stderr] Downloaded macro_rules_attribute-proc_macro v0.2.2 [INFO] [stderr] Downloaded onig v6.5.1 [INFO] [stderr] Downloaded zmij v1.0.18 [INFO] [stderr] Downloaded cxxbridge-cmd v1.0.194 [INFO] [stderr] Downloaded cxxbridge-macro v1.0.194 [INFO] [stderr] Downloaded postscript v0.14.1 [INFO] [stderr] Downloaded rmcp-macros v0.14.0 [INFO] [stderr] Downloaded monostate-impl v0.1.18 [INFO] [stderr] Downloaded adobe-cmap-parser v0.4.1 [INFO] [stderr] Downloaded rayon-cond v0.4.0 [INFO] [stderr] Downloaded endian-type v0.1.2 [INFO] [stderr] Downloaded macro_rules_attribute v0.2.2 [INFO] [stderr] Downloaded tiktoken-rs v0.6.0 [INFO] [stderr] Downloaded lopdf v0.34.0 [INFO] [stderr] Downloaded diskann-rs v0.3.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 941466a6d52deba32401867e4d6fff260a4bbd9509917f572a360da6b7a3e8e6 [INFO] running `Command { std: "docker" "start" "-a" "941466a6d52deba32401867e4d6fff260a4bbd9509917f572a360da6b7a3e8e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "941466a6d52deba32401867e4d6fff260a4bbd9509917f572a360da6b7a3e8e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "941466a6d52deba32401867e4d6fff260a4bbd9509917f572a360da6b7a3e8e6", kill_on_drop: false }` [INFO] [stdout] 941466a6d52deba32401867e4d6fff260a4bbd9509917f572a360da6b7a3e8e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3679bbfc2efffbfcd190e32256fc69a1d900b7b09f58dcd03b9dedbb99326f90 [INFO] running `Command { std: "docker" "start" "-a" "3679bbfc2efffbfcd190e32256fc69a1d900b7b09f58dcd03b9dedbb99326f90", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling cc v1.2.55 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling zerocopy v0.8.37 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling scratch v1.0.9 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling zmij v1.0.18 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling openssl-probe v0.2.1 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling cxxbridge-flags v1.0.194 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling codespan-reporting v0.13.1 [INFO] [stderr] Compiling rustls-native-certs v0.8.3 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling ryu v1.0.22 [INFO] [stderr] Compiling iri-string v0.7.10 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling portable-atomic v1.13.1 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling link-cplusplus v1.0.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling cxx v1.0.194 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling clap_lex v0.7.7 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling foldhash v0.2.0 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling clap_builder v4.5.56 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling fd-lock v4.0.4 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling uuid v1.20.0 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling memmap2 v0.9.9 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling cxx-build v1.0.194 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling fancy-regex v0.13.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling rustyline v14.0.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling globset v0.4.18 [INFO] [stderr] Compiling tiktoken-rs v0.6.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rustls-webpki v0.103.9 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling cxxbridge-macro v1.0.194 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling async-openai-macros v0.1.1 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling ignore v0.4.25 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling usearch v2.23.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling clap v4.5.56 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling secrecy v0.10.3 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling reqwest-eventsource v0.6.0 [INFO] [stderr] Compiling async-openai v0.28.3 [INFO] [stderr] Compiling leann v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `IndexBuilder` [INFO] [stdout] --> src/index/mod.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | pub use builder::{IndexBuilder, StreamingIndexBuilder}; [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: `ModelConfig` [INFO] [stdout] --> src/embedding/mod.rs:11:36 [INFO] [stdout] | [INFO] [stdout] 11 | pub use models::{get_model_config, ModelConfig}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len` and `is_empty` are never used [INFO] [stdout] --> src/index/passages.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl PassageStore { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn is_empty(&self) -> 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: field `jsonl_path` is never read [INFO] [stdout] --> src/index/passages.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 124 | pub struct PassageStoreWriter { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 127 | jsonl_path: std::path::PathBuf, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `jsonl_path` and `len` are never used [INFO] [stdout] --> src/index/passages.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 132 | impl PassageStoreWriter { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn jsonl_path(&self) -> &Path { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexBuilder` is never constructed [INFO] [stdout] --> src/index/builder.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct IndexBuilder { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_recompute_mode`, `is_recompute_mode`, `add_passage`, and `build` are never used [INFO] [stdout] --> src/index/builder.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl IndexBuilder { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 27 | /// Create a new index builder [INFO] [stdout] 28 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn with_recompute_mode(mut self, enabled: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn is_recompute_mode(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn add_passage( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn build(self, index_path: &Path) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `all_texts` is never read [INFO] [stdout] --> src/index/searcher.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct IndexSearcher { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 71 | all_texts: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len` and `is_empty` are never used [INFO] [stdout] --> src/index/searcher.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl IndexSearcher { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 249 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mmap`, `dimensions`, and `count` are never read [INFO] [stdout] --> src/index/embeddings.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct EmbeddingsStore { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 14 | mmap: Mmap, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | dimensions: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | count: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `open`, `exists`, `get`, `get_all`, `len`, and `is_empty` are never used [INFO] [stdout] --> src/index/embeddings.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl EmbeddingsStore { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 20 | /// Open an existing embeddings file [INFO] [stdout] 21 | pub fn open(path: &Path, dimensions: usize) -> anyhow::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn exists(path: &Path) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn get(&self, idx: usize) -> Option<&[f32]> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn get_all(&self) -> Vec<&[f32]> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/index/embeddings.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 105 | impl EmbeddingsWriter { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dimensions` is never read [INFO] [stdout] --> src/index/recompute.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct RecomputeSearcher { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | dimensions: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len` and `is_empty` are never used [INFO] [stdout] --> src/index/recompute.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl RecomputeSearcher { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len` and `is_empty` are never used [INFO] [stdout] --> src/backend/traits.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait BackendSearcher: Send + Sync { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 24 | fn len(&self) -> usize; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `model_name` is never read [INFO] [stdout] --> src/embedding/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct EmbeddingProvider { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 36 | model_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `model_name` is never used [INFO] [stdout] --> src/embedding/mod.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl EmbeddingProvider { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn model_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `normalized` and `dimensions` are never read [INFO] [stdout] --> src/embedding/models.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ModelConfig { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub normalized: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | /// Embedding dimensions [INFO] [stdout] 18 | pub dimensions: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModelConfig` 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 `model_name` is never read [INFO] [stdout] --> src/llm/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct LlmProvider { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 21 | model_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `model_name` is never used [INFO] [stdout] --> src/llm/mod.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl LlmProvider { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn model_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 59s [INFO] running `Command { std: "docker" "inspect" "3679bbfc2efffbfcd190e32256fc69a1d900b7b09f58dcd03b9dedbb99326f90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3679bbfc2efffbfcd190e32256fc69a1d900b7b09f58dcd03b9dedbb99326f90", kill_on_drop: false }` [INFO] [stdout] 3679bbfc2efffbfcd190e32256fc69a1d900b7b09f58dcd03b9dedbb99326f90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 957f474aa3be4fc51e17320b325895f1d558ca9e2c1462ceae0b016a39a4e0fe [INFO] running `Command { std: "docker" "start" "-a" "957f474aa3be4fc51e17320b325895f1d558ca9e2c1462ceae0b016a39a4e0fe", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.37 [INFO] [stderr] Compiling zerocopy-derive v0.8.37 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling ignore v0.4.25 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling async-openai v0.28.3 [INFO] [stderr] Compiling leann v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `IndexBuilder` [INFO] [stdout] --> src/index/mod.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | pub use builder::{IndexBuilder, StreamingIndexBuilder}; [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: `ModelConfig` [INFO] [stdout] --> src/embedding/mod.rs:11:36 [INFO] [stdout] | [INFO] [stdout] 11 | pub use models::{get_model_config, ModelConfig}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IndexBuilder` [INFO] [stdout] --> src/index/mod.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | pub use builder::{IndexBuilder, StreamingIndexBuilder}; [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: `ModelConfig` [INFO] [stdout] --> src/embedding/mod.rs:11:36 [INFO] [stdout] | [INFO] [stdout] 11 | pub use models::{get_model_config, ModelConfig}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len` and `is_empty` are never used [INFO] [stdout] --> src/index/passages.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl PassageStore { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn is_empty(&self) -> 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: field `jsonl_path` is never read [INFO] [stdout] --> src/index/passages.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 124 | pub struct PassageStoreWriter { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 127 | jsonl_path: std::path::PathBuf, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `jsonl_path` and `len` are never used [INFO] [stdout] --> src/index/passages.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 132 | impl PassageStoreWriter { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn jsonl_path(&self) -> &Path { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexBuilder` is never constructed [INFO] [stdout] --> src/index/builder.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct IndexBuilder { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_recompute_mode`, `is_recompute_mode`, `add_passage`, and `build` are never used [INFO] [stdout] --> src/index/builder.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl IndexBuilder { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 27 | /// Create a new index builder [INFO] [stdout] 28 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn with_recompute_mode(mut self, enabled: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn is_recompute_mode(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn add_passage( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn build(self, index_path: &Path) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `all_texts` is never read [INFO] [stdout] --> src/index/searcher.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct IndexSearcher { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 71 | all_texts: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len` and `is_empty` are never used [INFO] [stdout] --> src/index/searcher.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl IndexSearcher { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 249 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mmap`, `dimensions`, and `count` are never read [INFO] [stdout] --> src/index/embeddings.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct EmbeddingsStore { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 14 | mmap: Mmap, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | dimensions: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | count: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `open`, `exists`, `get`, `get_all`, `len`, and `is_empty` are never used [INFO] [stdout] --> src/index/embeddings.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl EmbeddingsStore { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 20 | /// Open an existing embeddings file [INFO] [stdout] 21 | pub fn open(path: &Path, dimensions: usize) -> anyhow::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn exists(path: &Path) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn get(&self, idx: usize) -> Option<&[f32]> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn get_all(&self) -> Vec<&[f32]> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/index/embeddings.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 105 | impl EmbeddingsWriter { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dimensions` is never read [INFO] [stdout] --> src/index/recompute.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct RecomputeSearcher { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | dimensions: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len` and `is_empty` are never used [INFO] [stdout] --> src/index/recompute.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl RecomputeSearcher { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len` and `is_empty` are never used [INFO] [stdout] --> src/backend/traits.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait BackendSearcher: Send + Sync { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 24 | fn len(&self) -> usize; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `model_name` is never read [INFO] [stdout] --> src/embedding/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct EmbeddingProvider { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 36 | model_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `model_name` is never used [INFO] [stdout] --> src/embedding/mod.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl EmbeddingProvider { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn model_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `model_name` is never read [INFO] [stdout] --> src/llm/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct LlmProvider { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 21 | model_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `model_name` is never used [INFO] [stdout] --> src/llm/mod.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl LlmProvider { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn model_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len` and `is_empty` are never used [INFO] [stdout] --> src/index/passages.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl PassageStore { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn is_empty(&self) -> 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: field `jsonl_path` is never read [INFO] [stdout] --> src/index/passages.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 124 | pub struct PassageStoreWriter { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 127 | jsonl_path: std::path::PathBuf, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `jsonl_path` and `len` are never used [INFO] [stdout] --> src/index/passages.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 132 | impl PassageStoreWriter { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn jsonl_path(&self) -> &Path { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexBuilder` is never constructed [INFO] [stdout] --> src/index/builder.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct IndexBuilder { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_recompute_mode`, `is_recompute_mode`, `add_passage`, and `build` are never used [INFO] [stdout] --> src/index/builder.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl IndexBuilder { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 27 | /// Create a new index builder [INFO] [stdout] 28 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn with_recompute_mode(mut self, enabled: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn is_recompute_mode(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn add_passage( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn build(self, index_path: &Path) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `all_texts` is never read [INFO] [stdout] --> src/index/searcher.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct IndexSearcher { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 71 | all_texts: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len` and `is_empty` are never used [INFO] [stdout] --> src/index/searcher.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl IndexSearcher { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 249 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mmap`, `dimensions`, and `count` are never read [INFO] [stdout] --> src/index/embeddings.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct EmbeddingsStore { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 14 | mmap: Mmap, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | dimensions: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | count: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `open`, `exists`, `get`, `get_all`, `len`, and `is_empty` are never used [INFO] [stdout] --> src/index/embeddings.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl EmbeddingsStore { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 20 | /// Open an existing embeddings file [INFO] [stdout] 21 | pub fn open(path: &Path, dimensions: usize) -> anyhow::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn exists(path: &Path) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn get(&self, idx: usize) -> Option<&[f32]> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn get_all(&self) -> Vec<&[f32]> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/index/embeddings.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 105 | impl EmbeddingsWriter { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dimensions` is never read [INFO] [stdout] --> src/index/recompute.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct RecomputeSearcher { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | dimensions: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len` and `is_empty` are never used [INFO] [stdout] --> src/index/recompute.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl RecomputeSearcher { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len` and `is_empty` are never used [INFO] [stdout] --> src/backend/traits.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait BackendSearcher: Send + Sync { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 24 | fn len(&self) -> usize; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `model_name` is never read [INFO] [stdout] --> src/embedding/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct EmbeddingProvider { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 36 | model_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `model_name` is never used [INFO] [stdout] --> src/embedding/mod.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl EmbeddingProvider { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn model_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `normalized` and `dimensions` are never read [INFO] [stdout] --> src/embedding/models.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ModelConfig { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub normalized: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | /// Embedding dimensions [INFO] [stdout] 18 | pub dimensions: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModelConfig` 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 `model_name` is never read [INFO] [stdout] --> src/llm/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct LlmProvider { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 21 | model_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `model_name` is never used [INFO] [stdout] --> src/llm/mod.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl LlmProvider { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn model_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 44.65s [INFO] running `Command { std: "docker" "inspect" "957f474aa3be4fc51e17320b325895f1d558ca9e2c1462ceae0b016a39a4e0fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "957f474aa3be4fc51e17320b325895f1d558ca9e2c1462ceae0b016a39a4e0fe", kill_on_drop: false }` [INFO] [stdout] 957f474aa3be4fc51e17320b325895f1d558ca9e2c1462ceae0b016a39a4e0fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c59cd05d2d7b670b4b07ef1a1ce8cc1c38c5e72486ae78056e7eadea5994df8e [INFO] running `Command { std: "docker" "start" "-a" "c59cd05d2d7b670b4b07ef1a1ce8cc1c38c5e72486ae78056e7eadea5994df8e", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `IndexBuilder` [INFO] [stderr] --> src/index/mod.rs:15:19 [INFO] [stderr] | [INFO] [stderr] 15 | pub use builder::{IndexBuilder, StreamingIndexBuilder}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `ModelConfig` [INFO] [stderr] --> src/embedding/mod.rs:11:36 [INFO] [stderr] | [INFO] [stderr] 11 | pub use models::{get_model_config, ModelConfig}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `len` and `is_empty` are never used [INFO] [stderr] --> src/index/passages.rs:113:12 [INFO] [stderr] | [INFO] [stderr] 28 | impl PassageStore { [INFO] [stderr] | ----------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 113 | pub fn len(&self) -> usize { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 118 | pub fn is_empty(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `jsonl_path` is never read [INFO] [stderr] --> src/index/passages.rs:127:5 [INFO] [stderr] | [INFO] [stderr] 124 | pub struct PassageStoreWriter { [INFO] [stderr] | ------------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 127 | jsonl_path: std::path::PathBuf, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `jsonl_path` and `len` are never used [INFO] [stderr] --> src/index/passages.rs:161:12 [INFO] [stderr] | [INFO] [stderr] 132 | impl PassageStoreWriter { [INFO] [stderr] | ----------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 161 | pub fn jsonl_path(&self) -> &Path { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 166 | pub fn len(&self) -> usize { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `IndexBuilder` is never constructed [INFO] [stderr] --> src/index/builder.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct IndexBuilder { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `with_recompute_mode`, `is_recompute_mode`, `add_passage`, and `build` are never used [INFO] [stderr] --> src/index/builder.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 26 | impl IndexBuilder { [INFO] [stderr] | ----------------- associated items in this implementation [INFO] [stderr] 27 | /// Create a new index builder [INFO] [stderr] 28 | pub fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 47 | pub fn with_recompute_mode(mut self, enabled: bool) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 53 | pub fn is_recompute_mode(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 58 | pub fn add_passage( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 85 | pub fn build(self, index_path: &Path) -> anyhow::Result<()> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `all_texts` is never read [INFO] [stderr] --> src/index/searcher.rs:71:5 [INFO] [stderr] | [INFO] [stderr] 66 | pub struct IndexSearcher { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 71 | all_texts: Option>, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `len` and `is_empty` are never used [INFO] [stderr] --> src/index/searcher.rs:249:12 [INFO] [stderr] | [INFO] [stderr] 74 | impl IndexSearcher { [INFO] [stderr] | ------------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 249 | pub fn len(&self) -> usize { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 254 | pub fn is_empty(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `mmap`, `dimensions`, and `count` are never read [INFO] [stderr] --> src/index/embeddings.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct EmbeddingsStore { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 14 | mmap: Mmap, [INFO] [stderr] | ^^^^ [INFO] [stderr] 15 | dimensions: usize, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 16 | count: usize, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `open`, `exists`, `get`, `get_all`, `len`, and `is_empty` are never used [INFO] [stderr] --> src/index/embeddings.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 19 | impl EmbeddingsStore { [INFO] [stderr] | -------------------- associated items in this implementation [INFO] [stderr] 20 | /// Open an existing embeddings file [INFO] [stderr] 21 | pub fn open(path: &Path, dimensions: usize) -> anyhow::Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 37 | pub fn exists(path: &Path) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 54 | pub fn get(&self, idx: usize) -> Option<&[f32]> { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 83 | pub fn get_all(&self) -> Vec<&[f32]> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 88 | pub fn len(&self) -> usize { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 93 | pub fn is_empty(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `len` is never used [INFO] [stderr] --> src/index/embeddings.rs:156:12 [INFO] [stderr] | [INFO] [stderr] 105 | impl EmbeddingsWriter { [INFO] [stderr] | --------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 156 | pub fn len(&self) -> usize { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field `dimensions` is never read [INFO] [stderr] --> src/index/recompute.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct RecomputeSearcher { [INFO] [stderr] | ----------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 20 | dimensions: usize, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `len` and `is_empty` are never used [INFO] [stderr] --> src/index/recompute.rs:126:12 [INFO] [stderr] | [INFO] [stderr] 23 | impl RecomputeSearcher { [INFO] [stderr] | ---------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 126 | pub fn len(&self) -> usize { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 131 | pub fn is_empty(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `len` and `is_empty` are never used [INFO] [stderr] --> src/backend/traits.rs:24:8 [INFO] [stderr] | [INFO] [stderr] 11 | pub trait BackendSearcher: Send + Sync { [INFO] [stderr] | --------------- methods in this trait [INFO] [stderr] ... [INFO] [stderr] 24 | fn len(&self) -> usize; [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 27 | fn is_empty(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `model_name` is never read [INFO] [stderr] --> src/embedding/mod.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 35 | pub struct EmbeddingProvider { [INFO] [stderr] | ----------------- field in this struct [INFO] [stderr] 36 | model_name: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `model_name` is never used [INFO] [stderr] --> src/embedding/mod.rs:107:12 [INFO] [stderr] | [INFO] [stderr] 49 | impl EmbeddingProvider { [INFO] [stderr] | ---------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 107 | pub fn model_name(&self) -> &str { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `normalized` and `dimensions` are never read [INFO] [stderr] --> src/embedding/models.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct ModelConfig { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 16 | pub normalized: bool, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 17 | /// Embedding dimensions [INFO] [stderr] 18 | pub dimensions: usize, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ModelConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `model_name` is never read [INFO] [stderr] --> src/llm/mod.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct LlmProvider { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 21 | model_name: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `model_name` is never used [INFO] [stderr] --> src/llm/mod.rs:66:12 [INFO] [stderr] | [INFO] [stderr] 32 | impl LlmProvider { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 66 | pub fn model_name(&self) -> &str { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `leann` (bin "leann") generated 20 warnings (run `cargo fix --bin "leann" -p leann` to apply 2 suggestions) [INFO] [stderr] warning: `leann` (bin "leann" test) generated 19 warnings (19 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.61s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/leann-92db3007506b2f56) [INFO] [stdout] [INFO] [stdout] running 35 tests [INFO] [stdout] test config::tests::test_default_config ... ok [INFO] [stdout] test embedding::models::tests::test_mxbai_config ... ok [INFO] [stdout] test embedding::models::tests::test_unknown_model ... ok [INFO] [stdout] test embedding::models::tests::test_nomic_config ... ok [INFO] [stdout] test config::tests::test_parse_config ... ok [INFO] [stdout] test embedding::models::tests::test_nomic_with_version ... ok [INFO] [stdout] test index::bm25::tests::test_bm25_empty_query ... ok [INFO] [stdout] test index::bm25::tests::test_bm25_no_match ... ok [INFO] [stdout] test index::bm25::tests::test_bm25_idf_matters ... ok [INFO] [stdout] test index::bm25::tests::test_hybrid_rerank_basic ... ok [INFO] [stdout] test index::bm25::tests::test_hybrid_rerank_bm25_only ... ok [INFO] [stdout] test index::bm25::tests::test_hybrid_rerank_vector_only ... ok [INFO] [stdout] test index::bm25::tests::test_bm25_term_frequency_matters ... ok [INFO] [stdout] test index::bm25::tests::test_bm25_basic_scoring ... ok [INFO] [stdout] test index::bm25::tests::test_tokenize_basic ... ok [INFO] [stdout] test index::bm25::tests::test_tokenize_empty ... ok [INFO] [stdout] test index::bm25::tests::test_tokenize_numbers ... ok [INFO] [stdout] test index::filter::tests::test_filter_in ... ok [INFO] [stdout] test index::filter::tests::test_filter_matches ... ok [INFO] [stdout] test index::filter::tests::test_filter_not_in ... ok [INFO] [stdout] test index::filter::tests::test_filter_parse ... ok [INFO] [stdout] test index::query::tests::test_extract_key_terms_filters_code ... ok [INFO] [stdout] test index::filter::tests::test_filter_and ... ok [INFO] [stdout] test index::filter::tests::test_filter_contains ... ok [INFO] [stdout] test index::locate::tests::test_find_index_not_found ... ok [INFO] [stdout] test index::filter::tests::test_filter_exists ... ok [INFO] [stdout] test index::query::tests::test_extract_key_terms ... ok [INFO] [stdout] test index::query::tests::test_should_expand ... ok [INFO] [stdout] test index::bm25::tests::test_bm25_search_top_k ... ok [INFO] [stdout] test index::filter::tests::test_filter_or ... ok [INFO] [stdout] test chunker::ast::tests::test_python_class_detection ... ok [INFO] [stdout] test chunker::ast::tests::test_rust_function_detection ... ok [INFO] [stdout] test index::query::tests::test_expand_from_passages ... ok [INFO] [stdout] test index::query::tests::test_extract_code_symbols ... ok [INFO] [stdout] test http::tests::test_create_client ... ok [INFO] [stderr] Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-b1eed6b681510ee6) [INFO] [stdout] [INFO] [stdout] test result: ok. 35 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test test_cli_help ... ok [INFO] [stdout] test test_build_help ... ok [INFO] [stdout] test test_cli_version ... ok [INFO] [stdout] test test_ask_help ... ok [INFO] [stdout] test test_react_help ... ok [INFO] [stdout] test test_search_help ... ok [INFO] [stdout] test test_serve_help ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 50.70s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c59cd05d2d7b670b4b07ef1a1ce8cc1c38c5e72486ae78056e7eadea5994df8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c59cd05d2d7b670b4b07ef1a1ce8cc1c38c5e72486ae78056e7eadea5994df8e", kill_on_drop: false }` [INFO] [stdout] c59cd05d2d7b670b4b07ef1a1ce8cc1c38c5e72486ae78056e7eadea5994df8e