[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] building hippolyteleveque/rust_gpt against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhippolyteleveque%2Frust_gpt" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/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-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hippolyteleveque/rust_gpt on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded monostate-impl v0.1.13
[INFO] [stderr]   Downloaded candle-datasets v0.7.2
[INFO] [stderr]   Downloaded gemm v0.17.1
[INFO] [stderr]   Downloaded instant v0.1.13
[INFO] [stderr]   Downloaded dirs-sys v0.4.1
[INFO] [stderr]   Downloaded redox_users v0.4.6
[INFO] [stderr]   Downloaded option-ext v0.2.0
[INFO] [stderr]   Downloaded gemm-c32 v0.17.1
[INFO] [stderr]   Downloaded gemm-c64 v0.17.1
[INFO] [stderr]   Downloaded enum-as-inner v0.6.1
[INFO] [stderr]   Downloaded dirs v5.0.1
[INFO] [stderr]   Downloaded flatbuffers v23.5.26
[INFO] [stderr]   Downloaded ndarray-rand v0.14.0
[INFO] [stderr]   Downloaded security-framework-sys v2.12.0
[INFO] [stderr]   Downloaded encode_unicode v0.3.6
[INFO] [stderr]   Downloaded indicatif v0.17.8
[INFO] [stderr]   Downloaded ai-dataloader v0.6.2
[INFO] [stderr]   Downloaded openssl-sys v0.9.104
[INFO] [stderr]   Downloaded lexical-write-float v0.8.5
[INFO] [stderr]   Downloaded flate2 v1.0.34
[INFO] [stderr]   Downloaded portable-atomic v1.9.0
[INFO] [stderr]   Downloaded syn v2.0.79
[INFO] [stderr]   Downloaded arrow-array v51.0.0
[INFO] [stderr]   Downloaded lexical-parse-float v0.8.5
[INFO] [stderr]   Downloaded image v0.25.4
[INFO] [stderr]   Downloaded webpki-roots v0.26.6
[INFO] [stderr]   Downloaded openssl v0.10.68
[INFO] [stderr]   Downloaded candle-core v0.7.2
[INFO] [stderr]   Downloaded serde_json v1.0.131
[INFO] [stderr]   Downloaded rustls v0.23.15
[INFO] [stderr]   Downloaded rustix v0.38.37
[INFO] [stderr]   Downloaded bstr v1.10.0
[INFO] [stderr]   Downloaded regex v1.11.0
[INFO] [stderr]   Downloaded esaxx-rs v0.1.10
[INFO] [stderr]   Downloaded tokenizers v0.19.1
[INFO] [stderr]   Downloaded parquet v51.0.0
[INFO] [stderr]   Downloaded brotli-decompressor v2.5.1
[INFO] [stderr]   Downloaded spm_precompiled v0.1.4
[INFO] [stderr]   Downloaded hashbrown v0.15.0
[INFO] [stderr]   Downloaded unicode-normalization-alignments v0.1.12
[INFO] [stderr]   Downloaded pulp v0.18.22
[INFO] [stderr]   Downloaded regex-automata v0.4.8
[INFO] [stderr]   Downloaded onig_sys v69.8.1
[INFO] [stderr]   Downloaded raw-cpuid v10.7.0
[INFO] [stderr]   Downloaded zip v1.1.4
[INFO] [stderr]   Downloaded png v0.17.14
[INFO] [stderr]   Downloaded libc v0.2.161
[INFO] [stderr]   Downloaded lexical-util v0.8.5
[INFO] [stderr]   Downloaded arrow-cast v51.0.0
[INFO] [stderr]   Downloaded arrow-buffer v51.0.0
[INFO] [stderr]   Downloaded bytes v1.7.2
[INFO] [stderr]   Downloaded cc v1.1.31
[INFO] [stderr]   Downloaded ureq v2.10.1
[INFO] [stderr]   Downloaded derive_builder_core v0.20.2
[INFO] [stderr]   Downloaded bytemuck v1.19.0
[INFO] [stderr]   Downloaded schannel v0.1.26
[INFO] [stderr]   Downloaded zune-jpeg v0.4.13
[INFO] [stderr]   Downloaded lexical-write-integer v0.8.5
[INFO] [stderr]   Downloaded arrow-schema v51.0.0
[INFO] [stderr]   Downloaded arrow-select v51.0.0
[INFO] [stderr]   Downloaded lz4_flex v0.11.3
[INFO] [stderr]   Downloaded snap v1.1.1
[INFO] [stderr]   Downloaded thrift v0.17.0
[INFO] [stderr]   Downloaded onig v6.4.0
[INFO] [stderr]   Downloaded anyhow v1.0.90
[INFO] [stderr]   Downloaded unicode-ident v1.0.13
[INFO] [stderr]   Downloaded serde v1.0.210
[INFO] [stderr]   Downloaded fancy-regex v0.13.0
[INFO] [stderr]   Downloaded console v0.15.8
[INFO] [stderr]   Downloaded tempfile v3.13.0
[INFO] [stderr]   Downloaded hf-hub v0.3.2
[INFO] [stderr]   Downloaded fdeflate v0.3.5
[INFO] [stderr]   Downloaded zune-core v0.4.12
[INFO] [stderr]   Downloaded brotli v3.5.0
[INFO] [stderr]   Downloaded lexical-parse-integer v0.8.6
[INFO] [stderr]   Downloaded lexical-core v0.8.5
[INFO] [stderr]   Downloaded arrow-ipc v51.0.0
[INFO] [stderr]   Downloaded twox-hash v1.6.3
[INFO] [stderr]   Downloaded derive_builder v0.20.2
[INFO] [stderr]   Downloaded derive_arbitrary v1.3.2
[INFO] [stderr]   Downloaded arbitrary v1.3.2
[INFO] [stderr]   Downloaded macro_rules_attribute-proc_macro v0.2.0
[INFO] [stderr]   Downloaded candle-nn v0.7.2
[INFO] [stderr]   Downloaded arrow-data v51.0.0
[INFO] [stderr]   Downloaded integer-encoding v3.0.4
[INFO] [stderr]   Downloaded monostate v0.1.13
[INFO] [stderr]   Downloaded gemm-f32 v0.17.1
[INFO] [stderr]   Downloaded gemm-common v0.17.1
[INFO] [stderr]   Downloaded bytemuck_derive v1.8.0
[INFO] [stderr]   Downloaded safetensors v0.4.5
[INFO] [stderr]   Downloaded thiserror-impl v1.0.64
[INFO] [stderr]   Downloaded thiserror v1.0.64
[INFO] [stderr]   Downloaded const-random-macro v0.1.16
[INFO] [stderr]   Downloaded const-random v0.1.18
[INFO] [stderr]   Downloaded num v0.4.3
[INFO] [stderr]   Downloaded ordered-float v2.10.1
[INFO] [stderr]   Downloaded macro_rules_attribute v0.2.0
[INFO] [stderr]   Downloaded rayon-cond v0.3.0
[INFO] [stderr]   Downloaded gemm-f16 v0.17.1
[INFO] [stderr]   Downloaded dyn-stack v0.10.0
[INFO] [stderr]   Downloaded reborrow v0.5.5
[INFO] [stderr]   Downloaded gemm-f64 v0.17.1
[INFO] [stderr]   Downloaded seq-macro v0.3.5
[INFO] [stderr]   Downloaded proc-macro-crate v3.2.0
[INFO] [stderr]   Downloaded derive_builder_macro v0.20.2
[INFO] [stderr]   Downloaded half v2.4.1
[INFO] [stderr]   Downloaded proc-macro2 v1.0.88
[INFO] [stderr]   Downloaded serde_derive v1.0.210
[INFO] [stderr]   Downloaded sysctl v0.5.5
[INFO] [stderr]   Downloaded fastrand v2.1.1
[INFO] [stderr]   Downloaded tiktoken-rs v0.6.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a2c8e2d96526613ea0c6882b37ba9b3804de0346f66c0f0edf07431f4fd7736c
[INFO] running `Command { std: "docker" "start" "-a" "a2c8e2d96526613ea0c6882b37ba9b3804de0346f66c0f0edf07431f4fd7736c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a2c8e2d96526613ea0c6882b37ba9b3804de0346f66c0f0edf07431f4fd7736c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a2c8e2d96526613ea0c6882b37ba9b3804de0346f66c0f0edf07431f4fd7736c", kill_on_drop: false }`
[INFO] [stdout] a2c8e2d96526613ea0c6882b37ba9b3804de0346f66c0f0edf07431f4fd7736c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 84651d2093d852301503af75bc0b5c4f6c70f69212635e6681197a888837e69d
[INFO] running `Command { std: "docker" "start" "-a" "84651d2093d852301503af75bc0b5c4f6c70f69212635e6681197a888837e69d", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.88
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]    Compiling shlex v1.3.0
[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 bitflags v1.3.2
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling serde v1.0.210
[INFO] [stderr]    Compiling reborrow v0.5.5
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling seq-macro v0.3.5
[INFO] [stderr]    Compiling raw-cpuid v10.7.0
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling lexical-util v0.8.5
[INFO] [stderr]    Compiling semver v1.0.23
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling syn v2.0.79
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]    Compiling simd-adler32 v0.3.7
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling cc v1.1.31
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling serde_json v1.0.131
[INFO] [stderr]    Compiling hashbrown v0.15.0
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling thiserror v1.0.64
[INFO] [stderr]    Compiling adler2 v2.0.0
[INFO] [stderr]    Compiling bytes v1.7.2
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling indexmap v2.6.0
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling winnow v0.6.20
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling miniz_oxide v0.8.0
[INFO] [stderr]    Compiling openssl-sys v0.9.104
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling zstd-sys v2.0.13+zstd.1.5.6
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[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 toml_edit v0.22.22
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling tinyvec v1.8.0
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling flate2 v1.0.34
[INFO] [stderr]    Compiling darling_core v0.20.10
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling regex-automata v0.4.8
[INFO] [stderr]    Compiling lexical-parse-integer v0.8.6
[INFO] [stderr]    Compiling lexical-write-integer v0.8.5
[INFO] [stderr]    Compiling openssl v0.10.68
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling proc-macro-crate v3.2.0
[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 smallvec v1.13.2
[INFO] [stderr]    Compiling rustls-pki-types v1.10.0
[INFO] [stderr]    Compiling bytemuck v1.19.0
[INFO] [stderr]    Compiling darling_macro v0.20.10
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling dyn-stack v0.10.0
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling darling v0.20.10
[INFO] [stderr]    Compiling num_enum_derive v0.7.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling pulp v0.18.22
[INFO] [stderr]    Compiling num v0.4.3
[INFO] [stderr]    Compiling zerofrom-derive v0.1.4
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling lexical-write-float v0.8.5
[INFO] [stderr]    Compiling lexical-parse-float v0.8.5
[INFO] [stderr]    Compiling rand_distr v0.4.3
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling flatbuffers v23.5.26
[INFO] [stderr]    Compiling half v2.4.1
[INFO] [stderr]    Compiling onig_sys v69.8.1
[INFO] [stderr]    Compiling matrixmultiply v0.3.9
[INFO] [stderr]    Compiling alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling zstd-safe v7.2.1
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling zip v1.1.4
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.17
[INFO] [stderr]    Compiling rustls v0.23.15
[INFO] [stderr]    Compiling portable-atomic v1.9.0
[INFO] [stderr]    Compiling gemm-common v0.17.1
[INFO] [stderr]    Compiling arrow-buffer v51.0.0
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling gemm-f32 v0.17.1
[INFO] [stderr]    Compiling arrow-data v51.0.0
[INFO] [stderr]    Compiling gemm-c64 v0.17.1
[INFO] [stderr]    Compiling gemm-f16 v0.17.1
[INFO] [stderr]    Compiling arrow-array v51.0.0
[INFO] [stderr]    Compiling gemm-f64 v0.17.1
[INFO] [stderr]    Compiling gemm-c32 v0.17.1
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling alloc-stdlib v0.2.2
[INFO] [stderr]    Compiling arrow-select v51.0.0
[INFO] [stderr]    Compiling lexical-core v0.8.5
[INFO] [stderr]    Compiling zerofrom v0.1.4
[INFO] [stderr]    Compiling num_enum v0.7.3
[INFO] [stderr]    Compiling rustls-webpki v0.102.8
[INFO] [stderr]    Compiling derive_builder_core v0.20.2
[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 openssl-probe v0.1.5
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling snap v1.1.1
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling option-ext v0.2.0
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling esaxx-rs v0.1.10
[INFO] [stderr]    Compiling rawpointer v0.2.1
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling console v0.15.8
[INFO] [stderr]    Compiling dirs-sys v0.4.1
[INFO] [stderr]    Compiling derive_builder_macro v0.20.2
[INFO] [stderr]    Compiling yoke v0.7.4
[INFO] [stderr]    Compiling arrow-cast v51.0.0
[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 webpki-roots v0.26.6
[INFO] [stderr]    Compiling monostate-impl v0.1.13
[INFO] [stderr]    Compiling ordered-float v2.10.1
[INFO] [stderr]    Compiling fdeflate v0.3.5
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling itertools v0.11.0
[INFO] [stderr]    Compiling twox-hash v1.6.3
[INFO] [stderr]    Compiling integer-encoding v3.0.4
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling anyhow v1.0.90
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling zune-core v0.4.12
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling number_prefix v0.4.0
[INFO] [stderr]    Compiling macro_rules_attribute-proc_macro v0.2.0
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling indicatif v0.17.8
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling macro_rules_attribute v0.2.0
[INFO] [stderr]    Compiling zune-jpeg v0.4.13
[INFO] [stderr]    Compiling lz4_flex v0.11.3
[INFO] [stderr]    Compiling spm_precompiled v0.1.4
[INFO] [stderr]    Compiling ureq v2.10.1
[INFO] [stderr]    Compiling rayon-cond v0.3.0
[INFO] [stderr]    Compiling thrift v0.17.0
[INFO] [stderr]    Compiling png v0.17.14
[INFO] [stderr]    Compiling candle-core v0.7.2
[INFO] [stderr]    Compiling monostate v0.1.13
[INFO] [stderr]    Compiling brotli v3.5.0
[INFO] [stderr]    Compiling arrow-ipc v51.0.0
[INFO] [stderr]    Compiling onig v6.4.0
[INFO] [stderr]    Compiling zstd v0.13.2
[INFO] [stderr]    Compiling derive_builder v0.20.2
[INFO] [stderr]    Compiling dirs v5.0.1
[INFO] [stderr]    Compiling ndarray v0.15.6
[INFO] [stderr]    Compiling unicode-normalization-alignments v0.1.12
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling byteorder-lite v0.1.0
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling image v0.25.4
[INFO] [stderr]    Compiling hf-hub v0.3.2
[INFO] [stderr]    Compiling parquet v51.0.0
[INFO] [stderr]    Compiling fancy-regex v0.13.0
[INFO] [stderr]    Compiling tokenizers v0.19.1
[INFO] [stderr]    Compiling ndarray-rand v0.14.0
[INFO] [stderr]    Compiling bstr v1.10.0
[INFO] [stderr]    Compiling itertools v0.13.0
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[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: `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: `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: `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: `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: `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 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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 43s
[INFO] running `Command { std: "docker" "inspect" "84651d2093d852301503af75bc0b5c4f6c70f69212635e6681197a888837e69d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "84651d2093d852301503af75bc0b5c4f6c70f69212635e6681197a888837e69d", kill_on_drop: false }`
[INFO] [stdout] 84651d2093d852301503af75bc0b5c4f6c70f69212635e6681197a888837e69d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 275e447f52605104ada160e79c719f730c323481718382182ae0c37baaf46d0b
[INFO] running `Command { std: "docker" "start" "-a" "275e447f52605104ada160e79c719f730c323481718382182ae0c37baaf46d0b", 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] [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] [stderr]    Compiling rust_gpt v0.1.0 (/opt/rustwide/workdir)
[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] [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] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.81s
[INFO] running `Command { std: "docker" "inspect" "275e447f52605104ada160e79c719f730c323481718382182ae0c37baaf46d0b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "275e447f52605104ada160e79c719f730c323481718382182ae0c37baaf46d0b", kill_on_drop: false }`
[INFO] [stdout] 275e447f52605104ada160e79c719f730c323481718382182ae0c37baaf46d0b
