[INFO] cloning repository https://github.com/enricozanardo/wall-e
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/enricozanardo/wall-e" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenricozanardo%2Fwall-e", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenricozanardo%2Fwall-e'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 630da121b1d60a7c51b25053ee0d7523a80a9b0b
[INFO] checking enricozanardo/wall-e against 615014f15745532730b9ce7a1d9309f8b4756f93 for pr-160491
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenricozanardo%2Fwall-e" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/enricozanardo/wall-e
[INFO] removed 0 missing examples
[INFO] finished tweaking git repo https://github.com/enricozanardo/wall-e
[INFO] tweaked toml for git repo https://github.com/enricozanardo/wall-e written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/enricozanardo/wall-e on toolchain 615014f15745532730b9ce7a1d9309f8b4756f93
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/enricozanardo/wall-e 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" "+615014f15745532730b9ce7a1d9309f8b4756f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ndarray-rand v0.14.0
[INFO] [stderr]   Downloaded matrixmultiply v0.3.9
[INFO] [stderr]   Downloaded ndarray-parallel v0.9.1
[INFO] [stderr]   Downloaded rawpointer v0.1.0
[INFO] [stderr]   Downloaded matrixmultiply v0.1.15
[INFO] [stderr]   Downloaded libm v0.2.13
[INFO] [stderr]   Downloaded itertools v0.7.11
[INFO] [stderr]   Downloaded jiff-static v0.2.13
[INFO] [stderr]   Downloaded clap v4.5.37
[INFO] [stderr]   Downloaded bytemuck v1.22.0
[INFO] [stderr]   Downloaded indicatif v0.17.11
[INFO] [stderr]   Downloaded ndarray v0.12.1
[INFO] [stderr]   Downloaded clap_builder v4.5.37
[INFO] [stderr]   Downloaded unicode-width v0.2.0
[INFO] [stderr]   Downloaded jiff v0.2.13
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c815f754140bb4eee468bb8bd4749aaa5bfcd76e6ba7a546609be78e03a219f4
[INFO] running `Command { std: "docker" "start" "c815f754140bb4eee468bb8bd4749aaa5bfcd76e6ba7a546609be78e03a219f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c815f754140bb4eee468bb8bd4749aaa5bfcd76e6ba7a546609be78e03a219f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c815f754140bb4eee468bb8bd4749aaa5bfcd76e6ba7a546609be78e03a219f4" "/opt/rustwide/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c815f754140bb4eee468bb8bd4749aaa5bfcd76e6ba7a546609be78e03a219f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c815f754140bb4eee468bb8bd4749aaa5bfcd76e6ba7a546609be78e03a219f4" "/opt/rustwide/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling libm v0.2.13
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking litemap v0.7.5
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.1
[INFO] [stderr]    Compiling zerocopy v0.8.24
[INFO] [stderr]    Compiling icu_properties_data v1.5.1
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.1
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling matrixmultiply v0.3.9
[INFO] [stderr]     Checking anstyle-parse v0.2.6
[INFO] [stderr]    Compiling matrixmultiply v0.1.15
[INFO] [stderr]     Checking anstyle-query v1.1.2
[INFO] [stderr]     Checking smallvec v1.15.0
[INFO] [stderr]     Checking colorchoice v1.0.3
[INFO] [stderr]     Checking anstyle v1.0.10
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking rawpointer v0.2.1
[INFO] [stderr]     Checking rawpointer v0.1.0
[INFO] [stderr]    Compiling portable-atomic v1.11.0
[INFO] [stderr]    Compiling rustix v1.0.5
[INFO] [stderr]     Checking anstream v0.6.18
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]    Compiling ndarray v0.12.1
[INFO] [stderr]     Checking itertools v0.7.11
[INFO] [stderr]     Checking percent-encoding v2.3.1
[INFO] [stderr]     Checking unicode-width v0.2.0
[INFO] [stderr]     Checking clap_lex v0.7.4
[INFO] [stderr]     Checking bitflags v2.9.0
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]     Checking csv-core v0.1.12
[INFO] [stderr]     Checking jiff v0.2.13
[INFO] [stderr]     Checking number_prefix v0.4.0
[INFO] [stderr]     Checking iana-time-zone v0.1.63
[INFO] [stderr]     Checking bytemuck v1.22.0
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking clap_builder v4.5.37
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking console v0.15.11
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking memmap2 v0.9.5
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking indicatif v0.17.11
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking tempfile v3.19.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking env_filter v0.1.3
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking env_logger v0.11.8
[INFO] [stderr]     Checking rand_distr v0.4.3
[INFO] [stderr]     Checking ndarray-parallel v0.9.1
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling clap_derive v4.5.32
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]     Checking clap v4.5.37
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking ndarray v0.15.6
[INFO] [stderr]     Checking serde_json v1.0.140
[INFO] [stderr]     Checking chrono v0.4.40
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking csv v1.3.1
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking ndarray-rand v0.14.0
[INFO] [stderr]     Checking wall-e1 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> src/nabla/memory_opt.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::time::{Instant, Duration};
[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 imports: `Axis` and `Ix3`
[INFO] [stdout]  --> src/training/mod.rs:4:46
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ndarray::{Array, Array1, Array2, Array3, Axis, Ix1, Ix2, Ix3, Ix0, IxDyn, s};
[INFO] [stdout]   |                                              ^^^^            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::Array0`
[INFO] [stdout]   --> src/training/mod.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use ndarray::Array0;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::array`
[INFO] [stdout]   --> src/training/mod.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use ndarray::array;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Instant`
[INFO] [stdout]   --> src/training/mod.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::time::Instant;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `Barrier`, and `Mutex`
[INFO] [stdout]   --> src/training/mod.rs:17:17
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::sync::{Mutex, Arc, Barrier};
[INFO] [stdout]    |                 ^^^^^  ^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AtomicUsize` and `Ordering`
[INFO] [stdout]   --> src/training/mod.rs:18:25
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::sync::atomic::{AtomicUsize, Ordering};
[INFO] [stdout]    |                         ^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::nabla::memory_opt`
[INFO] [stdout]   --> src/training/enhanced_trainer.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::nabla::memory_opt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Barrier`
[INFO] [stdout]   --> src/training/enhanced_trainer.rs:19:29
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::sync::{Arc, Mutex, Barrier};
[INFO] [stdout]    |                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MutexGuard` and `Mutex`
[INFO] [stdout]  --> src/training/batch_dispatcher.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::sync::{Mutex, MutexGuard};
[INFO] [stdout]   |                 ^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::ThreadId`
[INFO] [stdout]  --> src/training/batch_dispatcher.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::thread::ThreadId;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> src/nabla/memory_opt.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::time::{Instant, Duration};
[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 imports: `Axis` and `Ix3`
[INFO] [stdout]  --> src/training/mod.rs:4:46
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ndarray::{Array, Array1, Array2, Array3, Axis, Ix1, Ix2, Ix3, Ix0, IxDyn, s};
[INFO] [stdout]   |                                              ^^^^            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::Array0`
[INFO] [stdout]   --> src/training/mod.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use ndarray::Array0;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::array`
[INFO] [stdout]   --> src/training/mod.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use ndarray::array;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Instant`
[INFO] [stdout]   --> src/training/mod.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::time::Instant;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `Barrier`, and `Mutex`
[INFO] [stdout]   --> src/training/mod.rs:17:17
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::sync::{Mutex, Arc, Barrier};
[INFO] [stdout]    |                 ^^^^^  ^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AtomicUsize` and `Ordering`
[INFO] [stdout]   --> src/training/mod.rs:18:25
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::sync::atomic::{AtomicUsize, Ordering};
[INFO] [stdout]    |                         ^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::nabla::memory_opt`
[INFO] [stdout]   --> src/training/enhanced_trainer.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::nabla::memory_opt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Barrier`
[INFO] [stdout]   --> src/training/enhanced_trainer.rs:19:29
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::sync::{Arc, Mutex, Barrier};
[INFO] [stdout]    |                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MutexGuard` and `Mutex`
[INFO] [stdout]  --> src/training/batch_dispatcher.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::sync::{Mutex, MutexGuard};
[INFO] [stdout]   |                 ^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::ThreadId`
[INFO] [stdout]  --> src/training/batch_dispatcher.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::thread::ThreadId;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/nabla/memory_opt.rs:88:15
[INFO] [stdout]    |
[INFO] [stdout] 88 |     if let Ok(v) = std::env::var("MALLOC_ARENA_MAX") {
[INFO] [stdout]    |               ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `count`
[INFO] [stdout]    --> src/tokenizer/word_bpe.rs:420:20
[INFO] [stdout]     |
[INFO] [stdout] 420 |         for (word, count) in word_counts.iter().filter(|&(_, count)| *count >= min_frequency) {
[INFO] [stdout]     |                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tokens_to_add`
[INFO] [stdout]     --> src/training/mod.rs:1315:13
[INFO] [stdout]      |
[INFO] [stdout] 1315 |         let tokens_to_add = new_vocab_size - current_size;
[INFO] [stdout]      |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens_to_add`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `reported_progress` is assigned to, but never used
[INFO] [stdout]    --> src/training/generation.rs:174:13
[INFO] [stdout]     |
[INFO] [stdout] 174 |         let mut reported_progress = false;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_reported_progress` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `reported_progress` is never read
[INFO] [stdout]    --> src/training/generation.rs:181:17
[INFO] [stdout]     |
[INFO] [stdout] 181 |                 reported_progress = true;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/training/enhanced_trainer.rs:542:29
[INFO] [stdout]     |
[INFO] [stdout] 542 |                         let mut loss_guard = loss_mutex.lock().unwrap();
[INFO] [stdout]     |                             ----^^^^^^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `batch`
[INFO] [stdout]    --> src/training/enhanced_trainer.rs:538:34
[INFO] [stdout]     |
[INFO] [stdout] 538 |                     if let (Some(batch), Some(target)) = (inputs.get(batch_idx), targets.get(batch_idx)) {
[INFO] [stdout]     |                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_batch`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target`
[INFO] [stdout]    --> src/training/enhanced_trainer.rs:538:47
[INFO] [stdout]     |
[INFO] [stdout] 538 |                     if let (Some(batch), Some(target)) = (inputs.get(batch_idx), targets.get(batch_idx)) {
[INFO] [stdout]     |                                               ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `thread_id`
[INFO] [stdout]     --> src/training/enhanced_trainer.rs:3454:13
[INFO] [stdout]      |
[INFO] [stdout] 3454 |         for thread_id in 0..num_threads {
[INFO] [stdout]      |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `progress_reported` is never read
[INFO] [stdout]     --> src/training/enhanced_trainer.rs:3714:13
[INFO] [stdout]      |
[INFO] [stdout] 3714 |             progress_reported = true;
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `determine_allocator_type` is never used
[INFO] [stdout]   --> src/nabla/memory_opt.rs:79:4
[INFO] [stdout]    |
[INFO] [stdout] 79 | fn determine_allocator_type() -> Option<String> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_total_elapsed` is never used
[INFO] [stdout]    --> src/training/enhanced_trainer.rs:165:8
[INFO] [stdout]     |
[INFO] [stdout] 134 | impl ThreadStateTracker {
[INFO] [stdout]     | ----------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 165 |     fn get_total_elapsed(&self) -> std::time::Duration {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `run_with_timeout` is never used
[INFO] [stdout]     --> src/training/enhanced_trainer.rs:2001:8
[INFO] [stdout]      |
[INFO] [stdout]  201 | impl EnhancedTrainer {
[INFO] [stdout]      | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 2001 |     fn run_with_timeout<F, T>(&self, f: F, timeout: std::time::Duration) -> Option<T> 
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `V0_HEADER_SIZE` is never used
[INFO] [stdout]    --> src/training/enhanced_trainer.rs:101:15
[INFO] [stdout]     |
[INFO] [stdout] 101 |     pub const V0_HEADER_SIZE: usize = 32;
[INFO] [stdout]     |               ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `time` is never read
[INFO] [stdout]   --> src/training/batch_dispatcher.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 40 | struct LockEvent {
[INFO] [stdout]    |        --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 44 |     time: Instant,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `wall_e1::nabla::tensor::Tensor`
[INFO] [stdout]  --> src/bin/memory_test.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use wall_e1::nabla::tensor::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: `wall_e1::nabla::tensor::Tensor`
[INFO] [stdout]  --> src/bin/memory_test.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use wall_e1::nabla::tensor::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: `Array2`
[INFO] [stdout]  --> examples/model_test.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | use ndarray::{Array2, s};
[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: `std::env`
[INFO] [stdout]  --> src/bin/diagnose_training.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::env;
[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: `wall_e1::tokenizer::Tokenizer`
[INFO] [stdout]  --> src/bin/diagnose_training.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use wall_e1::tokenizer::Tokenizer;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/bin/diagnose_training.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/bin/diagnose_training.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ProgressBar` and `ProgressStyle`
[INFO] [stdout]   --> src/bin/train_enhanced_model.rs:16:17
[INFO] [stdout]    |
[INFO] [stdout] 16 | use indicatif::{ProgressBar, ProgressStyle};
[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 imports: `Arc`, `AtomicUsize`, `Mutex`, and `Ordering`
[INFO] [stdout]   --> src/bin/train_enhanced_model.rs:17:17
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::sync::{Arc, Mutex, atomic::{AtomicUsize, Ordering}};
[INFO] [stdout]    |                 ^^^  ^^^^^           ^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TextGenerator`
[INFO] [stdout]  --> src/bin/test_multithreading.rs:5:42
[INFO] [stdout]   |
[INFO] [stdout] 5 | use wall_e1::training::{EnhancedTrainer, TextGenerator};
[INFO] [stdout]   |                                          ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/nabla/memory_opt.rs:88:15
[INFO] [stdout]    |
[INFO] [stdout] 88 |     if let Ok(v) = std::env::var("MALLOC_ARENA_MAX") {
[INFO] [stdout]    |               ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/bin/diagnose_training.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::env;
[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: `wall_e1::tokenizer::Tokenizer`
[INFO] [stdout]  --> src/bin/diagnose_training.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use wall_e1::tokenizer::Tokenizer;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/bin/diagnose_training.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/bin/diagnose_training.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WordPieceBPETokenizer`
[INFO] [stdout]  --> examples/test_model.rs:6:26
[INFO] [stdout]   |
[INFO] [stdout] 6 | use wall_e1::tokenizer::{WordPieceBPETokenizer, Tokenizer};
[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: `ndarray::Array2`
[INFO] [stdout]  --> examples/test_model.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use ndarray::Array2;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ProgressBar` and `ProgressStyle`
[INFO] [stdout]   --> examples/test_model.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 | use indicatif::{ProgressBar, ProgressStyle};
[INFO] [stdout]    |                 ^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::prelude::*`
[INFO] [stdout]   --> examples/test_model.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use rand::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `wall_e1::tokenizer::basic_tokenizer::BasicTokenizer`
[INFO] [stdout]  --> examples/train_qa_model.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use wall_e1::tokenizer::basic_tokenizer::BasicTokenizer;
[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: `TextGenerator`
[INFO] [stdout]  --> src/bin/test_multithreading.rs:5:42
[INFO] [stdout]   |
[INFO] [stdout] 5 | use wall_e1::training::{EnhancedTrainer, TextGenerator};
[INFO] [stdout]   |                                          ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `count`
[INFO] [stdout]    --> src/tokenizer/word_bpe.rs:420:20
[INFO] [stdout]     |
[INFO] [stdout] 420 |         for (word, count) in word_counts.iter().filter(|&(_, count)| *count >= min_frequency) {
[INFO] [stdout]     |                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tokens`
[INFO] [stdout]    --> src/tokenizer/word_bpe.rs:745:13
[INFO] [stdout]     |
[INFO] [stdout] 745 |         let tokens = tokenizer.tokenize(text);
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ProgressBar` and `ProgressStyle`
[INFO] [stdout]   --> src/bin/train_enhanced_model.rs:16:17
[INFO] [stdout]    |
[INFO] [stdout] 16 | use indicatif::{ProgressBar, ProgressStyle};
[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 imports: `Arc`, `AtomicUsize`, `Mutex`, and `Ordering`
[INFO] [stdout]   --> src/bin/train_enhanced_model.rs:17:17
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::sync::{Arc, Mutex, atomic::{AtomicUsize, Ordering}};
[INFO] [stdout]    |                 ^^^  ^^^^^           ^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_load_method_to_trainer` is never used
[INFO] [stdout]   --> examples/test_model.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn add_load_method_to_trainer() -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tokens_to_add`
[INFO] [stdout]     --> src/training/mod.rs:1315:13
[INFO] [stdout]      |
[INFO] [stdout] 1315 |         let tokens_to_add = new_vocab_size - current_size;
[INFO] [stdout]      |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens_to_add`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `reported_progress` is assigned to, but never used
[INFO] [stdout]    --> src/training/generation.rs:174:13
[INFO] [stdout]     |
[INFO] [stdout] 174 |         let mut reported_progress = false;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_reported_progress` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `reported_progress` is never read
[INFO] [stdout]    --> src/training/generation.rs:181:17
[INFO] [stdout]     |
[INFO] [stdout] 181 |                 reported_progress = true;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/training/enhanced_trainer.rs:542:29
[INFO] [stdout]     |
[INFO] [stdout] 542 |                         let mut loss_guard = loss_mutex.lock().unwrap();
[INFO] [stdout]     |                             ----^^^^^^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `batch`
[INFO] [stdout]    --> src/training/enhanced_trainer.rs:538:34
[INFO] [stdout]     |
[INFO] [stdout] 538 |                     if let (Some(batch), Some(target)) = (inputs.get(batch_idx), targets.get(batch_idx)) {
[INFO] [stdout]     |                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_batch`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target`
[INFO] [stdout]    --> src/training/enhanced_trainer.rs:538:47
[INFO] [stdout]     |
[INFO] [stdout] 538 |                     if let (Some(batch), Some(target)) = (inputs.get(batch_idx), targets.get(batch_idx)) {
[INFO] [stdout]     |                                               ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `thread_id`
[INFO] [stdout]   --> src/bin/train_enhanced_model.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let thread_id = format!("{:?}", std::thread::current().id());
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/bin/train_enhanced_model.rs:1230:9
[INFO] [stdout]      |
[INFO] [stdout] 1230 |     let mut path_with_dir = if !final_save_path_str.starts_with("models/") {
[INFO] [stdout]      |         ----^^^^^^^^^^^^^
[INFO] [stdout]      |         |
[INFO] [stdout]      |         help: remove this `mut`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `thread_count`
[INFO] [stdout]    --> src/bin/train_enhanced_model.rs:371:13
[INFO] [stdout]     |
[INFO] [stdout] 371 |         let thread_count = if op == &"data_loading" { min_data_threads } else { pool.get_num_threads() };
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `setup_start`
[INFO] [stdout]    --> src/bin/train_enhanced_model.rs:428:9
[INFO] [stdout]     |
[INFO] [stdout] 428 |     let setup_start = Instant::now();
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_setup_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `curriculum_examples` is assigned to, but never used
[INFO] [stdout]    --> src/bin/train_enhanced_model.rs:462:9
[INFO] [stdout]     |
[INFO] [stdout] 462 |     let mut curriculum_examples: usize = 2000;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_curriculum_examples` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `auto_resize_vocab` is assigned to, but never used
[INFO] [stdout]    --> src/bin/train_enhanced_model.rs:466:9
[INFO] [stdout]     |
[INFO] [stdout] 466 |     let mut auto_resize_vocab = false;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_auto_resize_vocab` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `watchdog_timeout` is assigned to, but never used
[INFO] [stdout]    --> src/bin/train_enhanced_model.rs:467:9
[INFO] [stdout]     |
[INFO] [stdout] 467 |     let mut watchdog_timeout: Option<u64> = None;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_watchdog_timeout` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `target_id_max` is assigned to, but never used
[INFO] [stdout]    --> src/bin/train_enhanced_model.rs:470:9
[INFO] [stdout]     |
[INFO] [stdout] 470 |     let mut target_id_max: Option<usize> = None;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_target_id_max` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `curriculum_examples` is never read
[INFO] [stdout]    --> src/bin/train_enhanced_model.rs:675:25
[INFO] [stdout]     |
[INFO] [stdout] 675 |                         curriculum_examples = num;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `auto_resize_vocab` is never read
[INFO] [stdout]    --> src/bin/train_enhanced_model.rs:681:17
[INFO] [stdout]     |
[INFO] [stdout] 681 |                 auto_resize_vocab = true;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `watchdog_timeout` is never read
[INFO] [stdout]    --> src/bin/train_enhanced_model.rs:687:25
[INFO] [stdout]     |
[INFO] [stdout] 687 |                         watchdog_timeout = Some(timeout);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `target_id_max` is never read
[INFO] [stdout]    --> src/bin/train_enhanced_model.rs:711:25
[INFO] [stdout]     |
[INFO] [stdout] 711 |                         target_id_max = Some(max_id);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `epoch`
[INFO] [stdout]     --> src/bin/train_enhanced_model.rs:1340:68
[INFO] [stdout]      |
[INFO] [stdout] 1340 | fn train_epoch(trainer: &mut EnhancedTrainer, tokens: &Vec<usize>, epoch: usize, 
[INFO] [stdout]      |                                                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_epoch`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `thread_id`
[INFO] [stdout]     --> src/training/enhanced_trainer.rs:3454:13
[INFO] [stdout]      |
[INFO] [stdout] 3454 |         for thread_id in 0..num_threads {
[INFO] [stdout]      |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `batch_inputs`
[INFO] [stdout]     --> src/bin/train_enhanced_model.rs:1508:10
[INFO] [stdout]      |
[INFO] [stdout] 1508 |     let (batch_inputs, min_seq_len, truncated_inputs, batch_targets_arr, timing) = pool_result.install(|| {
[INFO] [stdout]      |          ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batch_inputs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `min_seq_len`
[INFO] [stdout]     --> src/bin/train_enhanced_model.rs:1508:24
[INFO] [stdout]      |
[INFO] [stdout] 1508 |     let (batch_inputs, min_seq_len, truncated_inputs, batch_targets_arr, timing) = pool_result.install(|| {
[INFO] [stdout]      |                        ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_seq_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `progress_reported` is never read
[INFO] [stdout]     --> src/training/enhanced_trainer.rs:3714:13
[INFO] [stdout]      |
[INFO] [stdout] 3714 |             progress_reported = true;
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]     --> src/bin/train_enhanced_model.rs:1779:13
[INFO] [stdout]      |
[INFO] [stdout] 1779 |     let (m, k) = a.dim();
[INFO] [stdout]      |             ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `prepare_batch_parallel` is never used
[INFO] [stdout]     --> src/bin/train_enhanced_model.rs:1472:4
[INFO] [stdout]      |
[INFO] [stdout] 1472 | fn prepare_batch_parallel(
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `detect_simd_features` is never used
[INFO] [stdout]     --> src/bin/train_enhanced_model.rs:1691:4
[INFO] [stdout]      |
[INFO] [stdout] 1691 | fn detect_simd_features() -> Vec<String> {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `enable_simd_optimizations` is never used
[INFO] [stdout]     --> src/bin/train_enhanced_model.rs:1728:4
[INFO] [stdout]      |
[INFO] [stdout] 1728 | fn enable_simd_optimizations(features: &[String]) -> bool {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `matrix_multiply_simd` is never used
[INFO] [stdout]     --> src/bin/train_enhanced_model.rs:1774:4
[INFO] [stdout]      |
[INFO] [stdout] 1774 | fn matrix_multiply_simd(a: &ndarray::Array2<f32>, b: &ndarray::Array2<f32>) -> ndarray::Array2<f32> {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `matrix_multiply_avx2` is never used
[INFO] [stdout]     --> src/bin/train_enhanced_model.rs:1844:4
[INFO] [stdout]      |
[INFO] [stdout] 1844 | fn matrix_multiply_avx2(a: &ndarray::Array2<f32>, b: &ndarray::Array2<f32>, result: &mut ndarray::Array2<f32>) {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `matrix_multiply_scalar` is never used
[INFO] [stdout]     --> src/bin/train_enhanced_model.rs:1850:4
[INFO] [stdout]      |
[INFO] [stdout] 1850 | fn matrix_multiply_scalar(a: &ndarray::Array2<f32>, b: &ndarray::Array2<f32>, result: &mut ndarray::Array2<f32>) {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `thread_id`
[INFO] [stdout]   --> src/bin/train_enhanced_model.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let thread_id = format!("{:?}", std::thread::current().id());
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `determine_allocator_type` is never used
[INFO] [stdout]   --> src/nabla/memory_opt.rs:79:4
[INFO] [stdout]    |
[INFO] [stdout] 79 | fn determine_allocator_type() -> Option<String> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_total_elapsed` is never used
[INFO] [stdout]    --> src/training/enhanced_trainer.rs:165:8
[INFO] [stdout]     |
[INFO] [stdout] 134 | impl ThreadStateTracker {
[INFO] [stdout]     | ----------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 165 |     fn get_total_elapsed(&self) -> std::time::Duration {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `run_with_timeout` is never used
[INFO] [stdout]     --> src/training/enhanced_trainer.rs:2001:8
[INFO] [stdout]      |
[INFO] [stdout]  201 | impl EnhancedTrainer {
[INFO] [stdout]      | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 2001 |     fn run_with_timeout<F, T>(&self, f: F, timeout: std::time::Duration) -> Option<T> 
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `V0_HEADER_SIZE` is never used
[INFO] [stdout]    --> src/training/enhanced_trainer.rs:101:15
[INFO] [stdout]     |
[INFO] [stdout] 101 |     pub const V0_HEADER_SIZE: usize = 32;
[INFO] [stdout]     |               ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `time` is never read
[INFO] [stdout]   --> src/training/batch_dispatcher.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 40 | struct LockEvent {
[INFO] [stdout]    |        --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 44 |     time: Instant,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/bin/train_enhanced_model.rs:1230:9
[INFO] [stdout]      |
[INFO] [stdout] 1230 |     let mut path_with_dir = if !final_save_path_str.starts_with("models/") {
[INFO] [stdout]      |         ----^^^^^^^^^^^^^
[INFO] [stdout]      |         |
[INFO] [stdout]      |         help: remove this `mut`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `thread_count`
[INFO] [stdout]    --> src/bin/train_enhanced_model.rs:371:13
[INFO] [stdout]     |
[INFO] [stdout] 371 |         let thread_count = if op == &"data_loading" { min_data_threads } else { pool.get_num_threads() };
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `setup_start`
[INFO] [stdout]    --> src/bin/train_enhanced_model.rs:428:9
[INFO] [stdout]     |
[INFO] [stdout] 428 |     let setup_start = Instant::now();
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_setup_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `curriculum_examples` is assigned to, but never used
[INFO] [stdout]    --> src/bin/train_enhanced_model.rs:462:9
[INFO] [stdout]     |
[INFO] [stdout] 462 |     let mut curriculum_examples: usize = 2000;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_curriculum_examples` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `auto_resize_vocab` is assigned to, but never used
[INFO] [stdout]    --> src/bin/train_enhanced_model.rs:466:9
[INFO] [stdout]     |
[INFO] [stdout] 466 |     let mut auto_resize_vocab = false;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_auto_resize_vocab` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `watchdog_timeout` is assigned to, but never used
[INFO] [stdout]    --> src/bin/train_enhanced_model.rs:467:9
[INFO] [stdout]     |
[INFO] [stdout] 467 |     let mut watchdog_timeout: Option<u64> = None;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_watchdog_timeout` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `target_id_max` is assigned to, but never used
[INFO] [stdout]    --> src/bin/train_enhanced_model.rs:470:9
[INFO] [stdout]     |
[INFO] [stdout] 470 |     let mut target_id_max: Option<usize> = None;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_target_id_max` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `curriculum_examples` is never read
[INFO] [stdout]    --> src/bin/train_enhanced_model.rs:675:25
[INFO] [stdout]     |
[INFO] [stdout] 675 |                         curriculum_examples = num;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `auto_resize_vocab` is never read
[INFO] [stdout]    --> src/bin/train_enhanced_model.rs:681:17
[INFO] [stdout]     |
[INFO] [stdout] 681 |                 auto_resize_vocab = true;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `watchdog_timeout` is never read
[INFO] [stdout]    --> src/bin/train_enhanced_model.rs:687:25
[INFO] [stdout]     |
[INFO] [stdout] 687 |                         watchdog_timeout = Some(timeout);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `target_id_max` is never read
[INFO] [stdout]    --> src/bin/train_enhanced_model.rs:711:25
[INFO] [stdout]     |
[INFO] [stdout] 711 |                         target_id_max = Some(max_id);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `epoch`
[INFO] [stdout]     --> src/bin/train_enhanced_model.rs:1340:68
[INFO] [stdout]      |
[INFO] [stdout] 1340 | fn train_epoch(trainer: &mut EnhancedTrainer, tokens: &Vec<usize>, epoch: usize, 
[INFO] [stdout]      |                                                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_epoch`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `batch_inputs`
[INFO] [stdout]     --> src/bin/train_enhanced_model.rs:1508:10
[INFO] [stdout]      |
[INFO] [stdout] 1508 |     let (batch_inputs, min_seq_len, truncated_inputs, batch_targets_arr, timing) = pool_result.install(|| {
[INFO] [stdout]      |          ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batch_inputs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `min_seq_len`
[INFO] [stdout]     --> src/bin/train_enhanced_model.rs:1508:24
[INFO] [stdout]      |
[INFO] [stdout] 1508 |     let (batch_inputs, min_seq_len, truncated_inputs, batch_targets_arr, timing) = pool_result.install(|| {
[INFO] [stdout]      |                        ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_seq_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]     --> src/bin/train_enhanced_model.rs:1779:13
[INFO] [stdout]      |
[INFO] [stdout] 1779 |     let (m, k) = a.dim();
[INFO] [stdout]      |             ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `prepare_batch_parallel` is never used
[INFO] [stdout]     --> src/bin/train_enhanced_model.rs:1472:4
[INFO] [stdout]      |
[INFO] [stdout] 1472 | fn prepare_batch_parallel(
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `detect_simd_features` is never used
[INFO] [stdout]     --> src/bin/train_enhanced_model.rs:1691:4
[INFO] [stdout]      |
[INFO] [stdout] 1691 | fn detect_simd_features() -> Vec<String> {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `enable_simd_optimizations` is never used
[INFO] [stdout]     --> src/bin/train_enhanced_model.rs:1728:4
[INFO] [stdout]      |
[INFO] [stdout] 1728 | fn enable_simd_optimizations(features: &[String]) -> bool {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `matrix_multiply_simd` is never used
[INFO] [stdout]     --> src/bin/train_enhanced_model.rs:1774:4
[INFO] [stdout]      |
[INFO] [stdout] 1774 | fn matrix_multiply_simd(a: &ndarray::Array2<f32>, b: &ndarray::Array2<f32>) -> ndarray::Array2<f32> {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `matrix_multiply_avx2` is never used
[INFO] [stdout]     --> src/bin/train_enhanced_model.rs:1844:4
[INFO] [stdout]      |
[INFO] [stdout] 1844 | fn matrix_multiply_avx2(a: &ndarray::Array2<f32>, b: &ndarray::Array2<f32>, result: &mut ndarray::Array2<f32>) {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `matrix_multiply_scalar` is never used
[INFO] [stdout]     --> src/bin/train_enhanced_model.rs:1850:4
[INFO] [stdout]      |
[INFO] [stdout] 1850 | fn matrix_multiply_scalar(a: &ndarray::Array2<f32>, b: &ndarray::Array2<f32>, result: &mut ndarray::Array2<f32>) {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.84s
[INFO] running `Command { std: "docker" "inspect" "c815f754140bb4eee468bb8bd4749aaa5bfcd76e6ba7a546609be78e03a219f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c815f754140bb4eee468bb8bd4749aaa5bfcd76e6ba7a546609be78e03a219f4", kill_on_drop: false }`
[INFO] [stdout] c815f754140bb4eee468bb8bd4749aaa5bfcd76e6ba7a546609be78e03a219f4
