[INFO] cloning repository https://github.com/hareshgoyal06/ChunkyMonkey [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hareshgoyal06/ChunkyMonkey" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhareshgoyal06%2FChunkyMonkey", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhareshgoyal06%2FChunkyMonkey'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 44942f96c5731a4c7944f8ebd075ecf419756888 [INFO] testing hareshgoyal06/ChunkyMonkey against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhareshgoyal06%2FChunkyMonkey" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hareshgoyal06/ChunkyMonkey [INFO] finished tweaking git repo https://github.com/hareshgoyal06/ChunkyMonkey [INFO] tweaked toml for git repo https://github.com/hareshgoyal06/ChunkyMonkey written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hareshgoyal06/ChunkyMonkey on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hareshgoyal06/ChunkyMonkey 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a0dcf9e541e9156a69cf6ebfdf04b93b11abacfbae923f60f8b1bf0a5c5d998 [INFO] running `Command { std: "docker" "start" "-a" "0a0dcf9e541e9156a69cf6ebfdf04b93b11abacfbae923f60f8b1bf0a5c5d998", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a0dcf9e541e9156a69cf6ebfdf04b93b11abacfbae923f60f8b1bf0a5c5d998", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a0dcf9e541e9156a69cf6ebfdf04b93b11abacfbae923f60f8b1bf0a5c5d998", kill_on_drop: false }` [INFO] [stdout] 0a0dcf9e541e9156a69cf6ebfdf04b93b11abacfbae923f60f8b1bf0a5c5d998 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7172c25d341e5281b4b7897a4c56910e29e629a11f781268960b5698922a4be1 [INFO] running `Command { std: "docker" "start" "-a" "7172c25d341e5281b4b7897a4c56910e29e629a11f781268960b5698922a4be1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.105 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling clap_builder v4.5.44 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling libsqlite3-sys v0.26.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling regex v1.11.1 [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 tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Compiling rusqlite v0.29.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling clap v4.5.45 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [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 tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling chunkymonkey v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `runtime` [INFO] [stdout] --> src/cli/interactive.rs:647:13 [INFO] [stdout] | [INFO] [stdout] 647 | let mut runtime = RuntimeDisplay::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_runtime` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prompt_clone` [INFO] [stdout] --> src/cli/interactive.rs:653:9 [INFO] [stdout] | [INFO] [stdout] 653 | let prompt_clone = prompt.to_string(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prompt_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timeout` [INFO] [stdout] --> src/cli/interactive.rs:645:53 [INFO] [stdout] | [INFO] [stdout] 645 | fn wait_for_user_input_with_preloader(prompt: &str, timeout: Option) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cli/interactive.rs:647:9 [INFO] [stdout] | [INFO] [stdout] 647 | let mut runtime = RuntimeDisplay::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_time` [INFO] [stdout] --> src/cli/interactive.rs:744:9 [INFO] [stdout] | [INFO] [stdout] 744 | let start_time = Instant::now(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_files` [INFO] [stdout] --> src/cli/interactive.rs:793:51 [INFO] [stdout] | [INFO] [stdout] 793 | fn show_indexing_summary(successful_files: usize, total_files: usize) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_files` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `loaded_count` is assigned to, but never used [INFO] [stdout] --> src/vector_search/mod.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | let mut loaded_count = 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_loaded_count` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `save_to_file` is never used [INFO] [stdout] --> src/core/config.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 110 | impl AppConfig { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn save_to_file(&self, path: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/db/mod.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn add_document(&mut self, file_path: &str, file_hash: &str, size: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn get_document(&self, document_id: u32) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn get_documents(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn update_document_chunk_count(&mut self, document_id: u32, chunk_count: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn add_chunk(&mut self, document_id: u32, text: &str, chunk_index: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn get_chunk(&self, chunk_id: u32) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn get_chunks_by_document(&self, document_id: u32) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn add_embedding(&mut self, chunk_id: u32, vector: &[f32]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn get_embedding(&self, chunk_id: u32) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn get_all_embeddings(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `l2_distance` is never used [INFO] [stdout] --> src/embeddings/mod.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn l2_distance(a: &[f32], b: &[f32]) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/embeddings/ollama.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl OllamaEmbeddings { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 25 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_progress` is never used [INFO] [stdout] --> src/cli/interactive.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl InteractivePreloader { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn set_progress(&self, progress: u64, total: u64) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait_for_user_input_with_preloader` is never used [INFO] [stdout] --> src/cli/interactive.rs:645:4 [INFO] [stdout] | [INFO] [stdout] 645 | fn wait_for_user_input_with_preloader(prompt: &str, timeout: Option) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_loading_animation` is never used [INFO] [stdout] --> src/cli/interactive.rs:685:4 [INFO] [stdout] | [INFO] [stdout] 685 | fn show_loading_animation(message: &str, duration: Duration) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_continuous_spinner_until_input` is never used [INFO] [stdout] --> src/cli/interactive.rs:705:4 [INFO] [stdout] | [INFO] [stdout] 705 | fn show_continuous_spinner_until_input(message: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_continuous_runtime_display` is never used [INFO] [stdout] --> src/cli/interactive.rs:742:4 [INFO] [stdout] | [INFO] [stdout] 742 | fn show_continuous_runtime_display(operation: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `demonstrate_full_preloader_experience` is never used [INFO] [stdout] --> src/cli/interactive.rs:766:4 [INFO] [stdout] | [INFO] [stdout] 766 | fn demonstrate_full_preloader_experience() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_indexing_with_graceful_errors` is never used [INFO] [stdout] --> src/cli/interactive.rs:801:10 [INFO] [stdout] | [INFO] [stdout] 801 | async fn handle_indexing_with_graceful_errors( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_chunk_info` and `is_empty` are never used [INFO] [stdout] --> src/vector_search/mod.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl VectorIndex { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn get_chunk_info(&self, chunk_id: u32) -> Option<&(String, String)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_context_for_question`, `set_relevance_threshold`, `get_relevance_threshold`, and `is_empty` are never used [INFO] [stdout] --> src/vector_search/mod.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl RAGSearchEngine { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn get_context_for_question(&self, question: &str, question_vector: &[f32], context_size: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn set_relevance_threshold(&mut self, threshold: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn get_relevance_threshold(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_dummy` and `delete_vectors` are never used [INFO] [stdout] --> src/pinecone/mod.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl PineconeClient { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn new_dummy() -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub async fn delete_vectors(&self, ids: Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 44s [INFO] running `Command { std: "docker" "inspect" "7172c25d341e5281b4b7897a4c56910e29e629a11f781268960b5698922a4be1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7172c25d341e5281b4b7897a4c56910e29e629a11f781268960b5698922a4be1", kill_on_drop: false }` [INFO] [stdout] 7172c25d341e5281b4b7897a4c56910e29e629a11f781268960b5698922a4be1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cbbefe5900aeb2a6a821895b3c6a471bfead3a5506db600503cded52848cdfda [INFO] running `Command { std: "docker" "start" "-a" "cbbefe5900aeb2a6a821895b3c6a471bfead3a5506db600503cded52848cdfda", kill_on_drop: false }` [INFO] [stderr] Compiling chunkymonkey v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `runtime` [INFO] [stdout] --> src/cli/interactive.rs:647:13 [INFO] [stdout] | [INFO] [stdout] 647 | let mut runtime = RuntimeDisplay::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_runtime` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prompt_clone` [INFO] [stdout] --> src/cli/interactive.rs:653:9 [INFO] [stdout] | [INFO] [stdout] 653 | let prompt_clone = prompt.to_string(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prompt_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timeout` [INFO] [stdout] --> src/cli/interactive.rs:645:53 [INFO] [stdout] | [INFO] [stdout] 645 | fn wait_for_user_input_with_preloader(prompt: &str, timeout: Option) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cli/interactive.rs:647:9 [INFO] [stdout] | [INFO] [stdout] 647 | let mut runtime = RuntimeDisplay::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_time` [INFO] [stdout] --> src/cli/interactive.rs:744:9 [INFO] [stdout] | [INFO] [stdout] 744 | let start_time = Instant::now(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_files` [INFO] [stdout] --> src/cli/interactive.rs:793:51 [INFO] [stdout] | [INFO] [stdout] 793 | fn show_indexing_summary(successful_files: usize, total_files: usize) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_files` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `loaded_count` is assigned to, but never used [INFO] [stdout] --> src/vector_search/mod.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | let mut loaded_count = 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_loaded_count` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `save_to_file` is never used [INFO] [stdout] --> src/core/config.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 110 | impl AppConfig { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn save_to_file(&self, path: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/db/mod.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn add_document(&mut self, file_path: &str, file_hash: &str, size: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn get_document(&self, document_id: u32) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn get_documents(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn update_document_chunk_count(&mut self, document_id: u32, chunk_count: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn add_chunk(&mut self, document_id: u32, text: &str, chunk_index: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn get_chunk(&self, chunk_id: u32) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn get_chunks_by_document(&self, document_id: u32) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn add_embedding(&mut self, chunk_id: u32, vector: &[f32]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn get_embedding(&self, chunk_id: u32) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn get_all_embeddings(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `l2_distance` is never used [INFO] [stdout] --> src/embeddings/mod.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn l2_distance(a: &[f32], b: &[f32]) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/embeddings/ollama.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl OllamaEmbeddings { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 25 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_progress` is never used [INFO] [stdout] --> src/cli/interactive.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl InteractivePreloader { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn set_progress(&self, progress: u64, total: u64) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait_for_user_input_with_preloader` is never used [INFO] [stdout] --> src/cli/interactive.rs:645:4 [INFO] [stdout] | [INFO] [stdout] 645 | fn wait_for_user_input_with_preloader(prompt: &str, timeout: Option) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_loading_animation` is never used [INFO] [stdout] --> src/cli/interactive.rs:685:4 [INFO] [stdout] | [INFO] [stdout] 685 | fn show_loading_animation(message: &str, duration: Duration) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_continuous_spinner_until_input` is never used [INFO] [stdout] --> src/cli/interactive.rs:705:4 [INFO] [stdout] | [INFO] [stdout] 705 | fn show_continuous_spinner_until_input(message: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_continuous_runtime_display` is never used [INFO] [stdout] --> src/cli/interactive.rs:742:4 [INFO] [stdout] | [INFO] [stdout] 742 | fn show_continuous_runtime_display(operation: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `demonstrate_full_preloader_experience` is never used [INFO] [stdout] --> src/cli/interactive.rs:766:4 [INFO] [stdout] | [INFO] [stdout] 766 | fn demonstrate_full_preloader_experience() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_indexing_with_graceful_errors` is never used [INFO] [stdout] --> src/cli/interactive.rs:801:10 [INFO] [stdout] | [INFO] [stdout] 801 | async fn handle_indexing_with_graceful_errors( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_chunk_info` and `is_empty` are never used [INFO] [stdout] --> src/vector_search/mod.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl VectorIndex { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn get_chunk_info(&self, chunk_id: u32) -> Option<&(String, String)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_context_for_question`, `set_relevance_threshold`, `get_relevance_threshold`, and `is_empty` are never used [INFO] [stdout] --> src/vector_search/mod.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl RAGSearchEngine { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn get_context_for_question(&self, question: &str, question_vector: &[f32], context_size: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn set_relevance_threshold(&mut self, threshold: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn get_relevance_threshold(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_dummy` and `delete_vectors` are never used [INFO] [stdout] --> src/pinecone/mod.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl PineconeClient { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn new_dummy() -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub async fn delete_vectors(&self, ids: Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.21s [INFO] running `Command { std: "docker" "inspect" "cbbefe5900aeb2a6a821895b3c6a471bfead3a5506db600503cded52848cdfda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbbefe5900aeb2a6a821895b3c6a471bfead3a5506db600503cded52848cdfda", kill_on_drop: false }` [INFO] [stdout] cbbefe5900aeb2a6a821895b3c6a471bfead3a5506db600503cded52848cdfda [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4ba6e210701f9ac287bc7f74261f62532a59cad21c3ec44571fce0f6b25b1bee [INFO] running `Command { std: "docker" "start" "-a" "4ba6e210701f9ac287bc7f74261f62532a59cad21c3ec44571fce0f6b25b1bee", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `runtime` [INFO] [stderr] --> src/cli/interactive.rs:647:13 [INFO] [stderr] | [INFO] [stderr] 647 | let mut runtime = RuntimeDisplay::new(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_runtime` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `prompt_clone` [INFO] [stderr] --> src/cli/interactive.rs:653:9 [INFO] [stderr] | [INFO] [stderr] 653 | let prompt_clone = prompt.to_string(); [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prompt_clone` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `timeout` [INFO] [stderr] --> src/cli/interactive.rs:645:53 [INFO] [stderr] | [INFO] [stderr] 645 | fn wait_for_user_input_with_preloader(prompt: &str, timeout: Option) -> Result { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/cli/interactive.rs:647:9 [INFO] [stderr] | [INFO] [stderr] 647 | let mut runtime = RuntimeDisplay::new(); [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `start_time` [INFO] [stderr] --> src/cli/interactive.rs:744:9 [INFO] [stderr] | [INFO] [stderr] 744 | let start_time = Instant::now(); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `total_files` [INFO] [stderr] --> src/cli/interactive.rs:793:51 [INFO] [stderr] | [INFO] [stderr] 793 | fn show_indexing_summary(successful_files: usize, total_files: usize) { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_files` [INFO] [stderr] [INFO] [stderr] warning: variable `loaded_count` is assigned to, but never used [INFO] [stderr] --> src/vector_search/mod.rs:116:17 [INFO] [stderr] | [INFO] [stderr] 116 | let mut loaded_count = 0; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_loaded_count` instead [INFO] [stderr] [INFO] [stderr] warning: method `save_to_file` is never used [INFO] [stderr] --> src/core/config.rs:167:12 [INFO] [stderr] | [INFO] [stderr] 110 | impl AppConfig { [INFO] [stderr] | -------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 167 | pub fn save_to_file(&self, path: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: multiple methods are never used [INFO] [stderr] --> src/db/mod.rs:50:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl Database { [INFO] [stderr] | ------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 50 | pub fn add_document(&mut self, file_path: &str, file_hash: &str, size: usize) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 59 | pub fn get_document(&self, document_id: u32) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 77 | pub fn get_documents(&self) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 111 | pub fn update_document_chunk_count(&mut self, document_id: u32, chunk_count: u32) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 119 | pub fn add_chunk(&mut self, document_id: u32, text: &str, chunk_index: usize) -> Result { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 128 | pub fn get_chunk(&self, chunk_id: u32) -> Result> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 145 | pub fn get_chunks_by_document(&self, document_id: u32) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 166 | pub fn add_embedding(&mut self, chunk_id: u32, vector: &[f32]) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 176 | pub fn get_embedding(&self, chunk_id: u32) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 194 | pub fn get_all_embeddings(&self) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `l2_distance` is never used [INFO] [stderr] --> src/embeddings/mod.rs:160:8 [INFO] [stderr] | [INFO] [stderr] 160 | pub fn l2_distance(a: &[f32], b: &[f32]) -> f32 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/embeddings/ollama.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 24 | impl OllamaEmbeddings { [INFO] [stderr] | --------------------- associated function in this implementation [INFO] [stderr] 25 | pub fn new() -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: method `set_progress` is never used [INFO] [stderr] --> src/cli/interactive.rs:59:12 [INFO] [stderr] | [INFO] [stderr] 18 | impl InteractivePreloader { [INFO] [stderr] | ------------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 59 | pub fn set_progress(&self, progress: u64, total: u64) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `wait_for_user_input_with_preloader` is never used [INFO] [stderr] --> src/cli/interactive.rs:645:4 [INFO] [stderr] | [INFO] [stderr] 645 | fn wait_for_user_input_with_preloader(prompt: &str, timeout: Option) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `show_loading_animation` is never used [INFO] [stderr] --> src/cli/interactive.rs:685:4 [INFO] [stderr] | [INFO] [stderr] 685 | fn show_loading_animation(message: &str, duration: Duration) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `show_continuous_spinner_until_input` is never used [INFO] [stderr] --> src/cli/interactive.rs:705:4 [INFO] [stderr] | [INFO] [stderr] 705 | fn show_continuous_spinner_until_input(message: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `show_continuous_runtime_display` is never used [INFO] [stderr] --> src/cli/interactive.rs:742:4 [INFO] [stderr] | [INFO] [stderr] 742 | fn show_continuous_runtime_display(operation: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `demonstrate_full_preloader_experience` is never used [INFO] [stderr] --> src/cli/interactive.rs:766:4 [INFO] [stderr] | [INFO] [stderr] 766 | fn demonstrate_full_preloader_experience() -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `handle_indexing_with_graceful_errors` is never used [INFO] [stderr] --> src/cli/interactive.rs:801:10 [INFO] [stderr] | [INFO] [stderr] 801 | async fn handle_indexing_with_graceful_errors( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `get_chunk_info` and `is_empty` are never used [INFO] [stderr] --> src/vector_search/mod.rs:54:12 [INFO] [stderr] | [INFO] [stderr] 11 | impl VectorIndex { [INFO] [stderr] | ---------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 54 | pub fn get_chunk_info(&self, chunk_id: u32) -> Option<&(String, String)> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 62 | pub fn is_empty(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `get_context_for_question`, `set_relevance_threshold`, `get_relevance_threshold`, and `is_empty` are never used [INFO] [stderr] --> src/vector_search/mod.rs:141:12 [INFO] [stderr] | [INFO] [stderr] 78 | impl RAGSearchEngine { [INFO] [stderr] | -------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 141 | pub fn get_context_for_question(&self, question: &str, question_vector: &[f32], context_size: usize) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 154 | pub fn set_relevance_threshold(&mut self, threshold: f32) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 158 | pub fn get_relevance_threshold(&self) -> f32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 172 | pub fn is_empty(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new_dummy` and `delete_vectors` are never used [INFO] [stderr] --> src/pinecone/mod.rs:81:12 [INFO] [stderr] | [INFO] [stderr] 60 | impl PineconeClient { [INFO] [stderr] | ------------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 81 | pub fn new_dummy() -> Result { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 160 | pub async fn delete_vectors(&self, ids: Vec) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `chunkymonkey` (bin "chunkymonkey" test) generated 21 warnings (run `cargo fix --bin "chunkymonkey" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/chunkymonkey-4cd351242df377e9) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4ba6e210701f9ac287bc7f74261f62532a59cad21c3ec44571fce0f6b25b1bee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ba6e210701f9ac287bc7f74261f62532a59cad21c3ec44571fce0f6b25b1bee", kill_on_drop: false }` [INFO] [stdout] 4ba6e210701f9ac287bc7f74261f62532a59cad21c3ec44571fce0f6b25b1bee