[INFO] cloning repository https://github.com/hippolyteleveque/rust_gpt
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hippolyteleveque/rust_gpt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhippolyteleveque%2Frust_gpt", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhippolyteleveque%2Frust_gpt'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 19ec18ebe96f789c03eb02f99ba6a12ad41b8963
[INFO] testing hippolyteleveque/rust_gpt against beta-2025-09-21 for beta-1.91-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhippolyteleveque%2Frust_gpt" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/hippolyteleveque/rust_gpt
[INFO] finished tweaking git repo https://github.com/hippolyteleveque/rust_gpt
[INFO] tweaked toml for git repo https://github.com/hippolyteleveque/rust_gpt written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hippolyteleveque/rust_gpt on toolchain beta-2025-09-21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/hippolyteleveque/rust_gpt 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2332ec78e5deced391a01d804dab3d5351010dc3ccbaf8cf99aa48923ecdc9bb
[INFO] running `Command { std: "docker" "start" "-a" "2332ec78e5deced391a01d804dab3d5351010dc3ccbaf8cf99aa48923ecdc9bb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2332ec78e5deced391a01d804dab3d5351010dc3ccbaf8cf99aa48923ecdc9bb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2332ec78e5deced391a01d804dab3d5351010dc3ccbaf8cf99aa48923ecdc9bb", kill_on_drop: false }`
[INFO] [stdout] 2332ec78e5deced391a01d804dab3d5351010dc3ccbaf8cf99aa48923ecdc9bb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2b50fc1dd6c929ecc9a1bcb447daa15636a9b5d475bbd7858da05219e968e2b1
[INFO] running `Command { std: "docker" "start" "-a" "2b50fc1dd6c929ecc9a1bcb447daa15636a9b5d475bbd7858da05219e968e2b1", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.88
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling serde v1.0.210
[INFO] [stderr]    Compiling reborrow v0.5.5
[INFO] [stderr]    Compiling seq-macro v0.3.5
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling raw-cpuid v10.7.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling lexical-util v0.8.5
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling simd-adler32 v0.3.7
[INFO] [stderr]    Compiling hashbrown v0.15.0
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling syn v2.0.79
[INFO] [stderr]    Compiling serde_json v1.0.131
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]    Compiling bytes v1.7.2
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling cc v1.1.31
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling indexmap v2.6.0
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling winnow v0.6.20
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling thiserror v1.0.64
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling adler2 v2.0.0
[INFO] [stderr]    Compiling miniz_oxide v0.8.0
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling arrow-schema v51.0.0
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.61
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling openssl-sys v0.9.104
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling toml_edit v0.22.22
[INFO] [stderr]    Compiling zstd-sys v2.0.13+zstd.1.5.6
[INFO] [stderr]    Compiling regex-automata v0.4.8
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling tinyvec v1.8.0
[INFO] [stderr]    Compiling darling_core v0.20.10
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling proc-macro-crate v3.2.0
[INFO] [stderr]    Compiling flate2 v1.0.34
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling lexical-parse-integer v0.8.6
[INFO] [stderr]    Compiling lexical-write-integer v0.8.5
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling rustls-pki-types v1.10.0
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling openssl v0.10.68
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling lexical-write-float v0.8.5
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling bytemuck_derive v1.8.0
[INFO] [stderr]    Compiling serde_derive v1.0.210
[INFO] [stderr]    Compiling thiserror-impl v1.0.64
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling darling_macro v0.20.10
[INFO] [stderr]    Compiling bytemuck v1.19.0
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling dyn-stack v0.10.0
[INFO] [stderr]    Compiling darling v0.20.10
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.4
[INFO] [stderr]    Compiling num_enum_derive v0.7.3
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling pulp v0.18.22
[INFO] [stderr]    Compiling num v0.4.3
[INFO] [stderr]    Compiling flatbuffers v23.5.26
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling lexical-parse-float v0.8.5
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling onig_sys v69.8.1
[INFO] [stderr]    Compiling rand_distr v0.4.3
[INFO] [stderr]    Compiling matrixmultiply v0.3.9
[INFO] [stderr]    Compiling portable-atomic v1.9.0
[INFO] [stderr]    Compiling rustls v0.23.15
[INFO] [stderr]    Compiling alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling unicode-bidi v0.3.17
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling zstd-safe v7.2.1
[INFO] [stderr]    Compiling half v2.4.1
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling zip v1.1.4
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling gemm-common v0.17.1
[INFO] [stderr]    Compiling arrow-buffer v51.0.0
[INFO] [stderr]    Compiling alloc-stdlib v0.2.2
[INFO] [stderr]    Compiling gemm-f32 v0.17.1
[INFO] [stderr]    Compiling gemm-f64 v0.17.1
[INFO] [stderr]    Compiling gemm-c64 v0.17.1
[INFO] [stderr]    Compiling arrow-data v51.0.0
[INFO] [stderr]    Compiling arrow-array v51.0.0
[INFO] [stderr]    Compiling gemm-f16 v0.17.1
[INFO] [stderr]    Compiling gemm-c32 v0.17.1
[INFO] [stderr]    Compiling zerofrom v0.1.4
[INFO] [stderr]    Compiling lexical-core v0.8.5
[INFO] [stderr]    Compiling num_enum v0.7.3
[INFO] [stderr]    Compiling derive_builder_core v0.20.2
[INFO] [stderr]    Compiling rustls-webpki v0.102.8
[INFO] [stderr]    Compiling arrow-select v51.0.0
[INFO] [stderr]    Compiling yoke-derive v0.7.4
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling snap v1.1.1
[INFO] [stderr]    Compiling esaxx-rs v0.1.10
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling rawpointer v0.2.1
[INFO] [stderr]    Compiling option-ext v0.2.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling console v0.15.8
[INFO] [stderr]    Compiling yoke v0.7.4
[INFO] [stderr]    Compiling dirs-sys v0.4.1
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling arrow-cast v51.0.0
[INFO] [stderr]    Compiling derive_builder_macro v0.20.2
[INFO] [stderr]    Compiling safetensors v0.4.5
[INFO] [stderr]    Compiling gemm v0.17.1
[INFO] [stderr]    Compiling brotli-decompressor v2.5.1
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling memmap2 v0.9.5
[INFO] [stderr]    Compiling regex v1.11.0
[INFO] [stderr]    Compiling monostate-impl v0.1.13
[INFO] [stderr]    Compiling webpki-roots v0.26.6
[INFO] [stderr]    Compiling ordered-float v2.10.1
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling fdeflate v0.3.5
[INFO] [stderr]    Compiling twox-hash v1.6.3
[INFO] [stderr]    Compiling itertools v0.11.0
[INFO] [stderr]    Compiling macro_rules_attribute-proc_macro v0.2.0
[INFO] [stderr]    Compiling anyhow v1.0.90
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling integer-encoding v3.0.4
[INFO] [stderr]    Compiling zune-core v0.4.12
[INFO] [stderr]    Compiling macro_rules_attribute v0.2.0
[INFO] [stderr]    Compiling ureq v2.10.1
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling zune-jpeg v0.4.13
[INFO] [stderr]    Compiling spm_precompiled v0.1.4
[INFO] [stderr]    Compiling thrift v0.17.0
[INFO] [stderr]    Compiling indicatif v0.17.8
[INFO] [stderr]    Compiling rayon-cond v0.3.0
[INFO] [stderr]    Compiling lz4_flex v0.11.3
[INFO] [stderr]    Compiling png v0.17.14
[INFO] [stderr]    Compiling brotli v3.5.0
[INFO] [stderr]    Compiling candle-core v0.7.2
[INFO] [stderr]    Compiling monostate v0.1.13
[INFO] [stderr]    Compiling arrow-ipc v51.0.0
[INFO] [stderr]    Compiling zstd v0.13.2
[INFO] [stderr]    Compiling derive_builder v0.20.2
[INFO] [stderr]    Compiling onig v6.4.0
[INFO] [stderr]    Compiling ndarray v0.15.6
[INFO] [stderr]    Compiling dirs v5.0.1
[INFO] [stderr]    Compiling unicode-normalization-alignments v0.1.12
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling byteorder-lite v0.1.0
[INFO] [stderr]    Compiling image v0.25.4
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling hf-hub v0.3.2
[INFO] [stderr]    Compiling tokenizers v0.19.1
[INFO] [stderr]    Compiling fancy-regex v0.13.0
[INFO] [stderr]    Compiling bstr v1.10.0
[INFO] [stderr]    Compiling parquet v51.0.0
[INFO] [stderr]    Compiling ndarray-rand v0.14.0
[INFO] [stderr]    Compiling itertools v0.13.0
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling tiktoken-rs v0.6.0
[INFO] [stderr]    Compiling candle-nn v0.7.2
[INFO] [stderr]    Compiling ai-dataloader v0.6.2
[INFO] [stderr]    Compiling candle-datasets v0.7.2
[INFO] [stderr]    Compiling rust_gpt v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `ai_dataloader::indexable::DataLoader`
[INFO] [stdout]  --> src/dataset.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ai_dataloader::indexable::DataLoader;
[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::vec::IntoIter`
[INFO] [stdout]  --> src/dataset.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::vec::IntoIter;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/dataset.rs:28:56
[INFO] [stdout]    |
[INFO] [stdout] 28 |                 Tensor::from_vec(input_chunk.to_vec(), (max_length), &Device::Cpu).unwrap(),
[INFO] [stdout]    |                                                        ^          ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 28 -                 Tensor::from_vec(input_chunk.to_vec(), (max_length), &Device::Cpu).unwrap(),
[INFO] [stdout] 28 +                 Tensor::from_vec(input_chunk.to_vec(), max_length, &Device::Cpu).unwrap(),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/dataset.rs:32:57
[INFO] [stdout]    |
[INFO] [stdout] 32 |                 Tensor::from_vec(target_chunk.to_vec(), (max_length), &Device::Cpu).unwrap(),
[INFO] [stdout]    |                                                         ^          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 32 -                 Tensor::from_vec(target_chunk.to_vec(), (max_length), &Device::Cpu).unwrap(),
[INFO] [stdout] 32 +                 Tensor::from_vec(target_chunk.to_vec(), max_length, &Device::Cpu).unwrap(),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shuffle`
[INFO] [stdout]   --> src/dataset.rs:80:9
[INFO] [stdout]    |
[INFO] [stdout] 80 |     let shuffle = shuffle.unwrap_or(true);
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shuffle`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `drop_last`
[INFO] [stdout]   --> src/dataset.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 |     let drop_last = drop_last.unwrap_or(true);
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_drop_last`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/attention.rs:121:14
[INFO] [stdout]     |
[INFO] [stdout] 121 |         let [b, num_tokens]= [dims[0], dims[1]];
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/attention.rs:159:13
[INFO] [stdout]     |
[INFO] [stdout] 159 |         for i in 0..num_heads {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `tokenizer` is never read
[INFO] [stdout]   --> src/dataset.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct GPTDatasetV1 {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 11 |     tokenizer: CoreBPE,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `context_length` is never read
[INFO] [stdout]   --> src/attention.rs:81:5
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub struct CausalSelfAttention {
[INFO] [stdout]    |            ------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 81 |     context_length: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Error`
[INFO] [stdout]  --> src/bin/exp.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::Error;
[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: `MultiHeadAttentionWrapper`
[INFO] [stdout]  --> src/bin/attention.rs:3:54
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rust_gpt::attention::{self, CausalSelfAttention, MultiHeadAttentionWrapper, SelfAttentionV1, SelfAttentionV2};
[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: `SimpleTokenizerV1`
[INFO] [stdout]  --> src/bin/tokenizer.rs:3:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rust_gpt::tokenizer::{SimpleTokenizerV1, SimpleTokenizerV2};
[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: `attn_weights`
[INFO] [stdout]   --> src/bin/attention.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let attn_weights = attn
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attn_weights`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `attn_weights_softmax`
[INFO] [stdout]   --> src/bin/attention.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let attn_weights_softmax = attention::softmax_naive(&attn).unwrap();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attn_weights_softmax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx_vec`
[INFO] [stdout]   --> src/bin/attention.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let ctx_vec = attn_weights.matmul(&inputs).unwrap();
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ctx_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `out`
[INFO] [stdout]   --> src/bin/attention.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let out = tmp.matmul(&V).unwrap();
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_out`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `out`
[INFO] [stdout]   --> src/bin/attention.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let out = attn_layer.forward(&inputs).unwrap();
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_out`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `out`
[INFO] [stdout]   --> src/bin/attention.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let out = attn_layer.forward(&inputs).unwrap();
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_out`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/bin/attention.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let v = xs.matmul(&Wv).unwrap();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sum_rows`
[INFO] [stdout]   --> src/bin/attention.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 76 |     let sum_rows = tmp.sum(1).unwrap();
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sum_rows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tmp`
[INFO] [stdout]   --> src/bin/attention.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let tmp = ops::dropout(&tmp, 0.5f32).unwrap();
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_tmp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/attention.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let mut Wq = Tensor::randn(0f64, 1f64, (d_in, d_out), &device).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: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/attention.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let mut Wk = Tensor::randn(0f64, 1f64, (d_in, d_out), &device).unwrap();
[INFO] [stdout]    |         ----^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/attention.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let mut Wv = Tensor::randn(0f64, 1f64, (d_in, d_out), &device).unwrap();
[INFO] [stdout]    |         ----^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Wq` should have a snake case name
[INFO] [stdout]   --> src/bin/attention.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let mut Wq = Tensor::randn(0f64, 1f64, (d_in, d_out), &device).unwrap();
[INFO] [stdout]    |             ^^ help: convert the identifier to snake case (notice the capitalization): `wq`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Wk` should have a snake case name
[INFO] [stdout]   --> src/bin/attention.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let mut Wk = Tensor::randn(0f64, 1f64, (d_in, d_out), &device).unwrap();
[INFO] [stdout]    |             ^^ help: convert the identifier to snake case (notice the capitalization): `wk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Wv` should have a snake case name
[INFO] [stdout]   --> src/bin/attention.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let mut Wv = Tensor::randn(0f64, 1f64, (d_in, d_out), &device).unwrap();
[INFO] [stdout]    |             ^^ help: convert the identifier to snake case (notice the capitalization): `wv`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Q` should have a snake case name
[INFO] [stdout]   --> src/bin/attention.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let Q = inputs.matmul(&Wq).unwrap();
[INFO] [stdout]    |         ^ help: convert the identifier to snake case: `q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `K` should have a snake case name
[INFO] [stdout]   --> src/bin/attention.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let K = inputs.matmul(&Wk).unwrap();
[INFO] [stdout]    |         ^ help: convert the identifier to snake case (notice the capitalization): `k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `V` should have a snake case name
[INFO] [stdout]   --> src/bin/attention.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let V = inputs.matmul(&Wv).unwrap();
[INFO] [stdout]    |         ^ help: convert the identifier to snake case (notice the capitalization): `v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/bin/tokenizer.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let i = 0;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GPTDatasetV1`
[INFO] [stdout]  --> src/bin/embedder.rs:3:31
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rust_gpt::dataset::{self, GPTDatasetV1};
[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: `encoded_file`
[INFO] [stdout]   --> src/bin/embedder.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let encoded_file = bpe.encode_with_special_tokens(&file_content[..]);
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded_file`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `targets`
[INFO] [stdout]   --> src/bin/embedder.rs:22:29
[INFO] [stdout]    |
[INFO] [stdout] 22 |     if let Some(Ok((inputs, targets))) = dataloader.next() {
[INFO] [stdout]    |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_targets`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 32s
[INFO] running `Command { std: "docker" "inspect" "2b50fc1dd6c929ecc9a1bcb447daa15636a9b5d475bbd7858da05219e968e2b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2b50fc1dd6c929ecc9a1bcb447daa15636a9b5d475bbd7858da05219e968e2b1", kill_on_drop: false }`
[INFO] [stdout] 2b50fc1dd6c929ecc9a1bcb447daa15636a9b5d475bbd7858da05219e968e2b1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] acd5c27b23ae84cd3b37bd16e558f8bf5238661f80c9b5e1ce136160b8c6d03a
[INFO] running `Command { std: "docker" "start" "-a" "acd5c27b23ae84cd3b37bd16e558f8bf5238661f80c9b5e1ce136160b8c6d03a", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `ai_dataloader::indexable::DataLoader`
[INFO] [stdout]  --> src/dataset.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ai_dataloader::indexable::DataLoader;
[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::vec::IntoIter`
[INFO] [stdout]  --> src/dataset.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::vec::IntoIter;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/dataset.rs:28:56
[INFO] [stdout]    |
[INFO] [stdout] 28 |                 Tensor::from_vec(input_chunk.to_vec(), (max_length), &Device::Cpu).unwrap(),
[INFO] [stdout]    |                                                        ^          ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 28 -                 Tensor::from_vec(input_chunk.to_vec(), (max_length), &Device::Cpu).unwrap(),
[INFO] [stdout] 28 +                 Tensor::from_vec(input_chunk.to_vec(), max_length, &Device::Cpu).unwrap(),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rust_gpt v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/dataset.rs:32:57
[INFO] [stdout]    |
[INFO] [stdout] 32 |                 Tensor::from_vec(target_chunk.to_vec(), (max_length), &Device::Cpu).unwrap(),
[INFO] [stdout]    |                                                         ^          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 32 -                 Tensor::from_vec(target_chunk.to_vec(), (max_length), &Device::Cpu).unwrap(),
[INFO] [stdout] 32 +                 Tensor::from_vec(target_chunk.to_vec(), max_length, &Device::Cpu).unwrap(),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shuffle`
[INFO] [stdout]   --> src/dataset.rs:80:9
[INFO] [stdout]    |
[INFO] [stdout] 80 |     let shuffle = shuffle.unwrap_or(true);
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shuffle`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `drop_last`
[INFO] [stdout]   --> src/dataset.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 |     let drop_last = drop_last.unwrap_or(true);
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_drop_last`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/attention.rs:121:14
[INFO] [stdout]     |
[INFO] [stdout] 121 |         let [b, num_tokens]= [dims[0], dims[1]];
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/attention.rs:159:13
[INFO] [stdout]     |
[INFO] [stdout] 159 |         for i in 0..num_heads {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `tokenizer` is never read
[INFO] [stdout]   --> src/dataset.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct GPTDatasetV1 {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 11 |     tokenizer: CoreBPE,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `context_length` is never read
[INFO] [stdout]   --> src/attention.rs:81:5
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub struct CausalSelfAttention {
[INFO] [stdout]    |            ------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 81 |     context_length: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Error`
[INFO] [stdout]  --> src/bin/exp.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::Error;
[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: `MultiHeadAttentionWrapper`
[INFO] [stdout]  --> src/bin/attention.rs:3:54
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rust_gpt::attention::{self, CausalSelfAttention, MultiHeadAttentionWrapper, SelfAttentionV1, SelfAttentionV2};
[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: `GPTDatasetV1`
[INFO] [stdout]  --> src/bin/embedder.rs:3:31
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rust_gpt::dataset::{self, GPTDatasetV1};
[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: `ai_dataloader::indexable::DataLoader`
[INFO] [stdout]  --> src/dataset.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ai_dataloader::indexable::DataLoader;
[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::vec::IntoIter`
[INFO] [stdout]  --> src/dataset.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::vec::IntoIter;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/dataset.rs:28:56
[INFO] [stdout]    |
[INFO] [stdout] 28 |                 Tensor::from_vec(input_chunk.to_vec(), (max_length), &Device::Cpu).unwrap(),
[INFO] [stdout]    |                                                        ^          ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 28 -                 Tensor::from_vec(input_chunk.to_vec(), (max_length), &Device::Cpu).unwrap(),
[INFO] [stdout] 28 +                 Tensor::from_vec(input_chunk.to_vec(), max_length, &Device::Cpu).unwrap(),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/dataset.rs:32:57
[INFO] [stdout]    |
[INFO] [stdout] 32 |                 Tensor::from_vec(target_chunk.to_vec(), (max_length), &Device::Cpu).unwrap(),
[INFO] [stdout]    |                                                         ^          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 32 -                 Tensor::from_vec(target_chunk.to_vec(), (max_length), &Device::Cpu).unwrap(),
[INFO] [stdout] 32 +                 Tensor::from_vec(target_chunk.to_vec(), max_length, &Device::Cpu).unwrap(),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `encoded_file`
[INFO] [stdout]   --> src/bin/embedder.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let encoded_file = bpe.encode_with_special_tokens(&file_content[..]);
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded_file`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `targets`
[INFO] [stdout]   --> src/bin/embedder.rs:22:29
[INFO] [stdout]    |
[INFO] [stdout] 22 |     if let Some(Ok((inputs, targets))) = dataloader.next() {
[INFO] [stdout]    |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_targets`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `attn_weights`
[INFO] [stdout]   --> src/bin/attention.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let attn_weights = attn
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attn_weights`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `attn_weights_softmax`
[INFO] [stdout]   --> src/bin/attention.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let attn_weights_softmax = attention::softmax_naive(&attn).unwrap();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attn_weights_softmax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx_vec`
[INFO] [stdout]   --> src/bin/attention.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let ctx_vec = attn_weights.matmul(&inputs).unwrap();
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ctx_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `out`
[INFO] [stdout]   --> src/bin/attention.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let out = tmp.matmul(&V).unwrap();
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_out`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `out`
[INFO] [stdout]   --> src/bin/attention.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let out = attn_layer.forward(&inputs).unwrap();
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_out`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `out`
[INFO] [stdout]   --> src/bin/attention.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let out = attn_layer.forward(&inputs).unwrap();
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_out`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/bin/attention.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let v = xs.matmul(&Wv).unwrap();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sum_rows`
[INFO] [stdout]   --> src/bin/attention.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 76 |     let sum_rows = tmp.sum(1).unwrap();
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sum_rows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tmp`
[INFO] [stdout]   --> src/bin/attention.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let tmp = ops::dropout(&tmp, 0.5f32).unwrap();
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_tmp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/attention.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let mut Wq = Tensor::randn(0f64, 1f64, (d_in, d_out), &device).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: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/attention.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let mut Wk = Tensor::randn(0f64, 1f64, (d_in, d_out), &device).unwrap();
[INFO] [stdout]    |         ----^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/attention.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let mut Wv = Tensor::randn(0f64, 1f64, (d_in, d_out), &device).unwrap();
[INFO] [stdout]    |         ----^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Wq` should have a snake case name
[INFO] [stdout]   --> src/bin/attention.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let mut Wq = Tensor::randn(0f64, 1f64, (d_in, d_out), &device).unwrap();
[INFO] [stdout]    |             ^^ help: convert the identifier to snake case (notice the capitalization): `wq`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Wk` should have a snake case name
[INFO] [stdout]   --> src/bin/attention.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let mut Wk = Tensor::randn(0f64, 1f64, (d_in, d_out), &device).unwrap();
[INFO] [stdout]    |             ^^ help: convert the identifier to snake case (notice the capitalization): `wk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Wv` should have a snake case name
[INFO] [stdout]   --> src/bin/attention.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let mut Wv = Tensor::randn(0f64, 1f64, (d_in, d_out), &device).unwrap();
[INFO] [stdout]    |             ^^ help: convert the identifier to snake case (notice the capitalization): `wv`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Q` should have a snake case name
[INFO] [stdout]   --> src/bin/attention.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let Q = inputs.matmul(&Wq).unwrap();
[INFO] [stdout]    |         ^ help: convert the identifier to snake case: `q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `K` should have a snake case name
[INFO] [stdout]   --> src/bin/attention.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let K = inputs.matmul(&Wk).unwrap();
[INFO] [stdout]    |         ^ help: convert the identifier to snake case (notice the capitalization): `k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `V` should have a snake case name
[INFO] [stdout]   --> src/bin/attention.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let V = inputs.matmul(&Wv).unwrap();
[INFO] [stdout]    |         ^ help: convert the identifier to snake case (notice the capitalization): `v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SimpleTokenizerV1`
[INFO] [stdout]  --> src/bin/tokenizer.rs:3:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rust_gpt::tokenizer::{SimpleTokenizerV1, SimpleTokenizerV2};
[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: `i`
[INFO] [stdout]   --> src/bin/tokenizer.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let i = 0;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shuffle`
[INFO] [stdout]   --> src/dataset.rs:80:9
[INFO] [stdout]    |
[INFO] [stdout] 80 |     let shuffle = shuffle.unwrap_or(true);
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shuffle`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `drop_last`
[INFO] [stdout]   --> src/dataset.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 |     let drop_last = drop_last.unwrap_or(true);
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_drop_last`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/attention.rs:121:14
[INFO] [stdout]     |
[INFO] [stdout] 121 |         let [b, num_tokens]= [dims[0], dims[1]];
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/attention.rs:159:13
[INFO] [stdout]     |
[INFO] [stdout] 159 |         for i in 0..num_heads {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `tokenizer` is never read
[INFO] [stdout]   --> src/dataset.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct GPTDatasetV1 {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 11 |     tokenizer: CoreBPE,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `context_length` is never read
[INFO] [stdout]   --> src/attention.rs:81:5
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub struct CausalSelfAttention {
[INFO] [stdout]    |            ------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 81 |     context_length: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.39s
[INFO] running `Command { std: "docker" "inspect" "acd5c27b23ae84cd3b37bd16e558f8bf5238661f80c9b5e1ce136160b8c6d03a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "acd5c27b23ae84cd3b37bd16e558f8bf5238661f80c9b5e1ce136160b8c6d03a", kill_on_drop: false }`
[INFO] [stdout] acd5c27b23ae84cd3b37bd16e558f8bf5238661f80c9b5e1ce136160b8c6d03a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] d7edabade54ca073e94192fb7f13d1ad546da5c27aad4439106e4c6d73067543
[INFO] running `Command { std: "docker" "start" "-a" "d7edabade54ca073e94192fb7f13d1ad546da5c27aad4439106e4c6d73067543", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `ai_dataloader::indexable::DataLoader`
[INFO] [stderr]  --> src/dataset.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use ai_dataloader::indexable::DataLoader;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::vec::IntoIter`
[INFO] [stderr]  --> src/dataset.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use std::vec::IntoIter;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around function argument
[INFO] [stderr]   --> src/dataset.rs:28:56
[INFO] [stderr]    |
[INFO] [stderr] 28 |                 Tensor::from_vec(input_chunk.to_vec(), (max_length), &Device::Cpu).unwrap(),
[INFO] [stderr]    |                                                        ^          ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 28 -                 Tensor::from_vec(input_chunk.to_vec(), (max_length), &Device::Cpu).unwrap(),
[INFO] [stderr] 28 +                 Tensor::from_vec(input_chunk.to_vec(), max_length, &Device::Cpu).unwrap(),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around function argument
[INFO] [stderr]   --> src/dataset.rs:32:57
[INFO] [stderr]    |
[INFO] [stderr] 32 |                 Tensor::from_vec(target_chunk.to_vec(), (max_length), &Device::Cpu).unwrap(),
[INFO] [stderr]    |                                                         ^          ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 32 -                 Tensor::from_vec(target_chunk.to_vec(), (max_length), &Device::Cpu).unwrap(),
[INFO] [stderr] 32 +                 Tensor::from_vec(target_chunk.to_vec(), max_length, &Device::Cpu).unwrap(),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `shuffle`
[INFO] [stderr]   --> src/dataset.rs:80:9
[INFO] [stderr]    |
[INFO] [stderr] 80 |     let shuffle = shuffle.unwrap_or(true);
[INFO] [stderr]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shuffle`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `drop_last`
[INFO] [stderr]   --> src/dataset.rs:81:9
[INFO] [stderr]    |
[INFO] [stderr] 81 |     let drop_last = drop_last.unwrap_or(true);
[INFO] [stderr]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_drop_last`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `b`
[INFO] [stderr]    --> src/attention.rs:121:14
[INFO] [stderr]     |
[INFO] [stderr] 121 |         let [b, num_tokens]= [dims[0], dims[1]];
[INFO] [stderr]     |              ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]    --> src/attention.rs:159:13
[INFO] [stderr]     |
[INFO] [stderr] 159 |         for i in 0..num_heads {
[INFO] [stderr]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr] 
[INFO] [stderr] warning: field `tokenizer` is never read
[INFO] [stderr]   --> src/dataset.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub struct GPTDatasetV1 {
[INFO] [stderr]    |            ------------ field in this struct
[INFO] [stderr] 11 |     tokenizer: CoreBPE,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `context_length` is never read
[INFO] [stderr]   --> src/attention.rs:81:5
[INFO] [stderr]    |
[INFO] [stderr] 75 | pub struct CausalSelfAttention {
[INFO] [stderr]    |            ------------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 81 |     context_length: usize,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `rust_gpt` (lib) generated 10 warnings (run `cargo fix --lib -p rust_gpt` to apply 4 suggestions)
[INFO] [stderr] warning: unused import: `std::fmt::Error`
[INFO] [stderr]  --> src/bin/exp.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::fmt::Error;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `rust_gpt` (bin "exp" test) generated 1 warning (run `cargo fix --bin "exp" --tests` to apply 1 suggestion)
[INFO] [stderr] warning: unused import: `GPTDatasetV1`
[INFO] [stderr]  --> src/bin/embedder.rs:3:31
[INFO] [stderr]   |
[INFO] [stderr] 3 | use rust_gpt::dataset::{self, GPTDatasetV1};
[INFO] [stderr]   |                               ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `encoded_file`
[INFO] [stderr]   --> src/bin/embedder.rs:10:9
[INFO] [stderr]    |
[INFO] [stderr] 10 |     let encoded_file = bpe.encode_with_special_tokens(&file_content[..]);
[INFO] [stderr]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded_file`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `targets`
[INFO] [stderr]   --> src/bin/embedder.rs:22:29
[INFO] [stderr]    |
[INFO] [stderr] 22 |     if let Some(Ok((inputs, targets))) = dataloader.next() {
[INFO] [stderr]    |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_targets`
[INFO] [stderr] 
[INFO] [stderr] warning: `rust_gpt` (bin "embedder" test) generated 3 warnings (run `cargo fix --bin "embedder" --tests` to apply 1 suggestion)
[INFO] [stderr] warning: unused import: `SimpleTokenizerV1`
[INFO] [stderr]  --> src/bin/tokenizer.rs:3:27
[INFO] [stderr]   |
[INFO] [stderr] 3 | use rust_gpt::tokenizer::{SimpleTokenizerV1, SimpleTokenizerV2};
[INFO] [stderr]   |                           ^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]   --> src/bin/tokenizer.rs:62:9
[INFO] [stderr]    |
[INFO] [stderr] 62 |     let i = 0;
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `rust_gpt` (bin "tokenizer" test) generated 2 warnings (run `cargo fix --bin "tokenizer" --tests` to apply 1 suggestion)
[INFO] [stderr] warning: unused import: `MultiHeadAttentionWrapper`
[INFO] [stderr]  --> src/bin/attention.rs:3:54
[INFO] [stderr]   |
[INFO] [stderr] 3 | use rust_gpt::attention::{self, CausalSelfAttention, MultiHeadAttentionWrapper, SelfAttentionV1, SelfAttentionV2};
[INFO] [stderr]   |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `attn_weights`
[INFO] [stderr]   --> src/bin/attention.rs:17:9
[INFO] [stderr]    |
[INFO] [stderr] 17 |     let attn_weights = attn
[INFO] [stderr]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attn_weights`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `attn_weights_softmax`
[INFO] [stderr]   --> src/bin/attention.rs:22:9
[INFO] [stderr]    |
[INFO] [stderr] 22 |     let attn_weights_softmax = attention::softmax_naive(&attn).unwrap();
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attn_weights_softmax`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx_vec`
[INFO] [stderr]   --> src/bin/attention.rs:28:9
[INFO] [stderr]    |
[INFO] [stderr] 28 |     let ctx_vec = attn_weights.matmul(&inputs).unwrap();
[INFO] [stderr]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ctx_vec`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `out`
[INFO] [stderr]   --> src/bin/attention.rs:44:9
[INFO] [stderr]    |
[INFO] [stderr] 44 |     let out = tmp.matmul(&V).unwrap();
[INFO] [stderr]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_out`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `out`
[INFO] [stderr]   --> src/bin/attention.rs:49:9
[INFO] [stderr]    |
[INFO] [stderr] 49 |     let out = attn_layer.forward(&inputs).unwrap();
[INFO] [stderr]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_out`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `out`
[INFO] [stderr]   --> src/bin/attention.rs:53:9
[INFO] [stderr]    |
[INFO] [stderr] 53 |     let out = attn_layer.forward(&inputs).unwrap();
[INFO] [stderr]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_out`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `v`
[INFO] [stderr]   --> src/bin/attention.rs:62:9
[INFO] [stderr]    |
[INFO] [stderr] 62 |     let v = xs.matmul(&Wv).unwrap();
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `sum_rows`
[INFO] [stderr]   --> src/bin/attention.rs:76:9
[INFO] [stderr]    |
[INFO] [stderr] 76 |     let sum_rows = tmp.sum(1).unwrap();
[INFO] [stderr]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sum_rows`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `tmp`
[INFO] [stderr]   --> src/bin/attention.rs:79:9
[INFO] [stderr]    |
[INFO] [stderr] 79 |     let tmp = ops::dropout(&tmp, 0.5f32).unwrap();
[INFO] [stderr]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_tmp`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/bin/attention.rs:33:9
[INFO] [stderr]    |
[INFO] [stderr] 33 |     let mut Wq = Tensor::randn(0f64, 1f64, (d_in, d_out), &device).unwrap();
[INFO] [stderr]    |         ----^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/bin/attention.rs:34:9
[INFO] [stderr]    |
[INFO] [stderr] 34 |     let mut Wk = Tensor::randn(0f64, 1f64, (d_in, d_out), &device).unwrap();
[INFO] [stderr]    |         ----^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/bin/attention.rs:35:9
[INFO] [stderr]    |
[INFO] [stderr] 35 |     let mut Wv = Tensor::randn(0f64, 1f64, (d_in, d_out), &device).unwrap();
[INFO] [stderr]    |         ----^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `Wq` should have a snake case name
[INFO] [stderr]   --> src/bin/attention.rs:33:13
[INFO] [stderr]    |
[INFO] [stderr] 33 |     let mut Wq = Tensor::randn(0f64, 1f64, (d_in, d_out), &device).unwrap();
[INFO] [stderr]    |             ^^ help: convert the identifier to snake case (notice the capitalization): `wq`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable `Wk` should have a snake case name
[INFO] [stderr]   --> src/bin/attention.rs:34:13
[INFO] [stderr]    |
[INFO] [stderr] 34 |     let mut Wk = Tensor::randn(0f64, 1f64, (d_in, d_out), &device).unwrap();
[INFO] [stderr]    |             ^^ help: convert the identifier to snake case (notice the capitalization): `wk`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `Wv` should have a snake case name
[INFO] [stderr]   --> src/bin/attention.rs:35:13
[INFO] [stderr]    |
[INFO] [stderr] 35 |     let mut Wv = Tensor::randn(0f64, 1f64, (d_in, d_out), &device).unwrap();
[INFO] [stderr]    |             ^^ help: convert the identifier to snake case (notice the capitalization): `wv`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `Q` should have a snake case name
[INFO] [stderr]   --> src/bin/attention.rs:37:9
[INFO] [stderr]    |
[INFO] [stderr] 37 |     let Q = inputs.matmul(&Wq).unwrap();
[INFO] [stderr]    |         ^ help: convert the identifier to snake case: `q`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `K` should have a snake case name
[INFO] [stderr]   --> src/bin/attention.rs:38:9
[INFO] [stderr]    |
[INFO] [stderr] 38 |     let K = inputs.matmul(&Wk).unwrap();
[INFO] [stderr]    |         ^ help: convert the identifier to snake case (notice the capitalization): `k`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `V` should have a snake case name
[INFO] [stderr]   --> src/bin/attention.rs:39:9
[INFO] [stderr]    |
[INFO] [stderr] 39 |     let V = inputs.matmul(&Wv).unwrap();
[INFO] [stderr]    |         ^ help: convert the identifier to snake case (notice the capitalization): `v`
[INFO] [stderr] 
[INFO] [stderr] warning: `rust_gpt` (bin "attention" test) generated 19 warnings (run `cargo fix --bin "attention" --tests` to apply 4 suggestions)
[INFO] [stderr] warning: `rust_gpt` (lib test) generated 10 warnings (10 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_gpt-d852f21f1c5d560a)
[INFO] [stdout] running 0 tests
[INFO] [stderr]      Running unittests src/bin/attention.rs (/opt/rustwide/target/debug/deps/attention-ff19eeed4eaeb74a)
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/embedder.rs (/opt/rustwide/target/debug/deps/embedder-f175b2b8068744b8)
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/exp.rs (/opt/rustwide/target/debug/deps/exp-cda2da62b9d16ccd)
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/tokenizer.rs (/opt/rustwide/target/debug/deps/tokenizer-e1cf92b2299b0cd4)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests rust_gpt
[INFO] [stderr] warning: unnecessary parentheses around function argument
[INFO] [stderr]   --> src/dataset.rs:28:56
[INFO] [stderr]    |
[INFO] [stderr] 28 |                 Tensor::from_vec(input_chunk.to_vec(), (max_length), &Device::Cpu).unwrap(),
[INFO] [stderr]    |                                                        ^          ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 28 -                 Tensor::from_vec(input_chunk.to_vec(), (max_length), &Device::Cpu).unwrap(),
[INFO] [stderr] 28 +                 Tensor::from_vec(input_chunk.to_vec(), max_length, &Device::Cpu).unwrap(),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around function argument
[INFO] [stderr]   --> src/dataset.rs:32:57
[INFO] [stderr]    |
[INFO] [stderr] 32 |                 Tensor::from_vec(target_chunk.to_vec(), (max_length), &Device::Cpu).unwrap(),
[INFO] [stderr]    |                                                         ^          ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 32 -                 Tensor::from_vec(target_chunk.to_vec(), (max_length), &Device::Cpu).unwrap(),
[INFO] [stderr] 32 +                 Tensor::from_vec(target_chunk.to_vec(), max_length, &Device::Cpu).unwrap(),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: 2 warnings emitted
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "d7edabade54ca073e94192fb7f13d1ad546da5c27aad4439106e4c6d73067543", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d7edabade54ca073e94192fb7f13d1ad546da5c27aad4439106e4c6d73067543", kill_on_drop: false }`
[INFO] [stdout] d7edabade54ca073e94192fb7f13d1ad546da5c27aad4439106e4c6d73067543
