[INFO] cloning repository https://github.com/MoreAxes/finge-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MoreAxes/finge-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMoreAxes%2Ffinge-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMoreAxes%2Ffinge-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9dc24807f52cb0ee39775fd9e84273d4f3aa1adb [INFO] checking MoreAxes/finge-rs against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMoreAxes%2Ffinge-rs" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MoreAxes/finge-rs on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MoreAxes/finge-rs [INFO] removed path dependency nalgebra from git repo https://github.com/MoreAxes/finge-rs [INFO] finished tweaking git repo https://github.com/MoreAxes/finge-rs [INFO] tweaked toml for git repo https://github.com/MoreAxes/finge-rs written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/MoreAxes/finge-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-9/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] Downloading crates ... [INFO] [stderr] Downloaded ctrlc v3.1.6 [INFO] [stderr] Downloaded matrixmultiply v0.1.15 [INFO] [stderr] Downloaded simba v0.2.1 [INFO] [stderr] Downloaded bincode v0.9.2 [INFO] [stderr] Downloaded rayon v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6bf58a16861dfa34b40176e775d4bd2cd6b0fa17a46ade3f4d501d2560f633ba [INFO] running `Command { std: "docker" "start" "-a" "6bf58a16861dfa34b40176e775d4bd2cd6b0fa17a46ade3f4d501d2560f633ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6bf58a16861dfa34b40176e775d4bd2cd6b0fa17a46ade3f4d501d2560f633ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bf58a16861dfa34b40176e775d4bd2cd6b0fa17a46ade3f4d501d2560f633ba", kill_on_drop: false }` [INFO] [stdout] 6bf58a16861dfa34b40176e775d4bd2cd6b0fa17a46ade3f4d501d2560f633ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 826cb6cafa05deabea30651444cc674a3f6d9a732c8ed056ba9dceb796c8f688 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "826cb6cafa05deabea30651444cc674a3f6d9a732c8ed056ba9dceb796c8f688", kill_on_drop: false }` [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] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling serde_json v1.0.58 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking bitflags v1.2.1 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking nix v0.17.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking inflate v0.3.4 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rayon-core v1.8.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking num-iter v0.1.41 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking rayon v1.4.1 [INFO] [stderr] Checking rayon v0.9.0 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking png v0.11.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Checking simba v0.2.1 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking ctrlc v3.1.6 [INFO] [stderr] Checking bincode v0.9.2 [INFO] [stderr] Checking image v0.18.0 [INFO] [stderr] Checking nalgebra v0.22.0 [INFO] [stderr] Checking fingers v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `na::IterableMut` [INFO] [stdout] --> src/nn.rs:6:34 [INFO] [stdout] | [INFO] [stdout] 6 | use na::{DMatrix, DVector, Norm, IterableMut}; [INFO] [stdout] | ^^^^^^^^^^^ no `IterableMut` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `na::IterableMut` [INFO] [stdout] --> src/nn.rs:6:34 [INFO] [stdout] | [INFO] [stdout] 6 | use na::{DMatrix, DVector, Norm, IterableMut}; [INFO] [stdout] | ^^^^^^^^^^^ no `IterableMut` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `na::Outer` [INFO] [stdout] --> src/nn.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | use na::Outer; [INFO] [stdout] | ^^^^^^^^^ no `Outer` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `na::Iterable` [INFO] [stdout] --> src/nn.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | use na::Iterable; [INFO] [stdout] | ^^^^^^^^^^^^ no `Iterable` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `na::Iterable` [INFO] [stdout] --> src/nn.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | use na::Iterable; [INFO] [stdout] | ^^^^^^^^^^^^ no `Iterable` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `na::Iterable` [INFO] [stdout] --> src/nn.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | use na::Iterable; [INFO] [stdout] | ^^^^^^^^^^^^ no `Iterable` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `na::Iterable` [INFO] [stdout] --> src/nn.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | use na::Iterable; [INFO] [stdout] | ^^^^^^^^^^^^ no `Iterable` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `na::Iterable` [INFO] [stdout] --> src/nn.rs:353:9 [INFO] [stdout] | [INFO] [stdout] 353 | use na::Iterable; [INFO] [stdout] | ^^^^^^^^^^^^ no `Iterable` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `na::Outer` [INFO] [stdout] --> src/nn.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | use na::Outer; [INFO] [stdout] | ^^^^^^^^^ no `Outer` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `na::Iterable` [INFO] [stdout] --> src/nn.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | use na::Iterable; [INFO] [stdout] | ^^^^^^^^^^^^ no `Iterable` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `na::Iterable` [INFO] [stdout] --> src/nn.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | use na::Iterable; [INFO] [stdout] | ^^^^^^^^^^^^ no `Iterable` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `na::Iterable` [INFO] [stdout] --> src/nn.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | use na::Iterable; [INFO] [stdout] | ^^^^^^^^^^^^ no `Iterable` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `na::Iterable` [INFO] [stdout] --> src/nn.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | use na::Iterable; [INFO] [stdout] | ^^^^^^^^^^^^ no `Iterable` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `na::Iterable` [INFO] [stdout] --> src/nn.rs:353:9 [INFO] [stdout] | [INFO] [stdout] 353 | use na::Iterable; [INFO] [stdout] | ^^^^^^^^^^^^ no `Iterable` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Norm` [INFO] [stdout] --> src/nn.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use na::{DMatrix, DVector, Norm, IterableMut}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Norm` [INFO] [stdout] --> src/nn.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use na::{DMatrix, DVector, Norm, IterableMut}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Matrix>: Serialize` is not satisfied [INFO] [stdout] --> src/nn.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | pub weights: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Serialize` is not implemented for `Matrix>` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Serialize` for `Vec>>` [INFO] [stdout] = note: required by `serde::ser::SerializeStruct::serialize_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Matrix>: Serialize` is not satisfied [INFO] [stdout] --> src/nn.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | pub biases: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Serialize` is not implemented for `Matrix>` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Serialize` for `Vec>>` [INFO] [stdout] = note: required by `serde::ser::SerializeStruct::serialize_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Matrix>: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/nn.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | pub weights: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `Matrix>` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `Vec>>` [INFO] [stdout] = note: required by `next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Matrix>: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/nn.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | pub biases: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `Matrix>` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `Vec>>` [INFO] [stdout] = note: required by `next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Matrix>: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/nn.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | pub weights: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `Matrix>` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `Vec>>` [INFO] [stdout] = note: required by `next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Matrix>: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/nn.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | pub biases: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `Matrix>` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `Vec>>` [INFO] [stdout] = note: required by `next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Matrix>: Serialize` is not satisfied [INFO] [stdout] --> src/nn.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | pub weights: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Serialize` is not implemented for `Matrix>` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Serialize` for `Vec>>` [INFO] [stdout] = note: required by `serde::ser::SerializeStruct::serialize_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Matrix>: Serialize` is not satisfied [INFO] [stdout] --> src/nn.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | pub biases: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Serialize` is not implemented for `Matrix>` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Serialize` for `Vec>>` [INFO] [stdout] = note: required by `serde::ser::SerializeStruct::serialize_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Matrix>: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/nn.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | pub weights: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `Matrix>` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `Vec>>` [INFO] [stdout] = note: required by `next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Matrix>: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/nn.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | pub biases: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `Matrix>` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `Vec>>` [INFO] [stdout] = note: required by `next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Matrix>: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/nn.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | pub weights: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `Matrix>` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `Vec>>` [INFO] [stdout] = note: required by `next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Matrix>: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/nn.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | pub biases: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `Matrix>` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `Vec>>` [INFO] [stdout] = note: required by `next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_zeros` found for struct `Matrix<_, Dynamic, Dynamic, VecStorage<_, Dynamic, Dynamic>>` in the current scope [INFO] [stdout] --> src/nn.rs:68:56 [INFO] [stdout] | [INFO] [stdout] 68 | weights: defn.layers.windows(2).map(|w| DMatrix::new_zeros(w[0], w[1])).collect::>(), [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Matrix<_, Dynamic, Dynamic, VecStorage<_, Dynamic, Dynamic>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_zeros` found for struct `Matrix<_, Dynamic, U1, VecStorage<_, Dynamic, U1>>` in the current scope [INFO] [stdout] --> src/nn.rs:69:52 [INFO] [stdout] | [INFO] [stdout] 69 | biases: defn.layers.iter().map(|&s| DVector::new_zeros(s)).collect::>(), [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Matrix<_, Dynamic, U1, VecStorage<_, Dynamic, U1>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_zeros` found for struct `Matrix<_, Dynamic, Dynamic, VecStorage<_, Dynamic, Dynamic>>` in the current scope [INFO] [stdout] --> src/nn.rs:78:36 [INFO] [stdout] | [INFO] [stdout] 78 | net.weights.insert(0, DMatrix::new_zeros(0, 0)); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Matrix<_, Dynamic, Dynamic, VecStorage<_, Dynamic, Dynamic>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_mut_vector` found for mutable reference `&mut Matrix>` in the current scope [INFO] [stdout] --> src/nn.rs:87:28 [INFO] [stdout] | [INFO] [stdout] 87 | for weight in matrix.as_mut_vector() { [INFO] [stdout] | ^^^^^^^^^^^^^ help: there is an associated function with a similar name: `as_mut_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_zeros` found for struct `Matrix<_, Dynamic, U1, VecStorage<_, Dynamic, U1>>` in the current scope [INFO] [stdout] --> src/nn.rs:99:48 [INFO] [stdout] | [INFO] [stdout] 99 | self.layer_sizes.iter().map(|&sz| DVector::new_zeros(sz)).collect::>() [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Matrix<_, Dynamic, U1, VecStorage<_, Dynamic, U1>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_zeros` found for struct `Matrix<_, Dynamic, Dynamic, VecStorage<_, Dynamic, Dynamic>>` in the current scope [INFO] [stdout] --> src/nn.rs:103:68 [INFO] [stdout] | [INFO] [stdout] 103 | let mut weights = self.layer_sizes.windows(2).map(|w| DMatrix::new_zeros(w[0], w[1])).collect::>(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Matrix<_, Dynamic, Dynamic, VecStorage<_, Dynamic, Dynamic>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_zeros` found for struct `Matrix<_, Dynamic, Dynamic, VecStorage<_, Dynamic, Dynamic>>` in the current scope [INFO] [stdout] --> src/nn.rs:104:32 [INFO] [stdout] | [INFO] [stdout] 104 | weights.insert(0, DMatrix::new_zeros(0, 0)); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Matrix<_, Dynamic, Dynamic, VecStorage<_, Dynamic, Dynamic>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_vector` found for reference `&Matrix>` in the current scope [INFO] [stdout] --> src/nn.rs:165:86 [INFO] [stdout] | [INFO] [stdout] 165 | ...r().map(|mat| mat.as_vector().iter().map(|w| w*w).sum::() / examples as f32).sum::() / self.weights.len() as f32 } else { 0.0 } [INFO] [stdout] | ^^^^^^^^^ method not found in `&Matrix>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Matrix<_, Dynamic, U1, VecStorage<_, Dynamic, U1>>` has no field named `at` [INFO] [stdout] --> src/nn.rs:191:114 [INFO] [stdout] | [INFO] [stdout] 191 | ...().map(|(i, o)| (DVector { at: i }, DVector { at: o })).collect()); [INFO] [stdout] | ^^ `Matrix<_, Dynamic, U1, VecStorage<_, Dynamic, U1>>` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Matrix<_, Dynamic, U1, VecStorage<_, Dynamic, U1>>` has no field named `at` [INFO] [stdout] --> src/nn.rs:191:133 [INFO] [stdout] | [INFO] [stdout] 191 | ...ector { at: i }, DVector { at: o })).collect()); [INFO] [stdout] | ^^ `Matrix<_, Dynamic, U1, VecStorage<_, Dynamic, U1>>` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Matrix<_, Dynamic, U1, VecStorage<_, Dynamic, U1>>` has no field named `at` [INFO] [stdout] --> src/nn.rs:200:36 [INFO] [stdout] | [INFO] [stdout] 200 | .map(|(i, o)| (DVector { at: i }, DVector { at: o})) [INFO] [stdout] | ^^ `Matrix<_, Dynamic, U1, VecStorage<_, Dynamic, U1>>` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Matrix<_, Dynamic, U1, VecStorage<_, Dynamic, U1>>` has no field named `at` [INFO] [stdout] --> src/nn.rs:200:55 [INFO] [stdout] | [INFO] [stdout] 200 | .map(|(i, o)| (DVector { at: i }, DVector { at: o})) [INFO] [stdout] | ^^ `Matrix<_, Dynamic, U1, VecStorage<_, Dynamic, U1>>` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `outer` found for struct `Matrix>` in the current scope [INFO] [stdout] --> src/nn.rs:269:37 [INFO] [stdout] | [INFO] [stdout] 269 | let correction = layers[it-1].outer(&delta[it]); [INFO] [stdout] | ^^^^^ method not found in `Matrix>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Matrix>` has no field named `at` [INFO] [stdout] --> src/nn.rs:298:43 [INFO] [stdout] | [INFO] [stdout] 298 | self.eval_impl(&mut layers, DVector { at: example }, layers_len); [INFO] [stdout] | ^^ `Matrix<_, Dynamic, U1, VecStorage<_, Dynamic, U1>>` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Matrix>` has no field named `at` [INFO] [stdout] --> src/nn.rs:306:43 [INFO] [stdout] | [INFO] [stdout] 306 | self.eval_impl(&mut layers, DVector { at: example }, layer); [INFO] [stdout] | ^^ `Matrix<_, Dynamic, U1, VecStorage<_, Dynamic, U1>>` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply-assign `&Matrix>` to `Matrix>` [INFO] [stdout] --> src/nn.rs:316:15 [INFO] [stdout] | [INFO] [stdout] 316 | clone *= &self.weights[it + 1]; [INFO] [stdout] | ^^ no implementation for `Matrix> *= &Matrix>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `MulAssign<&Matrix>>` is not implemented for `Matrix>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Matrix>` cannot be built from an iterator over elements of type `f32` [INFO] [stdout] --> src/nn.rs:322:101 [INFO] [stdout] | [INFO] [stdout] 322 | layer_inputs[it + 1] = input.iter().zip(self.biases[it + 1].iter()).map(|(&net, &b)| net + b).collect(); [INFO] [stdout] | ^^^^^^^ value of type `Matrix>` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator` is not implemented for `Matrix>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Matrix>` cannot be built from an iterator over elements of type `f32` [INFO] [stdout] --> src/nn.rs:323:129 [INFO] [stdout] | [INFO] [stdout] 323 | layers[it + 1] = layer_inputs[it + 1].iter().map(|&inp| self.activation_fn.function(inp, self.activation_coeffs[it + 1])).collect(); [INFO] [stdout] | ^^^^^^^ value of type `Matrix>` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator` is not implemented for `Matrix>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Matrix>` cannot be built from an iterator over elements of type `f32` [INFO] [stdout] --> src/nn.rs:342:8 [INFO] [stdout] | [INFO] [stdout] 342 | .collect(); [INFO] [stdout] | ^^^^^^^ value of type `Matrix>` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator` is not implemented for `Matrix>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Matrix>` cannot be built from an iterator over elements of type `f32` [INFO] [stdout] --> src/nn.rs:346:82 [INFO] [stdout] | [INFO] [stdout] 346 | delta[it] = next_delta.iter().zip(layers[it].iter()).map(|(&d, x)| d * *x).collect(); [INFO] [stdout] | ^^^^^^^ value of type `Matrix>` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator` is not implemented for `Matrix>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_mut_vector` found for struct `Matrix>` in the current scope [INFO] [stdout] --> src/nn.rs:356:39 [INFO] [stdout] | [INFO] [stdout] 356 | for (w, dw) in self.weights[it].as_mut_vector().iter_mut().zip(weight_update_sum[it].as_vector()) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: there is an associated function with a similar name: `as_mut_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_zeros` found for struct `Matrix<_, Dynamic, Dynamic, VecStorage<_, Dynamic, Dynamic>>` in the current scope [INFO] [stdout] --> src/nn.rs:68:56 [INFO] [stdout] | [INFO] [stdout] 68 | weights: defn.layers.windows(2).map(|w| DMatrix::new_zeros(w[0], w[1])).collect::>(), [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Matrix<_, Dynamic, Dynamic, VecStorage<_, Dynamic, Dynamic>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_zeros` found for struct `Matrix<_, Dynamic, U1, VecStorage<_, Dynamic, U1>>` in the current scope [INFO] [stdout] --> src/nn.rs:69:52 [INFO] [stdout] | [INFO] [stdout] 69 | biases: defn.layers.iter().map(|&s| DVector::new_zeros(s)).collect::>(), [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Matrix<_, Dynamic, U1, VecStorage<_, Dynamic, U1>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_vector` found for struct `Matrix>` in the current scope [INFO] [stdout] --> src/nn.rs:356:92 [INFO] [stdout] | [INFO] [stdout] 356 | for (w, dw) in self.weights[it].as_mut_vector().iter_mut().zip(weight_update_sum[it].as_vector()) { [INFO] [stdout] | ^^^^^^^^^ method not found in `Matrix>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_zeros` found for struct `Matrix<_, Dynamic, Dynamic, VecStorage<_, Dynamic, Dynamic>>` in the current scope [INFO] [stdout] --> src/nn.rs:78:36 [INFO] [stdout] | [INFO] [stdout] 78 | net.weights.insert(0, DMatrix::new_zeros(0, 0)); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Matrix<_, Dynamic, Dynamic, VecStorage<_, Dynamic, Dynamic>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_mut_vector` found for struct `Matrix>` in the current scope [INFO] [stdout] --> src/nn.rs:372:41 [INFO] [stdout] | [INFO] [stdout] 372 | for (w, dw) in self.weights[it].as_mut_vector().iter_mut().zip(last_weight_update_sum[it].as_vector()) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: there is an associated function with a similar name: `as_mut_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_mut_vector` found for mutable reference `&mut Matrix>` in the current scope [INFO] [stdout] --> src/nn.rs:87:28 [INFO] [stdout] | [INFO] [stdout] 87 | for weight in matrix.as_mut_vector() { [INFO] [stdout] | ^^^^^^^^^^^^^ help: there is an associated function with a similar name: `as_mut_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_vector` found for struct `Matrix>` in the current scope [INFO] [stdout] --> src/nn.rs:372:99 [INFO] [stdout] | [INFO] [stdout] 372 | for (w, dw) in self.weights[it].as_mut_vector().iter_mut().zip(last_weight_update_sum[it].as_vector()) { [INFO] [stdout] | ^^^^^^^^^ method not found in `Matrix>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_zeros` found for struct `Matrix<_, Dynamic, U1, VecStorage<_, Dynamic, U1>>` in the current scope [INFO] [stdout] --> src/nn.rs:99:48 [INFO] [stdout] | [INFO] [stdout] 99 | self.layer_sizes.iter().map(|&sz| DVector::new_zeros(sz)).collect::>() [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Matrix<_, Dynamic, U1, VecStorage<_, Dynamic, U1>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_zeros` found for struct `Matrix<_, Dynamic, Dynamic, VecStorage<_, Dynamic, Dynamic>>` in the current scope [INFO] [stdout] --> src/nn.rs:103:68 [INFO] [stdout] | [INFO] [stdout] 103 | let mut weights = self.layer_sizes.windows(2).map(|w| DMatrix::new_zeros(w[0], w[1])).collect::>(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Matrix<_, Dynamic, Dynamic, VecStorage<_, Dynamic, Dynamic>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_zeros` found for struct `Matrix<_, Dynamic, Dynamic, VecStorage<_, Dynamic, Dynamic>>` in the current scope [INFO] [stdout] --> src/nn.rs:104:32 [INFO] [stdout] | [INFO] [stdout] 104 | weights.insert(0, DMatrix::new_zeros(0, 0)); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Matrix<_, Dynamic, Dynamic, VecStorage<_, Dynamic, Dynamic>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 37 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_vector` found for reference `&Matrix>` in the current scope [INFO] [stdout] --> src/nn.rs:165:86 [INFO] [stdout] | [INFO] [stdout] 165 | ...r().map(|mat| mat.as_vector().iter().map(|w| w*w).sum::() / examples as f32).sum::() / self.weights.len() as f32 } else { 0.0 } [INFO] [stdout] | ^^^^^^^^^ method not found in `&Matrix>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Matrix<_, Dynamic, U1, VecStorage<_, Dynamic, U1>>` has no field named `at` [INFO] [stdout] --> src/nn.rs:191:114 [INFO] [stdout] | [INFO] [stdout] 191 | ...().map(|(i, o)| (DVector { at: i }, DVector { at: o })).collect()); [INFO] [stdout] | ^^ `Matrix<_, Dynamic, U1, VecStorage<_, Dynamic, U1>>` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Matrix<_, Dynamic, U1, VecStorage<_, Dynamic, U1>>` has no field named `at` [INFO] [stdout] --> src/nn.rs:191:133 [INFO] [stdout] | [INFO] [stdout] 191 | ...ector { at: i }, DVector { at: o })).collect()); [INFO] [stdout] | ^^ `Matrix<_, Dynamic, U1, VecStorage<_, Dynamic, U1>>` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Matrix<_, Dynamic, U1, VecStorage<_, Dynamic, U1>>` has no field named `at` [INFO] [stdout] --> src/nn.rs:200:36 [INFO] [stdout] | [INFO] [stdout] 200 | .map(|(i, o)| (DVector { at: i }, DVector { at: o})) [INFO] [stdout] | ^^ `Matrix<_, Dynamic, U1, VecStorage<_, Dynamic, U1>>` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Matrix<_, Dynamic, U1, VecStorage<_, Dynamic, U1>>` has no field named `at` [INFO] [stdout] --> src/nn.rs:200:55 [INFO] [stdout] | [INFO] [stdout] 200 | .map(|(i, o)| (DVector { at: i }, DVector { at: o})) [INFO] [stdout] | ^^ `Matrix<_, Dynamic, U1, VecStorage<_, Dynamic, U1>>` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fingers` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `outer` found for struct `Matrix>` in the current scope [INFO] [stdout] --> src/nn.rs:269:37 [INFO] [stdout] | [INFO] [stdout] 269 | let correction = layers[it-1].outer(&delta[it]); [INFO] [stdout] | ^^^^^ method not found in `Matrix>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Matrix>` has no field named `at` [INFO] [stdout] --> src/nn.rs:298:43 [INFO] [stdout] | [INFO] [stdout] 298 | self.eval_impl(&mut layers, DVector { at: example }, layers_len); [INFO] [stdout] | ^^ `Matrix<_, Dynamic, U1, VecStorage<_, Dynamic, U1>>` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Matrix>` has no field named `at` [INFO] [stdout] --> src/nn.rs:306:43 [INFO] [stdout] | [INFO] [stdout] 306 | self.eval_impl(&mut layers, DVector { at: example }, layer); [INFO] [stdout] | ^^ `Matrix<_, Dynamic, U1, VecStorage<_, Dynamic, U1>>` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply-assign `&Matrix>` to `Matrix>` [INFO] [stdout] --> src/nn.rs:316:15 [INFO] [stdout] | [INFO] [stdout] 316 | clone *= &self.weights[it + 1]; [INFO] [stdout] | ^^ no implementation for `Matrix> *= &Matrix>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `MulAssign<&Matrix>>` is not implemented for `Matrix>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Matrix>` cannot be built from an iterator over elements of type `f32` [INFO] [stdout] --> src/nn.rs:322:101 [INFO] [stdout] | [INFO] [stdout] 322 | layer_inputs[it + 1] = input.iter().zip(self.biases[it + 1].iter()).map(|(&net, &b)| net + b).collect(); [INFO] [stdout] | ^^^^^^^ value of type `Matrix>` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator` is not implemented for `Matrix>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Matrix>` cannot be built from an iterator over elements of type `f32` [INFO] [stdout] --> src/nn.rs:323:129 [INFO] [stdout] | [INFO] [stdout] 323 | layers[it + 1] = layer_inputs[it + 1].iter().map(|&inp| self.activation_fn.function(inp, self.activation_coeffs[it + 1])).collect(); [INFO] [stdout] | ^^^^^^^ value of type `Matrix>` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator` is not implemented for `Matrix>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Matrix>` cannot be built from an iterator over elements of type `f32` [INFO] [stdout] --> src/nn.rs:342:8 [INFO] [stdout] | [INFO] [stdout] 342 | .collect(); [INFO] [stdout] | ^^^^^^^ value of type `Matrix>` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator` is not implemented for `Matrix>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Matrix>` cannot be built from an iterator over elements of type `f32` [INFO] [stdout] --> src/nn.rs:346:82 [INFO] [stdout] | [INFO] [stdout] 346 | delta[it] = next_delta.iter().zip(layers[it].iter()).map(|(&d, x)| d * *x).collect(); [INFO] [stdout] | ^^^^^^^ value of type `Matrix>` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator` is not implemented for `Matrix>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_mut_vector` found for struct `Matrix>` in the current scope [INFO] [stdout] --> src/nn.rs:356:39 [INFO] [stdout] | [INFO] [stdout] 356 | for (w, dw) in self.weights[it].as_mut_vector().iter_mut().zip(weight_update_sum[it].as_vector()) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: there is an associated function with a similar name: `as_mut_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_vector` found for struct `Matrix>` in the current scope [INFO] [stdout] --> src/nn.rs:356:92 [INFO] [stdout] | [INFO] [stdout] 356 | for (w, dw) in self.weights[it].as_mut_vector().iter_mut().zip(weight_update_sum[it].as_vector()) { [INFO] [stdout] | ^^^^^^^^^ method not found in `Matrix>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_mut_vector` found for struct `Matrix>` in the current scope [INFO] [stdout] --> src/nn.rs:372:41 [INFO] [stdout] | [INFO] [stdout] 372 | for (w, dw) in self.weights[it].as_mut_vector().iter_mut().zip(last_weight_update_sum[it].as_vector()) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: there is an associated function with a similar name: `as_mut_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_vector` found for struct `Matrix>` in the current scope [INFO] [stdout] --> src/nn.rs:372:99 [INFO] [stdout] | [INFO] [stdout] 372 | for (w, dw) in self.weights[it].as_mut_vector().iter_mut().zip(last_weight_update_sum[it].as_vector()) { [INFO] [stdout] | ^^^^^^^^^ method not found in `Matrix>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 37 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "826cb6cafa05deabea30651444cc674a3f6d9a732c8ed056ba9dceb796c8f688", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "826cb6cafa05deabea30651444cc674a3f6d9a732c8ed056ba9dceb796c8f688", kill_on_drop: false }` [INFO] [stdout] 826cb6cafa05deabea30651444cc674a3f6d9a732c8ed056ba9dceb796c8f688