[INFO] fetching crate cetana 0.0.1...
[INFO] checking cetana-0.0.1 against master#6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd for pr-153721
[INFO] extracting crate cetana 0.0.1 into /workspace/builds/worker-2-tc1/source
[INFO] started tweaking crates.io crate cetana 0.0.1
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate cetana 0.0.1
[INFO] tweaked toml for crates.io crate cetana 0.0.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate cetana 0.0.1 on toolchain 6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate cetana 0.0.1 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" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded vk-parse v0.12.0
[INFO] [stderr]   Downloaded serde_core v1.0.225
[INFO] [stderr]   Downloaded vulkano-macros v0.34.0
[INFO] [stderr]   Downloaded windows-targets v0.53.3
[INFO] [stderr]   Downloaded serde v1.0.225
[INFO] [stderr]   Downloaded raw-window-handle v0.5.2
[INFO] [stderr]   Downloaded tokio-macros v2.5.0
[INFO] [stderr]   Downloaded bytemuck_derive v1.10.1
[INFO] [stderr]   Downloaded indexmap v2.11.3
[INFO] [stderr]   Downloaded serde_derive v1.0.225
[INFO] [stderr]   Downloaded socket2 v0.6.0
[INFO] [stderr]   Downloaded rustc-demangle v0.1.26
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.103
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.103
[INFO] [stderr]   Downloaded regex v1.11.2
[INFO] [stderr]   Downloaded io-uring v0.7.10
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.103
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.103
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.4.53
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.103
[INFO] [stderr]   Downloaded potential_utf v0.1.3
[INFO] [stderr]   Downloaded js-sys v0.3.80
[INFO] [stderr]   Downloaded reqwest v0.12.23
[INFO] [stderr]   Downloaded zerovec v0.11.4
[INFO] [stderr]   Downloaded object v0.36.7
[INFO] [stderr]   Downloaded native-tls v0.2.14
[INFO] [stderr]   Downloaded tempfile v3.22.0
[INFO] [stderr]   Downloaded security-framework-sys v2.15.0
[INFO] [stderr]   Downloaded find-msvc-tools v0.1.1
[INFO] [stderr]   Downloaded windows-registry v0.5.3
[INFO] [stderr]   Downloaded tower-http v0.6.6
[INFO] [stderr]   Downloaded schannel v0.1.28
[INFO] [stderr]   Downloaded tokio-rustls v0.26.3
[INFO] [stderr]   Downloaded openssl-sys v0.9.109
[INFO] [stderr]   Downloaded cc v1.2.37
[INFO] [stderr]   Downloaded hyper-util v0.1.17
[INFO] [stderr]   Downloaded rustls-webpki v0.103.6
[INFO] [stderr]   Downloaded tokio-util v0.7.16
[INFO] [stderr]   Downloaded h2 v0.4.12
[INFO] [stderr]   Downloaded pinax v0.1.0
[INFO] [stderr]   Downloaded regex-automata v0.4.10
[INFO] [stderr]   Downloaded hyper v1.7.0
[INFO] [stderr]   Downloaded openssl v0.10.73
[INFO] [stderr]   Downloaded flate2 v1.1.2
[INFO] [stderr]   Downloaded aporia v0.2.0
[INFO] [stderr]   Downloaded web-sys v0.3.80
[INFO] [stderr]   Downloaded rustls v0.23.31
[INFO] [stderr]   Downloaded libc v0.2.175
[INFO] [stderr]   Downloaded csv-core v0.1.12
[INFO] [stderr]   Downloaded vulkano v0.34.2
[INFO] [stderr]   Downloaded tokio v1.47.1
[INFO] [stderr]   Downloaded csv v1.3.1
[INFO] [stderr]   Downloaded windows-sys v0.61.0
[INFO] [stderr]   Downloaded backtrace v0.3.75
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 6d25bcccc7d059d4dec92049554e07ebbff795d4487ae47d08f518b50463f1d4
[INFO] running `Command { std: "docker" "start" "6d25bcccc7d059d4dec92049554e07ebbff795d4487ae47d08f518b50463f1d4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6d25bcccc7d059d4dec92049554e07ebbff795d4487ae47d08f518b50463f1d4" "/opt/rustwide/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6d25bcccc7d059d4dec92049554e07ebbff795d4487ae47d08f518b50463f1d4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6d25bcccc7d059d4dec92049554e07ebbff795d4487ae47d08f518b50463f1d4" "/opt/rustwide/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]     Checking cfg-if v1.0.3
[INFO] [stderr]    Compiling find-msvc-tools v0.1.1
[INFO] [stderr]     Checking bytes v1.10.1
[INFO] [stderr]     Checking futures-core v0.3.31
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]    Compiling serde_core v1.0.225
[INFO] [stderr]     Checking tracing-core v0.1.34
[INFO] [stderr]     Checking hashbrown v0.15.5
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]     Checking lock_api v0.4.13
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]     Checking bitflags v2.9.4
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]    Compiling serde v1.0.225
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]     Checking log v0.4.28
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking openssl-probe v0.1.6
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling cc v1.2.37
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking crc32fast v1.5.0
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking csv-core v0.1.12
[INFO] [stderr]     Checking aporia v0.2.0
[INFO] [stderr]     Checking pinax v0.1.0
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking indexmap v2.11.3
[INFO] [stderr]     Checking flate2 v1.1.2
[INFO] [stderr]     Checking http v1.3.1
[INFO] [stderr]     Checking parking_lot_core v0.9.11
[INFO] [stderr]     Checking signal-hook-registry v1.4.6
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking socket2 v0.6.0
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]    Compiling cmake v0.1.54
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]    Compiling cetana v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::fmt::Debug`
[INFO] [stdout]  --> src/backend/buffer.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::Debug;
[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: `super::BackendError`
[INFO] [stdout]  --> src/backend/buffer.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use super::BackendError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `idx`
[INFO] [stdout]   --> src/nn/embedding.rs:90:21
[INFO] [stdout]    |
[INFO] [stdout] 90 |         if let Some(idx) = padding_idx {
[INFO] [stdout]    |                     ^^^ help: if this is intentional, prefix it with an underscore: `_idx`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `freeze`
[INFO] [stdout]    --> src/nn/embedding.rs:113:9
[INFO] [stdout]     |
[INFO] [stdout] 113 |         freeze: bool,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_freeze`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `supports_feature` is never used
[INFO] [stdout]   --> src/backend/cpu/core.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl CpuCore {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn supports_feature(&self, _feature: &str) -> DeviceFeatures {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `execute` is never used
[INFO] [stdout]   --> src/backend/cpu/parallel.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl ParallelExecutor {
[INFO] [stdout]    | --------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn execute<T, F>(&self, data: &[T], chunk_size: usize, f: F) -> Vec<T>
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Buffer` is never used
[INFO] [stdout]  --> src/backend/buffer.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub trait Buffer: std::fmt::Debug {
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DeviceMemory` is never constructed
[INFO] [stdout]    --> src/backend/device.rs:262:12
[INFO] [stdout]     |
[INFO] [stdout] 262 | pub struct DeviceMemory {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CPU_FEATURE_SSE4_1` is never used
[INFO] [stdout]   --> src/backend/feature.rs:43:11
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub const CPU_FEATURE_SSE4_1: &str = "sse4.1";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CPU_FEATURE_SSE4_2` is never used
[INFO] [stdout]   --> src/backend/feature.rs:44:11
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub const CPU_FEATURE_SSE4_2: &str = "sse4.2";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GPU_FEATURE_FP16` is never used
[INFO] [stdout]   --> src/backend/feature.rs:47:11
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub const GPU_FEATURE_FP16: &str = "fp16";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GPU_FEATURE_FP64` is never used
[INFO] [stdout]   --> src/backend/feature.rs:48:11
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub const GPU_FEATURE_FP64: &str = "fp64";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GPU_FEATURE_TENSOR_CORES` is never used
[INFO] [stdout]   --> src/backend/feature.rs:49:11
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub const GPU_FEATURE_TENSOR_CORES: &str = "tensor_cores";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Silu` is never constructed
[INFO] [stdout]  --> src/nn/activation/silu.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Silu;
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/nn/activation/silu.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Silu {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 16 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `elementwise_affine` is never read
[INFO] [stdout]   --> src/nn/layernorm.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct LayerNorm {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 |     elementwise_affine: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LayerNorm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `TensorDtype` is never used
[INFO] [stdout]   --> src/tensor/dtype/mod.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub trait TensorDtype: Clone + Debug + Send + Sync + 'static {
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `DType` is never used
[INFO] [stdout]   --> src/tensor/dtype/mod.rs:58:10
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub enum DType {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `byte_size` is never used
[INFO] [stdout]    --> src/tensor/dtype/mod.rs:100:12
[INFO] [stdout]     |
[INFO] [stdout]  95 | impl DType {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 100 |     pub fn byte_size(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_broadcastable_with`, `pad_shape`, `get_broadcast_shape`, and `get_broadcast_index` are never used
[INFO] [stdout]    --> src/tensor/manipulation.rs:709:8
[INFO] [stdout]     |
[INFO] [stdout]   3 | impl Tensor {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 709 |     fn is_broadcastable_with(&self, other: &Tensor) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 726 |     fn pad_shape(&self, target_rank: usize) -> Vec<usize> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 734 |     fn get_broadcast_shape(&self, other: &Tensor) -> MlResult<Vec<usize>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 746 |     fn get_broadcast_index(&self, coords: &[usize], shape: &[usize]) -> MlResult<usize> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.225
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]     Checking tokio v1.47.1
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]     Checking zerovec v0.11.4
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.3
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking csv v1.3.1
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking tokio-util v0.7.16
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tower-http v0.6.6
[INFO] [stderr]     Checking h2 v0.4.12
[INFO] [stderr]     Checking hyper v1.7.0
[INFO] [stderr]     Checking hyper-util v0.1.17
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.23
[INFO] [stdout] warning: unused import: `aporia::backend::Xoshiro256StarStar`
[INFO] [stdout]  --> examples/basic_gender_train.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use aporia::backend::Xoshiro256StarStar;
[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: `cetana::MlResult`
[INFO] [stdout]  --> examples/gpt2/config.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use cetana::MlResult;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `compute_loss` is never used
[INFO] [stdout]    --> examples/basic_xor_function.rs:106:8
[INFO] [stdout]     |
[INFO] [stdout]  42 | impl SimpleNN {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 106 |     fn compute_loss(&self, predictions: &Tensor, targets: &Tensor) -> NetworkResult<Float> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `forward` is never used
[INFO] [stdout]   --> examples/basic_gender_train.rs:60:8
[INFO] [stdout]    |
[INFO] [stdout] 50 | impl GenderClassifier {
[INFO] [stdout]    | --------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 60 |     fn forward(&mut self, x: &Tensor) -> MlResult<Tensor> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Debug`
[INFO] [stdout]  --> src/backend/buffer.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::Debug;
[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: `super::BackendError`
[INFO] [stdout]  --> src/backend/buffer.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use super::BackendError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]    --> src/tensor/dtype/float16/ops.rs:292:9
[INFO] [stdout]     |
[INFO] [stdout] 292 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> examples/gpt2/main.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let mut config = GPTConfig::default();
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_position_ids` is never used
[INFO] [stdout]   --> examples/gpt2/main.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn create_position_ids(seq_length: usize) -> MlResult<Tensor> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `estimate_mfu` is never used
[INFO] [stdout]   --> examples/gpt2/main.rs:17:4
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn estimate_mfu(config: &GPTConfig, iter_num: usize, elapsed: f32) -> f32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `learning_rate` and `max_epochs` are never read
[INFO] [stdout]   --> examples/gpt2/config.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub struct GPTConfig {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub learning_rate: f32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 13 |     pub bias: bool,
[INFO] [stdout] 14 |     pub max_epochs: usize,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GPTConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `adjust_learning_rate`, and `get_lr` are never used
[INFO] [stdout]   --> examples/gpt2/config.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 34 | impl GPTConfig {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 35 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn adjust_learning_rate(&mut self, factor: f32) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn get_lr(&self, iter: usize, warmup_iters: usize, lr_decay_iters: usize) -> f32 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `current_pos` is never read
[INFO] [stdout]   --> examples/gpt2/dataloader.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct DataLoader {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     current_pos: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `iter` and `shuffle` are never used
[INFO] [stdout]    --> examples/gpt2/dataloader.rs:78:12
[INFO] [stdout]     |
[INFO] [stdout]  16 | impl DataLoader {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  78 |     pub fn iter(&mut self) -> MlResult<DataLoaderIterator> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 145 |     pub fn shuffle(&mut self) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DataLoaderIterator` is never constructed
[INFO] [stdout]    --> examples/gpt2/dataloader.rs:179:12
[INFO] [stdout]     |
[INFO] [stdout] 179 | pub struct DataLoaderIterator<'a> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `generate` is never used
[INFO] [stdout]    --> examples/gpt2/model.rs:233:12
[INFO] [stdout]     |
[INFO] [stdout]  22 | impl GPT {
[INFO] [stdout]     | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 233 |     pub fn generate(
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `backward` and `get_parameters` are never used
[INFO] [stdout]    --> examples/gpt2/model.rs:352:12
[INFO] [stdout]     |
[INFO] [stdout] 289 | impl Block {
[INFO] [stdout]     | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 352 |     pub fn backward(&mut self, output: &Tensor, grad: &Tensor, learning_rate: f32) -> MlResult<()> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 368 |     pub fn get_parameters(&self) -> Vec<(Tensor, Option<Tensor>)> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `block_size` is never read
[INFO] [stdout]    --> examples/gpt2/model.rs:383:5
[INFO] [stdout]     |
[INFO] [stdout] 378 | pub struct CausalSelfAttention {
[INFO] [stdout]     |            ------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 383 |     block_size: usize,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_parameters` is never used
[INFO] [stdout]    --> examples/gpt2/model.rs:547:12
[INFO] [stdout]     |
[INFO] [stdout] 389 | impl CausalSelfAttention {
[INFO] [stdout]     | ------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 547 |     pub fn get_parameters(&self) -> Vec<(Tensor, Option<Tensor>)> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_parameters` is never used
[INFO] [stdout]    --> examples/gpt2/model.rs:600:12
[INFO] [stdout]     |
[INFO] [stdout] 561 | impl MLP {
[INFO] [stdout]     | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 600 |     pub fn get_parameters(&self) -> Vec<(Tensor, Option<Tensor>)> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> examples/gpt2/dataloader.rs:78:17
[INFO] [stdout]    |
[INFO] [stdout] 78 |     pub fn iter(&mut self) -> MlResult<DataLoaderIterator> {
[INFO] [stdout]    |                 ^^^^^^^^^              ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 78 |     pub fn iter(&mut self) -> MlResult<DataLoaderIterator<'_>> {
[INFO] [stdout]    |                                                          ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `idx`
[INFO] [stdout]   --> src/nn/embedding.rs:90:21
[INFO] [stdout]    |
[INFO] [stdout] 90 |         if let Some(idx) = padding_idx {
[INFO] [stdout]    |                     ^^^ help: if this is intentional, prefix it with an underscore: `_idx`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `freeze`
[INFO] [stdout]    --> src/nn/embedding.rs:113:9
[INFO] [stdout]     |
[INFO] [stdout] 113 |         freeze: bool,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_freeze`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `neg_inf`
[INFO] [stdout]    --> src/tensor/dtype/float32/mod.rs:124:13
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let neg_inf = Float32Val(f32::NEG_INFINITY);
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_neg_inf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `neg_inf`
[INFO] [stdout]    --> src/tensor/dtype/float64/mod.rs:131:13
[INFO] [stdout]     |
[INFO] [stdout] 131 |         let neg_inf = Float64Val(f64::NEG_INFINITY);
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_neg_inf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `supports_feature` is never used
[INFO] [stdout]   --> src/backend/cpu/core.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl CpuCore {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn supports_feature(&self, _feature: &str) -> DeviceFeatures {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Buffer` is never used
[INFO] [stdout]  --> src/backend/buffer.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub trait Buffer: std::fmt::Debug {
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DeviceMemory` is never constructed
[INFO] [stdout]    --> src/backend/device.rs:262:12
[INFO] [stdout]     |
[INFO] [stdout] 262 | pub struct DeviceMemory {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CPU_FEATURE_SSE4_1` is never used
[INFO] [stdout]   --> src/backend/feature.rs:43:11
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub const CPU_FEATURE_SSE4_1: &str = "sse4.1";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CPU_FEATURE_SSE4_2` is never used
[INFO] [stdout]   --> src/backend/feature.rs:44:11
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub const CPU_FEATURE_SSE4_2: &str = "sse4.2";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GPU_FEATURE_FP16` is never used
[INFO] [stdout]   --> src/backend/feature.rs:47:11
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub const GPU_FEATURE_FP16: &str = "fp16";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GPU_FEATURE_FP64` is never used
[INFO] [stdout]   --> src/backend/feature.rs:48:11
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub const GPU_FEATURE_FP64: &str = "fp64";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GPU_FEATURE_TENSOR_CORES` is never used
[INFO] [stdout]   --> src/backend/feature.rs:49:11
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub const GPU_FEATURE_TENSOR_CORES: &str = "tensor_cores";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_cross_entropy_perfect_prediction` is never used
[INFO] [stdout]    --> src/loss.rs:211:8
[INFO] [stdout]     |
[INFO] [stdout] 211 |     fn test_cross_entropy_perfect_prediction() -> MlResult<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_cross_entropy_worst_prediction` is never used
[INFO] [stdout]    --> src/loss.rs:222:8
[INFO] [stdout]     |
[INFO] [stdout] 222 |     fn test_cross_entropy_worst_prediction() -> MlResult<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_cross_entropy_uncertain_prediction` is never used
[INFO] [stdout]    --> src/loss.rs:233:8
[INFO] [stdout]     |
[INFO] [stdout] 233 |     fn test_cross_entropy_uncertain_prediction() -> MlResult<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `elementwise_affine` is never read
[INFO] [stdout]   --> src/nn/layernorm.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct LayerNorm {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 |     elementwise_affine: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LayerNorm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/tensor/dtype/mod.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub trait TensorDtype: Clone + Debug + Send + Sync + 'static {
[INFO] [stdout]    |           ----------- associated items in this trait
[INFO] [stdout] ...
[INFO] [stdout] 23 |     fn inner(&self) -> Self::Inner;
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     fn from_inner(value: Self::Inner) -> Self;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     fn zero() -> Self;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     fn one() -> Self;
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     fn dtype() -> DType;
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     fn add(&self, other: &Self) -> Self;
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 39 |     fn sub(&self, other: &Self) -> Self;
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 40 |     fn mul(&self, other: &Self) -> Self;
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 41 |     fn div(&self, other: &Self) -> Self;
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `DType` is never used
[INFO] [stdout]   --> src/tensor/dtype/mod.rs:58:10
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub enum DType {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `byte_size` is never used
[INFO] [stdout]    --> src/tensor/dtype/mod.rs:100:12
[INFO] [stdout]     |
[INFO] [stdout]  95 | impl DType {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 100 |     pub fn byte_size(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_broadcastable_with`, `pad_shape`, `get_broadcast_shape`, and `get_broadcast_index` are never used
[INFO] [stdout]    --> src/tensor/manipulation.rs:709:8
[INFO] [stdout]     |
[INFO] [stdout]   3 | impl Tensor {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 709 |     fn is_broadcastable_with(&self, other: &Tensor) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 726 |     fn pad_shape(&self, target_rank: usize) -> Vec<usize> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 734 |     fn get_broadcast_shape(&self, other: &Tensor) -> MlResult<Vec<usize>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 746 |     fn get_broadcast_index(&self, coords: &[usize], shape: &[usize]) -> MlResult<usize> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.81s
[INFO] running `Command { std: "docker" "inspect" "6d25bcccc7d059d4dec92049554e07ebbff795d4487ae47d08f518b50463f1d4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6d25bcccc7d059d4dec92049554e07ebbff795d4487ae47d08f518b50463f1d4", kill_on_drop: false }`
[INFO] [stdout] 6d25bcccc7d059d4dec92049554e07ebbff795d4487ae47d08f518b50463f1d4
