[INFO] cloning repository https://github.com/boy-be-ambitious/RustEmbedding [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/boy-be-ambitious/RustEmbedding" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboy-be-ambitious%2FRustEmbedding", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboy-be-ambitious%2FRustEmbedding'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2bde00b5b967dd28011141f2360c1b03968702e9 [INFO] testing boy-be-ambitious/RustEmbedding against master#562dee4820c458d823175268e41601d4c060588a for pr-154210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboy-be-ambitious%2FRustEmbedding" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/boy-be-ambitious/RustEmbedding [INFO] finished tweaking git repo https://github.com/boy-be-ambitious/RustEmbedding [INFO] tweaked toml for git repo https://github.com/boy-be-ambitious/RustEmbedding written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/boy-be-ambitious/RustEmbedding on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/boy-be-ambitious/RustEmbedding 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded env_logger v0.11.9 [INFO] [stderr] Downloaded libloading v0.9.0 [INFO] [stderr] Downloaded env_filter v1.0.0 [INFO] [stderr] Downloaded portable-atomic-util v0.2.6 [INFO] [stderr] Downloaded ort-sys v2.0.0-rc.12 [INFO] [stderr] Downloaded jiff-static v0.2.23 [INFO] [stderr] Downloaded ntapi v0.4.3 [INFO] [stderr] Downloaded ort v2.0.0-rc.12 [INFO] [stderr] Downloaded sysinfo v0.33.1 [INFO] [stderr] Downloaded tokenizers v0.21.4 [INFO] [stderr] Downloaded sqlite-vec v0.1.8-alpha.1 [INFO] [stderr] Downloaded jiff v0.2.23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7abbfafc10c472b6bb482f6fab3f38a61a4b4d58bd72a3e12e5d421a6cc47b5 [INFO] running `Command { std: "docker" "start" "-a" "c7abbfafc10c472b6bb482f6fab3f38a61a4b4d58bd72a3e12e5d421a6cc47b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7abbfafc10c472b6bb482f6fab3f38a61a4b4d58bd72a3e12e5d421a6cc47b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7abbfafc10c472b6bb482f6fab3f38a61a4b4d58bd72a3e12e5d421a6cc47b5", kill_on_drop: false }` [INFO] [stdout] c7abbfafc10c472b6bb482f6fab3f38a61a4b4d58bd72a3e12e5d421a6cc47b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 019e4cb22c56838d5e8b57553a8d462321d643fe617db90dbf36f7ca0f627cf6 [INFO] running `Command { std: "docker" "start" "-a" "019e4cb22c56838d5e8b57553a8d462321d643fe617db90dbf36f7ca0f627cf6", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.47 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling cc v1.2.57 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling anstyle v1.0.14 [INFO] [stderr] Compiling colorchoice v1.0.5 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling anstyle-parse v1.0.0 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling esaxx-rs v0.1.10 [INFO] [stderr] Compiling ort-sys v2.0.0-rc.12 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling anstream v1.0.0 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.2.2 [INFO] [stderr] Compiling clap_lex v1.1.0 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling clap_builder v4.6.0 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling macro_rules_attribute v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling unicode-normalization-alignments v0.1.12 [INFO] [stderr] Compiling libloading v0.9.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling jiff v0.2.23 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling onig_sys v69.9.1 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling sqlite-vec v0.1.8-alpha.1 [INFO] [stderr] Compiling ndarray v0.17.2 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling rayon-cond v0.4.0 [INFO] [stderr] Compiling sysinfo v0.33.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling monostate-impl v0.1.18 [INFO] [stderr] Compiling clap_derive v4.6.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling monostate v0.1.18 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling env_filter v1.0.0 [INFO] [stderr] Compiling clap v4.6.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling onig v6.5.1 [INFO] [stderr] Compiling ort v2.0.0-rc.12 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling env_logger v0.11.9 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling dary_heap v0.3.8 [INFO] [stderr] Compiling compact_str v0.9.0 [INFO] [stderr] Compiling spm_precompiled v0.1.4 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling tokenizers v0.21.4 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling rusqlite v0.32.1 [INFO] [stderr] Compiling rust-embedding v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `file` is never read [INFO] [stdout] --> src/chunker.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Chunk { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 20 | /// Path to the source file (relative to the repo root). [INFO] [stdout] 21 | pub file: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Chunk` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chunk_repo` is never used [INFO] [stdout] --> src/chunker.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn chunk_repo(repo_root: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Entry` is never constructed [INFO] [stdout] --> src/index.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Entry { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Index` is never constructed [INFO] [stdout] --> src/index.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Index { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SearchResult` is never constructed [INFO] [stdout] --> src/index.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct SearchResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/index.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Index { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 45 | /// Create an empty index with a known vector dimension. [INFO] [stdout] 46 | pub fn new(dim: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn add(&mut self, entry: Entry) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn save(&self, path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn load(path: &Path) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn search(&self, query_vec: &[f32], top_k: usize) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dot` is never used [INFO] [stdout] --> src/index.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn dot(a: &[f32], b: &[f32]) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dim` is never read [INFO] [stdout] --> src/store.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Store { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 69 | conn: Connection, [INFO] [stdout] 70 | pub dim: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `transaction` is never used [INFO] [stdout] --> src/store.rs:259:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl Store { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 259 | pub fn transaction(&mut self, f: F) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Encoding` is never constructed [INFO] [stdout] --> src/tokenizer.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Encoding { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `token_count` is never used [INFO] [stdout] --> src/tokenizer.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl EtsTokenizer { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn token_count(&self, text: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.93s [INFO] running `Command { std: "docker" "inspect" "019e4cb22c56838d5e8b57553a8d462321d643fe617db90dbf36f7ca0f627cf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "019e4cb22c56838d5e8b57553a8d462321d643fe617db90dbf36f7ca0f627cf6", kill_on_drop: false }` [INFO] [stdout] 019e4cb22c56838d5e8b57553a8d462321d643fe617db90dbf36f7ca0f627cf6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4dff6e073008c215284f30164fc3932fff22d32923f432f745e00e264c32a43 [INFO] running `Command { std: "docker" "start" "-a" "b4dff6e073008c215284f30164fc3932fff22d32923f432f745e00e264c32a43", kill_on_drop: false }` [INFO] [stderr] Compiling rust-embedding v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `file` is never read [INFO] [stdout] --> src/chunker.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Chunk { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 20 | /// Path to the source file (relative to the repo root). [INFO] [stdout] 21 | pub file: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Chunk` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chunk_repo` is never used [INFO] [stdout] --> src/chunker.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn chunk_repo(repo_root: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `is_empty`, `save`, and `load` are never used [INFO] [stdout] --> src/index.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Index { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn save(&self, path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn load(path: &Path) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dim` is never read [INFO] [stdout] --> src/store.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Store { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 69 | conn: Connection, [INFO] [stdout] 70 | pub dim: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `transaction` is never used [INFO] [stdout] --> src/store.rs:259:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl Store { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 259 | pub fn transaction(&mut self, f: F) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Encoding` is never constructed [INFO] [stdout] --> src/tokenizer.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Encoding { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `token_count` is never used [INFO] [stdout] --> src/tokenizer.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl EtsTokenizer { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn token_count(&self, text: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.10s [INFO] running `Command { std: "docker" "inspect" "b4dff6e073008c215284f30164fc3932fff22d32923f432f745e00e264c32a43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4dff6e073008c215284f30164fc3932fff22d32923f432f745e00e264c32a43", kill_on_drop: false }` [INFO] [stdout] b4dff6e073008c215284f30164fc3932fff22d32923f432f745e00e264c32a43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b28a7b00369161cf7b33fa71b968b21fba21886d1c817dde0abf4222e5aa7a98 [INFO] running `Command { std: "docker" "start" "-a" "b28a7b00369161cf7b33fa71b968b21fba21886d1c817dde0abf4222e5aa7a98", kill_on_drop: false }` [INFO] [stderr] warning: field `file` is never read [INFO] [stderr] --> src/chunker.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct Chunk { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 20 | /// Path to the source file (relative to the repo root). [INFO] [stderr] 21 | pub file: PathBuf, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Chunk` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `chunk_repo` is never used [INFO] [stderr] --> src/chunker.rs:32:8 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn chunk_repo(repo_root: &Path) -> Result> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `is_empty`, `save`, and `load` are never used [INFO] [stderr] --> src/index.rs:63:12 [INFO] [stderr] | [INFO] [stderr] 44 | impl Index { [INFO] [stderr] | ---------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 63 | pub fn is_empty(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 68 | pub fn save(&self, path: &Path) -> Result<()> { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 76 | pub fn load(path: &Path) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `dim` is never read [INFO] [stderr] --> src/store.rs:70:9 [INFO] [stderr] | [INFO] [stderr] 68 | pub struct Store { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 69 | conn: Connection, [INFO] [stderr] 70 | pub dim: usize, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: method `transaction` is never used [INFO] [stderr] --> src/store.rs:259:12 [INFO] [stderr] | [INFO] [stderr] 73 | impl Store { [INFO] [stderr] | ---------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 259 | pub fn transaction(&mut self, f: F) -> Result<()> [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Encoding` is never constructed [INFO] [stderr] --> src/tokenizer.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct Encoding { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `token_count` is never used [INFO] [stderr] --> src/tokenizer.rs:78:12 [INFO] [stderr] | [INFO] [stderr] 23 | impl EtsTokenizer { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 78 | pub fn token_count(&self, text: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rust-embedding` (bin "rust-embedding" test) generated 7 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_embedding-94110723e8202653) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test index::tests::test_top_k_clamps ... ok [INFO] [stdout] test index::tests::test_ranking_order ... ok [INFO] [stdout] test chunker::tests::test_empty_file ... ok [INFO] [stdout] test chunker::tests::test_line_numbers ... ok [INFO] [stdout] test index::tests::test_bincode_roundtrip ... ok [INFO] [stdout] test chunker::tests::test_decorator_included_in_chunk ... ok [INFO] [stdout] test store::tests::test_insert_and_search ... ok [INFO] [stdout] test store::tests::test_delete_file ... ok [INFO] [stdout] test chunker::tests::test_no_boundaries ... ok [INFO] [stdout] test chunker::tests::test_chunk_count ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b28a7b00369161cf7b33fa71b968b21fba21886d1c817dde0abf4222e5aa7a98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b28a7b00369161cf7b33fa71b968b21fba21886d1c817dde0abf4222e5aa7a98", kill_on_drop: false }` [INFO] [stdout] b28a7b00369161cf7b33fa71b968b21fba21886d1c817dde0abf4222e5aa7a98