[INFO] cloning repository https://github.com/nazihkhelifa/LLM-vindex-inference [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nazihkhelifa/LLM-vindex-inference" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnazihkhelifa%2FLLM-vindex-inference", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnazihkhelifa%2FLLM-vindex-inference'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 55db39a69dcb8ab1ec833e1055fa2a0dac6b9799 [INFO] testing nazihkhelifa/LLM-vindex-inference against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnazihkhelifa%2FLLM-vindex-inference" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nazihkhelifa/LLM-vindex-inference [INFO] finished tweaking git repo https://github.com/nazihkhelifa/LLM-vindex-inference [INFO] tweaked toml for git repo https://github.com/nazihkhelifa/LLM-vindex-inference written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nazihkhelifa/LLM-vindex-inference on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nazihkhelifa/LLM-vindex-inference 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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 763d5ed8b59e949a711607decc69def99342f65301d1a259ba7231c4e755c8c2 [INFO] running `Command { std: "docker" "start" "-a" "763d5ed8b59e949a711607decc69def99342f65301d1a259ba7231c4e755c8c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "763d5ed8b59e949a711607decc69def99342f65301d1a259ba7231c4e755c8c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "763d5ed8b59e949a711607decc69def99342f65301d1a259ba7231c4e755c8c2", kill_on_drop: false }` [INFO] [stdout] 763d5ed8b59e949a711607decc69def99342f65301d1a259ba7231c4e755c8c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fee4285185fc5ac8aa42468001cf1f17049f4f5850f721c1507ff5808939520 [INFO] running `Command { std: "docker" "start" "-a" "8fee4285185fc5ac8aa42468001cf1f17049f4f5850f721c1507ff5808939520", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling esaxx-rs v0.1.10 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.2.2 [INFO] [stderr] Compiling jiff v0.2.24 [INFO] [stderr] Compiling clap_builder v4.6.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling unicode-normalization-alignments v0.1.12 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling macro_rules_attribute v0.2.2 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rayon v1.12.0 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling rayon-cond v0.4.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling zerocopy-derive v0.8.48 [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.1 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling monostate v0.1.18 [INFO] [stderr] Compiling bytemuck v1.25.0 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling clap v4.6.1 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling fancy-regex v0.14.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling env_filter v1.0.1 [INFO] [stderr] Compiling env_logger v0.11.10 [INFO] [stderr] Compiling spm_precompiled v0.1.4 [INFO] [stderr] Compiling dary_heap v0.3.9 [INFO] [stderr] Compiling compact_str v0.9.0 [INFO] [stderr] Compiling safetensors v0.4.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.9.4 [INFO] [stderr] Compiling rand v0.8.6 [INFO] [stderr] Compiling tokenizers v0.21.4 [INFO] [stderr] Compiling vindex-infer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/vindex.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct VindexConfig { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 10 | pub version: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | pub model: String, [INFO] [stdout] 12 | pub family: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub extract_level: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub dtype: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | pub layer_bands: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 21 | pub layers: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | pub down_top_k: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VindexConfig` 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: fields `syntax`, `knowledge`, and `output` are never read [INFO] [stdout] --> src/vindex.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct LayerBands { pub syntax: [usize; 2], pub knowledge: [usize; 2], pub output: [usize; 2] } [INFO] [stdout] | ---------- ^^^^^^ ^^^^^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = note: `LayerBands` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `layer`, `num_features`, `offset`, and `length` are never read [INFO] [stdout] --> src/vindex.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct LayerInfo { pub layer: usize, pub num_features: usize, pub offset: usize, pub length: usize } [INFO] [stdout] | --------- ^^^^^ ^^^^^^^^^^^^ ^^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = note: `LayerInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `model_type`, `rope_base`, and `sliding_window` are never read [INFO] [stdout] --> src/vindex.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct ModelConfig { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 32 | pub model_type: Option, pub head_dim: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 33 | pub num_q_heads: Option, pub num_kv_heads: Option, [INFO] [stdout] 34 | pub rope_base: Option, pub sliding_window: Option, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModelConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `load`, `gate_layer`, `gate_raw`, `up_raw`, `down_raw`, and `embed_raw` are never used [INFO] [stdout] --> src/vindex.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Vindex { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 45 | pub fn load(path: &Path) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn gate_layer(&self, layer: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn gate_raw(&self) -> &[u8] { &self.gate_mmap } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 158 | pub fn up_raw(&self) -> Option<&[u8]> { self.up_mmap.as_deref() } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 159 | pub fn down_raw(&self) -> Option<&[u8]> { self.down_mmap.as_deref() } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 160 | pub fn attn_raw(&self) -> Option<&[u8]> { self.attn_mmap.as_deref() } [INFO] [stdout] 161 | pub fn embed_raw(&self) -> &[u8] { &self.embed_mmap } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.21s [INFO] running `Command { std: "docker" "inspect" "8fee4285185fc5ac8aa42468001cf1f17049f4f5850f721c1507ff5808939520", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fee4285185fc5ac8aa42468001cf1f17049f4f5850f721c1507ff5808939520", kill_on_drop: false }` [INFO] [stdout] 8fee4285185fc5ac8aa42468001cf1f17049f4f5850f721c1507ff5808939520 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6bd1e6b9f08a31736d0af1e9fa10d5da396af879e0b1cbfddcbff286c9e9b4a [INFO] running `Command { std: "docker" "start" "-a" "d6bd1e6b9f08a31736d0af1e9fa10d5da396af879e0b1cbfddcbff286c9e9b4a", kill_on_drop: false }` [INFO] [stderr] Compiling vindex-infer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/vindex.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct VindexConfig { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 10 | pub version: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | pub model: String, [INFO] [stdout] 12 | pub family: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub extract_level: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub dtype: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | pub layer_bands: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 21 | pub layers: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | pub down_top_k: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VindexConfig` 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: fields `syntax`, `knowledge`, and `output` are never read [INFO] [stdout] --> src/vindex.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct LayerBands { pub syntax: [usize; 2], pub knowledge: [usize; 2], pub output: [usize; 2] } [INFO] [stdout] | ---------- ^^^^^^ ^^^^^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = note: `LayerBands` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `layer`, `num_features`, `offset`, and `length` are never read [INFO] [stdout] --> src/vindex.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct LayerInfo { pub layer: usize, pub num_features: usize, pub offset: usize, pub length: usize } [INFO] [stdout] | --------- ^^^^^ ^^^^^^^^^^^^ ^^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = note: `LayerInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `model_type`, `rope_base`, and `sliding_window` are never read [INFO] [stdout] --> src/vindex.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct ModelConfig { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 32 | pub model_type: Option, pub head_dim: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 33 | pub num_q_heads: Option, pub num_kv_heads: Option, [INFO] [stdout] 34 | pub rope_base: Option, pub sliding_window: Option, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModelConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `load`, `gate_layer`, `gate_raw`, `up_raw`, `down_raw`, and `embed_raw` are never used [INFO] [stdout] --> src/vindex.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Vindex { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 45 | pub fn load(path: &Path) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn gate_layer(&self, layer: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn gate_raw(&self) -> &[u8] { &self.gate_mmap } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 158 | pub fn up_raw(&self) -> Option<&[u8]> { self.up_mmap.as_deref() } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 159 | pub fn down_raw(&self) -> Option<&[u8]> { self.down_mmap.as_deref() } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 160 | pub fn attn_raw(&self) -> Option<&[u8]> { self.attn_mmap.as_deref() } [INFO] [stdout] 161 | pub fn embed_raw(&self) -> &[u8] { &self.embed_mmap } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.56s [INFO] running `Command { std: "docker" "inspect" "d6bd1e6b9f08a31736d0af1e9fa10d5da396af879e0b1cbfddcbff286c9e9b4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6bd1e6b9f08a31736d0af1e9fa10d5da396af879e0b1cbfddcbff286c9e9b4a", kill_on_drop: false }` [INFO] [stdout] d6bd1e6b9f08a31736d0af1e9fa10d5da396af879e0b1cbfddcbff286c9e9b4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ebb7303559f7b923834a4214580c117f152e68f1051c38ca63ae63328ed940f5 [INFO] running `Command { std: "docker" "start" "-a" "ebb7303559f7b923834a4214580c117f152e68f1051c38ca63ae63328ed940f5", kill_on_drop: false }` [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/vindex.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct VindexConfig { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 10 | pub version: u32, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 11 | pub model: String, [INFO] [stderr] 12 | pub family: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 18 | pub extract_level: String, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 19 | pub dtype: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 20 | pub layer_bands: Option, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 21 | pub layers: Vec, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 22 | pub down_top_k: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `VindexConfig` 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: fields `syntax`, `knowledge`, and `output` are never read [INFO] [stderr] --> src/vindex.rs:27:29 [INFO] [stderr] | [INFO] [stderr] 27 | pub struct LayerBands { pub syntax: [usize; 2], pub knowledge: [usize; 2], pub output: [usize; 2] } [INFO] [stderr] | ---------- ^^^^^^ ^^^^^^^^^ ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this struct [INFO] [stderr] | [INFO] [stderr] = note: `LayerBands` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `layer`, `num_features`, `offset`, and `length` are never read [INFO] [stderr] --> src/vindex.rs:29:28 [INFO] [stderr] | [INFO] [stderr] 29 | pub struct LayerInfo { pub layer: usize, pub num_features: usize, pub offset: usize, pub length: usize } [INFO] [stderr] | --------- ^^^^^ ^^^^^^^^^^^^ ^^^^^^ ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this struct [INFO] [stderr] | [INFO] [stderr] = note: `LayerInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `model_type`, `rope_base`, and `sliding_window` are never read [INFO] [stderr] --> src/vindex.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 31 | pub struct ModelConfig { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 32 | pub model_type: Option, pub head_dim: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 33 | pub num_q_heads: Option, pub num_kv_heads: Option, [INFO] [stderr] 34 | pub rope_base: Option, pub sliding_window: Option, [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ModelConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `load`, `gate_layer`, `gate_raw`, `up_raw`, `down_raw`, and `embed_raw` are never used [INFO] [stderr] --> src/vindex.rs:45:12 [INFO] [stderr] | [INFO] [stderr] 44 | impl Vindex { [INFO] [stderr] | ----------- associated items in this implementation [INFO] [stderr] 45 | pub fn load(path: &Path) -> Result> { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 84 | pub fn gate_layer(&self, layer: usize) -> Vec { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 157 | pub fn gate_raw(&self) -> &[u8] { &self.gate_mmap } [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 158 | pub fn up_raw(&self) -> Option<&[u8]> { self.up_mmap.as_deref() } [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 159 | pub fn down_raw(&self) -> Option<&[u8]> { self.down_mmap.as_deref() } [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 160 | pub fn attn_raw(&self) -> Option<&[u8]> { self.attn_mmap.as_deref() } [INFO] [stderr] 161 | pub fn embed_raw(&self) -> &[u8] { &self.embed_mmap } [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `vindex-infer` (bin "vindex-infer" test) generated 5 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/vindex_infer-e561b88a1f2f3506) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ebb7303559f7b923834a4214580c117f152e68f1051c38ca63ae63328ed940f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebb7303559f7b923834a4214580c117f152e68f1051c38ca63ae63328ed940f5", kill_on_drop: false }` [INFO] [stdout] ebb7303559f7b923834a4214580c117f152e68f1051c38ca63ae63328ed940f5