[INFO] cloning repository https://github.com/jackcooperusesvim/rust_mnist [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jackcooperusesvim/rust_mnist" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjackcooperusesvim%2Frust_mnist", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjackcooperusesvim%2Frust_mnist'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 088b423a01005a460b4f182f9c70de7d8a6d3f8e [INFO] checking jackcooperusesvim/rust_mnist against try#028201683a76a5cd349729c6819c46607119c4e8 for pr-144157 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjackcooperusesvim%2Frust_mnist" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jackcooperusesvim/rust_mnist [INFO] finished tweaking git repo https://github.com/jackcooperusesvim/rust_mnist [INFO] tweaked toml for git repo https://github.com/jackcooperusesvim/rust_mnist written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jackcooperusesvim/rust_mnist on toolchain 028201683a76a5cd349729c6819c46607119c4e8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jackcooperusesvim/rust_mnist 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" "+028201683a76a5cd349729c6819c46607119c4e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3ad4834add65d5c1e52e72f6bacc1bea28689d267d7d4afcf2e898f17f82fba [INFO] running `Command { std: "docker" "start" "-a" "c3ad4834add65d5c1e52e72f6bacc1bea28689d267d7d4afcf2e898f17f82fba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3ad4834add65d5c1e52e72f6bacc1bea28689d267d7d4afcf2e898f17f82fba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3ad4834add65d5c1e52e72f6bacc1bea28689d267d7d4afcf2e898f17f82fba", kill_on_drop: false }` [INFO] [stdout] c3ad4834add65d5c1e52e72f6bacc1bea28689d267d7d4afcf2e898f17f82fba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8c225cb9e255dc0cca8f2a101c0acd5af87ed1649365ca6d60629bc724ea081 [INFO] running `Command { std: "docker" "start" "-a" "f8c225cb9e255dc0cca8f2a101c0acd5af87ed1649365ca6d60629bc724ea081", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking rust_mnist v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `OUR` in this scope [INFO] [stdout] --> src/layers/basic_layers.rs:53:34 [INFO] [stdout] | [INFO] [stdout] 13 | impl SingleDimLayer for LayerConnection { [INFO] [stdout] | --- similarly named const parameter `OUT` defined here [INFO] [stdout] ... [INFO] [stdout] 53 | let updates: [[f64; IN]; OUR] = opt.scale(grad).unwrap(); [INFO] [stdout] | ^^^ help: a const parameter with a similar name exists: `OUT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `g` in this scope [INFO] [stdout] --> src/optimizers/adam.rs:53:43 [INFO] [stdout] | [INFO] [stdout] 53 | m = b_1 * m + (1 - b_1) * g; [INFO] [stdout] | ^ help: a local variable with a similar name exists: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `g` in this scope [INFO] [stdout] --> src/optimizers/adam.rs:54:43 [INFO] [stdout] | [INFO] [stdout] 54 | v = b_2 * v + (2 - b_2) * g; [INFO] [stdout] | ^ help: a local variable with a similar name exists: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `t` in this scope [INFO] [stdout] --> src/optimizers/adam.rs:56:52 [INFO] [stdout] | [INFO] [stdout] 56 | let m_hat: f64 = m / (1 - b_1.powi(t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the available field [INFO] [stdout] | [INFO] [stdout] 56 | let m_hat: f64 = m / (1 - b_1.powi(self.t)); [INFO] [stdout] | +++++ [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 56 - let m_hat: f64 = m / (1 - b_1.powi(t)); [INFO] [stdout] 56 + let m_hat: f64 = m / (1 - b_1.powi(a)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `t` in this scope [INFO] [stdout] --> src/optimizers/adam.rs:57:52 [INFO] [stdout] | [INFO] [stdout] 57 | let v_hat: f64 = v / (1 - b_2.powi(t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the available field [INFO] [stdout] | [INFO] [stdout] 57 | let v_hat: f64 = v / (1 - b_2.powi(self.t)); [INFO] [stdout] | +++++ [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 57 - let v_hat: f64 = v / (1 - b_2.powi(t)); [INFO] [stdout] 57 + let v_hat: f64 = v / (1 - b_2.powi(a)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Sum` [INFO] [stdout] --> src/activation.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter::Sum; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::intrinsics::sqrtf64` [INFO] [stdout] --> src/optimizers/adam.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::intrinsics::sqrtf64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `core_intrinsics`: intrinsics are unlikely to ever be stabilized, instead they should be used through stabilized interfaces in the rest of the standard library [INFO] [stdout] --> src/optimizers/adam.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::intrinsics::sqrtf64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(core_intrinsics)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `OUR` in this scope [INFO] [stdout] --> src/layers/basic_layers.rs:53:34 [INFO] [stdout] | [INFO] [stdout] 13 | impl SingleDimLayer for LayerConnection { [INFO] [stdout] | --- similarly named const parameter `OUT` defined here [INFO] [stdout] ... [INFO] [stdout] 53 | let updates: [[f64; IN]; OUR] = opt.scale(grad).unwrap(); [INFO] [stdout] | ^^^ help: a const parameter with a similar name exists: `OUT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `g` in this scope [INFO] [stdout] --> src/optimizers/adam.rs:53:43 [INFO] [stdout] | [INFO] [stdout] 53 | m = b_1 * m + (1 - b_1) * g; [INFO] [stdout] | ^ help: a local variable with a similar name exists: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `g` in this scope [INFO] [stdout] --> src/optimizers/adam.rs:54:43 [INFO] [stdout] | [INFO] [stdout] 54 | v = b_2 * v + (2 - b_2) * g; [INFO] [stdout] | ^ help: a local variable with a similar name exists: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `t` in this scope [INFO] [stdout] --> src/optimizers/adam.rs:56:52 [INFO] [stdout] | [INFO] [stdout] 56 | let m_hat: f64 = m / (1 - b_1.powi(t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the available field [INFO] [stdout] | [INFO] [stdout] 56 | let m_hat: f64 = m / (1 - b_1.powi(self.t)); [INFO] [stdout] | +++++ [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 56 - let m_hat: f64 = m / (1 - b_1.powi(t)); [INFO] [stdout] 56 + let m_hat: f64 = m / (1 - b_1.powi(a)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `t` in this scope [INFO] [stdout] --> src/optimizers/adam.rs:57:52 [INFO] [stdout] | [INFO] [stdout] 57 | let v_hat: f64 = v / (1 - b_2.powi(t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the available field [INFO] [stdout] | [INFO] [stdout] 57 | let v_hat: f64 = v / (1 - b_2.powi(self.t)); [INFO] [stdout] | +++++ [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 57 - let v_hat: f64 = v / (1 - b_2.powi(t)); [INFO] [stdout] 57 + let v_hat: f64 = v / (1 - b_2.powi(a)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Sum` [INFO] [stdout] --> src/activation.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter::Sum; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::intrinsics::sqrtf64` [INFO] [stdout] --> src/optimizers/adam.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::intrinsics::sqrtf64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/layers/mod.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | opt: &Optimizer, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Optimizer` is dyn-incompatible, otherwise a trait object could be used [INFO] [stdout] help: use a new generic type parameter, constrained by `Optimizer` [INFO] [stdout] | [INFO] [stdout] 11 ~ fn apply_gradient( [INFO] [stdout] 12 | &mut self, [INFO] [stdout] 13 | grad: Gradient, [INFO] [stdout] 14 ~ opt: &T, [INFO] [stdout] | [INFO] [stdout] help: you can also use an opaque type, but users won't be able to specify the type parameter when calling the `fn`, having to rely exclusively on type inference [INFO] [stdout] | [INFO] [stdout] 14 | opt: &impl Optimizer, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/layers/basic_layers.rs:52:65 [INFO] [stdout] | [INFO] [stdout] 52 | fn apply_gradient(&mut self, grad: Gradient, opt: &Optimizer) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Optimizer` is dyn-incompatible, otherwise a trait object could be used [INFO] [stdout] help: use a new generic type parameter, constrained by `Optimizer` [INFO] [stdout] | [INFO] [stdout] 52 - fn apply_gradient(&mut self, grad: Gradient, opt: &Optimizer) -> Result<(), String> { [INFO] [stdout] 52 + fn apply_gradient(&mut self, grad: Gradient, opt: &T) -> Result<(), String> { [INFO] [stdout] | [INFO] [stdout] help: you can also use an opaque type, but users won't be able to specify the type parameter when calling the `fn`, having to rely exclusively on type inference [INFO] [stdout] | [INFO] [stdout] 52 | fn apply_gradient(&mut self, grad: Gradient, opt: &impl Optimizer) -> Result<(), String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `core_intrinsics`: intrinsics are unlikely to ever be stabilized, instead they should be used through stabilized interfaces in the rest of the standard library [INFO] [stdout] --> src/optimizers/adam.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::intrinsics::sqrtf64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(core_intrinsics)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/layers/mod.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | opt: &Optimizer, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Optimizer` is dyn-incompatible, otherwise a trait object could be used [INFO] [stdout] help: use a new generic type parameter, constrained by `Optimizer` [INFO] [stdout] | [INFO] [stdout] 11 ~ fn apply_gradient( [INFO] [stdout] 12 | &mut self, [INFO] [stdout] 13 | grad: Gradient, [INFO] [stdout] 14 ~ opt: &T, [INFO] [stdout] | [INFO] [stdout] help: you can also use an opaque type, but users won't be able to specify the type parameter when calling the `fn`, having to rely exclusively on type inference [INFO] [stdout] | [INFO] [stdout] 14 | opt: &impl Optimizer, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/layers/basic_layers.rs:52:65 [INFO] [stdout] | [INFO] [stdout] 52 | fn apply_gradient(&mut self, grad: Gradient, opt: &Optimizer) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Optimizer` is dyn-incompatible, otherwise a trait object could be used [INFO] [stdout] help: use a new generic type parameter, constrained by `Optimizer` [INFO] [stdout] | [INFO] [stdout] 52 - fn apply_gradient(&mut self, grad: Gradient, opt: &Optimizer) -> Result<(), String> { [INFO] [stdout] 52 + fn apply_gradient(&mut self, grad: Gradient, opt: &T) -> Result<(), String> { [INFO] [stdout] | [INFO] [stdout] help: you can also use an opaque type, but users won't be able to specify the type parameter when calling the `fn`, having to rely exclusively on type inference [INFO] [stdout] | [INFO] [stdout] 52 | fn apply_gradient(&mut self, grad: Gradient, opt: &impl Optimizer) -> Result<(), String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `apply_gradient` has 2 parameters but the declaration in trait `types::SingleDimLayer::apply_gradient` has 3 [INFO] [stdout] --> src/layers/act_layers.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | fn apply_gradient(&mut self, grad: Gradient) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 parameters, found 2 [INFO] [stdout] | [INFO] [stdout] ::: src/layers/mod.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | / &mut self, [INFO] [stdout] 13 | | grad: Gradient, [INFO] [stdout] 14 | | opt: &Optimizer, [INFO] [stdout] | |___________________________- trait requires 3 parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `apply_gradient` has 2 parameters but the declaration in trait `types::SingleDimLayer::apply_gradient` has 3 [INFO] [stdout] --> src/layers/act_layers.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 84 | fn apply_gradient(&mut self, grad: Gradient) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 parameters, found 2 [INFO] [stdout] | [INFO] [stdout] ::: src/layers/mod.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | / &mut self, [INFO] [stdout] 13 | | grad: Gradient, [INFO] [stdout] 14 | | opt: &Optimizer, [INFO] [stdout] | |___________________________- trait requires 3 parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `apply_gradient` has 2 parameters but the declaration in trait `types::SingleDimLayer::apply_gradient` has 3 [INFO] [stdout] --> src/layers/act_layers.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | fn apply_gradient(&mut self, grad: Gradient) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 parameters, found 2 [INFO] [stdout] | [INFO] [stdout] ::: src/layers/mod.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | / &mut self, [INFO] [stdout] 13 | | grad: Gradient, [INFO] [stdout] 14 | | opt: &Optimizer, [INFO] [stdout] | |___________________________- trait requires 3 parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `apply_gradient` has 2 parameters but the declaration in trait `types::SingleDimLayer::apply_gradient` has 3 [INFO] [stdout] --> src/layers/act_layers.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 84 | fn apply_gradient(&mut self, grad: Gradient) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 parameters, found 2 [INFO] [stdout] | [INFO] [stdout] ::: src/layers/mod.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | / &mut self, [INFO] [stdout] 13 | | grad: Gradient, [INFO] [stdout] 14 | | opt: &Optimizer, [INFO] [stdout] | |___________________________- trait requires 3 parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `f64` from `{integer}` [INFO] [stdout] --> src/optimizers/adam.rs:53:34 [INFO] [stdout] | [INFO] [stdout] 53 | m = b_1 * m + (1 - b_1) * g; [INFO] [stdout] | ^ no implementation for `{integer} - f64` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `{integer}` [INFO] [stdout] = help: the following other types implement trait `Sub`: [INFO] [stdout] `&f128` implements `Sub` [INFO] [stdout] `&f128` implements `Sub` [INFO] [stdout] `&f16` implements `Sub` [INFO] [stdout] `&f16` implements `Sub` [INFO] [stdout] `&f32` implements `Sub<&num::Complex>` [INFO] [stdout] `&f32` implements `Sub` [INFO] [stdout] `&f32` implements `Sub>` [INFO] [stdout] `&f32` implements `Sub` [INFO] [stdout] and 184 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `f64` from `{integer}` [INFO] [stdout] --> src/optimizers/adam.rs:53:34 [INFO] [stdout] | [INFO] [stdout] 53 | m = b_1 * m + (1 - b_1) * g; [INFO] [stdout] | ^ no implementation for `{integer} - f64` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `{integer}` [INFO] [stdout] = help: the following other types implement trait `Sub`: [INFO] [stdout] `&f128` implements `Sub` [INFO] [stdout] `&f128` implements `Sub` [INFO] [stdout] `&f16` implements `Sub` [INFO] [stdout] `&f16` implements `Sub` [INFO] [stdout] `&f32` implements `Sub<&num::Complex>` [INFO] [stdout] `&f32` implements `Sub` [INFO] [stdout] `&f32` implements `Sub>` [INFO] [stdout] `&f32` implements `Sub` [INFO] [stdout] and 184 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/optimizers/adam.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 50 | let m: &f64 = &self.first_moment_estimate[row][col]; [INFO] [stdout] | ---- expected due to this type [INFO] [stdout] ... [INFO] [stdout] 53 | m = b_1 * m + (1 - b_1) * g; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&f64`, found `f64` [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 53 | m = &(b_1 * m + (1 - b_1) * g); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/optimizers/adam.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 50 | let m: &f64 = &self.first_moment_estimate[row][col]; [INFO] [stdout] | ---- expected due to this type [INFO] [stdout] ... [INFO] [stdout] 53 | m = b_1 * m + (1 - b_1) * g; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&f64`, found `f64` [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 53 | m = &(b_1 * m + (1 - b_1) * g); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `f64` from `{integer}` [INFO] [stdout] --> src/optimizers/adam.rs:54:34 [INFO] [stdout] | [INFO] [stdout] 54 | v = b_2 * v + (2 - b_2) * g; [INFO] [stdout] | ^ no implementation for `{integer} - f64` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `{integer}` [INFO] [stdout] = help: the following other types implement trait `Sub`: [INFO] [stdout] `&f128` implements `Sub` [INFO] [stdout] `&f128` implements `Sub` [INFO] [stdout] `&f16` implements `Sub` [INFO] [stdout] `&f16` implements `Sub` [INFO] [stdout] `&f32` implements `Sub<&num::Complex>` [INFO] [stdout] `&f32` implements `Sub` [INFO] [stdout] `&f32` implements `Sub>` [INFO] [stdout] `&f32` implements `Sub` [INFO] [stdout] and 184 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `f64` from `{integer}` [INFO] [stdout] --> src/optimizers/adam.rs:54:34 [INFO] [stdout] | [INFO] [stdout] 54 | v = b_2 * v + (2 - b_2) * g; [INFO] [stdout] | ^ no implementation for `{integer} - f64` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `{integer}` [INFO] [stdout] = help: the following other types implement trait `Sub`: [INFO] [stdout] `&f128` implements `Sub` [INFO] [stdout] `&f128` implements `Sub` [INFO] [stdout] `&f16` implements `Sub` [INFO] [stdout] `&f16` implements `Sub` [INFO] [stdout] `&f32` implements `Sub<&num::Complex>` [INFO] [stdout] `&f32` implements `Sub` [INFO] [stdout] `&f32` implements `Sub>` [INFO] [stdout] `&f32` implements `Sub` [INFO] [stdout] and 184 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/optimizers/adam.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 51 | let v: &f64 = &self.second_raw_moment_estimate[row][col]; [INFO] [stdout] | ---- expected due to this type [INFO] [stdout] ... [INFO] [stdout] 54 | v = b_2 * v + (2 - b_2) * g; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&f64`, found `f64` [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 54 | v = &(b_2 * v + (2 - b_2) * g); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/optimizers/adam.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 51 | let v: &f64 = &self.second_raw_moment_estimate[row][col]; [INFO] [stdout] | ---- expected due to this type [INFO] [stdout] ... [INFO] [stdout] 54 | v = b_2 * v + (2 - b_2) * g; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&f64`, found `f64` [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 54 | v = &(b_2 * v + (2 - b_2) * g); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `f64` from `{integer}` [INFO] [stdout] --> src/optimizers/adam.rs:56:41 [INFO] [stdout] | [INFO] [stdout] 56 | let m_hat: f64 = m / (1 - b_1.powi(t)); [INFO] [stdout] | ^ no implementation for `{integer} - f64` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `{integer}` [INFO] [stdout] = help: the following other types implement trait `Sub`: [INFO] [stdout] `&f128` implements `Sub` [INFO] [stdout] `&f128` implements `Sub` [INFO] [stdout] `&f16` implements `Sub` [INFO] [stdout] `&f16` implements `Sub` [INFO] [stdout] `&f32` implements `Sub<&num::Complex>` [INFO] [stdout] `&f32` implements `Sub` [INFO] [stdout] `&f32` implements `Sub>` [INFO] [stdout] `&f32` implements `Sub` [INFO] [stdout] and 184 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `f64` from `{integer}` [INFO] [stdout] --> src/optimizers/adam.rs:56:41 [INFO] [stdout] | [INFO] [stdout] 56 | let m_hat: f64 = m / (1 - b_1.powi(t)); [INFO] [stdout] | ^ no implementation for `{integer} - f64` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `{integer}` [INFO] [stdout] = help: the following other types implement trait `Sub`: [INFO] [stdout] `&f128` implements `Sub` [INFO] [stdout] `&f128` implements `Sub` [INFO] [stdout] `&f16` implements `Sub` [INFO] [stdout] `&f16` implements `Sub` [INFO] [stdout] `&f32` implements `Sub<&num::Complex>` [INFO] [stdout] `&f32` implements `Sub` [INFO] [stdout] `&f32` implements `Sub>` [INFO] [stdout] `&f32` implements `Sub` [INFO] [stdout] and 184 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `f64` from `{integer}` [INFO] [stdout] --> src/optimizers/adam.rs:57:41 [INFO] [stdout] | [INFO] [stdout] 57 | let v_hat: f64 = v / (1 - b_2.powi(t)); [INFO] [stdout] | ^ no implementation for `{integer} - f64` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `{integer}` [INFO] [stdout] = help: the following other types implement trait `Sub`: [INFO] [stdout] `&f128` implements `Sub` [INFO] [stdout] `&f128` implements `Sub` [INFO] [stdout] `&f16` implements `Sub` [INFO] [stdout] `&f16` implements `Sub` [INFO] [stdout] `&f32` implements `Sub<&num::Complex>` [INFO] [stdout] `&f32` implements `Sub` [INFO] [stdout] `&f32` implements `Sub>` [INFO] [stdout] `&f32` implements `Sub` [INFO] [stdout] and 184 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `f64` from `{integer}` [INFO] [stdout] --> src/optimizers/adam.rs:57:41 [INFO] [stdout] | [INFO] [stdout] 57 | let v_hat: f64 = v / (1 - b_2.powi(t)); [INFO] [stdout] | ^ no implementation for `{integer} - f64` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `{integer}` [INFO] [stdout] = help: the following other types implement trait `Sub`: [INFO] [stdout] `&f128` implements `Sub` [INFO] [stdout] `&f128` implements `Sub` [INFO] [stdout] `&f16` implements `Sub` [INFO] [stdout] `&f16` implements `Sub` [INFO] [stdout] `&f32` implements `Sub<&num::Complex>` [INFO] [stdout] `&f32` implements `Sub` [INFO] [stdout] `&f32` implements `Sub>` [INFO] [stdout] `&f32` implements `Sub` [INFO] [stdout] and 184 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/optimizers/adam.rs:67:36 [INFO] [stdout] | [INFO] [stdout] 67 | first_moment_estimate: 0.0, [INFO] [stdout] | ^^^ expected `[[f64; COL]; ROW]`, found floating-point number [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/optimizers/adam.rs:68:41 [INFO] [stdout] | [INFO] [stdout] 68 | second_raw_moment_estimate: 0.0, [INFO] [stdout] | ^^^ expected `[[f64; COL]; ROW]`, found floating-point number [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/optimizers/adam.rs:67:36 [INFO] [stdout] | [INFO] [stdout] 67 | first_moment_estimate: 0.0, [INFO] [stdout] | ^^^ expected `[[f64; COL]; ROW]`, found floating-point number [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/optimizers/adam.rs:68:41 [INFO] [stdout] | [INFO] [stdout] 68 | second_raw_moment_estimate: 0.0, [INFO] [stdout] | ^^^ expected `[[f64; COL]; ROW]`, found floating-point number [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0050, E0277, E0308, E0425, E0658, E0782. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0050`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0050, E0277, E0308, E0425, E0658, E0782. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0050`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_mnist` (bin "rust_mnist" test) due to 18 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust_mnist` (bin "rust_mnist") due to 18 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f8c225cb9e255dc0cca8f2a101c0acd5af87ed1649365ca6d60629bc724ea081", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8c225cb9e255dc0cca8f2a101c0acd5af87ed1649365ca6d60629bc724ea081", kill_on_drop: false }` [INFO] [stdout] f8c225cb9e255dc0cca8f2a101c0acd5af87ed1649365ca6d60629bc724ea081