[INFO] cloning repository https://github.com/alexjbush/grokking-deep-learning [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alexjbush/grokking-deep-learning" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexjbush%2Fgrokking-deep-learning", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexjbush%2Fgrokking-deep-learning'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d9da50716d5bb2ea1547c73faa11c5b5305372ad [INFO] testing alexjbush/grokking-deep-learning against 1.100.0-beta.1+cargoflags=--release for beta-release-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexjbush%2Fgrokking-deep-learning" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/alexjbush/grokking-deep-learning [INFO] finished tweaking git repo https://github.com/alexjbush/grokking-deep-learning [INFO] tweaked toml for git repo https://github.com/alexjbush/grokking-deep-learning written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/alexjbush/grokking-deep-learning on toolchain 1.100.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/alexjbush/grokking-deep-learning 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" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 9598b08f07a4079bbe39ea7f316eebd0f426013701113281a9b10a496b0cd867 [INFO] running `Command { std: "docker" "start" "9598b08f07a4079bbe39ea7f316eebd0f426013701113281a9b10a496b0cd867", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9598b08f07a4079bbe39ea7f316eebd0f426013701113281a9b10a496b0cd867", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9598b08f07a4079bbe39ea7f316eebd0f426013701113281a9b10a496b0cd867" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9598b08f07a4079bbe39ea7f316eebd0f426013701113281a9b10a496b0cd867", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9598b08f07a4079bbe39ea7f316eebd0f426013701113281a9b10a496b0cd867" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling bytemuck v1.18.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling nano-gemm-codegen v0.1.0 [INFO] [stderr] Compiling cc v1.1.18 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling raw-cpuid v10.7.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling dyn-stack v0.10.0 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling seq-macro v0.3.5 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling libz-sys v1.1.20 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling nano-gemm-core v0.1.0 [INFO] [stderr] Compiling curl-sys v0.4.77+curl-8.10.1 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling nano-gemm-c32 v0.1.0 [INFO] [stderr] Compiling nano-gemm-f64 v0.1.0 [INFO] [stderr] Compiling nano-gemm-c64 v0.1.0 [INFO] [stderr] Compiling nano-gemm-f32 v0.1.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling safe_arch v0.7.2 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling curl v0.4.47 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling wide v0.7.28 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling equator-macro v0.2.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling equator v0.2.2 [INFO] [stderr] Compiling pest v2.7.12 [INFO] [stderr] Compiling equator-macro v0.4.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling coe-rs v0.1.2 [INFO] [stderr] Compiling matrixcompare-core v0.1.0 [INFO] [stderr] Compiling pest_meta v2.7.12 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling pest_generator v2.7.12 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling pulp v0.18.22 [INFO] [stderr] Compiling ndarray v0.16.1 [INFO] [stderr] Compiling pest_derive v2.7.12 [INFO] [stderr] Compiling py_literal v0.4.0 [INFO] [stderr] Compiling gemm-common v0.18.0 [INFO] [stderr] Compiling gemm-c32 v0.18.0 [INFO] [stderr] Compiling gemm-f32 v0.18.0 [INFO] [stderr] Compiling gemm-c64 v0.18.0 [INFO] [stderr] Compiling gemm-f64 v0.18.0 [INFO] [stderr] Compiling faer-entity v0.19.2 [INFO] [stderr] Compiling npyz v0.8.3 [INFO] [stderr] Compiling gemm v0.18.0 [INFO] [stderr] Compiling simba v0.9.0 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling matrixcompare v0.3.0 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling equator v0.4.1 [INFO] [stderr] Compiling pbr v1.1.1 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Compiling uuid-macro-internal v1.11.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling noisy_float v0.2.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling nano-gemm v0.1.2 [INFO] [stderr] Compiling dbgf v0.1.2 [INFO] [stderr] Compiling faer v0.19.3 [INFO] [stderr] Compiling mnist v0.6.0 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling ndarray-rand v0.15.0 [INFO] [stderr] Compiling counter v0.6.0 [INFO] [stderr] Compiling ndarray-stats v0.6.0 [INFO] [stderr] Compiling nalgebra v0.33.0 [INFO] [stderr] Compiling grokking-deep-learning v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ndarray::Dim` [INFO] [stdout] --> src/chapter13/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ndarray::Dim; [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: `ndarray_rand::rand::seq::SliceRandom` [INFO] [stdout] --> src/chapter13/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use ndarray_rand::rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndarray_rand::rand_distr::num_traits::ToPrimitive` [INFO] [stdout] --> src/chapter13/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use ndarray_rand::rand_distr::num_traits::ToPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::MAX`: replaced by the `MAX` associated constant on `f64` [INFO] [stdout] --> src/chapter5/mod.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::f64::MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::MAX`: replaced by the `MAX` associated constant on `f64` [INFO] [stdout] --> src/chapter5/mod.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | let mut error = MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::MAX`: replaced by the `MAX` associated constant on `f64` [INFO] [stdout] --> src/chapter5/mod.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | let mut pred = MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::MAX`: replaced by the `MAX` associated constant on `f64` [INFO] [stdout] --> src/chapter5/mod.rs:132:25 [INFO] [stdout] | [INFO] [stdout] 132 | let mut error = MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::MAX`: replaced by the `MAX` associated constant on `f64` [INFO] [stdout] --> src/chapter5/mod.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | let mut pred = MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chapter13/mod.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | fn deriv(&self, grad: &Tensor, creators: &Vec<&Tensor>) [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 48 | -> HashMap>; [INFO] [stdout] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 48 | -> HashMap>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chapter13/mod.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 69 | ) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 69 | ) -> HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chapter13/mod.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 83 | ) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 83 | ) -> HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chapter13/mod.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 94 | ) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 94 | ) -> HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chapter13/mod.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 108 | ) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 108 | ) -> HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chapter13/mod.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 128 | ) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 128 | ) -> HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `g_t__mm__act` should have a snake case name [INFO] [stdout] --> src/chapter13/mod.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | let g_t__mm__act = g_t.mm(act); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `g_t_mm_act` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chapter13/mod.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 149 | ) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 149 | ) -> HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chapter13/mod.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 163 | ) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 163 | ) -> HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chapter13/mod.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 176 | ) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 176 | ) -> HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chapter13/mod.rs:229:22 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn backwards(&self, grad: &Tensor<'a, f64>) -> Gradients { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 229 | pub fn backwards(&self, grad: &Tensor<'a, f64>) -> Gradients<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `counter` [INFO] [stderr] --> Cargo.toml:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | counter = "0.6.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 `counter` [INFO] [stderr] warning: `grokking-deep-learning` (manifest) generated 1 warning [INFO] [stderr] Finished `release` profile [optimized] target(s) in 3m 38s [INFO] running `Command { std: "docker" "inspect" "9598b08f07a4079bbe39ea7f316eebd0f426013701113281a9b10a496b0cd867", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9598b08f07a4079bbe39ea7f316eebd0f426013701113281a9b10a496b0cd867" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `ndarray::Dim` [INFO] [stdout] --> src/chapter13/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ndarray::Dim; [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: `ndarray_rand::rand::seq::SliceRandom` [INFO] [stdout] --> src/chapter13/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use ndarray_rand::rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndarray_rand::rand_distr::num_traits::ToPrimitive` [INFO] [stdout] --> src/chapter13/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use ndarray_rand::rand_distr::num_traits::ToPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::MAX`: replaced by the `MAX` associated constant on `f64` [INFO] [stdout] --> src/chapter5/mod.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::f64::MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::MAX`: replaced by the `MAX` associated constant on `f64` [INFO] [stdout] --> src/chapter5/mod.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | let mut error = MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::MAX`: replaced by the `MAX` associated constant on `f64` [INFO] [stdout] --> src/chapter5/mod.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | let mut pred = MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::MAX`: replaced by the `MAX` associated constant on `f64` [INFO] [stdout] --> src/chapter5/mod.rs:132:25 [INFO] [stdout] | [INFO] [stdout] 132 | let mut error = MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::MAX`: replaced by the `MAX` associated constant on `f64` [INFO] [stdout] --> src/chapter5/mod.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | let mut pred = MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chapter13/mod.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | fn deriv(&self, grad: &Tensor, creators: &Vec<&Tensor>) [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 48 | -> HashMap>; [INFO] [stdout] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 48 | -> HashMap>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chapter13/mod.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 69 | ) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 69 | ) -> HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chapter13/mod.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 83 | ) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 83 | ) -> HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chapter13/mod.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 94 | ) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 94 | ) -> HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chapter13/mod.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 108 | ) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 108 | ) -> HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chapter13/mod.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 128 | ) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 128 | ) -> HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `g_t__mm__act` should have a snake case name [INFO] [stdout] --> src/chapter13/mod.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | let g_t__mm__act = g_t.mm(act); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `g_t_mm_act` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chapter13/mod.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 149 | ) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 149 | ) -> HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chapter13/mod.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 163 | ) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 163 | ) -> HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chapter13/mod.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 176 | ) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 176 | ) -> HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chapter13/mod.rs:229:22 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn backwards(&self, grad: &Tensor<'a, f64>) -> Gradients { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 229 | pub fn backwards(&self, grad: &Tensor<'a, f64>) -> Gradients<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling grokking-deep-learning v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ndarray::Dim` [INFO] [stdout] --> src/chapter13/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ndarray::Dim; [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: `ndarray_rand::rand::seq::SliceRandom` [INFO] [stdout] --> src/chapter13/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use ndarray_rand::rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndarray_rand::rand_distr::num_traits::ToPrimitive` [INFO] [stdout] --> src/chapter13/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use ndarray_rand::rand_distr::num_traits::ToPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::MAX`: replaced by the `MAX` associated constant on `f64` [INFO] [stdout] --> src/chapter5/mod.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::f64::MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::MAX`: replaced by the `MAX` associated constant on `f64` [INFO] [stdout] --> src/chapter5/mod.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | let mut error = MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::MAX`: replaced by the `MAX` associated constant on `f64` [INFO] [stdout] --> src/chapter5/mod.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | let mut pred = MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::MAX`: replaced by the `MAX` associated constant on `f64` [INFO] [stdout] --> src/chapter5/mod.rs:132:25 [INFO] [stdout] | [INFO] [stdout] 132 | let mut error = MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::MAX`: replaced by the `MAX` associated constant on `f64` [INFO] [stdout] --> src/chapter5/mod.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | let mut pred = MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chapter13/mod.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | fn deriv(&self, grad: &Tensor, creators: &Vec<&Tensor>) [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 48 | -> HashMap>; [INFO] [stdout] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 48 | -> HashMap>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chapter13/mod.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 69 | ) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 69 | ) -> HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chapter13/mod.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 83 | ) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 83 | ) -> HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chapter13/mod.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 94 | ) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 94 | ) -> HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chapter13/mod.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 108 | ) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 108 | ) -> HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chapter13/mod.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 128 | ) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 128 | ) -> HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `g_t__mm__act` should have a snake case name [INFO] [stdout] --> src/chapter13/mod.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | let g_t__mm__act = g_t.mm(act); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `g_t_mm_act` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chapter13/mod.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 149 | ) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 149 | ) -> HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chapter13/mod.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 163 | ) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 163 | ) -> HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chapter13/mod.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 176 | ) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 176 | ) -> HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chapter13/mod.rs:229:22 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn backwards(&self, grad: &Tensor<'a, f64>) -> Gradients { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 229 | pub fn backwards(&self, grad: &Tensor<'a, f64>) -> Gradients<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `counter` [INFO] [stderr] --> Cargo.toml:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | counter = "0.6.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 `counter` [INFO] [stderr] warning: `grokking-deep-learning` (manifest) generated 1 warning [INFO] [stderr] Finished `release` profile [optimized] target(s) in 1.55s [INFO] running `Command { std: "docker" "inspect" "9598b08f07a4079bbe39ea7f316eebd0f426013701113281a9b10a496b0cd867", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9598b08f07a4079bbe39ea7f316eebd0f426013701113281a9b10a496b0cd867" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `ndarray::Dim` [INFO] [stderr] --> src/chapter13/mod.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use ndarray::Dim; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `ndarray_rand::rand::seq::SliceRandom` [INFO] [stderr] --> src/chapter13/mod.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use ndarray_rand::rand::seq::SliceRandom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ndarray_rand::rand_distr::num_traits::ToPrimitive` [INFO] [stderr] --> src/chapter13/mod.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use ndarray_rand::rand_distr::num_traits::ToPrimitive; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::f64::MAX`: replaced by the `MAX` associated constant on `f64` [INFO] [stderr] --> src/chapter5/mod.rs:1:15 [INFO] [stderr] | [INFO] [stderr] 1 | use std::f64::MAX; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::f64::MAX`: replaced by the `MAX` associated constant on `f64` [INFO] [stderr] --> src/chapter5/mod.rs:74:25 [INFO] [stderr] | [INFO] [stderr] 74 | let mut error = MAX; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::f64::MAX`: replaced by the `MAX` associated constant on `f64` [INFO] [stderr] --> src/chapter5/mod.rs:75:24 [INFO] [stderr] | [INFO] [stderr] 75 | let mut pred = MAX; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::f64::MAX`: replaced by the `MAX` associated constant on `f64` [INFO] [stderr] --> src/chapter5/mod.rs:132:25 [INFO] [stderr] | [INFO] [stderr] 132 | let mut error = MAX; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::f64::MAX`: replaced by the `MAX` associated constant on `f64` [INFO] [stderr] --> src/chapter5/mod.rs:133:24 [INFO] [stderr] | [INFO] [stderr] 133 | let mut pred = MAX; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/chapter13/mod.rs:47:14 [INFO] [stderr] | [INFO] [stderr] 47 | fn deriv(&self, grad: &Tensor, creators: &Vec<&Tensor>) [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 48 | -> HashMap>; [INFO] [stderr] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 48 | -> HashMap>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/chapter13/mod.rs:66:9 [INFO] [stderr] | [INFO] [stderr] 66 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 69 | ) -> HashMap> { [INFO] [stderr] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 69 | ) -> HashMap> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/chapter13/mod.rs:80:9 [INFO] [stderr] | [INFO] [stderr] 80 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 83 | ) -> HashMap> { [INFO] [stderr] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 83 | ) -> HashMap> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/chapter13/mod.rs:91:9 [INFO] [stderr] | [INFO] [stderr] 91 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 94 | ) -> HashMap> { [INFO] [stderr] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 94 | ) -> HashMap> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/chapter13/mod.rs:105:9 [INFO] [stderr] | [INFO] [stderr] 105 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 108 | ) -> HashMap> { [INFO] [stderr] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 108 | ) -> HashMap> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/chapter13/mod.rs:125:9 [INFO] [stderr] | [INFO] [stderr] 125 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 128 | ) -> HashMap> { [INFO] [stderr] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 128 | ) -> HashMap> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: variable `g_t__mm__act` should have a snake case name [INFO] [stderr] --> src/chapter13/mod.rs:135:13 [INFO] [stderr] | [INFO] [stderr] 135 | let g_t__mm__act = g_t.mm(act); [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `g_t_mm_act` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/chapter13/mod.rs:146:9 [INFO] [stderr] | [INFO] [stderr] 146 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 149 | ) -> HashMap> { [INFO] [stderr] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 149 | ) -> HashMap> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/chapter13/mod.rs:160:9 [INFO] [stderr] | [INFO] [stderr] 160 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 163 | ) -> HashMap> { [INFO] [stderr] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 163 | ) -> HashMap> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/chapter13/mod.rs:173:9 [INFO] [stderr] | [INFO] [stderr] 173 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 176 | ) -> HashMap> { [INFO] [stderr] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 176 | ) -> HashMap> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/chapter13/mod.rs:229:22 [INFO] [stderr] | [INFO] [stderr] 229 | pub fn backwards(&self, grad: &Tensor<'a, f64>) -> Gradients { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 229 | pub fn backwards(&self, grad: &Tensor<'a, f64>) -> Gradients<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `grokking-deep-learning` (lib) generated 19 warnings (run `cargo fix --lib -p grokking-deep-learning` to apply 13 suggestions) [INFO] [stderr] warning: `grokking-deep-learning` (lib test) generated 19 warnings (19 duplicates) [INFO] [stderr] warning: unused dependency `counter` [INFO] [stderr] --> Cargo.toml:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | counter = "0.6.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 `counter` [INFO] [stderr] warning: `grokking-deep-learning` (manifest) generated 1 warning [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/release/build/grokking-deep-learning/dbf8b4462c1084b1/out/grokking_deep_learning-dbf8b4462c1084b1) [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 unittests src/main.rs (/opt/rustwide/target/release/build/grokking-deep-learning/727e80800a015fee/out/grokking_deep_learning-727e80800a015fee) [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] Doc-tests grokking_deep_learning [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] running `Command { std: "docker" "inspect" "9598b08f07a4079bbe39ea7f316eebd0f426013701113281a9b10a496b0cd867", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9598b08f07a4079bbe39ea7f316eebd0f426013701113281a9b10a496b0cd867", kill_on_drop: false }` [INFO] [stdout] 9598b08f07a4079bbe39ea7f316eebd0f426013701113281a9b10a496b0cd867