[INFO] cloning repository https://github.com/fabdendev/llm-cli
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fabdendev/llm-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffabdendev%2Fllm-cli", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffabdendev%2Fllm-cli'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e5314ef42ba463ed654cd47eaad6481ecfdbaac6
[INFO] checking fabdendev/llm-cli against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffabdendev%2Fllm-cli" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/fabdendev/llm-cli
[INFO] finished tweaking git repo https://github.com/fabdendev/llm-cli
[INFO] tweaked toml for git repo https://github.com/fabdendev/llm-cli written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/fabdendev/llm-cli on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/fabdendev/llm-cli 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/huggingface/candle.git`
[INFO] [stderr]     Updating git submodule `https://github.com/NVIDIA/cutlass.git`
[INFO] [stderr]     Updating git repository `https://github.com/zackangelo/float8`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded gemm-f64 v0.18.2
[INFO] [stderr]   Downloaded winapi-util v0.1.10
[INFO] [stderr]   Downloaded gemm-c32 v0.18.2
[INFO] [stderr]   Downloaded gemm-f32 v0.18.2
[INFO] [stderr]   Downloaded ug v0.4.0
[INFO] [stderr]   Downloaded gemm-c64 v0.18.2
[INFO] [stderr]   Downloaded gemm-f16 v0.18.2
[INFO] [stderr]   Downloaded dyn-stack v0.13.0
[INFO] [stderr]   Downloaded sysctl v0.6.0
[INFO] [stderr]   Downloaded tokenizers v0.19.1
[INFO] [stderr]   Downloaded gemm v0.18.2
[INFO] [stderr]   Downloaded fancy-regex v0.13.0
[INFO] [stderr]   Downloaded pulp v0.21.5
[INFO] [stderr]   Downloaded gemm-common v0.18.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5f4e49a2e13d85f34f3c6443f88c7e206d87a298bc94aade4fab99981a755439
[INFO] running `Command { std: "docker" "start" "-a" "5f4e49a2e13d85f34f3c6443f88c7e206d87a298bc94aade4fab99981a755439", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5f4e49a2e13d85f34f3c6443f88c7e206d87a298bc94aade4fab99981a755439", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5f4e49a2e13d85f34f3c6443f88c7e206d87a298bc94aade4fab99981a755439", kill_on_drop: false }`
[INFO] [stdout] 5f4e49a2e13d85f34f3c6443f88c7e206d87a298bc94aade4fab99981a755439
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cbd920f3812f823addae7fcb25b15c15e307736b505448228d00cb0a1b1ed6f3
[INFO] running `Command { std: "docker" "start" "-a" "cbd920f3812f823addae7fcb25b15c15e307736b505448228d00cb0a1b1ed6f3", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling libm v0.2.15
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]     Checking reborrow v0.5.5
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling find-msvc-tools v0.1.0
[INFO] [stderr]    Compiling seq-macro v0.3.6
[INFO] [stderr]     Checking memchr v2.7.5
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling pulp v0.21.5
[INFO] [stderr]     Checking raw-cpuid v11.5.0
[INFO] [stderr]     Checking raw-cpuid v10.7.0
[INFO] [stderr]     Checking tracing-core v0.1.34
[INFO] [stderr]     Checking hashbrown v0.15.5
[INFO] [stderr]    Compiling cc v1.2.35
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling serde_json v1.0.143
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]     Checking indexmap v2.11.0
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling winnow v0.7.13
[INFO] [stderr]     Checking writeable v0.6.1
[INFO] [stderr]     Checking litemap v0.8.0
[INFO] [stderr]     Checking regex-syntax v0.8.6
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]     Checking rayon v1.11.0
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]     Checking percent-encoding v2.3.2
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking socket2 v0.6.0
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking slab v0.4.11
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling zip v1.1.4
[INFO] [stderr]     Checking memmap2 v0.9.8
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking libloading v0.8.8
[INFO] [stderr]    Compiling portable-atomic v1.11.1
[INFO] [stderr]     Checking form_urlencoded v1.2.2
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking bit-set v0.5.3
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking console v0.15.11
[INFO] [stderr]     Checking itertools v0.11.0
[INFO] [stderr]     Checking iri-string v0.7.8
[INFO] [stderr]    Compiling anyhow v1.0.99
[INFO] [stderr]     Checking option-ext v0.2.0
[INFO] [stderr]    Compiling macro_rules_attribute-proc_macro v0.2.2
[INFO] [stderr]     Checking dirs-sys v0.4.1
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]    Compiling onig_sys v69.9.1
[INFO] [stderr]    Compiling esaxx-rs v0.1.10
[INFO] [stderr]     Checking rustls-pki-types v1.12.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking indicatif v0.17.11
[INFO] [stderr]     Checking macro_rules_attribute v0.2.2
[INFO] [stderr]     Checking clap_builder v4.5.47
[INFO] [stderr]     Checking unicode-normalization-alignments v0.1.12
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking regex-automata v0.4.10
[INFO] [stderr]     Checking itertools v0.12.1
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking jiff v0.2.15
[INFO] [stderr]     Checking tempfile v3.21.0
[INFO] [stderr]     Checking rayon-cond v0.3.0
[INFO] [stderr]     Checking dirs v5.0.1
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking rand_distr v0.5.1
[INFO] [stderr]    Compiling proc-macro-crate v3.3.0
[INFO] [stderr]     Checking regex v1.11.2
[INFO] [stderr]     Checking fancy-regex v0.13.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]     Checking env_filter v0.1.3
[INFO] [stderr]    Compiling bytemuck_derive v1.10.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling num_enum_derive v0.7.4
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling monostate-impl v0.1.14
[INFO] [stderr]    Compiling clap_derive v4.5.47
[INFO] [stderr]     Checking env_logger v0.11.8
[INFO] [stderr]     Checking onig v6.5.1
[INFO] [stderr]     Checking tokio v1.47.1
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking num_enum v0.7.4
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]     Checking bytemuck v1.23.2
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]     Checking zerovec v0.11.4
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]     Checking clap v4.5.47
[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 dyn-stack v0.10.0
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling derive_builder_core v0.20.2
[INFO] [stderr]     Checking pulp v0.18.22
[INFO] [stderr]     Checking num v0.4.3
[INFO] [stderr]     Checking float8 v0.2.1 (https://github.com/zackangelo/float8?branch=cudarc_0_16#03c1f5fe)
[INFO] [stderr]     Checking serde v1.0.219
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.3
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]    Compiling derive_builder_macro v0.20.2
[INFO] [stderr]     Checking gemm-common v0.17.1
[INFO] [stderr]     Checking derive_builder v0.20.2
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking gemm-f32 v0.17.1
[INFO] [stderr]     Checking gemm-c32 v0.17.1
[INFO] [stderr]     Checking gemm-c64 v0.17.1
[INFO] [stderr]     Checking gemm-f64 v0.17.1
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]     Checking gemm-f16 v0.17.1
[INFO] [stderr]     Checking gemm v0.17.1
[INFO] [stderr]     Checking gemm-common v0.18.2
[INFO] [stderr]     Checking tokio-util v0.7.16
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking spm_precompiled v0.1.4
[INFO] [stderr]     Checking monostate v0.1.14
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_plain v1.0.2
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking gemm-f32 v0.18.2
[INFO] [stderr]     Checking gemm-c32 v0.18.2
[INFO] [stderr]     Checking gemm-c64 v0.18.2
[INFO] [stderr]     Checking gemm-f64 v0.18.2
[INFO] [stderr]     Checking tower-http v0.6.6
[INFO] [stderr]     Checking h2 v0.4.12
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking gemm-f16 v0.18.2
[INFO] [stderr]     Checking safetensors v0.4.5
[INFO] [stderr]     Checking tokenizers v0.19.1
[INFO] [stderr]     Checking gemm v0.18.2
[INFO] [stderr]     Checking ug v0.4.0
[INFO] [stderr]     Checking candle-core v0.9.1 (https://github.com/huggingface/candle.git#93845ed2)
[INFO] [stderr]     Checking hyper v1.7.0
[INFO] [stderr]     Checking hyper-util v0.1.16
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.23
[INFO] [stderr]     Checking candle-nn v0.9.1 (https://github.com/huggingface/candle.git#93845ed2)
[INFO] [stderr]     Checking candle-transformers v0.9.1 (https://github.com/huggingface/candle.git#93845ed2)
[INFO] [stderr]     Checking llm-cli v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Tensor`
[INFO] [stdout]  --> src/inference.rs:2:27
[INFO] [stdout]   |
[INFO] [stdout] 2 | use candle_core::{Device, Tensor};
[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 import: `candle_core::Device`
[INFO] [stdout]    --> src/gpt2.rs:427:9
[INFO] [stdout]     |
[INFO] [stdout] 427 |     use candle_core::Device;
[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 import: `Tensor`
[INFO] [stdout]  --> src/inference.rs:2:27
[INFO] [stdout]   |
[INFO] [stdout] 2 | use candle_core::{Device, Tensor};
[INFO] [stdout]   |                           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]    --> src/inference.rs:410:9
[INFO] [stdout]     |
[INFO] [stdout] 410 |     use std::path::PathBuf;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:215:9
[INFO] [stdout]     |
[INFO] [stdout] 215 |     let mut engine = setup_inference_engine(model_path, model_config).await
[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]    --> src/main.rs:215:9
[INFO] [stdout]     |
[INFO] [stdout] 215 |     let mut engine = setup_inference_engine(model_path, model_config).await
[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: function `simulate_inference_with_model` is never used
[INFO] [stdout]    --> src/main.rs:253:10
[INFO] [stdout]     |
[INFO] [stdout] 253 | async fn simulate_inference_with_model(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `c_attn`, `c_proj`, `n_head`, and `n_embd` are never read
[INFO] [stdout]   --> src/gpt2.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct MultiHeadAttention {
[INFO] [stdout]    |            ------------------ fields in this struct
[INFO] [stdout] 42 |     c_attn: Linear,     // Combined Q, K, V projection
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 43 |     c_proj: Linear,     // Output projection
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 44 |     n_head: usize,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 45 |     n_embd: usize,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MultiHeadAttention` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `forward` and `create_causal_mask` are never used
[INFO] [stdout]    --> src/gpt2.rs:65:12
[INFO] [stdout]     |
[INFO] [stdout]  48 | impl MultiHeadAttention {
[INFO] [stdout]     | ----------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  65 |     pub fn forward(&self, x: &Tensor, mask: Option<&Tensor>) -> Result<Tensor> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     fn create_causal_mask(&self, _seq_len: usize, _device: &Device) -> Result<Tensor> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `c_fc` and `c_proj` are never read
[INFO] [stdout]    --> src/gpt2.rs:112:5
[INFO] [stdout]     |
[INFO] [stdout] 111 | pub struct FeedForward {
[INFO] [stdout]     |            ----------- fields in this struct
[INFO] [stdout] 112 |     c_fc: Linear,   // First linear layer (expansion)
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 113 |     c_proj: Linear, // Second linear layer (projection)
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `FeedForward` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `forward` is never used
[INFO] [stdout]    --> src/gpt2.rs:127:12
[INFO] [stdout]     |
[INFO] [stdout] 116 | impl FeedForward {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 127 |     pub fn forward(&self, x: &Tensor) -> Result<Tensor> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `ln_1`, `attn`, `ln_2`, and `mlp` are never read
[INFO] [stdout]    --> src/gpt2.rs:138:5
[INFO] [stdout]     |
[INFO] [stdout] 137 | pub struct TransformerBlock {
[INFO] [stdout]     |            ---------------- fields in this struct
[INFO] [stdout] 138 |     ln_1: candle_nn::LayerNorm,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 139 |     attn: MultiHeadAttention,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 140 |     ln_2: candle_nn::LayerNorm,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 141 |     mlp: FeedForward,
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TransformerBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `forward` is never used
[INFO] [stdout]    --> src/gpt2.rs:158:12
[INFO] [stdout]     |
[INFO] [stdout] 144 | impl TransformerBlock {
[INFO] [stdout]     | --------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 158 |     pub fn forward(&self, x: &Tensor, mask: Option<&Tensor>) -> Result<Tensor> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `wte`, `wpe`, `h`, `ln_f`, and `config` are never read
[INFO] [stdout]    --> src/gpt2.rs:175:5
[INFO] [stdout]     |
[INFO] [stdout] 174 | pub struct Gpt2Model {
[INFO] [stdout]     |            --------- fields in this struct
[INFO] [stdout] 175 |     wte: candle_nn::Embedding,  // Token embeddings
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 176 |     wpe: candle_nn::Embedding,  // Position embeddings
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 177 |     h: Vec<TransformerBlock>,   // Transformer blocks
[INFO] [stdout]     |     ^
[INFO] [stdout] 178 |     ln_f: candle_nn::LayerNorm, // Final layer norm
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 179 |     config: Gpt2Config,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Gpt2Model` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `forward` and `config` are never used
[INFO] [stdout]    --> src/gpt2.rs:218:12
[INFO] [stdout]     |
[INFO] [stdout] 182 | impl Gpt2Model {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 218 |     pub fn forward(&self, input_ids: &Tensor, position_ids: Option<&Tensor>) -> Result<Tensor> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 251 |     pub fn config(&self) -> &Gpt2Config {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `transformer` and `lm_head` are never read
[INFO] [stdout]    --> src/gpt2.rs:259:5
[INFO] [stdout]     |
[INFO] [stdout] 258 | pub struct Gpt2LMHeadModel {
[INFO] [stdout]     |            --------------- fields in this struct
[INFO] [stdout] 259 |     transformer: Gpt2Model,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 260 |     lm_head: Linear,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Gpt2LMHeadModel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `forward`, `generate_next_token`, `top_p_sample`, `multinomial_sample`, and `transformer` are never used
[INFO] [stdout]    --> src/gpt2.rs:277:12
[INFO] [stdout]     |
[INFO] [stdout] 263 | impl Gpt2LMHeadModel {
[INFO] [stdout]     | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 277 |     pub fn forward(&self, input_ids: &Tensor) -> Result<Tensor> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 284 |     pub fn generate_next_token(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 316 |     fn top_p_sample(&self, logits: &Tensor, top_p: f64) -> Result<u32> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 346 |     fn multinomial_sample(&self, probs: &Tensor) -> Result<u32> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 362 |     pub fn transformer(&self) -> &Gpt2Model {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `simulate_inference_with_model` is never used
[INFO] [stdout]    --> src/main.rs:253:10
[INFO] [stdout]     |
[INFO] [stdout] 253 | async fn simulate_inference_with_model(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `c_attn`, `c_proj`, `n_head`, and `n_embd` are never read
[INFO] [stdout]   --> src/gpt2.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct MultiHeadAttention {
[INFO] [stdout]    |            ------------------ fields in this struct
[INFO] [stdout] 42 |     c_attn: Linear,     // Combined Q, K, V projection
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 43 |     c_proj: Linear,     // Output projection
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 44 |     n_head: usize,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 45 |     n_embd: usize,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MultiHeadAttention` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `forward` and `create_causal_mask` are never used
[INFO] [stdout]    --> src/gpt2.rs:65:12
[INFO] [stdout]     |
[INFO] [stdout]  48 | impl MultiHeadAttention {
[INFO] [stdout]     | ----------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  65 |     pub fn forward(&self, x: &Tensor, mask: Option<&Tensor>) -> Result<Tensor> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     fn create_causal_mask(&self, _seq_len: usize, _device: &Device) -> Result<Tensor> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `c_fc` and `c_proj` are never read
[INFO] [stdout]    --> src/gpt2.rs:112:5
[INFO] [stdout]     |
[INFO] [stdout] 111 | pub struct FeedForward {
[INFO] [stdout]     |            ----------- fields in this struct
[INFO] [stdout] 112 |     c_fc: Linear,   // First linear layer (expansion)
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 113 |     c_proj: Linear, // Second linear layer (projection)
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `FeedForward` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `forward` is never used
[INFO] [stdout]    --> src/gpt2.rs:127:12
[INFO] [stdout]     |
[INFO] [stdout] 116 | impl FeedForward {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 127 |     pub fn forward(&self, x: &Tensor) -> Result<Tensor> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `ln_1`, `attn`, `ln_2`, and `mlp` are never read
[INFO] [stdout]    --> src/gpt2.rs:138:5
[INFO] [stdout]     |
[INFO] [stdout] 137 | pub struct TransformerBlock {
[INFO] [stdout]     |            ---------------- fields in this struct
[INFO] [stdout] 138 |     ln_1: candle_nn::LayerNorm,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 139 |     attn: MultiHeadAttention,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 140 |     ln_2: candle_nn::LayerNorm,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 141 |     mlp: FeedForward,
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TransformerBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `forward` is never used
[INFO] [stdout]    --> src/gpt2.rs:158:12
[INFO] [stdout]     |
[INFO] [stdout] 144 | impl TransformerBlock {
[INFO] [stdout]     | --------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 158 |     pub fn forward(&self, x: &Tensor, mask: Option<&Tensor>) -> Result<Tensor> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `wte`, `wpe`, `h`, `ln_f`, and `config` are never read
[INFO] [stdout]    --> src/gpt2.rs:175:5
[INFO] [stdout]     |
[INFO] [stdout] 174 | pub struct Gpt2Model {
[INFO] [stdout]     |            --------- fields in this struct
[INFO] [stdout] 175 |     wte: candle_nn::Embedding,  // Token embeddings
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 176 |     wpe: candle_nn::Embedding,  // Position embeddings
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 177 |     h: Vec<TransformerBlock>,   // Transformer blocks
[INFO] [stdout]     |     ^
[INFO] [stdout] 178 |     ln_f: candle_nn::LayerNorm, // Final layer norm
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 179 |     config: Gpt2Config,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Gpt2Model` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `forward` and `config` are never used
[INFO] [stdout]    --> src/gpt2.rs:218:12
[INFO] [stdout]     |
[INFO] [stdout] 182 | impl Gpt2Model {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 218 |     pub fn forward(&self, input_ids: &Tensor, position_ids: Option<&Tensor>) -> Result<Tensor> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 251 |     pub fn config(&self) -> &Gpt2Config {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `transformer` and `lm_head` are never read
[INFO] [stdout]    --> src/gpt2.rs:259:5
[INFO] [stdout]     |
[INFO] [stdout] 258 | pub struct Gpt2LMHeadModel {
[INFO] [stdout]     |            --------------- fields in this struct
[INFO] [stdout] 259 |     transformer: Gpt2Model,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 260 |     lm_head: Linear,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Gpt2LMHeadModel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `forward`, `generate_next_token`, `top_p_sample`, `multinomial_sample`, and `transformer` are never used
[INFO] [stdout]    --> src/gpt2.rs:277:12
[INFO] [stdout]     |
[INFO] [stdout] 263 | impl Gpt2LMHeadModel {
[INFO] [stdout]     | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 277 |     pub fn forward(&self, input_ids: &Tensor) -> Result<Tensor> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 284 |     pub fn generate_next_token(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 316 |     fn top_p_sample(&self, logits: &Tensor, top_p: f64) -> Result<u32> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 346 |     fn multinomial_sample(&self, probs: &Tensor) -> Result<u32> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 362 |     pub fn transformer(&self) -> &Gpt2Model {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.38s
[INFO] running `Command { std: "docker" "inspect" "cbd920f3812f823addae7fcb25b15c15e307736b505448228d00cb0a1b1ed6f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cbd920f3812f823addae7fcb25b15c15e307736b505448228d00cb0a1b1ed6f3", kill_on_drop: false }`
[INFO] [stdout] cbd920f3812f823addae7fcb25b15c15e307736b505448228d00cb0a1b1ed6f3
