[INFO] fetching crate transformers 0.0.8... [INFO] checking transformers-0.0.8 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate transformers 0.0.8 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate transformers 0.0.8 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate transformers 0.0.8 [INFO] tweaked toml for crates.io crate transformers 0.0.8 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate transformers 0.0.8 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate transformers 0.0.8 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ug v0.4.0 [INFO] [stderr] Downloaded hf-hub v0.4.2 [INFO] [stderr] Downloaded candle-nn v0.9.1 [INFO] [stderr] Downloaded libm v0.2.14 [INFO] [stderr] Downloaded webpki-roots v0.26.10 [INFO] [stderr] Downloaded minijinja v2.9.0 [INFO] [stderr] Downloaded candle-core v0.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 332cc23eceb330c1266b1db9d40f3af111cdef1bde89aeafa5379a22ba3479eb [INFO] running `Command { std: "docker" "start" "-a" "332cc23eceb330c1266b1db9d40f3af111cdef1bde89aeafa5379a22ba3479eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "332cc23eceb330c1266b1db9d40f3af111cdef1bde89aeafa5379a22ba3479eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "332cc23eceb330c1266b1db9d40f3af111cdef1bde89aeafa5379a22ba3479eb", kill_on_drop: false }` [INFO] [stdout] 332cc23eceb330c1266b1db9d40f3af111cdef1bde89aeafa5379a22ba3479eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67c418d591d0c6ffeed74cf80921ee5fac3d7a755be5605ef5ed76ba710ebf91 [INFO] running `Command { std: "docker" "start" "-a" "67c418d591d0c6ffeed74cf80921ee5fac3d7a755be5605ef5ed76ba710ebf91", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling libm v0.2.14 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking reborrow v0.5.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.2.21 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling pulp v0.21.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Checking litemap v0.7.5 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking raw-cpuid v11.5.0 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Checking hashbrown v0.15.3 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking raw-cpuid v10.7.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling winnow v0.7.9 [INFO] [stderr] Checking rustls-pki-types v1.11.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling rustls v0.23.26 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling zip v1.1.4 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking libloading v0.8.6 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Compiling esaxx-rs v0.1.10 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Checking socks v0.3.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking indicatif v0.17.11 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking webpki-roots v0.26.10 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.2.0 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking unicode-normalization-alignments v0.1.12 [INFO] [stderr] Checking macro_rules_attribute v0.2.0 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking rand_distr v0.5.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Checking rayon-cond v0.3.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking rustls-webpki v0.103.1 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking tokio v1.44.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling monostate-impl v0.1.14 [INFO] [stderr] Checking bytemuck v1.23.0 [INFO] [stderr] Checking onig v6.4.0 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking dyn-stack v0.13.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking dyn-stack v0.10.0 [INFO] [stderr] Checking pulp v0.18.22 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking num_enum v0.7.3 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking gemm-common v0.17.1 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking derive_builder v0.20.2 [INFO] [stderr] Checking gemm-f32 v0.17.1 [INFO] [stderr] Checking gemm-f64 v0.17.1 [INFO] [stderr] Checking gemm-c32 v0.17.1 [INFO] [stderr] Checking gemm-c64 v0.17.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking gemm-common v0.18.2 [INFO] [stderr] Checking gemm-f16 v0.17.1 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking gemm-f32 v0.18.2 [INFO] [stderr] Checking gemm-c64 v0.18.2 [INFO] [stderr] Checking gemm-f64 v0.18.2 [INFO] [stderr] Checking gemm-c32 v0.18.2 [INFO] [stderr] Checking gemm v0.17.1 [INFO] [stderr] Checking gemm-f16 v0.18.2 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking gemm v0.18.2 [INFO] [stderr] Checking h2 v0.4.9 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking spm_precompiled v0.1.4 [INFO] [stderr] Checking monostate v0.1.14 [INFO] [stderr] Checking minijinja v2.9.0 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking safetensors v0.4.5 [INFO] [stderr] Checking tokenizers v0.21.1 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking ug v0.4.0 [INFO] [stderr] Checking ureq v2.12.1 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking candle-core v0.9.1 [INFO] [stderr] Checking hyper-util v0.1.11 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.15 [INFO] [stderr] Checking hf-hub v0.4.2 [INFO] [stderr] Checking candle-nn v0.9.1 [INFO] [stderr] Checking transformers v0.0.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `flash-attn` [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:80:7 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(feature = "flash-attn")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `flash-attn` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `flash-attn` [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[cfg(not(feature = "flash-attn"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `flash-attn` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IndexOp` [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | use candle_core::{DType, Device, IndexOp, Module, Result, Tensor, D}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `flash-attn` [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:80:7 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(feature = "flash-attn")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `flash-attn` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `flash-attn` [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[cfg(not(feature = "flash-attn"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `flash-attn` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IndexOp` [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | use candle_core::{DType, Device, IndexOp, Module, Result, Tensor, D}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kv_cache` [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:465:17 [INFO] [stdout] | [INFO] [stdout] 465 | let kv_cache = KvCache::new(2, 64); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kv_cache` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_kv_head` [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:527:21 [INFO] [stdout] | [INFO] [stdout] 527 | let n_kv_head = shared_weights.layers[layer_idx].base.n_kv_head; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_kv_head` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_kv_head` [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:543:21 [INFO] [stdout] | [INFO] [stdout] 543 | let n_kv_head = shared_weights.layers[layer_idx].base.n_kv_head; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_kv_head` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kv_cache` [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:465:17 [INFO] [stdout] | [INFO] [stdout] 465 | let kv_cache = KvCache::new(2, 64); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kv_cache` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_kv_head` [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:527:21 [INFO] [stdout] | [INFO] [stdout] 527 | let n_kv_head = shared_weights.layers[layer_idx].base.n_kv_head; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_kv_head` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_kv_head` [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:543:21 [INFO] [stdout] | [INFO] [stdout] 543 | let n_kv_head = shared_weights.layers[layer_idx].base.n_kv_head; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_kv_head` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model_name` [INFO] [stdout] --> src/models/shared.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | model_name: &str, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_model_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model_name` [INFO] [stdout] --> src/models/shared.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | model_name: &str, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_model_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `quantized_gemma3::QMatMul` is more private than the item `quantized_gemma3::LayerWeightsNoCache::attention_wq` [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | pub attention_wq: QMatMul, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ field `quantized_gemma3::LayerWeightsNoCache::attention_wq` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `quantized_gemma3::QMatMul` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | struct QMatMul { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `quantized_gemma3::QMatMul` is more private than the item `quantized_gemma3::LayerWeightsNoCache::attention_wk` [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | pub attention_wk: QMatMul, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ field `quantized_gemma3::LayerWeightsNoCache::attention_wk` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `quantized_gemma3::QMatMul` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | struct QMatMul { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `quantized_gemma3::QMatMul` is more private than the item `quantized_gemma3::LayerWeightsNoCache::attention_wv` [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | pub attention_wv: QMatMul, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ field `quantized_gemma3::LayerWeightsNoCache::attention_wv` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `quantized_gemma3::QMatMul` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | struct QMatMul { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `quantized_gemma3::QMatMul` is more private than the item `quantized_gemma3::LayerWeightsNoCache::attention_wo` [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | pub attention_wo: QMatMul, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ field `quantized_gemma3::LayerWeightsNoCache::attention_wo` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `quantized_gemma3::QMatMul` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | struct QMatMul { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `quantized_gemma3::Mlp` is more private than the item `quantized_gemma3::LayerWeightsNoCache::mlp` [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | pub mlp: Mlp, [INFO] [stdout] | ^^^^^^^^^^^^ field `quantized_gemma3::LayerWeightsNoCache::mlp` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `quantized_gemma3::Mlp` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | struct Mlp { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `quantized_gemma3::RotaryEmbedding` is more private than the item `quantized_gemma3::LayerWeightsNoCache::rotary_embedding` [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | pub rotary_embedding: RotaryEmbedding, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `quantized_gemma3::LayerWeightsNoCache::rotary_embedding` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `quantized_gemma3::RotaryEmbedding` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | struct RotaryEmbedding { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `quantized_gemma3::QMatMul` is more private than the item `quantized_gemma3::Weights::output` [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:472:5 [INFO] [stdout] | [INFO] [stdout] 472 | pub output: QMatMul, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ field `quantized_gemma3::Weights::output` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `quantized_gemma3::QMatMul` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | struct QMatMul { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MaskCacheKey` is more private than the item `quantized_gemma3::PipelineState::mask_cache` [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:642:5 [INFO] [stdout] | [INFO] [stdout] 642 | pub mask_cache: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `quantized_gemma3::PipelineState::mask_cache` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `MaskCacheKey` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | struct MaskCacheKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CachedMask` is more private than the item `quantized_gemma3::PipelineState::mask_cache` [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:642:5 [INFO] [stdout] | [INFO] [stdout] 642 | pub mask_cache: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `quantized_gemma3::PipelineState::mask_cache` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `CachedMask` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | struct CachedMask { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `QLinear` is more private than the item `LayerWeightsBase::attn_qkv` [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | pub attn_qkv: QLinear, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ field `LayerWeightsBase::attn_qkv` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `QLinear` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | struct QLinear { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `QLinear` is more private than the item `LayerWeightsBase::attn_output` [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | pub attn_output: QLinear, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ field `LayerWeightsBase::attn_output` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `QLinear` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | struct QLinear { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `quantized_phi3::Mlp` is more private than the item `LayerWeightsBase::mlp` [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | pub mlp: Mlp, [INFO] [stdout] | ^^^^^^^^^^^^ field `LayerWeightsBase::mlp` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `quantized_phi3::Mlp` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | struct Mlp { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `QLinear` is more private than the item `quantized_phi3::Weights::output` [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 407 | pub output: QLinear, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ field `quantized_phi3::Weights::output` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `QLinear` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | struct QLinear { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `QMatMulWrapper` is more private than the item `AttentionWeightsNoCache::q_proj` [INFO] [stdout] --> src/models/raw/models/quantized_qwen3.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 175 | pub q_proj: QMatMulWrapper, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ field `AttentionWeightsNoCache::q_proj` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `QMatMulWrapper` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/raw/models/quantized_qwen3.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | struct QMatMulWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `QMatMulWrapper` is more private than the item `AttentionWeightsNoCache::k_proj` [INFO] [stdout] --> src/models/raw/models/quantized_qwen3.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | pub k_proj: QMatMulWrapper, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ field `AttentionWeightsNoCache::k_proj` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `QMatMulWrapper` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/raw/models/quantized_qwen3.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | struct QMatMulWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `QMatMulWrapper` is more private than the item `AttentionWeightsNoCache::v_proj` [INFO] [stdout] --> src/models/raw/models/quantized_qwen3.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | pub v_proj: QMatMulWrapper, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ field `AttentionWeightsNoCache::v_proj` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `QMatMulWrapper` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/raw/models/quantized_qwen3.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | struct QMatMulWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `QMatMulWrapper` is more private than the item `AttentionWeightsNoCache::o_proj` [INFO] [stdout] --> src/models/raw/models/quantized_qwen3.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | pub o_proj: QMatMulWrapper, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ field `AttentionWeightsNoCache::o_proj` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `QMatMulWrapper` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/raw/models/quantized_qwen3.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | struct QMatMulWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `QMatMulWrapper` is more private than the item `quantized_qwen3::Weights::lm_head` [INFO] [stdout] --> src/models/raw/models/quantized_qwen3.rs:390:5 [INFO] [stdout] | [INFO] [stdout] 390 | pub lm_head: QMatMulWrapper, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `quantized_qwen3::Weights::lm_head` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `QMatMulWrapper` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/raw/models/quantized_qwen3.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | struct QMatMulWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TopK`, `TopP`, `TopKThenTopP`, and `GumbelSoftmax` are never constructed [INFO] [stdout] --> src/models/raw/generation.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Sampling { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | TopK { k: usize, temperature: f64 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | TopP { p: f64, temperature: f64 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | TopKThenTopP { k: usize, p: f64, temperature: f64 }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 16 | // Note that the rng is not used for the Gumbel-Softmax sampling. [INFO] [stdout] 17 | GumbelSoftmax { temperature: f64 }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sampling` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/raw/generation.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl LogitsProcessor { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn new(seed: u64, temperature: Option, top_p: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_ROPE_FREQUENCY_SCALE_FACTOR` is never used [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub const DEFAULT_ROPE_FREQUENCY_SCALE_FACTOR: f32 = 1.; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `neg_inf` is never read [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 161 | pub struct LayerWeightsNoCache { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 189 | pub neg_inf: Tensor, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LayerWeightsNoCache` 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: field `device` is never read [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 467 | pub struct Weights { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 473 | pub device: Device, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Weights` 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 function `new_with_cache_size` is never used [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:660:12 [INFO] [stdout] | [INFO] [stdout] 645 | impl PipelineState { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 660 | pub fn new_with_cache_size(shared_weights: Arc, initial_cache_size: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LayerWeights` is never constructed [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 215 | struct LayerWeights { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `apply_rotary_emb` and `forward_attn` are never used [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:221:8 [INFO] [stdout] | [INFO] [stdout] 220 | impl LayerWeights { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 221 | fn apply_rotary_emb(&self, xs: &Tensor, index_pos: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | fn forward_attn( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModelWeights` is never constructed [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 237 | pub struct ModelWeights { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_gguf` and `mask` are never used [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:248:12 [INFO] [stdout] | [INFO] [stdout] 247 | impl ModelWeights { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 248 | pub fn from_gguf( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 332 | fn mask(&mut self, t: usize, device: &Device) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply_rotary_emb` is never used [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:386:8 [INFO] [stdout] | [INFO] [stdout] 385 | impl LayerWeightsNoCache { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] 386 | fn apply_rotary_emb(&self, xs: &Tensor, index_pos: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `device` and `mask_cache` are never read [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:408:9 [INFO] [stdout] | [INFO] [stdout] 403 | pub struct Weights { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 408 | pub device: Device, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 411 | mask_cache: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Weights` 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: method `mask` is never used [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:500:8 [INFO] [stdout] | [INFO] [stdout] 414 | impl Weights { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 500 | fn mask(&mut self, t: usize, device: &Device) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_with_cache_size` is never used [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:539:12 [INFO] [stdout] | [INFO] [stdout] 521 | impl PipelineState { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 539 | pub fn new_with_cache_size(shared_weights: Arc, initial_cache_size: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_position_embeddings` is never read [INFO] [stdout] --> src/models/raw/models/quantized_qwen3.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 386 | pub struct Weights { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 393 | pub max_position_embeddings: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Weights` 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 function `new_with_cache_size` is never used [INFO] [stdout] --> src/models/raw/models/quantized_qwen3.rs:556:12 [INFO] [stdout] | [INFO] [stdout] 540 | impl PipelineState { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 556 | pub fn new_with_cache_size(shared_weights: Arc, initial_cache_size: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Embedding` is never constructed [INFO] [stdout] --> src/models/raw/quantized_nn.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Embedding { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `embeddings` are never used [INFO] [stdout] --> src/models/raw/quantized_nn.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Embedding { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new(d1: usize, d2: usize, vb: VarBuilder) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn embeddings(&self) -> &Tensor { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Linear` is never constructed [INFO] [stdout] --> src/models/raw/quantized_nn.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Linear { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_arc` and `from_weights` are never used [INFO] [stdout] --> src/models/raw/quantized_nn.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Linear { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 45 | pub fn from_arc(weight: std::sync::Arc, bias: Option) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn from_weights(weight: QMatMul, bias: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `linear_b` is never used [INFO] [stdout] --> src/models/raw/quantized_nn.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn linear_b(in_dim: usize, out_dim: usize, bias: bool, vb: VarBuilder) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `linear` is never used [INFO] [stdout] --> src/models/raw/quantized_nn.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn linear(in_dim: usize, out_dim: usize, vb: VarBuilder) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `layer_norm` is never used [INFO] [stdout] --> src/models/raw/quantized_nn.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn layer_norm(size: usize, eps: f64, vb: VarBuilder) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `layer_norm_no_bias` is never used [INFO] [stdout] --> src/models/raw/quantized_nn.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn layer_norm_no_bias(size: usize, eps: f64, vb: VarBuilder) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `linear_no_bias` is never used [INFO] [stdout] --> src/models/raw/quantized_nn.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn linear_no_bias(in_dim: usize, out_dim: usize, vb: VarBuilder) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/raw/quantized_nn.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 107 | impl RmsNorm { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 108 | pub fn new(size: usize, eps: f64, vb: VarBuilder) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VarBuilder` is never constructed [INFO] [stdout] --> src/models/raw/quantized_var_builder.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct VarBuilder { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/models/raw/quantized_var_builder.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl VarBuilder { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 20 | pub fn from_gguf>(p: P, device: &Device) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn from_gguf_buffer(buffer: &[u8], device: &Device) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn pp(&self, s: S) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn path(&self, tensor_name: &str) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn get>(&self, s: S, name: &str) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn get_no_shape(&self, name: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn device(&self) -> &Device { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn contains_key(&self, key: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_repeat_penalty` is never used [INFO] [stdout] --> src/models/raw/utils.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn apply_repeat_penalty(logits: &Tensor, penalty: f32, context: &[u32]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QMatMul` is never constructed [INFO] [stdout] --> src/models/raw/utils.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct QMatMul { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `from_weights` are never used [INFO] [stdout] --> src/models/raw/utils.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl QMatMul { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 49 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn from_weights(ws: std::sync::Arc) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/utils/gguf_cache.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl GgufCache { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn clear(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `quantized_gemma3::QMatMul` is more private than the item `quantized_gemma3::LayerWeightsNoCache::attention_wq` [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | pub attention_wq: QMatMul, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ field `quantized_gemma3::LayerWeightsNoCache::attention_wq` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `quantized_gemma3::QMatMul` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | struct QMatMul { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `quantized_gemma3::QMatMul` is more private than the item `quantized_gemma3::LayerWeightsNoCache::attention_wk` [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | pub attention_wk: QMatMul, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ field `quantized_gemma3::LayerWeightsNoCache::attention_wk` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `quantized_gemma3::QMatMul` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | struct QMatMul { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `quantized_gemma3::QMatMul` is more private than the item `quantized_gemma3::LayerWeightsNoCache::attention_wv` [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | pub attention_wv: QMatMul, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ field `quantized_gemma3::LayerWeightsNoCache::attention_wv` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `quantized_gemma3::QMatMul` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | struct QMatMul { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `quantized_gemma3::QMatMul` is more private than the item `quantized_gemma3::LayerWeightsNoCache::attention_wo` [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | pub attention_wo: QMatMul, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ field `quantized_gemma3::LayerWeightsNoCache::attention_wo` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `quantized_gemma3::QMatMul` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | struct QMatMul { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `quantized_gemma3::Mlp` is more private than the item `quantized_gemma3::LayerWeightsNoCache::mlp` [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | pub mlp: Mlp, [INFO] [stdout] | ^^^^^^^^^^^^ field `quantized_gemma3::LayerWeightsNoCache::mlp` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `quantized_gemma3::Mlp` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | struct Mlp { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `quantized_gemma3::RotaryEmbedding` is more private than the item `quantized_gemma3::LayerWeightsNoCache::rotary_embedding` [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | pub rotary_embedding: RotaryEmbedding, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `quantized_gemma3::LayerWeightsNoCache::rotary_embedding` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `quantized_gemma3::RotaryEmbedding` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | struct RotaryEmbedding { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `quantized_gemma3::QMatMul` is more private than the item `quantized_gemma3::Weights::output` [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:472:5 [INFO] [stdout] | [INFO] [stdout] 472 | pub output: QMatMul, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ field `quantized_gemma3::Weights::output` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `quantized_gemma3::QMatMul` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | struct QMatMul { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MaskCacheKey` is more private than the item `quantized_gemma3::PipelineState::mask_cache` [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:642:5 [INFO] [stdout] | [INFO] [stdout] 642 | pub mask_cache: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `quantized_gemma3::PipelineState::mask_cache` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `MaskCacheKey` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | struct MaskCacheKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CachedMask` is more private than the item `quantized_gemma3::PipelineState::mask_cache` [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:642:5 [INFO] [stdout] | [INFO] [stdout] 642 | pub mask_cache: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `quantized_gemma3::PipelineState::mask_cache` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `CachedMask` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | struct CachedMask { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `QLinear` is more private than the item `LayerWeightsBase::attn_qkv` [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | pub attn_qkv: QLinear, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ field `LayerWeightsBase::attn_qkv` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `QLinear` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | struct QLinear { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `QLinear` is more private than the item `LayerWeightsBase::attn_output` [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | pub attn_output: QLinear, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ field `LayerWeightsBase::attn_output` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `QLinear` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | struct QLinear { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `quantized_phi3::Mlp` is more private than the item `LayerWeightsBase::mlp` [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | pub mlp: Mlp, [INFO] [stdout] | ^^^^^^^^^^^^ field `LayerWeightsBase::mlp` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `quantized_phi3::Mlp` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | struct Mlp { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `QLinear` is more private than the item `quantized_phi3::Weights::output` [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 407 | pub output: QLinear, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ field `quantized_phi3::Weights::output` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `QLinear` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | struct QLinear { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `QMatMulWrapper` is more private than the item `AttentionWeightsNoCache::q_proj` [INFO] [stdout] --> src/models/raw/models/quantized_qwen3.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 175 | pub q_proj: QMatMulWrapper, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ field `AttentionWeightsNoCache::q_proj` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `QMatMulWrapper` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/raw/models/quantized_qwen3.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | struct QMatMulWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `QMatMulWrapper` is more private than the item `AttentionWeightsNoCache::k_proj` [INFO] [stdout] --> src/models/raw/models/quantized_qwen3.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | pub k_proj: QMatMulWrapper, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ field `AttentionWeightsNoCache::k_proj` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `QMatMulWrapper` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/raw/models/quantized_qwen3.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | struct QMatMulWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `QMatMulWrapper` is more private than the item `AttentionWeightsNoCache::v_proj` [INFO] [stdout] --> src/models/raw/models/quantized_qwen3.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | pub v_proj: QMatMulWrapper, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ field `AttentionWeightsNoCache::v_proj` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `QMatMulWrapper` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/raw/models/quantized_qwen3.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | struct QMatMulWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `QMatMulWrapper` is more private than the item `AttentionWeightsNoCache::o_proj` [INFO] [stdout] --> src/models/raw/models/quantized_qwen3.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | pub o_proj: QMatMulWrapper, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ field `AttentionWeightsNoCache::o_proj` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `QMatMulWrapper` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/raw/models/quantized_qwen3.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | struct QMatMulWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `QMatMulWrapper` is more private than the item `quantized_qwen3::Weights::lm_head` [INFO] [stdout] --> src/models/raw/models/quantized_qwen3.rs:390:5 [INFO] [stdout] | [INFO] [stdout] 390 | pub lm_head: QMatMulWrapper, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `quantized_qwen3::Weights::lm_head` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `QMatMulWrapper` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/raw/models/quantized_qwen3.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | struct QMatMulWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TopK`, `TopP`, `TopKThenTopP`, and `GumbelSoftmax` are never constructed [INFO] [stdout] --> src/models/raw/generation.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Sampling { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | TopK { k: usize, temperature: f64 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | TopP { p: f64, temperature: f64 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | TopKThenTopP { k: usize, p: f64, temperature: f64 }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 16 | // Note that the rng is not used for the Gumbel-Softmax sampling. [INFO] [stdout] 17 | GumbelSoftmax { temperature: f64 }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sampling` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/raw/generation.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl LogitsProcessor { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn new(seed: u64, temperature: Option, top_p: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_ROPE_FREQUENCY_SCALE_FACTOR` is never used [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub const DEFAULT_ROPE_FREQUENCY_SCALE_FACTOR: f32 = 1.; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `neg_inf` is never read [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 161 | pub struct LayerWeightsNoCache { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 189 | pub neg_inf: Tensor, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LayerWeightsNoCache` 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: field `device` is never read [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 467 | pub struct Weights { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 473 | pub device: Device, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Weights` 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 function `new_with_cache_size` is never used [INFO] [stdout] --> src/models/raw/models/quantized_gemma3.rs:660:12 [INFO] [stdout] | [INFO] [stdout] 645 | impl PipelineState { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 660 | pub fn new_with_cache_size(shared_weights: Arc, initial_cache_size: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LayerWeights` is never constructed [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 215 | struct LayerWeights { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `apply_rotary_emb` and `forward_attn` are never used [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:221:8 [INFO] [stdout] | [INFO] [stdout] 220 | impl LayerWeights { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 221 | fn apply_rotary_emb(&self, xs: &Tensor, index_pos: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | fn forward_attn( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModelWeights` is never constructed [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 237 | pub struct ModelWeights { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_gguf` and `mask` are never used [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:248:12 [INFO] [stdout] | [INFO] [stdout] 247 | impl ModelWeights { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 248 | pub fn from_gguf( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 332 | fn mask(&mut self, t: usize, device: &Device) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply_rotary_emb` is never used [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:386:8 [INFO] [stdout] | [INFO] [stdout] 385 | impl LayerWeightsNoCache { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] 386 | fn apply_rotary_emb(&self, xs: &Tensor, index_pos: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `device` and `mask_cache` are never read [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:408:9 [INFO] [stdout] | [INFO] [stdout] 403 | pub struct Weights { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 408 | pub device: Device, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 411 | mask_cache: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Weights` 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: method `mask` is never used [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:500:8 [INFO] [stdout] | [INFO] [stdout] 414 | impl Weights { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 500 | fn mask(&mut self, t: usize, device: &Device) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_with_cache_size` is never used [INFO] [stdout] --> src/models/raw/models/quantized_phi3.rs:539:12 [INFO] [stdout] | [INFO] [stdout] 521 | impl PipelineState { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 539 | pub fn new_with_cache_size(shared_weights: Arc, initial_cache_size: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_position_embeddings` is never read [INFO] [stdout] --> src/models/raw/models/quantized_qwen3.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 386 | pub struct Weights { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 393 | pub max_position_embeddings: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Weights` 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 function `new_with_cache_size` is never used [INFO] [stdout] --> src/models/raw/models/quantized_qwen3.rs:556:12 [INFO] [stdout] | [INFO] [stdout] 540 | impl PipelineState { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 556 | pub fn new_with_cache_size(shared_weights: Arc, initial_cache_size: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Embedding` is never constructed [INFO] [stdout] --> src/models/raw/quantized_nn.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Embedding { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `embeddings` are never used [INFO] [stdout] --> src/models/raw/quantized_nn.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Embedding { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new(d1: usize, d2: usize, vb: VarBuilder) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn embeddings(&self) -> &Tensor { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Linear` is never constructed [INFO] [stdout] --> src/models/raw/quantized_nn.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Linear { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_arc` and `from_weights` are never used [INFO] [stdout] --> src/models/raw/quantized_nn.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Linear { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 45 | pub fn from_arc(weight: std::sync::Arc, bias: Option) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn from_weights(weight: QMatMul, bias: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `linear_b` is never used [INFO] [stdout] --> src/models/raw/quantized_nn.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn linear_b(in_dim: usize, out_dim: usize, bias: bool, vb: VarBuilder) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `linear` is never used [INFO] [stdout] --> src/models/raw/quantized_nn.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn linear(in_dim: usize, out_dim: usize, vb: VarBuilder) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `layer_norm` is never used [INFO] [stdout] --> src/models/raw/quantized_nn.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn layer_norm(size: usize, eps: f64, vb: VarBuilder) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `layer_norm_no_bias` is never used [INFO] [stdout] --> src/models/raw/quantized_nn.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn layer_norm_no_bias(size: usize, eps: f64, vb: VarBuilder) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `linear_no_bias` is never used [INFO] [stdout] --> src/models/raw/quantized_nn.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn linear_no_bias(in_dim: usize, out_dim: usize, vb: VarBuilder) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/raw/quantized_nn.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 107 | impl RmsNorm { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 108 | pub fn new(size: usize, eps: f64, vb: VarBuilder) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VarBuilder` is never constructed [INFO] [stdout] --> src/models/raw/quantized_var_builder.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct VarBuilder { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/models/raw/quantized_var_builder.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl VarBuilder { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 20 | pub fn from_gguf>(p: P, device: &Device) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn from_gguf_buffer(buffer: &[u8], device: &Device) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn pp(&self, s: S) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn path(&self, tensor_name: &str) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn get>(&self, s: S, name: &str) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn get_no_shape(&self, name: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn device(&self) -> &Device { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn contains_key(&self, key: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_repeat_penalty` is never used [INFO] [stdout] --> src/models/raw/utils.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn apply_repeat_penalty(logits: &Tensor, penalty: f32, context: &[u32]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QMatMul` is never constructed [INFO] [stdout] --> src/models/raw/utils.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct QMatMul { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `from_weights` are never used [INFO] [stdout] --> src/models/raw/utils.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl QMatMul { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 49 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn from_weights(ws: std::sync::Arc) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/utils/gguf_cache.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl GgufCache { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn clear(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.54s [INFO] running `Command { std: "docker" "inspect" "67c418d591d0c6ffeed74cf80921ee5fac3d7a755be5605ef5ed76ba710ebf91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67c418d591d0c6ffeed74cf80921ee5fac3d7a755be5605ef5ed76ba710ebf91", kill_on_drop: false }` [INFO] [stdout] 67c418d591d0c6ffeed74cf80921ee5fac3d7a755be5605ef5ed76ba710ebf91