[INFO] fetching crate projets-indexer 0.1.2... [INFO] testing projets-indexer-0.1.2 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate projets-indexer 0.1.2 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate projets-indexer 0.1.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate projets-indexer 0.1.2 [INFO] tweaked toml for crates.io crate projets-indexer 0.1.2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate projets-indexer 0.1.2 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate projets-indexer 0.1.2 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea585bec43e1682df81182c9e960c6565fcd24d617278646f6786237c8f27d43 [INFO] running `Command { std: "docker" "start" "-a" "ea585bec43e1682df81182c9e960c6565fcd24d617278646f6786237c8f27d43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea585bec43e1682df81182c9e960c6565fcd24d617278646f6786237c8f27d43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea585bec43e1682df81182c9e960c6565fcd24d617278646f6786237c8f27d43", kill_on_drop: false }` [INFO] [stdout] ea585bec43e1682df81182c9e960c6565fcd24d617278646f6786237c8f27d43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ff947d5c25dece133afa0424cc31f87c9b80c7aeab3ed4b893228af6da0ec5f [INFO] running `Command { std: "docker" "start" "-a" "0ff947d5c25dece133afa0424cc31f87c9b80c7aeab3ed4b893228af6da0ec5f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling clap_builder v4.5.32 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling clap v4.5.32 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling projets-indexer v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::PathBuf; [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: `print_info` [INFO] [stdout] --> src/main.rs:18:40 [INFO] [stdout] | [INFO] [stdout] 18 | print_detailed_stats, print_error, print_info, print_project_details, print_section, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_depth` [INFO] [stdout] --> src/main.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | max_depth, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `max_depth: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_depth` [INFO] [stdout] --> src/main.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | min_depth, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `min_depth: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exclude` [INFO] [stdout] --> src/main.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | exclude, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `exclude: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexerConfig` is never constructed [INFO] [stdout] --> src/config/indexer_config.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct IndexerConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/config/indexer_config.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl IndexerConfig { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn new(projects_dir: PathBuf, index_file: PathBuf, enable_ollama: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OllamaError` is never used [INFO] [stdout] --> src/error.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum OllamaError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/error.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProjectIndexer` is never constructed [INFO] [stdout] --> src/indexer/project_indexer.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct ProjectIndexer { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/indexer/project_indexer.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl ProjectIndexer { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn new(config: IndexerConfig) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub async fn index_projects(&self, mut progress_callback: F) -> Result> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | async fn process_project_directory(&self, path: &Path) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | async fn get_git_status(&self, path: &Path) -> ProjectStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | async fn generate_project_tags(&self, path: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | fn determine_project_category(&self, path: &Path) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 359 | async fn generate_tags_with_ollama( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ProjectStatus` is never used [INFO] [stdout] --> src/models/project.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum ProjectStatus { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Project` is never constructed [INFO] [stdout] --> src/models/project.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Project { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClientConfig` is never constructed [INFO] [stdout] --> src/ollama.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct ClientConfig { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenerateOptions` is never constructed [INFO] [stdout] --> src/ollama.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct GenerateOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenerateRequest` is never constructed [INFO] [stdout] --> src/ollama.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct GenerateRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenerateResponse` is never constructed [INFO] [stdout] --> src/ollama.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct GenerateResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OllamaClient` is never constructed [INFO] [stdout] --> src/ollama.rs:240:12 [INFO] [stdout] | [INFO] [stdout] 240 | pub struct OllamaClient { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `check_availability`, and `generate` are never used [INFO] [stdout] --> src/ollama.rs:275:12 [INFO] [stdout] | [INFO] [stdout] 247 | impl OllamaClient { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 275 | pub fn new(config: ClientConfig) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | pub async fn check_availability(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 348 | pub async fn generate(&self, request: GenerateRequest) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LOOKING_GLASS` is never used [INFO] [stdout] --> src/ui.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | static LOOKING_GLASS: Emoji<'_, '_> = Emoji("🔍 ", ""); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SPARKLES` is never used [INFO] [stdout] --> src/ui.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | static SPARKLES: Emoji<'_, '_> = Emoji("✨ ", ""); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ROCKET` is never used [INFO] [stdout] --> src/ui.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | static ROCKET: Emoji<'_, '_> = Emoji("🚀 ", ""); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PACKAGE` is never used [INFO] [stdout] --> src/ui.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | static PACKAGE: Emoji<'_, '_> = Emoji("📦 ", ""); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `BOOKS` is never used [INFO] [stdout] --> src/ui.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | static BOOKS: Emoji<'_, '_> = Emoji("📚 ", ""); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CONSTRUCTION` is never used [INFO] [stdout] --> src/ui.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | static CONSTRUCTION: Emoji<'_, '_> = Emoji("🏗️ ", ""); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `FOLDER` is never used [INFO] [stdout] --> src/ui.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | static FOLDER: Emoji<'_, '_> = Emoji("📁 ", ""); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `TAG` is never used [INFO] [stdout] --> src/ui.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | static TAG: Emoji<'_, '_> = Emoji("🏷️ ", ""); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CHART` is never used [INFO] [stdout] --> src/ui.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | static CHART: Emoji<'_, '_> = Emoji("📊 ", ""); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `GEAR` is never used [INFO] [stdout] --> src/ui.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | static GEAR: Emoji<'_, '_> = Emoji("⚙️ ", ""); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CLOCK` is never used [INFO] [stdout] --> src/ui.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | static CLOCK: Emoji<'_, '_> = Emoji("🕒 ", ""); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_banner` is never used [INFO] [stdout] --> src/ui.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn print_banner() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_scan_progress` is never used [INFO] [stdout] --> src/ui.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn create_scan_progress() -> ProgressBar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_process_progress` is never used [INFO] [stdout] --> src/ui.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn create_process_progress(total: u64) -> ProgressBar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_section` is never used [INFO] [stdout] --> src/ui.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn print_section(emoji: &str, text: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_success` is never used [INFO] [stdout] --> src/ui.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn print_success(msg: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_info` is never used [INFO] [stdout] --> src/ui.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn print_info(msg: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_warning` is never used [INFO] [stdout] --> src/ui.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn print_warning(msg: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_error` is never used [INFO] [stdout] --> src/ui.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn print_error(msg: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_project_details` is never used [INFO] [stdout] --> src/ui.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn print_project_details( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_detailed_stats` is never used [INFO] [stdout] --> src/ui.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn print_detailed_stats( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_config_details` is never used [INFO] [stdout] --> src/ui.rs:199:8 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn print_config_details(projects_dir: &str, index_file: &str, enable_ollama: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.43s [INFO] running `Command { std: "docker" "inspect" "0ff947d5c25dece133afa0424cc31f87c9b80c7aeab3ed4b893228af6da0ec5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ff947d5c25dece133afa0424cc31f87c9b80c7aeab3ed4b893228af6da0ec5f", kill_on_drop: false }` [INFO] [stdout] 0ff947d5c25dece133afa0424cc31f87c9b80c7aeab3ed4b893228af6da0ec5f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 393a4c93d2d3b817b22e49322b54d21b6b13dc32e2c24fc400d46aaa2a70c6cc [INFO] running `Command { std: "docker" "start" "-a" "393a4c93d2d3b817b22e49322b54d21b6b13dc32e2c24fc400d46aaa2a70c6cc", kill_on_drop: false }` [INFO] [stderr] Compiling projets-indexer v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `projets_indexer::EmbeddingRequest`, `projets_indexer::GenerateOptions` [INFO] [stdout] --> examples/basic_usage.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use projets_indexer::{EmbeddingRequest, GenerateOptions, GenerateRequest, OllamaClient, Result}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | no `GenerateOptions` in the root [INFO] [stdout] | | help: a similar name exists in the module: `GenerateResponse` [INFO] [stdout] | no `EmbeddingRequest` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] projets_indexer::prelude::GenerateOptions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> examples/basic_usage.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_default` found for struct `OllamaClient` in the current scope [INFO] [stdout] --> examples/basic_usage.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | let client = OllamaClient::new_default()?; [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `OllamaClient` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `OllamaClient`, consider using `OllamaClient::new` which returns `Result` [INFO] [stdout] --> /opt/rustwide/workdir/src/ollama.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | pub fn new(config: ClientConfig) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `format` and `stream` in initializer of `GenerateRequest` [INFO] [stdout] --> examples/basic_usage.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | let generate_request = GenerateRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^ missing `format` and `stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::PathBuf; [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: `print_info` [INFO] [stdout] --> src/main.rs:18:40 [INFO] [stdout] | [INFO] [stdout] 18 | print_detailed_stats, print_error, print_info, print_project_details, print_section, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `projets-indexer` (example "basic_usage") due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `max_depth` [INFO] [stdout] --> src/main.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | max_depth, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `max_depth: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_depth` [INFO] [stdout] --> src/main.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | min_depth, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `min_depth: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exclude` [INFO] [stdout] --> src/main.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | exclude, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `exclude: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexerConfig` is never constructed [INFO] [stdout] --> src/config/indexer_config.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct IndexerConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/config/indexer_config.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl IndexerConfig { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn new(projects_dir: PathBuf, index_file: PathBuf, enable_ollama: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OllamaError` is never used [INFO] [stdout] --> src/error.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum OllamaError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/error.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProjectIndexer` is never constructed [INFO] [stdout] --> src/indexer/project_indexer.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct ProjectIndexer { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/indexer/project_indexer.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl ProjectIndexer { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn new(config: IndexerConfig) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub async fn index_projects(&self, mut progress_callback: F) -> Result> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | async fn process_project_directory(&self, path: &Path) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | async fn get_git_status(&self, path: &Path) -> ProjectStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | async fn generate_project_tags(&self, path: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | fn determine_project_category(&self, path: &Path) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 359 | async fn generate_tags_with_ollama( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ProjectStatus` is never used [INFO] [stdout] --> src/models/project.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum ProjectStatus { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Project` is never constructed [INFO] [stdout] --> src/models/project.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Project { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClientConfig` is never constructed [INFO] [stdout] --> src/ollama.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct ClientConfig { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenerateOptions` is never constructed [INFO] [stdout] --> src/ollama.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct GenerateOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenerateRequest` is never constructed [INFO] [stdout] --> src/ollama.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct GenerateRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenerateResponse` is never constructed [INFO] [stdout] --> src/ollama.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct GenerateResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OllamaClient` is never constructed [INFO] [stdout] --> src/ollama.rs:240:12 [INFO] [stdout] | [INFO] [stdout] 240 | pub struct OllamaClient { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `check_availability`, and `generate` are never used [INFO] [stdout] --> src/ollama.rs:275:12 [INFO] [stdout] | [INFO] [stdout] 247 | impl OllamaClient { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 275 | pub fn new(config: ClientConfig) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | pub async fn check_availability(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 348 | pub async fn generate(&self, request: GenerateRequest) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LOOKING_GLASS` is never used [INFO] [stdout] --> src/ui.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | static LOOKING_GLASS: Emoji<'_, '_> = Emoji("🔍 ", ""); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SPARKLES` is never used [INFO] [stdout] --> src/ui.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | static SPARKLES: Emoji<'_, '_> = Emoji("✨ ", ""); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ROCKET` is never used [INFO] [stdout] --> src/ui.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | static ROCKET: Emoji<'_, '_> = Emoji("🚀 ", ""); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PACKAGE` is never used [INFO] [stdout] --> src/ui.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | static PACKAGE: Emoji<'_, '_> = Emoji("📦 ", ""); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `BOOKS` is never used [INFO] [stdout] --> src/ui.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | static BOOKS: Emoji<'_, '_> = Emoji("📚 ", ""); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CONSTRUCTION` is never used [INFO] [stdout] --> src/ui.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | static CONSTRUCTION: Emoji<'_, '_> = Emoji("🏗️ ", ""); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `FOLDER` is never used [INFO] [stdout] --> src/ui.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | static FOLDER: Emoji<'_, '_> = Emoji("📁 ", ""); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `TAG` is never used [INFO] [stdout] --> src/ui.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | static TAG: Emoji<'_, '_> = Emoji("🏷️ ", ""); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CHART` is never used [INFO] [stdout] --> src/ui.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | static CHART: Emoji<'_, '_> = Emoji("📊 ", ""); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `GEAR` is never used [INFO] [stdout] --> src/ui.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | static GEAR: Emoji<'_, '_> = Emoji("⚙️ ", ""); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CLOCK` is never used [INFO] [stdout] --> src/ui.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | static CLOCK: Emoji<'_, '_> = Emoji("🕒 ", ""); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_banner` is never used [INFO] [stdout] --> src/ui.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn print_banner() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_scan_progress` is never used [INFO] [stdout] --> src/ui.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn create_scan_progress() -> ProgressBar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_process_progress` is never used [INFO] [stdout] --> src/ui.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn create_process_progress(total: u64) -> ProgressBar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_section` is never used [INFO] [stdout] --> src/ui.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn print_section(emoji: &str, text: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_success` is never used [INFO] [stdout] --> src/ui.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn print_success(msg: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_info` is never used [INFO] [stdout] --> src/ui.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn print_info(msg: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_warning` is never used [INFO] [stdout] --> src/ui.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn print_warning(msg: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_error` is never used [INFO] [stdout] --> src/ui.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn print_error(msg: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_project_details` is never used [INFO] [stdout] --> src/ui.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn print_project_details( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_detailed_stats` is never used [INFO] [stdout] --> src/ui.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn print_detailed_stats( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_config_details` is never used [INFO] [stdout] --> src/ui.rs:199:8 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn print_config_details(projects_dir: &str, index_file: &str, enable_ollama: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "393a4c93d2d3b817b22e49322b54d21b6b13dc32e2c24fc400d46aaa2a70c6cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "393a4c93d2d3b817b22e49322b54d21b6b13dc32e2c24fc400d46aaa2a70c6cc", kill_on_drop: false }` [INFO] [stdout] 393a4c93d2d3b817b22e49322b54d21b6b13dc32e2c24fc400d46aaa2a70c6cc