[INFO] updating cached repository MoreAxes/finge-rs [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/MoreAxes/finge-rs [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/MoreAxes/finge-rs" "work/ex/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/gh/MoreAxes/finge-rs"` [INFO] [stderr] Cloning into 'work/ex/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/gh/MoreAxes/finge-rs'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/MoreAxes/finge-rs" "work/ex/pr-59199/sources/try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b/gh/MoreAxes/finge-rs"` [INFO] [stderr] Cloning into 'work/ex/pr-59199/sources/try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b/gh/MoreAxes/finge-rs'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 9dc24807f52cb0ee39775fd9e84273d4f3aa1adb [INFO] sha for GitHub repo MoreAxes/finge-rs: 9dc24807f52cb0ee39775fd9e84273d4f3aa1adb [INFO] validating manifest of MoreAxes/finge-rs on toolchain master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of MoreAxes/finge-rs on toolchain try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing MoreAxes/finge-rs [INFO] removed path dependency nalgebra from MoreAxes/finge-rs [INFO] finished frobbing MoreAxes/finge-rs [INFO] frobbed toml for MoreAxes/finge-rs written to work/ex/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/gh/MoreAxes/finge-rs/Cargo.toml [INFO] started frobbing MoreAxes/finge-rs [INFO] removed path dependency nalgebra from MoreAxes/finge-rs [INFO] finished frobbing MoreAxes/finge-rs [INFO] frobbed toml for MoreAxes/finge-rs written to work/ex/pr-59199/sources/try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b/gh/MoreAxes/finge-rs/Cargo.toml [INFO] crate MoreAxes/finge-rs already has a lockfile, it will not be regenerated [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /mnt/crater-raid/crater/work/ex/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/gh/MoreAxes/finge-rs/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking MoreAxes/finge-rs against master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7 for pr-59199 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-59199/worker-2/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/gh/MoreAxes/finge-rs:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] e333d12e16976439250a1255c9f9e0b6b3e5c714e4144738cbd42adde1d5ffa0 [INFO] running `"docker" "start" "-a" "e333d12e16976439250a1255c9f9e0b6b3e5c714e4144738cbd42adde1d5ffa0"` [INFO] [stderr] warning: dependency (nalgebra) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Checking inflate v0.3.4 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking alga v0.8.2 [INFO] [stderr] Checking bincode v0.9.2 [INFO] [stderr] Checking rayon v0.9.0 [INFO] [stderr] Checking png v0.11.0 [INFO] [stderr] Checking image v0.18.0 [INFO] [stderr] Checking nalgebra v0.17.2 [INFO] [stderr] Checking fingers v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0432]: unresolved import `na::IterableMut` [INFO] [stderr] --> src/nn.rs:6:34 [INFO] [stderr] | [INFO] [stderr] 6 | use na::{DMatrix, DVector, Norm, IterableMut}; [INFO] [stderr] | ^^^^^^^^^^^ no `IterableMut` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `na::Outer` [INFO] [stderr] --> src/nn.rs:263:9 [INFO] [stderr] | [INFO] [stderr] 263 | use na::Outer; [INFO] [stderr] | ^^^^^^^^^ no `Outer` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `na::Iterable` [INFO] [stderr] --> src/nn.rs:294:9 [INFO] [stderr] | [INFO] [stderr] 294 | use na::Iterable; [INFO] [stderr] | ^^^^^^^^^^^^ no `Iterable` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `na::Iterable` [INFO] [stderr] --> src/nn.rs:303:9 [INFO] [stderr] | [INFO] [stderr] 303 | use na::Iterable; [INFO] [stderr] | ^^^^^^^^^^^^ no `Iterable` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `na::Iterable` [INFO] [stderr] --> src/nn.rs:311:9 [INFO] [stderr] | [INFO] [stderr] 311 | use na::Iterable; [INFO] [stderr] | ^^^^^^^^^^^^ no `Iterable` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `na::Iterable` [INFO] [stderr] --> src/nn.rs:328:9 [INFO] [stderr] | [INFO] [stderr] 328 | use na::Iterable; [INFO] [stderr] | ^^^^^^^^^^^^ no `Iterable` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `na::Iterable` [INFO] [stderr] --> src/nn.rs:353:9 [INFO] [stderr] | [INFO] [stderr] 353 | use na::Iterable; [INFO] [stderr] | ^^^^^^^^^^^^ no `Iterable` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `na::IterableMut` [INFO] [stderr] --> src/nn.rs:6:34 [INFO] [stderr] | [INFO] [stderr] 6 | use na::{DMatrix, DVector, Norm, IterableMut}; [INFO] [stderr] | ^^^^^^^^^^^ no `IterableMut` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `na::Outer` [INFO] [stderr] --> src/nn.rs:263:9 [INFO] [stderr] | [INFO] [stderr] 263 | use na::Outer; [INFO] [stderr] | ^^^^^^^^^ no `Outer` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `na::Iterable` [INFO] [stderr] --> src/nn.rs:294:9 [INFO] [stderr] | [INFO] [stderr] 294 | use na::Iterable; [INFO] [stderr] | ^^^^^^^^^^^^ no `Iterable` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `na::Iterable` [INFO] [stderr] --> src/nn.rs:303:9 [INFO] [stderr] | [INFO] [stderr] 303 | use na::Iterable; [INFO] [stderr] | ^^^^^^^^^^^^ no `Iterable` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `na::Iterable` [INFO] [stderr] --> src/nn.rs:311:9 [INFO] [stderr] | [INFO] [stderr] 311 | use na::Iterable; [INFO] [stderr] | ^^^^^^^^^^^^ no `Iterable` in the root [INFO] [stderr] [INFO] [stderr] warning: unused imports: `IterableMut`, `Norm` [INFO] [stderr] --> src/nn.rs:6:28 [INFO] [stderr] | [INFO] [stderr] 6 | use na::{DMatrix, DVector, Norm, IterableMut}; [INFO] [stderr] | ^^^^ ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `na::Iterable` [INFO] [stderr] --> src/nn.rs:328:9 [INFO] [stderr] | [INFO] [stderr] 328 | use na::Iterable; [INFO] [stderr] | ^^^^^^^^^^^^ no `Iterable` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `na::Iterable` [INFO] [stderr] --> src/nn.rs:353:9 [INFO] [stderr] | [INFO] [stderr] 353 | use na::Iterable; [INFO] [stderr] | ^^^^^^^^^^^^ no `Iterable` in the root [INFO] [stderr] [INFO] [stderr] warning: unused import: `na::Outer` [INFO] [stderr] --> src/nn.rs:263:9 [INFO] [stderr] | [INFO] [stderr] 263 | use na::Outer; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `na::Iterable` [INFO] [stderr] --> src/nn.rs:294:9 [INFO] [stderr] | [INFO] [stderr] 294 | use na::Iterable; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `na::Iterable` [INFO] [stderr] --> src/nn.rs:303:9 [INFO] [stderr] | [INFO] [stderr] 303 | use na::Iterable; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `na::Iterable` [INFO] [stderr] --> src/nn.rs:311:9 [INFO] [stderr] | [INFO] [stderr] 311 | use na::Iterable; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `na::Iterable` [INFO] [stderr] --> src/nn.rs:328:9 [INFO] [stderr] | [INFO] [stderr] 328 | use na::Iterable; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `na::Iterable` [INFO] [stderr] --> src/nn.rs:353:9 [INFO] [stderr] | [INFO] [stderr] 353 | use na::Iterable; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `IterableMut`, `Norm` [INFO] [stderr] --> src/nn.rs:6:28 [INFO] [stderr] | [INFO] [stderr] 6 | use na::{DMatrix, DVector, Norm, IterableMut}; [INFO] [stderr] | ^^^^ ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `na::Outer` [INFO] [stderr] --> src/nn.rs:263:9 [INFO] [stderr] | [INFO] [stderr] 263 | use na::Outer; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `na::Iterable` [INFO] [stderr] --> src/nn.rs:294:9 [INFO] [stderr] | [INFO] [stderr] 294 | use na::Iterable; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `na::Iterable` [INFO] [stderr] --> src/nn.rs:303:9 [INFO] [stderr] | [INFO] [stderr] 303 | use na::Iterable; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `na::Iterable` [INFO] [stderr] --> src/nn.rs:311:9 [INFO] [stderr] | [INFO] [stderr] 311 | use na::Iterable; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `na::Iterable` [INFO] [stderr] --> src/nn.rs:328:9 [INFO] [stderr] | [INFO] [stderr] 328 | use na::Iterable; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `na::Iterable` [INFO] [stderr] --> src/nn.rs:353:9 [INFO] [stderr] | [INFO] [stderr] 353 | use na::Iterable; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `na::Matrix>: serde::Serialize` is not satisfied [INFO] [stderr] --> src/nn.rs:12:3 [INFO] [stderr] | [INFO] [stderr] 12 | pub weights: Vec>, [INFO] [stderr] | ^^^ the trait `serde::Serialize` is not implemented for `na::Matrix>` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::Serialize` for `std::vec::Vec>>` [INFO] [stderr] = note: required by `serde::ser::SerializeStruct::serialize_field` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `na::Matrix>: serde::Serialize` is not satisfied [INFO] [stderr] --> src/nn.rs:13:3 [INFO] [stderr] | [INFO] [stderr] 13 | pub biases: Vec>, [INFO] [stderr] | ^^^ the trait `serde::Serialize` is not implemented for `na::Matrix>` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::Serialize` for `std::vec::Vec>>` [INFO] [stderr] = note: required by `serde::ser::SerializeStruct::serialize_field` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `na::Matrix>: serde::Deserialize<'_>` is not satisfied [INFO] [stderr] --> src/nn.rs:12:3 [INFO] [stderr] | [INFO] [stderr] 12 | pub weights: Vec>, [INFO] [stderr] | ^^^ the trait `serde::Deserialize<'_>` is not implemented for `na::Matrix>` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::Deserialize<'_>` for `std::vec::Vec>>` [INFO] [stderr] = note: required by `serde::de::SeqAccess::next_element` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `na::Matrix>: serde::Deserialize<'_>` is not satisfied [INFO] [stderr] --> src/nn.rs:13:3 [INFO] [stderr] | [INFO] [stderr] 13 | pub biases: Vec>, [INFO] [stderr] | ^^^ the trait `serde::Deserialize<'_>` is not implemented for `na::Matrix>` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::Deserialize<'_>` for `std::vec::Vec>>` [INFO] [stderr] = note: required by `serde::de::SeqAccess::next_element` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `na::Matrix>: serde::Deserialize<'_>` is not satisfied [INFO] [stderr] --> src/nn.rs:12:3 [INFO] [stderr] | [INFO] [stderr] 12 | pub weights: Vec>, [INFO] [stderr] | ^^^ the trait `serde::Deserialize<'_>` is not implemented for `na::Matrix>` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::Deserialize<'_>` for `std::vec::Vec>>` [INFO] [stderr] = note: required by `serde::de::MapAccess::next_value` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `na::Matrix>: serde::Deserialize<'_>` is not satisfied [INFO] [stderr] --> src/nn.rs:13:3 [INFO] [stderr] | [INFO] [stderr] 13 | pub biases: Vec>, [INFO] [stderr] | ^^^ the trait `serde::Deserialize<'_>` is not implemented for `na::Matrix>` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::Deserialize<'_>` for `std::vec::Vec>>` [INFO] [stderr] = note: required by `serde::de::MapAccess::next_value` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `na::Matrix>: serde::Serialize` is not satisfied [INFO] [stderr] --> src/nn.rs:12:3 [INFO] [stderr] | [INFO] [stderr] 12 | pub weights: Vec>, [INFO] [stderr] | ^^^ the trait `serde::Serialize` is not implemented for `na::Matrix>` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::Serialize` for `std::vec::Vec>>` [INFO] [stderr] = note: required by `serde::ser::SerializeStruct::serialize_field` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `na::Matrix>: serde::Serialize` is not satisfied [INFO] [stderr] --> src/nn.rs:13:3 [INFO] [stderr] | [INFO] [stderr] 13 | pub biases: Vec>, [INFO] [stderr] | ^^^ the trait `serde::Serialize` is not implemented for `na::Matrix>` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::Serialize` for `std::vec::Vec>>` [INFO] [stderr] = note: required by `serde::ser::SerializeStruct::serialize_field` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `na::Matrix>: serde::Deserialize<'_>` is not satisfied [INFO] [stderr] --> src/nn.rs:12:3 [INFO] [stderr] | [INFO] [stderr] 12 | pub weights: Vec>, [INFO] [stderr] | ^^^ the trait `serde::Deserialize<'_>` is not implemented for `na::Matrix>` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::Deserialize<'_>` for `std::vec::Vec>>` [INFO] [stderr] = note: required by `serde::de::SeqAccess::next_element` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `na::Matrix>: serde::Deserialize<'_>` is not satisfied [INFO] [stderr] --> src/nn.rs:13:3 [INFO] [stderr] | [INFO] [stderr] 13 | pub biases: Vec>, [INFO] [stderr] | ^^^ the trait `serde::Deserialize<'_>` is not implemented for `na::Matrix>` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::Deserialize<'_>` for `std::vec::Vec>>` [INFO] [stderr] = note: required by `serde::de::SeqAccess::next_element` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `na::Matrix>: serde::Deserialize<'_>` is not satisfied [INFO] [stderr] --> src/nn.rs:12:3 [INFO] [stderr] | [INFO] [stderr] 12 | pub weights: Vec>, [INFO] [stderr] | ^^^ the trait `serde::Deserialize<'_>` is not implemented for `na::Matrix>` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::Deserialize<'_>` for `std::vec::Vec>>` [INFO] [stderr] = note: required by `serde::de::MapAccess::next_value` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `na::Matrix>: serde::Deserialize<'_>` is not satisfied [INFO] [stderr] --> src/nn.rs:13:3 [INFO] [stderr] | [INFO] [stderr] 13 | pub biases: Vec>, [INFO] [stderr] | ^^^ the trait `serde::Deserialize<'_>` is not implemented for `na::Matrix>` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::Deserialize<'_>` for `std::vec::Vec>>` [INFO] [stderr] = note: required by `serde::de::MapAccess::next_value` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_zeros` found for type `na::Matrix<_, na::Dynamic, na::Dynamic, na::VecStorage<_, na::Dynamic, na::Dynamic>>` in the current scope [INFO] [stderr] --> src/nn.rs:68:56 [INFO] [stderr] | [INFO] [stderr] 68 | weights: defn.layers.windows(2).map(|w| DMatrix::new_zeros(w[0], w[1])).collect::>(), [INFO] [stderr] | ---------^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `na::Matrix<_, na::Dynamic, na::Dynamic, na::VecStorage<_, na::Dynamic, na::Dynamic>>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_zeros` found for type `na::Matrix<_, na::Dynamic, na::U1, na::VecStorage<_, na::Dynamic, na::U1>>` in the current scope [INFO] [stderr] --> src/nn.rs:69:52 [INFO] [stderr] | [INFO] [stderr] 69 | biases: defn.layers.iter().map(|&s| DVector::new_zeros(s)).collect::>(), [INFO] [stderr] | ---------^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `na::Matrix<_, na::Dynamic, na::U1, na::VecStorage<_, na::Dynamic, na::U1>>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_zeros` found for type `na::Matrix<_, na::Dynamic, na::Dynamic, na::VecStorage<_, na::Dynamic, na::Dynamic>>` in the current scope [INFO] [stderr] --> src/nn.rs:68:56 [INFO] [stderr] | [INFO] [stderr] 68 | weights: defn.layers.windows(2).map(|w| DMatrix::new_zeros(w[0], w[1])).collect::>(), [INFO] [stderr] | ---------^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `na::Matrix<_, na::Dynamic, na::Dynamic, na::VecStorage<_, na::Dynamic, na::Dynamic>>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_zeros` found for type `na::Matrix<_, na::Dynamic, na::Dynamic, na::VecStorage<_, na::Dynamic, na::Dynamic>>` in the current scope [INFO] [stderr] --> src/nn.rs:78:36 [INFO] [stderr] | [INFO] [stderr] 78 | net.weights.insert(0, DMatrix::new_zeros(0, 0)); [INFO] [stderr] | ---------^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `na::Matrix<_, na::Dynamic, na::Dynamic, na::VecStorage<_, na::Dynamic, na::Dynamic>>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_zeros` found for type `na::Matrix<_, na::Dynamic, na::U1, na::VecStorage<_, na::Dynamic, na::U1>>` in the current scope [INFO] [stderr] --> src/nn.rs:69:52 [INFO] [stderr] | [INFO] [stderr] 69 | biases: defn.layers.iter().map(|&s| DVector::new_zeros(s)).collect::>(), [INFO] [stderr] | ---------^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `na::Matrix<_, na::Dynamic, na::U1, na::VecStorage<_, na::Dynamic, na::U1>>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_mut_vector` found for type `&mut na::Matrix>` in the current scope [INFO] [stderr] --> src/nn.rs:87:28 [INFO] [stderr] | [INFO] [stderr] 87 | for weight in matrix.as_mut_vector() { [INFO] [stderr] | ^^^^^^^^^^^^^ help: did you mean: `as_mut_ptr` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_zeros` found for type `na::Matrix<_, na::Dynamic, na::Dynamic, na::VecStorage<_, na::Dynamic, na::Dynamic>>` in the current scope [INFO] [stderr] --> src/nn.rs:78:36 [INFO] [stderr] | [INFO] [stderr] 78 | net.weights.insert(0, DMatrix::new_zeros(0, 0)); [INFO] [stderr] | ---------^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `na::Matrix<_, na::Dynamic, na::Dynamic, na::VecStorage<_, na::Dynamic, na::Dynamic>>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_zeros` found for type `na::Matrix<_, na::Dynamic, na::U1, na::VecStorage<_, na::Dynamic, na::U1>>` in the current scope [INFO] [stderr] --> src/nn.rs:99:48 [INFO] [stderr] | [INFO] [stderr] 99 | self.layer_sizes.iter().map(|&sz| DVector::new_zeros(sz)).collect::>() [INFO] [stderr] | ---------^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `na::Matrix<_, na::Dynamic, na::U1, na::VecStorage<_, na::Dynamic, na::U1>>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_zeros` found for type `na::Matrix<_, na::Dynamic, na::Dynamic, na::VecStorage<_, na::Dynamic, na::Dynamic>>` in the current scope [INFO] [stderr] --> src/nn.rs:103:68 [INFO] [stderr] | [INFO] [stderr] 103 | let mut weights = self.layer_sizes.windows(2).map(|w| DMatrix::new_zeros(w[0], w[1])).collect::>(); [INFO] [stderr] | ---------^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `na::Matrix<_, na::Dynamic, na::Dynamic, na::VecStorage<_, na::Dynamic, na::Dynamic>>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_mut_vector` found for type `&mut na::Matrix>` in the current scope [INFO] [stderr] --> src/nn.rs:87:28 [INFO] [stderr] | [INFO] [stderr] 87 | for weight in matrix.as_mut_vector() { [INFO] [stderr] | ^^^^^^^^^^^^^ help: did you mean: `as_mut_ptr` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_zeros` found for type `na::Matrix<_, na::Dynamic, na::Dynamic, na::VecStorage<_, na::Dynamic, na::Dynamic>>` in the current scope [INFO] [stderr] --> src/nn.rs:104:32 [INFO] [stderr] | [INFO] [stderr] 104 | weights.insert(0, DMatrix::new_zeros(0, 0)); [INFO] [stderr] | ---------^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `na::Matrix<_, na::Dynamic, na::Dynamic, na::VecStorage<_, na::Dynamic, na::Dynamic>>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_zeros` found for type `na::Matrix<_, na::Dynamic, na::U1, na::VecStorage<_, na::Dynamic, na::U1>>` in the current scope [INFO] [stderr] --> src/nn.rs:99:48 [INFO] [stderr] | [INFO] [stderr] 99 | self.layer_sizes.iter().map(|&sz| DVector::new_zeros(sz)).collect::>() [INFO] [stderr] | ---------^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `na::Matrix<_, na::Dynamic, na::U1, na::VecStorage<_, na::Dynamic, na::U1>>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_zeros` found for type `na::Matrix<_, na::Dynamic, na::Dynamic, na::VecStorage<_, na::Dynamic, na::Dynamic>>` in the current scope [INFO] [stderr] --> src/nn.rs:103:68 [INFO] [stderr] | [INFO] [stderr] 103 | let mut weights = self.layer_sizes.windows(2).map(|w| DMatrix::new_zeros(w[0], w[1])).collect::>(); [INFO] [stderr] | ---------^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `na::Matrix<_, na::Dynamic, na::Dynamic, na::VecStorage<_, na::Dynamic, na::Dynamic>>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_zeros` found for type `na::Matrix<_, na::Dynamic, na::Dynamic, na::VecStorage<_, na::Dynamic, na::Dynamic>>` in the current scope [INFO] [stderr] --> src/nn.rs:104:32 [INFO] [stderr] | [INFO] [stderr] 104 | weights.insert(0, DMatrix::new_zeros(0, 0)); [INFO] [stderr] | ---------^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `na::Matrix<_, na::Dynamic, na::Dynamic, na::VecStorage<_, na::Dynamic, na::Dynamic>>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_vector` found for type `&na::Matrix>` in the current scope [INFO] [stderr] --> src/nn.rs:165:86 [INFO] [stderr] | [INFO] [stderr] 165 | if lambda != 0.0 { conf.regularization_param * self.weights.iter().map(|mat| mat.as_vector().iter().map(|w| w*w).sum::() / examples as f32).sum::() / self.weights.len() as f32 } else { 0.0 } [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0560]: struct `na::Matrix<_, na::Dynamic, na::U1, na::VecStorage<_, na::Dynamic, na::U1>>` has no field named `at` [INFO] [stderr] --> src/nn.rs:191:114 [INFO] [stderr] | [INFO] [stderr] 191 | let validation_data_dvectors: Option> = validation_data.map(|v| v.into_iter().map(|(i, o)| (DVector { at: i }, DVector { at: o })).collect()); [INFO] [stderr] | ^^ `na::Matrix<_, na::Dynamic, na::U1, na::VecStorage<_, na::Dynamic, na::U1>>` does not have this field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `data` [INFO] [stderr] [INFO] [stderr] error[E0560]: struct `na::Matrix<_, na::Dynamic, na::U1, na::VecStorage<_, na::Dynamic, na::U1>>` has no field named `at` [INFO] [stderr] --> src/nn.rs:191:133 [INFO] [stderr] | [INFO] [stderr] 191 | let validation_data_dvectors: Option> = validation_data.map(|v| v.into_iter().map(|(i, o)| (DVector { at: i }, DVector { at: o })).collect()); [INFO] [stderr] | ^^ `na::Matrix<_, na::Dynamic, na::U1, na::VecStorage<_, na::Dynamic, na::U1>>` does not have this field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `data` [INFO] [stderr] [INFO] [stderr] error[E0560]: struct `na::Matrix<_, na::Dynamic, na::U1, na::VecStorage<_, na::Dynamic, na::U1>>` has no field named `at` [INFO] [stderr] --> src/nn.rs:200:36 [INFO] [stderr] | [INFO] [stderr] 200 | .map(|(i, o)| (DVector { at: i }, DVector { at: o})) [INFO] [stderr] | ^^ `na::Matrix<_, na::Dynamic, na::U1, na::VecStorage<_, na::Dynamic, na::U1>>` does not have this field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `data` [INFO] [stderr] [INFO] [stderr] error[E0560]: struct `na::Matrix<_, na::Dynamic, na::U1, na::VecStorage<_, na::Dynamic, na::U1>>` has no field named `at` [INFO] [stderr] --> src/nn.rs:200:55 [INFO] [stderr] | [INFO] [stderr] 200 | .map(|(i, o)| (DVector { at: i }, DVector { at: o})) [INFO] [stderr] | ^^ `na::Matrix<_, na::Dynamic, na::U1, na::VecStorage<_, na::Dynamic, na::U1>>` does not have this field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `data` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_vector` found for type `&na::Matrix>` in the current scope [INFO] [stderr] --> src/nn.rs:165:86 [INFO] [stderr] | [INFO] [stderr] 165 | if lambda != 0.0 { conf.regularization_param * self.weights.iter().map(|mat| mat.as_vector().iter().map(|w| w*w).sum::() / examples as f32).sum::() / self.weights.len() as f32 } else { 0.0 } [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0560]: struct `na::Matrix<_, na::Dynamic, na::U1, na::VecStorage<_, na::Dynamic, na::U1>>` has no field named `at` [INFO] [stderr] --> src/nn.rs:191:114 [INFO] [stderr] | [INFO] [stderr] 191 | let validation_data_dvectors: Option> = validation_data.map(|v| v.into_iter().map(|(i, o)| (DVector { at: i }, DVector { at: o })).collect()); [INFO] [stderr] | ^^ `na::Matrix<_, na::Dynamic, na::U1, na::VecStorage<_, na::Dynamic, na::U1>>` does not have this field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `data` [INFO] [stderr] [INFO] [stderr] error[E0560]: struct `na::Matrix<_, na::Dynamic, na::U1, na::VecStorage<_, na::Dynamic, na::U1>>` has no field named `at` [INFO] [stderr] --> src/nn.rs:191:133 [INFO] [stderr] | [INFO] [stderr] 191 | let validation_data_dvectors: Option> = validation_data.map(|v| v.into_iter().map(|(i, o)| (DVector { at: i }, DVector { at: o })).collect()); [INFO] [stderr] | ^^ `na::Matrix<_, na::Dynamic, na::U1, na::VecStorage<_, na::Dynamic, na::U1>>` does not have this field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `data` [INFO] [stderr] [INFO] [stderr] error[E0560]: struct `na::Matrix<_, na::Dynamic, na::U1, na::VecStorage<_, na::Dynamic, na::U1>>` has no field named `at` [INFO] [stderr] --> src/nn.rs:200:36 [INFO] [stderr] | [INFO] [stderr] 200 | .map(|(i, o)| (DVector { at: i }, DVector { at: o})) [INFO] [stderr] | ^^ `na::Matrix<_, na::Dynamic, na::U1, na::VecStorage<_, na::Dynamic, na::U1>>` does not have this field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `data` [INFO] [stderr] [INFO] [stderr] error[E0560]: struct `na::Matrix<_, na::Dynamic, na::U1, na::VecStorage<_, na::Dynamic, na::U1>>` has no field named `at` [INFO] [stderr] --> src/nn.rs:200:55 [INFO] [stderr] | [INFO] [stderr] 200 | .map(|(i, o)| (DVector { at: i }, DVector { at: o})) [INFO] [stderr] | ^^ `na::Matrix<_, na::Dynamic, na::U1, na::VecStorage<_, na::Dynamic, na::U1>>` does not have this field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `data` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `outer` found for type `na::Matrix>` in the current scope [INFO] [stderr] --> src/nn.rs:269:37 [INFO] [stderr] | [INFO] [stderr] 269 | let correction = layers[it-1].outer(&delta[it]); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0560]: struct `na::Matrix>` has no field named `at` [INFO] [stderr] --> src/nn.rs:298:43 [INFO] [stderr] | [INFO] [stderr] 298 | self.eval_impl(&mut layers, DVector { at: example }, layers_len); [INFO] [stderr] | ^^ `na::Matrix<_, na::Dynamic, na::U1, na::VecStorage<_, na::Dynamic, na::U1>>` does not have this field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `data` [INFO] [stderr] [INFO] [stderr] error[E0560]: struct `na::Matrix>` has no field named `at` [INFO] [stderr] --> src/nn.rs:306:43 [INFO] [stderr] | [INFO] [stderr] 306 | self.eval_impl(&mut layers, DVector { at: example }, layer); [INFO] [stderr] | ^^ `na::Matrix<_, na::Dynamic, na::U1, na::VecStorage<_, na::Dynamic, na::U1>>` does not have this field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `data` [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot multiply-assign `&na::Matrix>` to `na::Matrix>` [INFO] [stderr] --> src/nn.rs:316:15 [INFO] [stderr] | [INFO] [stderr] 316 | clone *= &self.weights[it + 1]; [INFO] [stderr] | ^^ no implementation for `na::Matrix> *= &na::Matrix>` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::MulAssign<&na::Matrix>>` is not implemented for `na::Matrix>` [INFO] [stderr] [INFO] [stderr] error[E0277]: a collection of type `na::Matrix>` cannot be built from an iterator over elements of type `f32` [INFO] [stderr] --> src/nn.rs:322:101 [INFO] [stderr] | [INFO] [stderr] 322 | layer_inputs[it + 1] = input.iter().zip(self.biases[it + 1].iter()).map(|(&net, &b)| net + b).collect(); [INFO] [stderr] | ^^^^^^^ a collection of type `na::Matrix>` cannot be built from `std::iter::Iterator` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::iter::FromIterator` is not implemented for `na::Matrix>` [INFO] [stderr] [INFO] [stderr] error[E0277]: a collection of type `na::Matrix>` cannot be built from an iterator over elements of type `f32` [INFO] [stderr] --> src/nn.rs:323:129 [INFO] [stderr] | [INFO] [stderr] 323 | layers[it + 1] = layer_inputs[it + 1].iter().map(|&inp| self.activation_fn.function(inp, self.activation_coeffs[it + 1])).collect(); [INFO] [stderr] | ^^^^^^^ a collection of type `na::Matrix>` cannot be built from `std::iter::Iterator` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::iter::FromIterator` is not implemented for `na::Matrix>` [INFO] [stderr] [INFO] [stderr] error[E0277]: a collection of type `na::Matrix>` cannot be built from an iterator over elements of type `f32` [INFO] [stderr] --> src/nn.rs:342:8 [INFO] [stderr] | [INFO] [stderr] 342 | .collect(); [INFO] [stderr] | ^^^^^^^ a collection of type `na::Matrix>` cannot be built from `std::iter::Iterator` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::iter::FromIterator` is not implemented for `na::Matrix>` [INFO] [stderr] [INFO] [stderr] error[E0277]: a collection of type `na::Matrix>` cannot be built from an iterator over elements of type `f32` [INFO] [stderr] --> src/nn.rs:346:82 [INFO] [stderr] | [INFO] [stderr] 346 | delta[it] = next_delta.iter().zip(layers[it].iter()).map(|(&d, x)| d * *x).collect(); [INFO] [stderr] | ^^^^^^^ a collection of type `na::Matrix>` cannot be built from `std::iter::Iterator` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::iter::FromIterator` is not implemented for `na::Matrix>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `outer` found for type `na::Matrix>` in the current scope [INFO] [stderr] --> src/nn.rs:269:37 [INFO] [stderr] | [INFO] [stderr] 269 | let correction = layers[it-1].outer(&delta[it]); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_mut_vector` found for type `na::Matrix>` in the current scope [INFO] [stderr] --> src/nn.rs:356:39 [INFO] [stderr] | [INFO] [stderr] 356 | for (w, dw) in self.weights[it].as_mut_vector().iter_mut().zip(weight_update_sum[it].as_vector()) { [INFO] [stderr] | ^^^^^^^^^^^^^ help: did you mean: `as_mut_ptr` [INFO] [stderr] [INFO] [stderr] error[E0560]: struct `na::Matrix>` has no field named `at` [INFO] [stderr] --> src/nn.rs:298:43 [INFO] [stderr] | [INFO] [stderr] 298 | self.eval_impl(&mut layers, DVector { at: example }, layers_len); [INFO] [stderr] | ^^ `na::Matrix<_, na::Dynamic, na::U1, na::VecStorage<_, na::Dynamic, na::U1>>` does not have this field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `data` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_vector` found for type `na::Matrix>` in the current scope [INFO] [stderr] --> src/nn.rs:356:92 [INFO] [stderr] | [INFO] [stderr] 356 | for (w, dw) in self.weights[it].as_mut_vector().iter_mut().zip(weight_update_sum[it].as_vector()) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0560]: struct `na::Matrix>` has no field named `at` [INFO] [stderr] --> src/nn.rs:306:43 [INFO] [stderr] | [INFO] [stderr] 306 | self.eval_impl(&mut layers, DVector { at: example }, layer); [INFO] [stderr] | ^^ `na::Matrix<_, na::Dynamic, na::U1, na::VecStorage<_, na::Dynamic, na::U1>>` does not have this field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `data` [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot multiply-assign `&na::Matrix>` to `na::Matrix>` [INFO] [stderr] --> src/nn.rs:316:15 [INFO] [stderr] | [INFO] [stderr] 316 | clone *= &self.weights[it + 1]; [INFO] [stderr] | ^^ no implementation for `na::Matrix> *= &na::Matrix>` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::MulAssign<&na::Matrix>>` is not implemented for `na::Matrix>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_mut_vector` found for type `na::Matrix>` in the current scope [INFO] [stderr] --> src/nn.rs:372:41 [INFO] [stderr] | [INFO] [stderr] 372 | for (w, dw) in self.weights[it].as_mut_vector().iter_mut().zip(last_weight_update_sum[it].as_vector()) { [INFO] [stderr] | ^^^^^^^^^^^^^ help: did you mean: `as_mut_ptr` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_vector` found for type `na::Matrix>` in the current scope [INFO] [stderr] --> src/nn.rs:372:99 [INFO] [stderr] | [INFO] [stderr] 372 | for (w, dw) in self.weights[it].as_mut_vector().iter_mut().zip(last_weight_update_sum[it].as_vector()) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: a collection of type `na::Matrix>` cannot be built from an iterator over elements of type `f32` [INFO] [stderr] --> src/nn.rs:322:101 [INFO] [stderr] | [INFO] [stderr] 322 | layer_inputs[it + 1] = input.iter().zip(self.biases[it + 1].iter()).map(|(&net, &b)| net + b).collect(); [INFO] [stderr] | ^^^^^^^ a collection of type `na::Matrix>` cannot be built from `std::iter::Iterator` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::iter::FromIterator` is not implemented for `na::Matrix>` [INFO] [stderr] [INFO] [stderr] error[E0277]: a collection of type `na::Matrix>` cannot be built from an iterator over elements of type `f32` [INFO] [stderr] --> src/nn.rs:323:129 [INFO] [stderr] | [INFO] [stderr] 323 | layers[it + 1] = layer_inputs[it + 1].iter().map(|&inp| self.activation_fn.function(inp, self.activation_coeffs[it + 1])).collect(); [INFO] [stderr] | ^^^^^^^ a collection of type `na::Matrix>` cannot be built from `std::iter::Iterator` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::iter::FromIterator` is not implemented for `na::Matrix>` [INFO] [stderr] [INFO] [stderr] error[E0277]: a collection of type `na::Matrix>` cannot be built from an iterator over elements of type `f32` [INFO] [stderr] --> src/nn.rs:342:8 [INFO] [stderr] | [INFO] [stderr] 342 | .collect(); [INFO] [stderr] | ^^^^^^^ a collection of type `na::Matrix>` cannot be built from `std::iter::Iterator` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::iter::FromIterator` is not implemented for `na::Matrix>` [INFO] [stderr] [INFO] [stderr] error[E0277]: a collection of type `na::Matrix>` cannot be built from an iterator over elements of type `f32` [INFO] [stderr] --> src/nn.rs:346:82 [INFO] [stderr] | [INFO] [stderr] 346 | delta[it] = next_delta.iter().zip(layers[it].iter()).map(|(&d, x)| d * *x).collect(); [INFO] [stderr] | ^^^^^^^ a collection of type `na::Matrix>` cannot be built from `std::iter::Iterator` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::iter::FromIterator` is not implemented for `na::Matrix>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_mut_vector` found for type `na::Matrix>` in the current scope [INFO] [stderr] --> src/nn.rs:356:39 [INFO] [stderr] | [INFO] [stderr] 356 | for (w, dw) in self.weights[it].as_mut_vector().iter_mut().zip(weight_update_sum[it].as_vector()) { [INFO] [stderr] | ^^^^^^^^^^^^^ help: did you mean: `as_mut_ptr` [INFO] [stderr] [INFO] [stderr] error: aborting due to 37 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: E0277, E0432, E0560, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error[E0599]: no method named `as_vector` found for type `na::Matrix>` in the current scope [INFO] [stderr] --> src/nn.rs:356:92 [INFO] [stderr] | [INFO] [stderr] 356 | for (w, dw) in self.weights[it].as_mut_vector().iter_mut().zip(weight_update_sum[it].as_vector()) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: Could not compile `fingers`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no method named `as_mut_vector` found for type `na::Matrix>` in the current scope [INFO] [stderr] --> src/nn.rs:372:41 [INFO] [stderr] | [INFO] [stderr] 372 | for (w, dw) in self.weights[it].as_mut_vector().iter_mut().zip(last_weight_update_sum[it].as_vector()) { [INFO] [stderr] | ^^^^^^^^^^^^^ help: did you mean: `as_mut_ptr` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_vector` found for type `na::Matrix>` in the current scope [INFO] [stderr] --> src/nn.rs:372:99 [INFO] [stderr] | [INFO] [stderr] 372 | for (w, dw) in self.weights[it].as_mut_vector().iter_mut().zip(last_weight_update_sum[it].as_vector()) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 37 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: E0277, E0432, E0560, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `fingers`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "e333d12e16976439250a1255c9f9e0b6b3e5c714e4144738cbd42adde1d5ffa0"` [INFO] running `"docker" "rm" "-f" "e333d12e16976439250a1255c9f9e0b6b3e5c714e4144738cbd42adde1d5ffa0"` [INFO] [stdout] e333d12e16976439250a1255c9f9e0b6b3e5c714e4144738cbd42adde1d5ffa0