[INFO] fetching crate lethe-core-rust 0.1.1... [INFO] testing lethe-core-rust-0.1.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate lethe-core-rust 0.1.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate lethe-core-rust 0.1.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate lethe-core-rust 0.1.1 [INFO] tweaked toml for crates.io crate lethe-core-rust 0.1.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lethe-core-rust 0.1.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate lethe-core-rust 0.1.1 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b82e67b300345194123a58ae866a588ff6f17e7e1e98e354cd8f937ebd072cee [INFO] running `Command { std: "docker" "start" "-a" "b82e67b300345194123a58ae866a588ff6f17e7e1e98e354cd8f937ebd072cee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b82e67b300345194123a58ae866a588ff6f17e7e1e98e354cd8f937ebd072cee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b82e67b300345194123a58ae866a588ff6f17e7e1e98e354cd8f937ebd072cee", kill_on_drop: false }` [INFO] [stdout] b82e67b300345194123a58ae866a588ff6f17e7e1e98e354cd8f937ebd072cee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad315bd22473baff806563c609f5e80320f4d4672cd52cd61ec8c15822e2b5ce [INFO] running `Command { std: "docker" "start" "-a" "ad315bd22473baff806563c609f5e80320f4d4672cd52cd61ec8c15822e2b5ce", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling if_chain v1.0.3 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling validator_types v0.16.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.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling validator_derive v0.16.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling validator v0.16.1 [INFO] [stderr] Compiling lethe-core-rust v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ the name `QueryUnderstanding` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 84 | pub use query_understanding::*; [INFO] [stdout] | ---------------------- but the name `QueryUnderstanding` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ the name `EnhancedQueryResult` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 86 | pub use pipeline::*; [INFO] [stdout] | ----------- but the name `EnhancedQueryResult` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ the name `EnhancedQueryOptions` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 86 | pub use pipeline::*; [INFO] [stdout] | ----------- but the name `EnhancedQueryOptions` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub use config::*; [INFO] [stdout] | ^^^^^^^^^ the name `ChunkingConfig` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 80 | pub use chunker::*; [INFO] [stdout] | ---------- but the name `ChunkingConfig` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub use utils::*; [INFO] [stdout] | ^^^^^^^^ the name `QueryFeatures` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 84 | pub use query_understanding::*; [INFO] [stdout] | ---------------------- but the name `QueryFeatures` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_url` [INFO] [stdout] --> src/embeddings.rs:205:41 [INFO] [stdout] | [INFO] [stdout] 205 | EmbeddingProvider::Ollama { base_url, model } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `base_url: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/embeddings.rs:205:51 [INFO] [stdout] | [INFO] [stdout] 205 | EmbeddingProvider::Ollama { base_url, model } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `model: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `whitespace_tokens` is never read [INFO] [stdout] --> src/utils.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | let mut whitespace_tokens = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `QUERY_TYPE_PATTERNS` is never used [INFO] [stdout] --> src/query_understanding.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | static QUERY_TYPE_PATTERNS: &[(QueryType, &[&str])] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `QUERY_INTENT_PATTERNS` is never used [INFO] [stdout] --> src/query_understanding.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | static QUERY_INTENT_PATTERNS: &[(QueryIntent, &[&str])] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueryComplexityMetrics` is never constructed [INFO] [stdout] --> src/query_understanding.rs:187:8 [INFO] [stdout] | [INFO] [stdout] 187 | struct QueryComplexityMetrics { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `analyze` is never used [INFO] [stdout] --> src/query_understanding.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 194 | impl QueryComplexityMetrics { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 195 | fn analyze(query: &str) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.61s [INFO] running `Command { std: "docker" "inspect" "ad315bd22473baff806563c609f5e80320f4d4672cd52cd61ec8c15822e2b5ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad315bd22473baff806563c609f5e80320f4d4672cd52cd61ec8c15822e2b5ce", kill_on_drop: false }` [INFO] [stdout] ad315bd22473baff806563c609f5e80320f4d4672cd52cd61ec8c15822e2b5ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96f6137c75d6d4ec8b5072a61da679598befcbd0f63a7f6511e5649931518f30 [INFO] running `Command { std: "docker" "start" "-a" "96f6137c75d6d4ec8b5072a61da679598befcbd0f63a7f6511e5649931518f30", kill_on_drop: false }` [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling lethe-core-rust v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ the name `QueryUnderstanding` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 84 | pub use query_understanding::*; [INFO] [stdout] | ---------------------- but the name `QueryUnderstanding` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ the name `EnhancedQueryResult` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 86 | pub use pipeline::*; [INFO] [stdout] | ----------- but the name `EnhancedQueryResult` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ the name `EnhancedQueryOptions` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 86 | pub use pipeline::*; [INFO] [stdout] | ----------- but the name `EnhancedQueryOptions` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub use config::*; [INFO] [stdout] | ^^^^^^^^^ the name `ChunkingConfig` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 80 | pub use chunker::*; [INFO] [stdout] | ---------- but the name `ChunkingConfig` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub use utils::*; [INFO] [stdout] | ^^^^^^^^ the name `QueryFeatures` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 84 | pub use query_understanding::*; [INFO] [stdout] | ---------------------- but the name `QueryFeatures` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_url` [INFO] [stdout] --> src/embeddings.rs:205:41 [INFO] [stdout] | [INFO] [stdout] 205 | EmbeddingProvider::Ollama { base_url, model } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `base_url: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/embeddings.rs:205:51 [INFO] [stdout] | [INFO] [stdout] 205 | EmbeddingProvider::Ollama { base_url, model } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `model: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `whitespace_tokens` is never read [INFO] [stdout] --> src/utils.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | let mut whitespace_tokens = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `proptest` [INFO] [stdout] --> src/config.rs:1043:9 [INFO] [stdout] | [INFO] [stdout] 1043 | use proptest::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `proptest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `proptest`, use `cargo add proptest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lethe_shared` [INFO] [stdout] --> src/retrieval.rs:478:9 [INFO] [stdout] | [INFO] [stdout] 478 | use lethe_shared::Chunk; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `lethe_shared` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lethe_shared`, use `cargo add lethe_shared` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tempfile` [INFO] [stdout] --> src/config.rs:1041:9 [INFO] [stdout] | [INFO] [stdout] 1041 | use tempfile::NamedTempFile; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `tempfile` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tempfile`, use `cargo add tempfile` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `approx` [INFO] [stdout] --> src/config.rs:1044:9 [INFO] [stdout] | [INFO] [stdout] 1044 | use approx::assert_relative_eq; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `approx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `approx`, use `cargo add approx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proptest` in this scope [INFO] [stdout] --> src/config.rs:1789:5 [INFO] [stdout] | [INFO] [stdout] 1789 | proptest! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> src/error.rs:296:23 [INFO] [stdout] | [INFO] [stdout] 296 | let req_err = reqwest::Client::new() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> src/error.rs:483:30 [INFO] [stdout] | [INFO] [stdout] 483 | LetheError::Http(reqwest::Client::new().get("invalid-url").build().unwrap_err()), [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ValidationError` and `ValidationErrors` [INFO] [stdout] --> src/error.rs:426:35 [INFO] [stdout] | [INFO] [stdout] 426 | use validator::{Validate, ValidationErrors, ValidationError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ the name `QueryUnderstanding` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 84 | pub use query_understanding::*; [INFO] [stdout] | ---------------------- but the name `QueryUnderstanding` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ the name `EnhancedQueryResult` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 86 | pub use pipeline::*; [INFO] [stdout] | ----------- but the name `EnhancedQueryResult` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ the name `EnhancedQueryOptions` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 86 | pub use pipeline::*; [INFO] [stdout] | ----------- but the name `EnhancedQueryOptions` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub use config::*; [INFO] [stdout] | ^^^^^^^^^ the name `ChunkingConfig` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 80 | pub use chunker::*; [INFO] [stdout] | ---------- but the name `ChunkingConfig` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `ChunkingConfig` is ambiguous [INFO] [stdout] --> src/lib.rs:315:32 [INFO] [stdout] | [INFO] [stdout] 315 | let _chunking_config = ChunkingConfig::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `ChunkingConfig` could refer to the struct imported here [INFO] [stdout] --> src/lib.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub use config::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `ChunkingConfig` to disambiguate [INFO] [stdout] note: `ChunkingConfig` could also refer to the struct imported here [INFO] [stdout] --> src/lib.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub use chunker::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `ChunkingConfig` to disambiguate [INFO] [stdout] = note: `#[deny(ambiguous_glob_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub use utils::*; [INFO] [stdout] | ^^^^^^^^ the name `QueryFeatures` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 84 | pub use query_understanding::*; [INFO] [stdout] | ---------------------- but the name `QueryFeatures` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `QUERY_TYPE_PATTERNS` is never used [INFO] [stdout] --> src/query_understanding.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | static QUERY_TYPE_PATTERNS: &[(QueryType, &[&str])] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `QUERY_INTENT_PATTERNS` is never used [INFO] [stdout] --> src/query_understanding.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | static QUERY_INTENT_PATTERNS: &[(QueryIntent, &[&str])] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueryComplexityMetrics` is never constructed [INFO] [stdout] --> src/query_understanding.rs:187:8 [INFO] [stdout] | [INFO] [stdout] 187 | struct QueryComplexityMetrics { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `analyze` is never used [INFO] [stdout] --> src/query_understanding.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 194 | impl QueryComplexityMetrics { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 195 | fn analyze(query: &str) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_url` [INFO] [stdout] --> src/embeddings.rs:205:41 [INFO] [stdout] | [INFO] [stdout] 205 | EmbeddingProvider::Ollama { base_url, model } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `base_url: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/embeddings.rs:205:51 [INFO] [stdout] | [INFO] [stdout] 205 | EmbeddingProvider::Ollama { base_url, model } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `model: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Http` found for enum `error::LetheError` in the current scope [INFO] [stdout] --> src/error.rs:302:49 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum LetheError { [INFO] [stdout] | ------------------- variant or associated item `Http` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 302 | assert!(matches!(lethe_err, LetheError::Http(_))); [INFO] [stdout] | ^^^^ variant or associated item not found in `error::LetheError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Http` found for enum `error::LetheError` in the current scope [INFO] [stdout] --> src/error.rs:483:25 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum LetheError { [INFO] [stdout] | ------------------- variant or associated item `Http` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 483 | LetheError::Http(reqwest::Client::new().get("invalid-url").build().unwrap_err()), [INFO] [stdout] | ^^^^ variant or associated item not found in `error::LetheError` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::LetheError` consider using one of the following associated functions: [INFO] [stdout] error::LetheError::database [INFO] [stdout] error::LetheError::embedding [INFO] [stdout] error::LetheError::config [INFO] [stdout] error::LetheError::validation [INFO] [stdout] and 6 others [INFO] [stdout] --> src/error.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn database(message: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn embedding(message: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn config(message: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn validation(field: impl Into, reason: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `lethe_domain` [INFO] [stdout] --> tests/hero_parity_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use lethe_domain::retrieval::{HybridRetrievalConfig, HybridRetrievalService}; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `lethe_domain` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lethe_domain`, use `cargo add lethe_domain` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `lethe_domain` [INFO] [stdout] --> tests/hero_parity_test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use lethe_domain::embeddings::FallbackEmbeddingService; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `lethe_domain` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lethe_domain`, use `cargo add lethe_domain` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lethe-core-rust` (test "hero_parity_test") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `lethe_domain` [INFO] [stdout] --> tests/actual_parity_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use lethe_domain::retrieval::{HybridRetrievalConfig, HybridRetrievalService, DocumentRepository, Bm25SearchService}; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `lethe_domain` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lethe_domain`, use `cargo add lethe_domain` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `lethe_domain` [INFO] [stdout] --> tests/actual_parity_test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use lethe_domain::embeddings::FallbackEmbeddingService; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `lethe_domain` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lethe_domain`, use `cargo add lethe_domain` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lethe_shared` [INFO] [stdout] --> tests/actual_parity_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use lethe_shared::{Candidate, Chunk, DfIdf, EmbeddingVector, Result}; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `lethe_shared` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lethe_shared`, use `cargo add lethe_shared` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lethe-core-rust` (test "actual_parity_test") due to 3 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OllamaEmbeddingService` [INFO] [stdout] --> src/embeddings.rs:478:23 [INFO] [stdout] | [INFO] [stdout] 478 | let service = OllamaEmbeddingService::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `OllamaEmbeddingService` [INFO] [stdout] | help: a struct with a similar name exists: `FallbackEmbeddingService` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/embeddings.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 60 | #[cfg(feature = "ollama")] [INFO] [stdout] | ------------------ the item is gated behind the `ollama` feature [INFO] [stdout] 61 | pub struct OllamaEmbeddingService { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OllamaEmbeddingService` [INFO] [stdout] --> src/embeddings.rs:492:23 [INFO] [stdout] | [INFO] [stdout] 492 | let service = OllamaEmbeddingService::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `OllamaEmbeddingService` [INFO] [stdout] | help: a struct with a similar name exists: `FallbackEmbeddingService` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/embeddings.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 60 | #[cfg(feature = "ollama")] [INFO] [stdout] | ------------------ the item is gated behind the `ollama` feature [INFO] [stdout] 61 | pub struct OllamaEmbeddingService { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OllamaEmbeddingService` [INFO] [stdout] --> src/embeddings.rs:509:23 [INFO] [stdout] | [INFO] [stdout] 509 | let service = OllamaEmbeddingService::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `OllamaEmbeddingService` [INFO] [stdout] | help: a struct with a similar name exists: `FallbackEmbeddingService` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/embeddings.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 60 | #[cfg(feature = "ollama")] [INFO] [stdout] | ------------------ the item is gated behind the `ollama` feature [INFO] [stdout] 61 | pub struct OllamaEmbeddingService { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OllamaEmbeddingService` [INFO] [stdout] --> src/embeddings.rs:521:23 [INFO] [stdout] | [INFO] [stdout] 521 | let service = OllamaEmbeddingService::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `OllamaEmbeddingService` [INFO] [stdout] | help: a struct with a similar name exists: `FallbackEmbeddingService` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/embeddings.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 60 | #[cfg(feature = "ollama")] [INFO] [stdout] | ------------------ the item is gated behind the `ollama` feature [INFO] [stdout] 61 | pub struct OllamaEmbeddingService { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OllamaEmbeddingService` [INFO] [stdout] --> src/embeddings.rs:537:23 [INFO] [stdout] | [INFO] [stdout] 537 | let service = OllamaEmbeddingService::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `OllamaEmbeddingService` [INFO] [stdout] | help: a struct with a similar name exists: `FallbackEmbeddingService` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/embeddings.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 60 | #[cfg(feature = "ollama")] [INFO] [stdout] | ------------------ the item is gated behind the `ollama` feature [INFO] [stdout] 61 | pub struct OllamaEmbeddingService { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OllamaEmbeddingService` [INFO] [stdout] --> src/embeddings.rs:556:23 [INFO] [stdout] | [INFO] [stdout] 556 | let service = OllamaEmbeddingService::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `OllamaEmbeddingService` [INFO] [stdout] | help: a struct with a similar name exists: `FallbackEmbeddingService` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/embeddings.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 60 | #[cfg(feature = "ollama")] [INFO] [stdout] | ------------------ the item is gated behind the `ollama` feature [INFO] [stdout] 61 | pub struct OllamaEmbeddingService { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `whitespace_tokens` is never read [INFO] [stdout] --> src/utils.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | let mut whitespace_tokens = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/retrieval.rs:773:13 [INFO] [stdout] | [INFO] [stdout] 773 | let mut service = Bm25SearchService; [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: `k` [INFO] [stdout] --> src/pipeline.rs:562:72 [INFO] [stdout] | [INFO] [stdout] 562 | async fn vector_search(&self, _query_vector: &EmbeddingVector, k: i32) -> Result> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lethe-core-rust` (lib test) due to 17 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "96f6137c75d6d4ec8b5072a61da679598befcbd0f63a7f6511e5649931518f30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96f6137c75d6d4ec8b5072a61da679598befcbd0f63a7f6511e5649931518f30", kill_on_drop: false }` [INFO] [stdout] 96f6137c75d6d4ec8b5072a61da679598befcbd0f63a7f6511e5649931518f30