[INFO] fetching crate llama-gguf 0.14.0... [INFO] testing llama-gguf-0.14.0 against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1 [INFO] extracting crate llama-gguf 0.14.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate llama-gguf 0.14.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate llama-gguf 0.14.0 [INFO] tweaked toml for crates.io crate llama-gguf 0.14.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate llama-gguf 0.14.0 on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate llama-gguf 0.14.0 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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0db77d8172b8dcb4d7dded088ae33168133f1546597233ac4ae19f14766dadd4 [INFO] running `Command { std: "docker" "start" "-a" "0db77d8172b8dcb4d7dded088ae33168133f1546597233ac4ae19f14766dadd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0db77d8172b8dcb4d7dded088ae33168133f1546597233ac4ae19f14766dadd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0db77d8172b8dcb4d7dded088ae33168133f1546597233ac4ae19f14766dadd4", kill_on_drop: false }` [INFO] [stdout] 0db77d8172b8dcb4d7dded088ae33168133f1546597233ac4ae19f14766dadd4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 673c65318afbb2bf6e259ea93615475a672afa8475c056888cb86b98175d99e2 [INFO] running `Command { std: "docker" "start" "-a" "673c65318afbb2bf6e259ea93615475a672afa8475c056888cb86b98175d99e2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling zerocopy v0.8.40 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Compiling libm v0.2.16 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling ipnet v2.12.0 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling clap_lex v1.0.0 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling tempfile v3.26.0 [INFO] [stderr] Compiling clap_builder v4.5.60 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling rustls-webpki v0.103.9 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Compiling zerocopy-derive v0.8.40 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling prost-build v0.13.5 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tonic-build v0.12.3 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling llama-gguf v0.14.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling bytemuck v1.25.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling clap v4.5.60 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling roff v0.2.2 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling clap_mangen v0.2.31 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling memmap2 v0.9.10 [INFO] [stdout] warning: unused variable: `total` [INFO] [stdout] --> src/model/loader.rs:415:25 [INFO] [stdout] | [INFO] [stdout] 415 | let total = q_size + k_size + v_size; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_total` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_out` [INFO] [stdout] --> src/model/loader.rs:877:13 [INFO] [stdout] | [INFO] [stdout] 877 | let total_out = q_size + k_size + v_size; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `architecture` [INFO] [stdout] --> src/server/api.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | let architecture = model.architecture(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_architecture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_seq_len` [INFO] [stdout] --> src/server/api.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | let max_seq_len = config.max_seq_len; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_seq_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `id_to_token` is never read [INFO] [stdout] --> src/tokenizer/mod.rs:1429:31 [INFO] [stdout] | [INFO] [stdout] 1429 | let mut id_to_token = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `scores` is never read [INFO] [stdout] --> src/tokenizer/mod.rs:1430:26 [INFO] [stdout] | [INFO] [stdout] 1430 | let mut scores = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `request_id`, `prompt_len`, and `cache_position` are never read [INFO] [stdout] --> src/server/batch.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 59 | struct Sequence { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 60 | /// Request ID [INFO] [stdout] 61 | request_id: RequestId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | prompt_len: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | cache_position: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sequence` has a derived impl for the trait `Debug`, but this is 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: unused variable: `rag_database_url` [INFO] [stdout] --> src/main.rs:1082:5 [INFO] [stdout] | [INFO] [stdout] 1082 | rag_database_url: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rag_database_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 36s [INFO] running `Command { std: "docker" "inspect" "673c65318afbb2bf6e259ea93615475a672afa8475c056888cb86b98175d99e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "673c65318afbb2bf6e259ea93615475a672afa8475c056888cb86b98175d99e2", kill_on_drop: false }` [INFO] [stdout] 673c65318afbb2bf6e259ea93615475a672afa8475c056888cb86b98175d99e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6d0936cff3c1ea2c790bc29baa1445caae19814182639ed52ecdf90e5ea47f6 [INFO] running `Command { std: "docker" "start" "-a" "a6d0936cff3c1ea2c790bc29baa1445caae19814182639ed52ecdf90e5ea47f6", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling alloca v0.4.0 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling tempfile v3.26.0 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Compiling criterion-plot v0.8.2 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling page_size v0.6.0 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling criterion v0.8.2 [INFO] [stderr] Compiling prost-build v0.13.5 [INFO] [stderr] Compiling tonic-build v0.12.3 [INFO] [stderr] Compiling llama-gguf v0.14.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `total` [INFO] [stdout] --> src/model/loader.rs:415:25 [INFO] [stdout] | [INFO] [stdout] 415 | let total = q_size + k_size + v_size; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_total` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_out` [INFO] [stdout] --> src/model/loader.rs:877:13 [INFO] [stdout] | [INFO] [stdout] 877 | let total_out = q_size + k_size + v_size; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `architecture` [INFO] [stdout] --> src/server/api.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | let architecture = model.architecture(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_architecture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_seq_len` [INFO] [stdout] --> src/server/api.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | let max_seq_len = config.max_seq_len; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_seq_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `id_to_token` is never read [INFO] [stdout] --> src/tokenizer/mod.rs:1429:31 [INFO] [stdout] | [INFO] [stdout] 1429 | let mut id_to_token = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `scores` is never read [INFO] [stdout] --> src/tokenizer/mod.rs:1430:26 [INFO] [stdout] | [INFO] [stdout] 1430 | let mut scores = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `request_id`, `prompt_len`, and `cache_position` are never read [INFO] [stdout] --> src/server/batch.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 59 | struct Sequence { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 60 | /// Request ID [INFO] [stdout] 61 | request_id: RequestId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | prompt_len: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | cache_position: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sequence` has a derived impl for the trait `Debug`, but this is 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: unused variable: `total` [INFO] [stdout] --> src/model/loader.rs:415:25 [INFO] [stdout] | [INFO] [stdout] 415 | let total = q_size + k_size + v_size; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_total` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_out` [INFO] [stdout] --> src/model/loader.rs:877:13 [INFO] [stdout] | [INFO] [stdout] 877 | let total_out = q_size + k_size + v_size; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `architecture` [INFO] [stdout] --> src/server/api.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | let architecture = model.architecture(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_architecture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_seq_len` [INFO] [stdout] --> src/server/api.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | let max_seq_len = config.max_seq_len; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_seq_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `id_to_token` is never read [INFO] [stdout] --> src/tokenizer/mod.rs:1429:31 [INFO] [stdout] | [INFO] [stdout] 1429 | let mut id_to_token = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `scores` is never read [INFO] [stdout] --> src/tokenizer/mod.rs:1430:26 [INFO] [stdout] | [INFO] [stdout] 1430 | let mut scores = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_approx_eq` is never used [INFO] [stdout] --> src/backend/dx12/mod.rs:469:8 [INFO] [stdout] | [INFO] [stdout] 469 | fn assert_approx_eq(a: &[f32], b: &[f32], tol: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_approx_eq` is never used [INFO] [stdout] --> src/backend/metal/mod.rs:374:8 [INFO] [stdout] | [INFO] [stdout] 374 | fn assert_approx_eq(a: &[f32], b: &[f32], tol: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `request_id`, `prompt_len`, and `cache_position` are never read [INFO] [stdout] --> src/server/batch.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 59 | struct Sequence { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 60 | /// Request ID [INFO] [stdout] 61 | request_id: RequestId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | prompt_len: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | cache_position: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sequence` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `softmax` is never used [INFO] [stdout] --> examples/trace_attention_output.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn softmax(scores: &mut [f32]) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/trace_layer_growth.rs:273:17 [INFO] [stdout] | [INFO] [stdout] 273 | let mut h_after_attn: Vec = [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/compare_backend_manual.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | let mut input_tensor = Tensor::from_f32(&tok_emb, vec![hidden_size]).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q_bias_info` [INFO] [stdout] --> examples/compare_backend_manual.rs:238:17 [INFO] [stdout] | [INFO] [stdout] 238 | if let Some(q_bias_info) = gguf.data.get_tensor("blk.0.attn_q.bias") { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_q_bias_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/test_rope_bias_order.rs:259:17 [INFO] [stdout] | [INFO] [stdout] 259 | let mut h_after_attn: Vec = [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/layer0_detailed.rs:371:9 [INFO] [stdout] | [INFO] [stdout] 371 | let mut h2: Vec = h.iter().zip(attn_proj.iter()).map(|(a, b)| a + b).collect(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kv_len` [INFO] [stdout] --> examples/layer0_detailed.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | let kv_len = 1; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_kv_len` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `softmax` is never used [INFO] [stdout] --> examples/layer0_detailed.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn softmax(scores: &mut [f32]) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eps` [INFO] [stdout] --> examples/logit_comparison.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let eps = 1e-6f32; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_eps` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rms_norm` is never used [INFO] [stdout] --> examples/logit_comparison.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn rms_norm(x: &[f32], w: &[f32], eps: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec_mat` is never used [INFO] [stdout] --> examples/logit_comparison.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn vec_mat(x: &[f32], w: &[f32], k: usize, n: usize) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `llama_gguf::Model` [INFO] [stdout] --> examples/check_config.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use llama_gguf::Model; [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 variable: `queries_per_kv` [INFO] [stdout] --> examples/debug_kv_cache.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | let queries_per_kv = num_heads / num_kv_heads; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_queries_per_kv` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wo` [INFO] [stdout] --> examples/debug_kv_cache.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let wo = dequant(&backend, &load_tensor(&gguf, "blk.0.attn_output.weight")); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Backend` [INFO] [stdout] --> tests/hidden_state_test.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | backend::{Backend, cpu::CpuBackend}, [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 variable: `max_seq_len` [INFO] [stdout] --> examples/debug_forward_pass.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | let max_seq_len = 512; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_seq_len` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score` [INFO] [stdout] --> examples/debug_forward_pass.rs:233:17 [INFO] [stdout] | [INFO] [stdout] 233 | let score = dot * scale; // For single position, softmax(score) = 1.0 [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `softmax` is never used [INFO] [stdout] --> examples/debug_forward_pass.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn softmax(scores: &mut [f32]) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rag_database_url` [INFO] [stdout] --> src/main.rs:1082:5 [INFO] [stdout] | [INFO] [stdout] 1082 | rag_database_url: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rag_database_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rag_database_url` [INFO] [stdout] --> src/main.rs:1082:5 [INFO] [stdout] | [INFO] [stdout] 1082 | rag_database_url: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rag_database_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Backend` [INFO] [stdout] --> examples/trace_all_layers.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | backend::{Backend, cpu::CpuBackend}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `llama-gguf` (lib test); 9 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/0abe69e6c16114311cc2700e972492e64d69c28f/bin/rustc --crate-name llama_gguf --edition=2024 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="cli"' --cfg 'feature="client"' --cfg 'feature="cpu"' --cfg 'feature="default"' --cfg 'feature="huggingface"' --cfg 'feature="onnx"' --cfg 'feature="server"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("cli", "client", "cpu", "cuda", "default", "distributed", "dx12", "hailo", "huggingface", "metal", "onnx", "rag", "rag-sqlite", "server", "vulkan", "vulkan-shaders"))' -C metadata=5968e9108e5a9f56 -C extra-filename=-dab730f2c7896972 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern axum=/opt/rustwide/target/debug/deps/libaxum-37395fe01d06e341.rlib --extern bincode=/opt/rustwide/target/debug/deps/libbincode-be433d525cc53076.rlib --extern bytemuck=/opt/rustwide/target/debug/deps/libbytemuck-e8242e258cdbffdf.rlib --extern clap=/opt/rustwide/target/debug/deps/libclap-0822e7fe80d5e9c6.rlib --extern clap_mangen=/opt/rustwide/target/debug/deps/libclap_mangen-7604af44e8dc47d5.rlib --extern criterion=/opt/rustwide/target/debug/deps/libcriterion-e06c8bbfb4dc8349.rlib --extern directories=/opt/rustwide/target/debug/deps/libdirectories-e2d0eaa769dab602.rlib --extern futures=/opt/rustwide/target/debug/deps/libfutures-7b4c0fea1b132b37.rlib --extern half=/opt/rustwide/target/debug/deps/libhalf-bf5e1fef19757044.rlib --extern indicatif=/opt/rustwide/target/debug/deps/libindicatif-3f4c9ce6dbd7c9de.rlib --extern memmap2=/opt/rustwide/target/debug/deps/libmemmap2-c08a5add6701a19d.rlib --extern prost=/opt/rustwide/target/debug/deps/libprost-3a572a2cea592522.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-e0c8abde542b6c40.rlib --extern rand_distr=/opt/rustwide/target/debug/deps/librand_distr-36ff900fd675378e.rlib --extern rayon=/opt/rustwide/target/debug/deps/librayon-3336647a8430f5f6.rlib --extern reqwest=/opt/rustwide/target/debug/deps/libreqwest-109337bfd1ab35d8.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-b497622e31234d47.rlib --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-7a29ab19d0bd680b.rlib --extern sha1=/opt/rustwide/target/debug/deps/libsha1-9371283f71a32f1d.rlib --extern sha2=/opt/rustwide/target/debug/deps/libsha2-8b90c609e5cd1b21.rlib --extern tempfile=/opt/rustwide/target/debug/deps/libtempfile-a864ef43d076fcea.rlib --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-fb02d81ecd3e316d.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-21dc8d705975bb83.rlib --extern toml=/opt/rustwide/target/debug/deps/libtoml-01e9f16757dbbd0b.rlib --extern tower_http=/opt/rustwide/target/debug/deps/libtower_http-1dd18b122a8c510a.rlib --extern tracing=/opt/rustwide/target/debug/deps/libtracing-e1dcbb98cfb0cc10.rlib --extern unicode_normalization=/opt/rustwide/target/debug/deps/libunicode_normalization-51ea083ac55613a7.rlib --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/alloca-c71fe628eea9ae3f/out -L native=/opt/rustwide/target/debug/build/ring-846acf0778205177/out` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "a6d0936cff3c1ea2c790bc29baa1445caae19814182639ed52ecdf90e5ea47f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6d0936cff3c1ea2c790bc29baa1445caae19814182639ed52ecdf90e5ea47f6", kill_on_drop: false }` [INFO] [stdout] a6d0936cff3c1ea2c790bc29baa1445caae19814182639ed52ecdf90e5ea47f6