[INFO] cloning repository https://github.com/thanhauco/mini-llm
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thanhauco/mini-llm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthanhauco%2Fmini-llm", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthanhauco%2Fmini-llm'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fffcedfb0c8950f31e3fcee633e9bbbcb6321b1b
[INFO] checking thanhauco/mini-llm against try#50f413885985a8b0a0b6ca0766a0aedd45304953 for pr-155657-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthanhauco%2Fmini-llm" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  62% (1337/2153)
Updating files:  63% (1357/2153)
Updating files:  64% (1378/2153)
Updating files:  65% (1400/2153)
Updating files:  66% (1421/2153)
Updating files:  67% (1443/2153)
Updating files:  68% (1465/2153)
Updating files:  68% (1484/2153)
Updating files:  69% (1486/2153)
Updating files:  70% (1508/2153)
Updating files:  71% (1529/2153)
Updating files:  72% (1551/2153)
Updating files:  73% (1572/2153)
Updating files:  73% (1580/2153)
Updating files:  74% (1594/2153)
Updating files:  75% (1615/2153)
Updating files:  76% (1637/2153)
Updating files:  76% (1647/2153)
Updating files:  77% (1658/2153)
Updating files:  78% (1680/2153)
Updating files:  79% (1701/2153)
Updating files:  80% (1723/2153)
Updating files:  81% (1744/2153)
Updating files:  82% (1766/2153)
Updating files:  83% (1787/2153)
Updating files:  84% (1809/2153)
Updating files:  85% (1831/2153)
Updating files:  86% (1852/2153)
Updating files:  87% (1874/2153)
Updating files:  88% (1895/2153)
Updating files:  89% (1917/2153)
Updating files:  90% (1938/2153)
Updating files:  91% (1960/2153)
Updating files:  92% (1981/2153)
Updating files:  93% (2003/2153)
Updating files:  94% (2024/2153)
Updating files:  95% (2046/2153)
Updating files:  96% (2067/2153)
Updating files:  97% (2089/2153)
Updating files:  98% (2110/2153)
Updating files:  99% (2132/2153)
Updating files: 100% (2153/2153)
Updating files: 100% (2153/2153), done.
[INFO] started tweaking git repo https://github.com/thanhauco/mini-llm
[INFO] finished tweaking git repo https://github.com/thanhauco/mini-llm
[INFO] tweaked toml for git repo https://github.com/thanhauco/mini-llm written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/thanhauco/mini-llm on toolchain 50f413885985a8b0a0b6ca0766a0aedd45304953
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/thanhauco/mini-llm 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" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 156afea8e152be05affeb9a1b363c820902b0786cafea11af5e8657abbde142f
[INFO] running `Command { std: "docker" "start" "-a" "156afea8e152be05affeb9a1b363c820902b0786cafea11af5e8657abbde142f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "156afea8e152be05affeb9a1b363c820902b0786cafea11af5e8657abbde142f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "156afea8e152be05affeb9a1b363c820902b0786cafea11af5e8657abbde142f", kill_on_drop: false }`
[INFO] [stdout] 156afea8e152be05affeb9a1b363c820902b0786cafea11af5e8657abbde142f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 12a9c57766ea3fcea079f1b1e2c42d21adc6c5e5c80e515ba185405be6cfdaf6
[INFO] running `Command { std: "docker" "start" "-a" "12a9c57766ea3fcea079f1b1e2c42d21adc6c5e5c80e515ba185405be6cfdaf6", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]     Checking cfg-if v1.0.4
[INFO] [stderr]    Compiling libm v0.2.15
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling zerocopy v0.8.30
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking once_cell v1.21.3
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]     Checking reborrow v0.5.5
[INFO] [stderr]    Compiling seq-macro v0.3.6
[INFO] [stderr]     Checking bitflags v2.10.0
[INFO] [stderr]    Compiling pulp v0.21.5
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking rayon v1.11.0
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling dyn-stack-macros v0.1.3
[INFO] [stderr]     Checking memchr v2.7.6
[INFO] [stderr]     Checking raw-cpuid v11.6.0
[INFO] [stderr]     Checking raw-cpuid v10.7.0
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling winnow v0.7.13
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling toml_datetime v0.7.3
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]     Checking itoa v1.0.15
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling indexmap v2.12.1
[INFO] [stderr]     Checking ryu v1.0.20
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling find-msvc-tools v0.1.5
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]    Compiling cc v1.2.47
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]     Checking stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]    Compiling toml_parser v1.0.4
[INFO] [stderr]     Checking tracing-core v0.1.34
[INFO] [stderr]     Checking utf8parse v0.2.2
[INFO] [stderr]    Compiling zip v1.1.4
[INFO] [stderr]     Checking anstyle-parse v0.2.7
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]    Compiling toml_edit v0.23.7
[INFO] [stderr]     Checking memmap2 v0.9.9
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]     Checking libloading v0.8.9
[INFO] [stderr]     Checking colorchoice v1.0.4
[INFO] [stderr]     Checking anstyle-query v1.1.5
[INFO] [stderr]     Checking anstyle v1.0.13
[INFO] [stderr]     Checking regex-syntax v0.8.8
[INFO] [stderr]     Checking minimal-lexical v0.2.1
[INFO] [stderr]    Compiling onig_sys v69.9.1
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.2
[INFO] [stderr]    Compiling esaxx-rs v0.1.10
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking anstream v0.6.21
[INFO] [stderr]    Compiling proc-macro-crate v3.4.0
[INFO] [stderr]     Checking itertools v0.11.0
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling macro_rules_attribute-proc_macro v0.2.2
[INFO] [stderr]     Checking clap_lex v0.7.6
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]     Checking macro_rules_attribute v0.2.2
[INFO] [stderr]     Checking clap_builder v4.5.53
[INFO] [stderr]     Checking unicode-normalization-alignments v0.1.12
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]     Checking rayon-cond v0.3.0
[INFO] [stderr]     Checking itertools v0.12.1
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]     Checking unicode_categories v0.1.1
[INFO] [stderr]     Checking log v0.4.28
[INFO] [stderr]     Checking linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling zerocopy-derive v0.8.30
[INFO] [stderr]    Compiling bytemuck_derive v1.10.2
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]     Checking bytemuck v1.24.0
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking dyn-stack v0.13.2
[INFO] [stderr]     Checking dyn-stack v0.10.0
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling num_enum_derive v0.7.5
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]     Checking pulp v0.18.22
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling derive_builder_core v0.20.2
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]     Checking num v0.4.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]     Checking num_enum v0.7.5
[INFO] [stderr]    Compiling monostate-impl v0.1.18
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking onig v6.5.1
[INFO] [stderr]     Checking monostate v0.1.18
[INFO] [stderr]     Checking regex v1.12.2
[INFO] [stderr]    Compiling derive_builder_macro v0.20.2
[INFO] [stderr]    Compiling clap_derive v4.5.49
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking tempfile v3.23.0
[INFO] [stderr]     Checking derive_builder v0.20.2
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking safetensors v0.4.5
[INFO] [stderr]     Checking spm_precompiled v0.1.4
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking rand_distr v0.5.1
[INFO] [stderr]     Checking tokenizers v0.19.1
[INFO] [stderr]     Checking clap v4.5.53
[INFO] [stderr]     Checking half v2.7.1
[INFO] [stderr]     Checking gemm-common v0.18.2
[INFO] [stderr]     Checking gemm-common v0.17.1
[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 gemm-f32 v0.18.2
[INFO] [stderr]     Checking gemm-f64 v0.18.2
[INFO] [stderr]     Checking gemm-c64 v0.18.2
[INFO] [stderr]     Checking gemm-c32 v0.18.2
[INFO] [stderr]     Checking gemm-f16 v0.17.1
[INFO] [stderr]     Checking gemm-f16 v0.18.2
[INFO] [stderr]     Checking gemm v0.17.1
[INFO] [stderr]     Checking gemm v0.18.2
[INFO] [stderr]     Checking ug v0.1.0
[INFO] [stderr]     Checking candle-core v0.8.4
[INFO] [stderr]     Checking candle-nn v0.8.4
[INFO] [stderr]     Checking mini-llm v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0599]: no method named `shape` found for struct `VarBuilderArgs<'a, B>` in the current scope
[INFO] [stdout]   --> src/model.rs:17:46
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let weight = vb.get((vb.pp("weight").shape().dims2()?.1,), "weight")?; // Shape might vary
[INFO] [stdout]    |                                              ^^^^^ method not found in `VarBuilderArgs<'_, Box<dyn SimpleBackend>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `shape` found for struct `VarBuilderArgs<'a, B>` in the current scope
[INFO] [stdout]   --> src/model.rs:17:46
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let weight = vb.get((vb.pp("weight").shape().dims2()?.1,), "weight")?; // Shape might vary
[INFO] [stdout]    |                                              ^^^^^ method not found in `VarBuilderArgs<'_, Box<dyn SimpleBackend>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/sampler.rs:53:31
[INFO] [stdout]    |
[INFO] [stdout] 53 |                 if cum_prob > self.top_p {
[INFO] [stdout]    |                    --------   ^^^^^^^^^^ expected `f32`, found `f64`
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    expected because this is `f32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/sampler.rs:53:31
[INFO] [stdout]    |
[INFO] [stdout] 53 |                 if cum_prob > self.top_p {
[INFO] [stdout]    |                    --------   ^^^^^^^^^^ expected `f32`, found `f64`
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    expected because this is `f32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `candle_core::Error`
[INFO] [stdout]   --> src/sampler.rs:61:104
[INFO] [stdout]    |
[INFO] [stdout] 61 |         let dist = rand::distributions::WeightedIndex::new(&kept_probs).map_err(|e| anyhow::anyhow!(e))?;
[INFO] [stdout]    |                    ---------------------------------------------------- -------------------------------^ the trait `From<anyhow::Error>` is not implemented for `candle_core::Error`
[INFO] [stdout]    |                    |                                                    |
[INFO] [stdout]    |                    |                                                    this can't be annotated with `?` because it has type `Result<_, anyhow::Error>`
[INFO] [stdout]    |                    this has type `Result<_, WeightedError>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout]    = help: `candle_core::Error` implements trait `From<T>`:
[INFO] [stdout]              From<FromUtf8Error>
[INFO] [stdout]              From<MetalError>
[INFO] [stdout]              From<Object>
[INFO] [stdout]              From<ParseIntError>
[INFO] [stdout]              From<SafeTensorError>
[INFO] [stdout]              From<std::io::Error>
[INFO] [stdout]              From<std::num::TryFromIntError>
[INFO] [stdout]              From<ug::error::Error>
[INFO] [stdout]              From<zip::result::ZipError>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `candle_core::Error`
[INFO] [stdout]   --> src/sampler.rs:61:104
[INFO] [stdout]    |
[INFO] [stdout] 61 |         let dist = rand::distributions::WeightedIndex::new(&kept_probs).map_err(|e| anyhow::anyhow!(e))?;
[INFO] [stdout]    |                    ---------------------------------------------------- -------------------------------^ the trait `From<anyhow::Error>` is not implemented for `candle_core::Error`
[INFO] [stdout]    |                    |                                                    |
[INFO] [stdout]    |                    |                                                    this can't be annotated with `?` because it has type `Result<_, anyhow::Error>`
[INFO] [stdout]    |                    this has type `Result<_, WeightedError>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout]    = help: `candle_core::Error` implements trait `From<T>`:
[INFO] [stdout]              From<FromUtf8Error>
[INFO] [stdout]              From<MetalError>
[INFO] [stdout]              From<Object>
[INFO] [stdout]              From<ParseIntError>
[INFO] [stdout]              From<SafeTensorError>
[INFO] [stdout]              From<std::io::Error>
[INFO] [stdout]              From<std::num::TryFromIntError>
[INFO] [stdout]              From<ug::error::Error>
[INFO] [stdout]              From<zip::result::ZipError>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `candle_core::Error`
[INFO] [stdout]   --> src/generator.rs:24:61
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let mut tokens = self.tokenizer.encode(prompt, true)?;
[INFO] [stdout]    |                                         --------------------^ the trait `From<anyhow::Error>` is not implemented for `candle_core::Error`
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         this can't be annotated with `?` because it has type `Result<_, anyhow::Error>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout]    = help: `candle_core::Error` implements trait `From<T>`:
[INFO] [stdout]              From<FromUtf8Error>
[INFO] [stdout]              From<MetalError>
[INFO] [stdout]              From<Object>
[INFO] [stdout]              From<ParseIntError>
[INFO] [stdout]              From<SafeTensorError>
[INFO] [stdout]              From<std::io::Error>
[INFO] [stdout]              From<std::num::TryFromIntError>
[INFO] [stdout]              From<ug::error::Error>
[INFO] [stdout]              From<zip::result::ZipError>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `candle_core::Error`
[INFO] [stdout]   --> src/generator.rs:24:61
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let mut tokens = self.tokenizer.encode(prompt, true)?;
[INFO] [stdout]    |                                         --------------------^ the trait `From<anyhow::Error>` is not implemented for `candle_core::Error`
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         this can't be annotated with `?` because it has type `Result<_, anyhow::Error>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout]    = help: `candle_core::Error` implements trait `From<T>`:
[INFO] [stdout]              From<FromUtf8Error>
[INFO] [stdout]              From<MetalError>
[INFO] [stdout]              From<Object>
[INFO] [stdout]              From<ParseIntError>
[INFO] [stdout]              From<SafeTensorError>
[INFO] [stdout]              From<std::io::Error>
[INFO] [stdout]              From<std::num::TryFromIntError>
[INFO] [stdout]              From<ug::error::Error>
[INFO] [stdout]              From<zip::result::ZipError>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `kv_caches` as mutable, as it is not declared as mutable
[INFO] [stdout]    --> src/model.rs:365:25
[INFO] [stdout]     |
[INFO] [stdout] 365 |             let cache = kv_caches.as_mut().map(|caches| &mut caches[i]);
[INFO] [stdout]     |                         ^^^^^^^^^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]     |
[INFO] [stdout] 360 |     pub fn forward(&self, tokens: &Tensor, mut kv_caches: Option<&mut Vec<KVCache>>) -> Result<Tensor> {
[INFO] [stdout]     |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `kv_caches` as mutable, as it is not declared as mutable
[INFO] [stdout]    --> src/model.rs:365:25
[INFO] [stdout]     |
[INFO] [stdout] 365 |             let cache = kv_caches.as_mut().map(|caches| &mut caches[i]);
[INFO] [stdout]     |                         ^^^^^^^^^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]     |
[INFO] [stdout] 360 |     pub fn forward(&self, tokens: &Tensor, mut kv_caches: Option<&mut Vec<KVCache>>) -> Result<Tensor> {
[INFO] [stdout]     |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0596, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0596, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mini-llm` (lib) due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `mini-llm` (lib test) due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "12a9c57766ea3fcea079f1b1e2c42d21adc6c5e5c80e515ba185405be6cfdaf6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "12a9c57766ea3fcea079f1b1e2c42d21adc6c5e5c80e515ba185405be6cfdaf6", kill_on_drop: false }`
[INFO] [stdout] 12a9c57766ea3fcea079f1b1e2c42d21adc6c5e5c80e515ba185405be6cfdaf6
