[INFO] fetching crate rusty-gradients 0.2.0...
[INFO] testing rusty-gradients-0.2.0 against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739-1
[INFO] extracting crate rusty-gradients 0.2.0 into /workspace/builds/worker-6-tc2/source
[INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml
[INFO] started tweaking crates.io crate rusty-gradients 0.2.0
[INFO] removed 0 missing examples
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate rusty-gradients 0.2.0
[INFO] tweaked toml for crates.io crate rusty-gradients 0.2.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate rusty-gradients 0.2.0 on toolchain 33835004928d3bf65db4d4712e1330766263b0bd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate rusty-gradients 0.2.0 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" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9a9aeaff82bf680ecc8d9823e27577481826c9148085bc9fef5f93cc4b543339
[INFO] running `Command { std: "docker" "start" "-a" "9a9aeaff82bf680ecc8d9823e27577481826c9148085bc9fef5f93cc4b543339", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9a9aeaff82bf680ecc8d9823e27577481826c9148085bc9fef5f93cc4b543339", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9a9aeaff82bf680ecc8d9823e27577481826c9148085bc9fef5f93cc4b543339", kill_on_drop: false }`
[INFO] [stdout] 9a9aeaff82bf680ecc8d9823e27577481826c9148085bc9fef5f93cc4b543339
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 83970ca74d788b9b8bbc85fb4f53258385f4e3b39d3c26e1df90e1d6ce1d5ad1
[INFO] running `Command { std: "docker" "start" "-a" "83970ca74d788b9b8bbc85fb4f53258385f4e3b39d3c26e1df90e1d6ce1d5ad1", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling libm v0.2.15
[INFO] [stderr]    Compiling libc v0.2.180
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.100
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling bumpalo v3.19.0
[INFO] [stderr]    Compiling rawpointer v0.2.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling matrixmultiply v0.3.10
[INFO] [stderr]    Compiling serde_json v1.0.143
[INFO] [stderr]    Compiling wasm-bindgen v0.2.100
[INFO] [stderr]    Compiling thiserror v2.0.16
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling rusty-gradients v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling rayon v1.11.0
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling ndarray v0.16.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling rand_distr v0.4.3
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.100
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v2.0.16
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.100
[INFO] [stderr]    Compiling ndarray-rand v0.15.0
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.100
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.26s
[INFO] running `Command { std: "docker" "inspect" "83970ca74d788b9b8bbc85fb4f53258385f4e3b39d3c26e1df90e1d6ce1d5ad1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "83970ca74d788b9b8bbc85fb4f53258385f4e3b39d3c26e1df90e1d6ce1d5ad1", kill_on_drop: false }`
[INFO] [stdout] 83970ca74d788b9b8bbc85fb4f53258385f4e3b39d3c26e1df90e1d6ce1d5ad1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5a9abd9af5d7ed2fb76d8cb79f9792b6413c7cc84b0b3a6e404dd6cb10960ef5
[INFO] running `Command { std: "docker" "start" "-a" "5a9abd9af5d7ed2fb76d8cb79f9792b6413c7cc84b0b3a6e404dd6cb10960ef5", kill_on_drop: false }`
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]    Compiling libc v0.2.180
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling plotters-backend v0.3.7
[INFO] [stderr]    Compiling anstyle v1.0.13
[INFO] [stderr]    Compiling zerocopy-derive v0.8.26
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling ciborium-io v0.2.2
[INFO] [stderr]    Compiling clap_lex v0.7.7
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling cast v0.3.0
[INFO] [stderr]    Compiling anes v0.1.6
[INFO] [stderr]    Compiling wasm-bindgen v0.2.100
[INFO] [stderr]    Compiling oorandom v11.1.5
[INFO] [stderr]    Compiling rayon v1.11.0
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling clap_builder v4.5.54
[INFO] [stderr]    Compiling plotters-svg v0.3.7
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling plotters v0.3.7
[INFO] [stderr]    Compiling ndarray v0.16.1
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling is-terminal v0.4.17
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling criterion-plot v0.5.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling half v2.7.1
[INFO] [stderr]    Compiling clap v4.5.54
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling ciborium-ll v0.2.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling serde_json v1.0.143
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling ciborium v0.2.2
[INFO] [stderr]    Compiling rand_distr v0.4.3
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling criterion v0.5.1
[INFO] [stderr]    Compiling ndarray-rand v0.15.0
[INFO] [stderr]    Compiling rusty-gradients v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `CheckpointManager` and `ModelMetadata`
[INFO] [stdout]   --> examples/train_gpt_e2e.rs:17:38
[INFO] [stdout]    |
[INFO] [stdout] 17 | use rusty_gradients::serialization::{CheckpointManager, ModelMetadata};
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Backend` and `Device`
[INFO] [stdout]   --> examples/cuda_demo.rs:14:32
[INFO] [stdout]    |
[INFO] [stdout] 14 | use rusty_gradients::backend::{Backend, Device};
[INFO] [stdout]    |                                ^^^^^^^  ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `format_number` is never used
[INFO] [stdout]    --> examples/load_gpt2_demo.rs:132:4
[INFO] [stdout]     |
[INFO] [stdout] 132 | fn format_number(n: usize) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `names`
[INFO] [stdout]    --> examples/serialization_demo.rs:119:5
[INFO] [stdout]     |
[INFO] [stdout] 119 |     names: &[String],
[INFO] [stdout]     |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_names`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Backend`
[INFO] [stdout]   --> examples/cuda_kernels_test.rs:18:32
[INFO] [stdout]    |
[INFO] [stdout] 18 | use rusty_gradients::backend::{Backend};
[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: `rusty_gradients::backend::cpu::CpuBackend`
[INFO] [stdout]   --> examples/cuda_kernels_test.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use rusty_gradients::backend::cpu::CpuBackend;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `backend`
[INFO] [stdout]    --> examples/train_gpt_e2e.rs:324:9
[INFO] [stdout]     |
[INFO] [stdout] 324 |     let backend = CpuBackend::new();
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_backend`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `idx_to_char` is never read
[INFO] [stdout]   --> examples/train_gpt_e2e.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct CharTokenizer {
[INFO] [stdout]    |        ------------- field in this struct
[INFO] [stdout] 26 |     char_to_idx: HashMap<char, usize>,
[INFO] [stdout] 27 |     idx_to_char: HashMap<usize, char>,
[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 `decode` is never used
[INFO] [stdout]   --> examples/train_gpt_e2e.rs:64:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl CharTokenizer {
[INFO] [stdout]    | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 64 |     fn decode(&self, indices: &[usize]) -> String {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `vocab_size` and `num_layers` are never read
[INFO] [stdout]   --> examples/train_gpt_e2e.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 73 | struct SimpleGPT {
[INFO] [stdout]    |        --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 78 |     vocab_size: usize,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 81 |     num_layers: usize,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `weight_names` is never used
[INFO] [stdout]    --> examples/train_gpt_e2e.rs:146:8
[INFO] [stdout]     |
[INFO] [stdout]  84 | impl SimpleGPT {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 146 |     fn weight_names(&self) -> Vec<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `max_checkpoints` is never read
[INFO] [stdout]    --> examples/train_gpt_e2e.rs:194:5
[INFO] [stdout]     |
[INFO] [stdout] 188 | struct TrainingConfig {
[INFO] [stdout]     |        -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 194 |     max_checkpoints: usize,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TrainingConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bias`
[INFO] [stdout]   --> examples/tensor_v2_demo.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |     let bias = TensorV2::ones(&[hidden_dim], false, Device::cpu()).unwrap();
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_bias`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 35.99s
[INFO] running `Command { std: "docker" "inspect" "5a9abd9af5d7ed2fb76d8cb79f9792b6413c7cc84b0b3a6e404dd6cb10960ef5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5a9abd9af5d7ed2fb76d8cb79f9792b6413c7cc84b0b3a6e404dd6cb10960ef5", kill_on_drop: false }`
[INFO] [stdout] 5a9abd9af5d7ed2fb76d8cb79f9792b6413c7cc84b0b3a6e404dd6cb10960ef5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 0c3364a72b8b7ca0ae83fe15878845eea55b8817d693133b5b43f71ab032ad92
[INFO] running `Command { std: "docker" "start" "-a" "0c3364a72b8b7ca0ae83fe15878845eea55b8817d693133b5b43f71ab032ad92", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `Backend`
[INFO] [stderr]   --> examples/cuda_kernels_test.rs:18:32
[INFO] [stderr]    |
[INFO] [stderr] 18 | use rusty_gradients::backend::{Backend};
[INFO] [stderr]    |                                ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `rusty_gradients::backend::cpu::CpuBackend`
[INFO] [stderr]   --> examples/cuda_kernels_test.rs:23:5
[INFO] [stderr]    |
[INFO] [stderr] 23 | use rusty_gradients::backend::cpu::CpuBackend;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Backend` and `Device`
[INFO] [stderr]   --> examples/cuda_demo.rs:14:32
[INFO] [stderr]    |
[INFO] [stderr] 14 | use rusty_gradients::backend::{Backend, Device};
[INFO] [stderr]    |                                ^^^^^^^  ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `format_number` is never used
[INFO] [stderr]    --> examples/load_gpt2_demo.rs:132:4
[INFO] [stderr]     |
[INFO] [stderr] 132 | fn format_number(n: usize) -> String {
[INFO] [stderr]     |    ^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `names`
[INFO] [stderr]    --> examples/serialization_demo.rs:119:5
[INFO] [stderr]     |
[INFO] [stderr] 119 |     names: &[String],
[INFO] [stderr]     |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_names`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `CheckpointManager` and `ModelMetadata`
[INFO] [stderr]   --> examples/train_gpt_e2e.rs:17:38
[INFO] [stderr]    |
[INFO] [stderr] 17 | use rusty_gradients::serialization::{CheckpointManager, ModelMetadata};
[INFO] [stderr]    |                                      ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `backend`
[INFO] [stderr]    --> examples/train_gpt_e2e.rs:324:9
[INFO] [stderr]     |
[INFO] [stderr] 324 |     let backend = CpuBackend::new();
[INFO] [stderr]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_backend`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `idx_to_char` is never read
[INFO] [stderr]   --> examples/train_gpt_e2e.rs:27:5
[INFO] [stderr]    |
[INFO] [stderr] 25 | struct CharTokenizer {
[INFO] [stderr]    |        ------------- field in this struct
[INFO] [stderr] 26 |     char_to_idx: HashMap<char, usize>,
[INFO] [stderr] 27 |     idx_to_char: HashMap<usize, char>,
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `decode` is never used
[INFO] [stderr]   --> examples/train_gpt_e2e.rs:64:8
[INFO] [stderr]    |
[INFO] [stderr] 31 | impl CharTokenizer {
[INFO] [stderr]    | ------------------ method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 64 |     fn decode(&self, indices: &[usize]) -> String {
[INFO] [stderr]    |        ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `vocab_size` and `num_layers` are never read
[INFO] [stderr]   --> examples/train_gpt_e2e.rs:78:5
[INFO] [stderr]    |
[INFO] [stderr] 73 | struct SimpleGPT {
[INFO] [stderr]    |        --------- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 78 |     vocab_size: usize,
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 81 |     num_layers: usize,
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `weight_names` is never used
[INFO] [stderr]    --> examples/train_gpt_e2e.rs:146:8
[INFO] [stderr]     |
[INFO] [stderr]  84 | impl SimpleGPT {
[INFO] [stderr]     | -------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 146 |     fn weight_names(&self) -> Vec<String> {
[INFO] [stderr]     |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `max_checkpoints` is never read
[INFO] [stderr]    --> examples/train_gpt_e2e.rs:194:5
[INFO] [stderr]     |
[INFO] [stderr] 188 | struct TrainingConfig {
[INFO] [stderr]     |        -------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 194 |     max_checkpoints: usize,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `TrainingConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `bias`
[INFO] [stderr]   --> examples/tensor_v2_demo.rs:82:9
[INFO] [stderr]    |
[INFO] [stderr] 82 |     let bias = TensorV2::ones(&[hidden_dim], false, Device::cpu()).unwrap();
[INFO] [stderr]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_bias`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `rusty-gradients` (example "cuda_kernels_test") generated 2 warnings (run `cargo fix --example "cuda_kernels_test" -p rusty-gradients` to apply 2 suggestions)
[INFO] [stderr] warning: `rusty-gradients` (example "cuda_demo") generated 1 warning (run `cargo fix --example "cuda_demo" -p rusty-gradients` to apply 1 suggestion)
[INFO] [stderr] warning: `rusty-gradients` (example "load_gpt2_demo") generated 1 warning
[INFO] [stderr] warning: `rusty-gradients` (example "serialization_demo") generated 1 warning (run `cargo fix --example "serialization_demo" -p rusty-gradients` to apply 1 suggestion)
[INFO] [stderr] warning: `rusty-gradients` (example "train_gpt_e2e") generated 7 warnings (run `cargo fix --example "train_gpt_e2e" -p rusty-gradients` to apply 2 suggestions)
[INFO] [stderr] warning: `rusty-gradients` (example "tensor_v2_demo") generated 1 warning (run `cargo fix --example "tensor_v2_demo" -p rusty-gradients` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rusty_gradients-6e2cf4ea4a2f2ec6)
[INFO] [stdout] 
[INFO] [stdout] running 23 tests
[INFO] [stdout] test core::autograd_v2::tests::test_graph_building ... ignored, TensorV2 autograd integration incomplete - graph building needs context propagation
[INFO] [stdout] test ops_v2::basic::tests::test_add_forward ... ok
[INFO] [stdout] test ops_v2::matmul::tests::test_matmul_2d ... ok
[INFO] [stdout] test ops_v2::basic::tests::test_mul_forward ... ok
[INFO] [stdout] test serialization::checkpoint::tests::test_parse_step ... ok
[INFO] [stdout] test tensor_v2::tests::test_matmul ... ok
[INFO] [stdout] test tensor_v2::tests::test_tensor_creation ... ok
[INFO] [stdout] test tokenization::bpe_tokenizer::tests::test_bpe_compression ... ok
[INFO] [stdout] test backend::fused::tests::test_layer_norm_fused ... ok
[INFO] [stdout] test backend::fused::tests::test_gelu_fused ... ok
[INFO] [stdout] test backend::simd::tests::test_exp_simd ... ok
[INFO] [stdout] test ops_v2::matmul::tests::test_matmul_batched ... ok
[INFO] [stdout] test tokenization::bpe_tokenizer::tests::test_bpe_special_tokens ... ok
[INFO] [stdout] test tokenization::bpe_tokenizer::tests::test_bpe_encode_decode ... ok
[INFO] [stdout] test tokenization::char_tokenizer::tests::test_char_tokenizer_basic ... ok
[INFO] [stdout] test backend::simd::tests::test_sigmoid_simd ... ok
[INFO] [stdout] test tokenization::char_tokenizer::tests::test_char_tokenizer_from_vocab ... ok
[INFO] [stdout] test tensor_v2::tests::test_tensor_operations ... ok
[INFO] [stdout] test tokenization::char_tokenizer::tests::test_char_tokenizer_vocab_size ... ok
[INFO] [stdout] test backend::simd::tests::test_relu_simd ... ok
[INFO] [stdout] test tokenization::bpe_tokenizer::tests::test_bpe_train ... ok
[INFO] [stdout] test tokenization::char_tokenizer::tests::test_char_tokenizer_roundtrip ... ok
[INFO] [stdout] test core::autograd_v2::tests::test_backward_without_grad - should panic ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 22 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.05s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/knowledge_manager.rs (/opt/rustwide/target/debug/deps/knowledge_manager-9555d95651002150)
[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 tests/common.rs (/opt/rustwide/target/debug/deps/common-bc014c960c393f60)
[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 tests/nn_test.rs (/opt/rustwide/target/debug/deps/nn_test-86a8b7d37991e07c)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test test_linear_layer_backward ... ok
[INFO] [stdout] test test_relu_layer_backward ... ok
[INFO] [stdout] test test_feedforward_layer_backward ... ok
[INFO] [stderr]    Doc-tests rusty_gradients
[INFO] [stdout] test test_mha_layer_backward ... ok
[INFO] [stdout] test test_transformer_block_backward ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test src/tokenization/char_tokenizer.rs - tokenization::char_tokenizer::CharTokenizer::new (line 28) ... FAILED
[INFO] [stdout] test src/optim/mod.rs - optim (line 31) ... ok
[INFO] [stdout] test src/optim/adam.rs - optim::adam::Adam (line 17) ... ok
[INFO] [stdout] test src/losses/bce.rs - losses::bce::bce_loss (line 36) ... ok
[INFO] [stdout] test src/optim/sgd.rs - optim::sgd::SGD (line 14) ... ok
[INFO] [stdout] test src/nn/containers.rs - nn::containers::Sequential (line 34) ... ok
[INFO] [stdout] test src/tokenization/bpe_tokenizer.rs - tokenization::bpe_tokenizer::BPETokenizer::train (line 42) ... ok
[INFO] [stdout] test src/losses/mse.rs - losses::mse::mse_loss (line 26) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/tokenization/char_tokenizer.rs - tokenization::char_tokenizer::CharTokenizer::new (line 28) stdout ----
[INFO] [stdout] error[E0599]: no method named `vocab_size` found for struct `CharTokenizer` in the current scope
[INFO] [stdout]   --> src/tokenization/char_tokenizer.rs:34:22
[INFO] [stdout]    |
[INFO] [stdout] 34 | assert_eq!(tokenizer.vocab_size(), 10);
[INFO] [stdout]    |                      ^^^^^^^^^^ private field, not a method
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/tokenization/mod.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 |     fn vocab_size(&self) -> usize;
[INFO] [stdout]    |        ---------- the method is available for `CharTokenizer` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Tokenizer` which provides `vocab_size` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 27 + use crate::rusty_gradients::tokenization::Tokenizer;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/tokenization/char_tokenizer.rs - tokenization::char_tokenizer::CharTokenizer::new (line 28)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 7 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.54s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "0c3364a72b8b7ca0ae83fe15878845eea55b8817d693133b5b43f71ab032ad92", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0c3364a72b8b7ca0ae83fe15878845eea55b8817d693133b5b43f71ab032ad92", kill_on_drop: false }`
[INFO] [stdout] 0c3364a72b8b7ca0ae83fe15878845eea55b8817d693133b5b43f71ab032ad92
