[INFO] cloning repository https://github.com/philsupertramp/integers
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/philsupertramp/integers" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphilsupertramp%2Fintegers"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphilsupertramp%2Fintegers'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] d15c46240cb68ac122a45637fbc9418135cf76eb
[INFO] testing philsupertramp/integers against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphilsupertramp%2Fintegers" "/workspace/builds/worker-5-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/philsupertramp/integers
[INFO] removed 0 missing examples
[INFO] finished tweaking git repo https://github.com/philsupertramp/integers
[INFO] tweaked toml for git repo https://github.com/philsupertramp/integers written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/philsupertramp/integers on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/philsupertramp/integers already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 723fd4620227fc8882be268a770f103127e3c77fba8da65b1202e55e1d6e3f0e
[INFO] running `"docker" "start" "723fd4620227fc8882be268a770f103127e3c77fba8da65b1202e55e1d6e3f0e"`
[INFO] running `"docker" "inspect" "723fd4620227fc8882be268a770f103127e3c77fba8da65b1202e55e1d6e3f0e"`
[INFO] running `"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" "723fd4620227fc8882be268a770f103127e3c77fba8da65b1202e55e1d6e3f0e" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "723fd4620227fc8882be268a770f103127e3c77fba8da65b1202e55e1d6e3f0e"`
[INFO] running `"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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "723fd4620227fc8882be268a770f103127e3c77fba8da65b1202e55e1d6e3f0e" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling zerocopy v0.8.39
[INFO] [stderr]    Compiling libc v0.2.182
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling arrow-schema v58.0.0
[INFO] [stderr]    Compiling lexical-util v1.0.7
[INFO] [stderr]    Compiling semver v1.0.27
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling regex-syntax v0.8.10
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling csv-core v0.1.13
[INFO] [stderr]    Compiling snap v1.1.1
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling simdutf8 v0.1.5
[INFO] [stderr]    Compiling indexmap v2.13.0
[INFO] [stderr]    Compiling zlib-rs v0.6.2
[INFO] [stderr]    Compiling twox-hash v2.1.2
[INFO] [stderr]    Compiling integer-encoding v3.0.4
[INFO] [stderr]    Compiling lz4_flex v0.12.0
[INFO] [stderr]    Compiling brotli v8.0.2
[INFO] [stderr]    Compiling flatbuffers v25.12.19
[INFO] [stderr]    Compiling seq-macro v0.3.6
[INFO] [stderr]    Compiling lexical-parse-integer v1.0.6
[INFO] [stderr]    Compiling lexical-write-integer v1.0.6
[INFO] [stderr]    Compiling lexical-write-float v1.0.6
[INFO] [stderr]    Compiling lexical-parse-float v1.0.6
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling cc v1.2.56
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling ordered-float v2.10.1
[INFO] [stderr]    Compiling lexical-core v1.0.6
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling thrift v0.17.0
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling zstd-sys v2.0.16+zstd.1.5.7
[INFO] [stderr]    Compiling csv v1.4.0
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling flate2 v1.1.9
[INFO] [stderr]    Compiling zerocopy-derive v0.8.39
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling half v2.7.1
[INFO] [stderr]    Compiling arrow-buffer v58.0.0
[INFO] [stderr]    Compiling arrow-data v58.0.0
[INFO] [stderr]    Compiling arrow-array v58.0.0
[INFO] [stderr]    Compiling arrow-select v58.0.0
[INFO] [stderr]    Compiling arrow-row v58.0.0
[INFO] [stderr]    Compiling arrow-arith v58.0.0
[INFO] [stderr]    Compiling zstd v0.13.3
[INFO] [stderr]    Compiling arrow-ord v58.0.0
[INFO] [stderr]    Compiling arrow-ipc v58.0.0
[INFO] [stderr]    Compiling arrow-string v58.0.0
[INFO] [stderr]    Compiling parquet v58.0.0
[INFO] [stderr]    Compiling arrow-cast v58.0.0
[INFO] [stderr]    Compiling arrow-json v58.0.0
[INFO] [stderr]    Compiling arrow-csv v58.0.0
[INFO] [stderr]    Compiling arrow v58.0.0
[INFO] [stderr]    Compiling integers v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `increase_clamp_downcast`
[INFO] [stdout]  --> src/lib/nn/kernels.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::debug::{increase_clamp_downcast};
[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: `checked_add_counting` and `checked_sub_counting`
[INFO] [stdout]  --> src/lib/nn/optim.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::{checked_sub_counting, checked_add_counting, Scalar, Numeric, XorShift64};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `compute_shift_for_max`
[INFO] [stdout]  --> src/lib/nn/rnn.rs:1:57
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::nn::{Linear, ModuleInfo, Module, HasWeights, compute_shift_for_max};
[INFO] [stdout]   |                                                         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `checked_add_counting`
[INFO] [stdout]  --> src/lib/nn/rnn.rs:4:33
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::{Tensor, XorShift64, checked_add_counting, Scalar, Numeric};
[INFO] [stdout]   |                                 ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::nn::kernels`
[INFO] [stdout]  --> src/lib/nn/rnn.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::nn::kernels;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Numeric` and `checked_add_counting`
[INFO] [stdout]  --> src/lib/nn/conv.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{Tensor, XorShift64, checked_add_counting, Scalar, Numeric};
[INFO] [stdout]   |                                 ^^^^^^^^^^^^^^^^^^^^          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `compute_shift_for_max`
[INFO] [stdout]  --> src/lib/nn/activations.rs:2:37
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::nn::{ModuleInfo, Module, compute_shift_for_max};
[INFO] [stdout]   |                                     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::nn::kernels`
[INFO] [stdout]  --> src/lib/nn/activations.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::nn::kernels;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `checked_add_counting`
[INFO] [stdout]   --> src/lib/nn.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::{checked_add_counting};
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/lib/nn.rs:389:17
[INFO] [stdout]     |
[INFO] [stdout] 389 | /                 /// y = add(dot(w, x), b)
[INFO] [stdout] 390 | |                 /// w is at shift self.weights.quant_shift
[INFO] [stdout] 391 | |                 /// x is at shift s_x
[INFO] [stdout] 392 | |                 /// b is at shift self.weights.quant_shift
[INFO] [stdout] 393 | |                 /// dot(w, x) is at shift self.weights.quant_shift + s_x
[INFO] [stdout]     | |________________________________________________________________________^
[INFO] [stdout] 394 |                   let w_row = &self.weights.storage.data[o * input_dim..(o + 1) * input_dim];
[INFO] [stdout]     |                   --------------------------------------------------------------------------- rustdoc does not generate documentation for statements
[INFO] [stdout]     |
[INFO] [stdout]     = help: use `//` for a plain comment
[INFO] [stdout]     = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/lib/nn.rs:460:114
[INFO] [stdout]     |
[INFO] [stdout] 460 | ...hts.data[o * input_dim + i].add(S::scale(dw, (s_g + s_x - self.weights.quant_shift), &mut rng));
[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] 460 -                     grad_weights.data[o * input_dim + i] = grad_weights.data[o * input_dim + i].add(S::scale(dw, (s_g + s_x - self.weights.quant_shift), &mut rng));
[INFO] [stdout] 460 +                     grad_weights.data[o * input_dim + i] = grad_weights.data[o * input_dim + i].add(S::scale(dw, s_g + s_x - self.weights.quant_shift, &mut rng));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `grad_divisor`
[INFO] [stdout]   --> src/lib/nn/losses.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |         let grad_divisor = S::Acc::from_i32(batch_size as i32);
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grad_divisor`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `grad_divisor`
[INFO] [stdout]   --> src/lib/nn/losses.rs:76:13
[INFO] [stdout]    |
[INFO] [stdout] 76 |         let grad_divisor = S::Acc::from_i32(batch_size as i32);
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grad_divisor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `clamp` is assigned to, but never used
[INFO] [stdout]   --> src/lib/nn/kernels.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let mut clamp = true;
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_clamp` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `clamp` is never read
[INFO] [stdout]   --> src/lib/nn/kernels.rs:33:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |     } else { clamp = false; }
[INFO] [stdout]    |              ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `batch_size`
[INFO] [stdout]    --> src/lib/nn/optim.rs:241:99
[INFO] [stdout]     |
[INFO] [stdout] 241 |     fn update(&mut self, weights: &mut [S::Acc], grads: &[S::Acc], state: &mut OptimizerState<S>, batch_size: u32) {
[INFO] [stdout]     |                                                                                                   ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batch_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s_x`
[INFO] [stdout]    --> src/lib/nn/rnn.rs:117:13
[INFO] [stdout]     |
[INFO] [stdout] 117 |         let s_x = self.s_x_cache.pop().expect("Linear::backward: Backward called without forward.");
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_s_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rng`
[INFO] [stdout]  --> src/lib/nn/conv.rs:8:56
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn forward(&mut self, input: &Tensor<S>, s_x: i32, rng: &mut XorShift64) -> (Tensor<S>, i32){
[INFO] [stdout]   |                                                        ^^^ help: if this is intentional, prefix it with an underscore: `_rng`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rng`
[INFO] [stdout]   --> src/lib/nn/conv.rs:72:56
[INFO] [stdout]    |
[INFO] [stdout] 72 |     fn forward(&mut self, input: &Tensor<S>, s_x: i32, rng: &mut XorShift64) -> (Tensor<S>, i32){
[INFO] [stdout]    |                                                        ^^^ help: if this is intentional, prefix it with an underscore: `_rng`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s_x`
[INFO] [stdout]   --> src/lib/nn/activations.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let s_x = self.s_x_cache.pop().expect("ReLU::backward: Backward called without forward.");
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_s_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `optim`
[INFO] [stdout]    --> src/lib/nn.rs:117:24
[INFO] [stdout]     |
[INFO] [stdout] 117 |     fn step(&mut self, optim: &mut dyn OptimizerConfig<S>) {}
[INFO] [stdout]     |                        ^^^^^ help: if this is intentional, prefix it with an underscore: `_optim`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shift`
[INFO] [stdout]   --> src/lib.rs:80:30
[INFO] [stdout]    |
[INFO] [stdout] 80 |     fn scale(acc: Self::Acc, shift: i32, rng: &mut XorShift64) -> Self::Acc { acc }
[INFO] [stdout]    |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_shift`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rng`
[INFO] [stdout]   --> src/lib.rs:80:42
[INFO] [stdout]    |
[INFO] [stdout] 80 |     fn scale(acc: Self::Acc, shift: i32, rng: &mut XorShift64) -> Self::Acc { acc }
[INFO] [stdout]    |                                          ^^^ help: if this is intentional, prefix it with an underscore: `_rng`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rng`
[INFO] [stdout]    --> src/lib.rs:120:39
[INFO] [stdout]     |
[INFO] [stdout] 120 |     fn downcast(acc: f32, shift: i32, rng: &mut XorShift64) -> Self { acc / (1 << shift) as f32 }
[INFO] [stdout]     |                                       ^^^ help: if this is intentional, prefix it with an underscore: `_rng`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fan_in`
[INFO] [stdout]    --> src/lib.rs:136:18
[INFO] [stdout]     |
[INFO] [stdout] 136 |     fn acc_shift(fan_in: usize) -> u32 { 0u32 }
[INFO] [stdout]     |                  ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fan_in`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `clamp_i8` is never used
[INFO] [stdout]   --> src/lib/nn/kernels.rs:26:4
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn clamp_i8(shifted: i32) -> i8 {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `cache` and `s_x_cache` are never read
[INFO] [stdout]   --> src/lib/nn/conv.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct Conv2D<S: Scalar> {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 49 |     cache: Vec<Tensor<S>>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 50 |     s_x_cache: Vec<u32>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: unused dependency `arrow`
[INFO] [stderr]  --> Cargo.toml:2:1
[INFO] [stderr]   |
[INFO] [stderr] 2 | arrow = "58.0.0"
[INFO] [stderr]   | ^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `arrow`
[INFO] [stderr] warning: `integers` (manifest) generated 1 warning
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 4m 14s
[INFO] running `"docker" "inspect" "723fd4620227fc8882be268a770f103127e3c77fba8da65b1202e55e1d6e3f0e"`
[INFO] running `"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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "723fd4620227fc8882be268a770f103127e3c77fba8da65b1202e55e1d6e3f0e" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stdout] warning: unused import: `increase_clamp_downcast`
[INFO] [stdout]  --> src/lib/nn/kernels.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::debug::{increase_clamp_downcast};
[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: `checked_add_counting` and `checked_sub_counting`
[INFO] [stdout]  --> src/lib/nn/optim.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::{checked_sub_counting, checked_add_counting, Scalar, Numeric, XorShift64};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `compute_shift_for_max`
[INFO] [stdout]  --> src/lib/nn/rnn.rs:1:57
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::nn::{Linear, ModuleInfo, Module, HasWeights, compute_shift_for_max};
[INFO] [stdout]   |                                                         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `checked_add_counting`
[INFO] [stdout]  --> src/lib/nn/rnn.rs:4:33
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::{Tensor, XorShift64, checked_add_counting, Scalar, Numeric};
[INFO] [stdout]   |                                 ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::nn::kernels`
[INFO] [stdout]  --> src/lib/nn/rnn.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::nn::kernels;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Numeric` and `checked_add_counting`
[INFO] [stdout]  --> src/lib/nn/conv.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{Tensor, XorShift64, checked_add_counting, Scalar, Numeric};
[INFO] [stdout]   |                                 ^^^^^^^^^^^^^^^^^^^^          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `compute_shift_for_max`
[INFO] [stdout]  --> src/lib/nn/activations.rs:2:37
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::nn::{ModuleInfo, Module, compute_shift_for_max};
[INFO] [stdout]   |                                     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::nn::kernels`
[INFO] [stdout]  --> src/lib/nn/activations.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::nn::kernels;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `checked_add_counting`
[INFO] [stdout]   --> src/lib/nn.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::{checked_add_counting};
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/lib/nn.rs:389:17
[INFO] [stdout]     |
[INFO] [stdout] 389 | /                 /// y = add(dot(w, x), b)
[INFO] [stdout] 390 | |                 /// w is at shift self.weights.quant_shift
[INFO] [stdout] 391 | |                 /// x is at shift s_x
[INFO] [stdout] 392 | |                 /// b is at shift self.weights.quant_shift
[INFO] [stdout] 393 | |                 /// dot(w, x) is at shift self.weights.quant_shift + s_x
[INFO] [stdout]     | |________________________________________________________________________^
[INFO] [stdout] 394 |                   let w_row = &self.weights.storage.data[o * input_dim..(o + 1) * input_dim];
[INFO] [stdout]     |                   --------------------------------------------------------------------------- rustdoc does not generate documentation for statements
[INFO] [stdout]     |
[INFO] [stdout]     = help: use `//` for a plain comment
[INFO] [stdout]     = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/lib/nn.rs:460:114
[INFO] [stdout]     |
[INFO] [stdout] 460 | ...hts.data[o * input_dim + i].add(S::scale(dw, (s_g + s_x - self.weights.quant_shift), &mut rng));
[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] 460 -                     grad_weights.data[o * input_dim + i] = grad_weights.data[o * input_dim + i].add(S::scale(dw, (s_g + s_x - self.weights.quant_shift), &mut rng));
[INFO] [stdout] 460 +                     grad_weights.data[o * input_dim + i] = grad_weights.data[o * input_dim + i].add(S::scale(dw, s_g + s_x - self.weights.quant_shift, &mut rng));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `grad_divisor`
[INFO] [stdout]   --> src/lib/nn/losses.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |         let grad_divisor = S::Acc::from_i32(batch_size as i32);
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grad_divisor`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `grad_divisor`
[INFO] [stdout]   --> src/lib/nn/losses.rs:76:13
[INFO] [stdout]    |
[INFO] [stdout] 76 |         let grad_divisor = S::Acc::from_i32(batch_size as i32);
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grad_divisor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `clamp` is assigned to, but never used
[INFO] [stdout]   --> src/lib/nn/kernels.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let mut clamp = true;
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_clamp` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `clamp` is never read
[INFO] [stdout]   --> src/lib/nn/kernels.rs:33:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |     } else { clamp = false; }
[INFO] [stdout]    |              ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `batch_size`
[INFO] [stdout]    --> src/lib/nn/optim.rs:241:99
[INFO] [stdout]     |
[INFO] [stdout] 241 |     fn update(&mut self, weights: &mut [S::Acc], grads: &[S::Acc], state: &mut OptimizerState<S>, batch_size: u32) {
[INFO] [stdout]     |                                                                                                   ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batch_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s_x`
[INFO] [stdout]    --> src/lib/nn/rnn.rs:117:13
[INFO] [stdout]     |
[INFO] [stdout] 117 |         let s_x = self.s_x_cache.pop().expect("Linear::backward: Backward called without forward.");
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_s_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rng`
[INFO] [stdout]  --> src/lib/nn/conv.rs:8:56
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn forward(&mut self, input: &Tensor<S>, s_x: i32, rng: &mut XorShift64) -> (Tensor<S>, i32){
[INFO] [stdout]   |                                                        ^^^ help: if this is intentional, prefix it with an underscore: `_rng`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rng`
[INFO] [stdout]   --> src/lib/nn/conv.rs:72:56
[INFO] [stdout]    |
[INFO] [stdout] 72 |     fn forward(&mut self, input: &Tensor<S>, s_x: i32, rng: &mut XorShift64) -> (Tensor<S>, i32){
[INFO] [stdout]    |                                                        ^^^ help: if this is intentional, prefix it with an underscore: `_rng`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s_x`
[INFO] [stdout]   --> src/lib/nn/activations.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let s_x = self.s_x_cache.pop().expect("ReLU::backward: Backward called without forward.");
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_s_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `optim`
[INFO] [stdout]    --> src/lib/nn.rs:117:24
[INFO] [stdout]     |
[INFO] [stdout] 117 |     fn step(&mut self, optim: &mut dyn OptimizerConfig<S>) {}
[INFO] [stdout]     |                        ^^^^^ help: if this is intentional, prefix it with an underscore: `_optim`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shift`
[INFO] [stdout]   --> src/lib.rs:80:30
[INFO] [stdout]    |
[INFO] [stdout] 80 |     fn scale(acc: Self::Acc, shift: i32, rng: &mut XorShift64) -> Self::Acc { acc }
[INFO] [stdout]    |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_shift`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rng`
[INFO] [stdout]   --> src/lib.rs:80:42
[INFO] [stdout]    |
[INFO] [stdout] 80 |     fn scale(acc: Self::Acc, shift: i32, rng: &mut XorShift64) -> Self::Acc { acc }
[INFO] [stdout]    |                                          ^^^ help: if this is intentional, prefix it with an underscore: `_rng`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rng`
[INFO] [stdout]    --> src/lib.rs:120:39
[INFO] [stdout]     |
[INFO] [stdout] 120 |     fn downcast(acc: f32, shift: i32, rng: &mut XorShift64) -> Self { acc / (1 << shift) as f32 }
[INFO] [stdout]     |                                       ^^^ help: if this is intentional, prefix it with an underscore: `_rng`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fan_in`
[INFO] [stdout]    --> src/lib.rs:136:18
[INFO] [stdout]     |
[INFO] [stdout] 136 |     fn acc_shift(fan_in: usize) -> u32 { 0u32 }
[INFO] [stdout]     |                  ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fan_in`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `clamp_i8` is never used
[INFO] [stdout]   --> src/lib/nn/kernels.rs:26:4
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn clamp_i8(shifted: i32) -> i8 {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling integers v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `cache` and `s_x_cache` are never read
[INFO] [stdout]   --> src/lib/nn/conv.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct Conv2D<S: Scalar> {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 49 |     cache: Vec<Tensor<S>>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 50 |     s_x_cache: Vec<u32>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AdamConfig`
[INFO] [stdout]  --> examples/mnist_f32.rs:8:27
[INFO] [stdout]   |
[INFO] [stdout] 8 | use integers::nn::optim::{AdamConfig, SGDConfig};
[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: `Tanh`
[INFO] [stdout]  --> examples/iris.rs:4:39
[INFO] [stdout]   |
[INFO] [stdout] 4 | use integers::nn::activations::{ReLU, Tanh};
[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: `integers::debug::*`
[INFO] [stdout]  --> examples/iris.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use integers::debug::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AdamConfig`
[INFO] [stdout]  --> examples/iris.rs:8:38
[INFO] [stdout]   |
[INFO] [stdout] 8 | use integers::nn::optim::{SGDConfig, AdamConfig};
[INFO] [stdout]   |                                      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AdamConfig`
[INFO] [stdout]  --> examples/mnist.rs:8:27
[INFO] [stdout]   |
[INFO] [stdout] 8 | use integers::nn::optim::{AdamConfig, SGDConfig};
[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: `last_batch_start`
[INFO] [stdout]   --> examples/iris.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 83 |         let last_batch_start = batch_size * ((train_ds.len() / batch_size) - 1);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_batch_start`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `eval_loss` is assigned to, but never used
[INFO] [stdout]    --> examples/iris.rs:116:13
[INFO] [stdout]     |
[INFO] [stdout] 116 |         let mut eval_loss: i64 = 0;
[INFO] [stdout]     |             ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_eval_loss` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s_out`
[INFO] [stdout]    --> examples/iris.rs:121:24
[INFO] [stdout]     |
[INFO] [stdout] 121 |             let (pred, s_out) = model.forward(&x_t, test_ds.input_shift, &mut rng);
[INFO] [stdout]     |                        ^^^^^ help: if this is intentional, prefix it with an underscore: `_s_out`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `grad_out`
[INFO] [stdout]    --> examples/iris.rs:122:24
[INFO] [stdout]     |
[INFO] [stdout] 122 |             let (loss, grad_out) = mse.forward(&pred, &target);
[INFO] [stdout]     |                        ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grad_out`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shift`
[INFO] [stdout]    --> examples/iris.rs:172:30
[INFO] [stdout]     |
[INFO] [stdout] 172 |     let (predictions_tensor, shift) = model.forward(&test_inputs, test_ds.input_shift, &mut rng);
[INFO] [stdout]     |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_shift`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `eval_loss` is never read
[INFO] [stdout]    --> examples/iris.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |             eval_loss += loss as i64;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic args in patterns require the turbofish syntax
[INFO] [stdout]    --> src/lib/nn.rs:840:27
[INFO] [stdout]     |
[INFO] [stdout] 840 |             OptimizerState<S>::None,
[INFO] [stdout]     |                           ^
[INFO] [stdout]     |
[INFO] [stdout]    --> /rustc/bbcdfd90a3f81ca2a5f6d69b943a6ff0d8582102/library/core/src/macros/mod.rs:432:23
[INFO] [stdout]     |
[INFO] [stdout]     = note: while parsing argument for this `pat` macro fragment
[INFO] [stdout] help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
[INFO] [stdout]     |
[INFO] [stdout] 840 |             OptimizerState::<S>::None,
[INFO] [stdout]     |                           ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shift`
[INFO] [stdout]    --> examples/mnist.rs:184:20
[INFO] [stdout]     |
[INFO] [stdout] 184 |         let (pred, shift) = model.forward(&x, test_ds.input_shift, &mut rng);
[INFO] [stdout]     |                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_shift`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shift`
[INFO] [stdout]    --> examples/mnist_f32.rs:119:24
[INFO] [stdout]     |
[INFO] [stdout] 119 |             let (pred, shift) = model.forward(&x, test_ds.input_shift, &mut rng);
[INFO] [stdout]     |                        ^^^^^ help: if this is intentional, prefix it with an underscore: `_shift`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shift`
[INFO] [stdout]    --> examples/mnist_f32.rs:175:20
[INFO] [stdout]     |
[INFO] [stdout] 175 |         let (pred, shift) = model.forward(&x, test_ds.input_shift, &mut rng);
[INFO] [stdout]     |                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_shift`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Tanh`
[INFO] [stdout]  --> examples/iris_f32.rs:4:39
[INFO] [stdout]   |
[INFO] [stdout] 4 | use integers::nn::activations::{ReLU, Tanh};
[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: `integers::debug::*`
[INFO] [stdout]  --> examples/iris_f32.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use integers::debug::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AdamConfig`
[INFO] [stdout]  --> examples/iris_f32.rs:8:38
[INFO] [stdout]   |
[INFO] [stdout] 8 | use integers::nn::optim::{SGDConfig, AdamConfig};
[INFO] [stdout]   |                                      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing fields `clip_val` and `rng` in initializer of `SGDConfig<_>`
[INFO] [stdout]   --> examples/pairity.rs:72:17
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let optim = SGDConfig {
[INFO] [stdout]    |                 ^^^^^^^^^ missing `clip_val` and `rng`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `integers` (lib test) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/pairity.rs:99:26
[INFO] [stdout]    |
[INFO] [stdout] 93 |             let mut s_last = 0u32;
[INFO] [stdout]    |                              ---- expected due to this value
[INFO] [stdout] ...
[INFO] [stdout] 99 |                 s_last = s;
[INFO] [stdout]    |                          ^ expected `u32`, found `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> examples/pairity.rs:103:60
[INFO] [stdout]     |
[INFO] [stdout] 103 |             let (pred, s_out) = out_layer.forward(&h_last, s_last, &mut rng);
[INFO] [stdout]     |                                           -------          ^^^^^^ expected `i32`, found `u32`
[INFO] [stdout]     |                                           |
[INFO] [stdout]     |                                           arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/lib/nn.rs:105:8
[INFO] [stdout]     |
[INFO] [stdout]  47 | pub trait Module<S: Scalar>: Any {
[INFO] [stdout] ...
[INFO] [stdout] 105 |     fn forward(&mut self, input: &Tensor<S>, s_x: i32, rng: &mut XorShift64) -> (Tensor<S>, i32);
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] help: you can convert a `u32` to an `i32` and panic if the converted value doesn't fit
[INFO] [stdout]     |
[INFO] [stdout] 103 |             let (pred, s_out) = out_layer.forward(&h_last, s_last.try_into().unwrap(), &mut rng);
[INFO] [stdout]     |                                                                  ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> examples/pairity.rs:135:27
[INFO] [stdout]     |
[INFO] [stdout] 135 |             rnn_cell.step(&optim);
[INFO] [stdout]     |                      ---- ^^^^^^ types differ in mutability
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut dyn OptimizerConfig<f32>`
[INFO] [stdout]                        found reference `&SGDConfig<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/lib/nn.rs:117:8
[INFO] [stdout]     |
[INFO] [stdout]  47 | pub trait Module<S: Scalar>: Any {
[INFO] [stdout] ...
[INFO] [stdout] 117 |     fn step(&mut self, optim: &mut dyn OptimizerConfig<S>) {}
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> examples/pairity.rs:136:28
[INFO] [stdout]     |
[INFO] [stdout] 136 |             out_layer.step(&optim);
[INFO] [stdout]     |                       ---- ^^^^^^ types differ in mutability
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut dyn OptimizerConfig<f32>`
[INFO] [stdout]                        found reference `&SGDConfig<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/lib/nn.rs:117:8
[INFO] [stdout]     |
[INFO] [stdout]  47 | pub trait Module<S: Scalar>: Any {
[INFO] [stdout] ...
[INFO] [stdout] 117 |     fn step(&mut self, optim: &mut dyn OptimizerConfig<S>) {}
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> examples/pairity.rs:155:30
[INFO] [stdout]     |
[INFO] [stdout] 149 |                 let mut s_last = 0u32;
[INFO] [stdout]     |                                  ---- expected due to this value
[INFO] [stdout] ...
[INFO] [stdout] 155 |                     s_last = s;
[INFO] [stdout]     |                              ^ expected `u32`, found `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `last_batch_start`
[INFO] [stdout]   --> examples/iris_f32.rs:80:13
[INFO] [stdout]    |
[INFO] [stdout] 80 |         let last_batch_start = batch_size * ((train_ds.len() / batch_size) - 1);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_batch_start`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `eval_loss` is assigned to, but never used
[INFO] [stdout]    --> examples/iris_f32.rs:111:13
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let mut eval_loss: f64 = 0.0;
[INFO] [stdout]     |             ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_eval_loss` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s_out`
[INFO] [stdout]    --> examples/iris_f32.rs:116:24
[INFO] [stdout]     |
[INFO] [stdout] 116 |             let (pred, s_out) = model.forward(&x_t, test_ds.input_shift, &mut rng);
[INFO] [stdout]     |                        ^^^^^ help: if this is intentional, prefix it with an underscore: `_s_out`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `grad_out`
[INFO] [stdout]    --> examples/iris_f32.rs:117:24
[INFO] [stdout]     |
[INFO] [stdout] 117 |             let (loss, grad_out) = mse.forward(&pred, &target);
[INFO] [stdout]     |                        ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grad_out`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shift`
[INFO] [stdout]    --> examples/iris_f32.rs:150:30
[INFO] [stdout]     |
[INFO] [stdout] 150 |     let (predictions_tensor, shift) = model.forward(&test_inputs, test_ds.input_shift, &mut rng);
[INFO] [stdout]     |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_shift`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `eval_loss` is never read
[INFO] [stdout]    --> examples/iris_f32.rs:118:13
[INFO] [stdout]     |
[INFO] [stdout] 118 |             eval_loss += loss as f64;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> examples/pairity.rs:158:60
[INFO] [stdout]     |
[INFO] [stdout] 158 |                 let (pred, _) = out_layer.forward(&h_last, s_last, &mut rng);
[INFO] [stdout]     |                                           -------          ^^^^^^ expected `i32`, found `u32`
[INFO] [stdout]     |                                           |
[INFO] [stdout]     |                                           arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/lib/nn.rs:105:8
[INFO] [stdout]     |
[INFO] [stdout]  47 | pub trait Module<S: Scalar>: Any {
[INFO] [stdout] ...
[INFO] [stdout] 105 |     fn forward(&mut self, input: &Tensor<S>, s_x: i32, rng: &mut XorShift64) -> (Tensor<S>, i32);
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] help: you can convert a `u32` to an `i32` and panic if the converted value doesn't fit
[INFO] [stdout]     |
[INFO] [stdout] 158 |                 let (pred, _) = out_layer.forward(&h_last, s_last.try_into().unwrap(), &mut rng);
[INFO] [stdout]     |                                                                  ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0063, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0063`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `integers` (example "pairity") due to 7 previous errors
[INFO] [stderr] warning: unused dependency `arrow`
[INFO] [stderr]  --> Cargo.toml:2:1
[INFO] [stderr]   |
[INFO] [stderr] 2 | arrow = "58.0.0"
[INFO] [stderr]   | ^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `arrow`
[INFO] [stderr] help: to still use for development builds, move to `dev-dependencies`
[INFO] [stderr] warning: `integers` (manifest) generated 1 warning
[INFO] running `"docker" "inspect" "723fd4620227fc8882be268a770f103127e3c77fba8da65b1202e55e1d6e3f0e"`
[INFO] running `"docker" "rm" "-f" "723fd4620227fc8882be268a770f103127e3c77fba8da65b1202e55e1d6e3f0e"`
[INFO] [stdout] 723fd4620227fc8882be268a770f103127e3c77fba8da65b1202e55e1d6e3f0e
