[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] documenting MoreAxes/finge-rs against beta-2020-08-29 for beta-1.47-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMoreAxes%2Ffinge-rs" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MoreAxes/finge-rs on toolchain beta-2020-08-29 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "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-5/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" "+beta-2020-08-29" "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-5/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" "+beta-2020-08-29" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "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 simba v0.2.0 [INFO] [stderr] Downloaded nalgebra v0.22.0 [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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+beta-2020-08-29" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 786679a02dfe5450bd68aeede7f9ca2814ea52a26acbc152d46c3bde0ee9d4f4 [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" "786679a02dfe5450bd68aeede7f9ca2814ea52a26acbc152d46c3bde0ee9d4f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "786679a02dfe5450bd68aeede7f9ca2814ea52a26acbc152d46c3bde0ee9d4f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "786679a02dfe5450bd68aeede7f9ca2814ea52a26acbc152d46c3bde0ee9d4f4", kill_on_drop: false }` [INFO] [stdout] 786679a02dfe5450bd68aeede7f9ca2814ea52a26acbc152d46c3bde0ee9d4f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2020-08-29" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 377e47dbff33c1ff2a0cebeead2222716adac41cfe4ace0402520d39238fe999 [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" "377e47dbff33c1ff2a0cebeead2222716adac41cfe4ace0402520d39238fe999", 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 rayon-core v1.8.0 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling rayon v1.4.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Checking inflate v0.3.4 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking bincode v0.9.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking crossbeam-channel v0.4.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking png v0.11.0 [INFO] [stderr] Checking simba v0.2.0 [INFO] [stderr] Checking rayon v0.9.0 [INFO] [stderr] Checking nalgebra v0.22.0 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking image v0.18.0 [INFO] [stderr] Checking fingers v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Documenting 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::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::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::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::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: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::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: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [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] [stderr] error: Could not document `fingers`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type lib --crate-name fingers src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern bincode=/opt/rustwide/target/debug/deps/libbincode-e67c4544f62672f3.rmeta --extern byteorder=/opt/rustwide/target/debug/deps/libbyteorder-364c148656283980.rmeta --extern clap=/opt/rustwide/target/debug/deps/libclap-2623814d217669b4.rmeta --extern ctrlc=/opt/rustwide/target/debug/deps/libctrlc-ce1957a0fcc0dac8.rmeta --extern image=/opt/rustwide/target/debug/deps/libimage-399678f0c00e8140.rmeta --extern matrixmultiply=/opt/rustwide/target/debug/deps/libmatrixmultiply-d2c23d6002102d57.rmeta --extern nalgebra=/opt/rustwide/target/debug/deps/libnalgebra-899f78d12458a372.rmeta --extern rand=/opt/rustwide/target/debug/deps/librand-bf75191a5bb554a3.rmeta --extern rayon=/opt/rustwide/target/debug/deps/librayon-104d0ee8fe896939.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-ec5e695d7e4b5284.rmeta --extern serde_derive=/opt/rustwide/target/debug/deps/libserde_derive-e14ca5de376ec3cc.so --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-c4ec997ff5337c19.rmeta --cap-lints=warn --crate-version 0.1.0` (exit code: 1) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `na::Matrix>: serde::Serialize` is not satisfied [INFO] [stdout] --> src/nn.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | pub weights: Vec>, [INFO] [stdout] | ^^^ the trait `serde::Serialize` is not implemented for `na::Matrix>` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `serde::Serialize` for `std::vec::Vec>>` [INFO] [stdout] = note: required by `serde::ser::SerializeStruct::serialize_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `na::Matrix>: serde::Serialize` is not satisfied [INFO] [stdout] --> src/nn.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | pub biases: Vec>, [INFO] [stdout] | ^^^ the trait `serde::Serialize` is not implemented for `na::Matrix>` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `serde::Serialize` for `std::vec::Vec>>` [INFO] [stdout] = note: required by `serde::ser::SerializeStruct::serialize_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `na::Matrix>: serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/nn.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | pub weights: Vec>, [INFO] [stdout] | ^^^ the trait `serde::Deserialize<'_>` is not implemented for `na::Matrix>` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `serde::Deserialize<'_>` for `std::vec::Vec>>` [INFO] [stdout] = note: required by `serde::de::SeqAccess::next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `na::Matrix>: serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/nn.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | pub biases: Vec>, [INFO] [stdout] | ^^^ the trait `serde::Deserialize<'_>` is not implemented for `na::Matrix>` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `serde::Deserialize<'_>` for `std::vec::Vec>>` [INFO] [stdout] = note: required by `serde::de::SeqAccess::next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `na::Matrix>: serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/nn.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | pub weights: Vec>, [INFO] [stdout] | ^^^ the trait `serde::Deserialize<'_>` is not implemented for `na::Matrix>` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `serde::Deserialize<'_>` for `std::vec::Vec>>` [INFO] [stdout] = note: required by `serde::de::MapAccess::next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `na::Matrix>: serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/nn.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | pub biases: Vec>, [INFO] [stdout] | ^^^ the trait `serde::Deserialize<'_>` is not implemented for `na::Matrix>` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `serde::Deserialize<'_>` for `std::vec::Vec>>` [INFO] [stdout] = note: required by `serde::de::MapAccess::next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_zeros` found for struct `na::Matrix<_, na::Dynamic, na::Dynamic, na::VecStorage<_, na::Dynamic, na::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 `na::Matrix<_, na::Dynamic, na::Dynamic, na::VecStorage<_, na::Dynamic, na::Dynamic>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_zeros` found for struct `na::Matrix<_, na::Dynamic, na::U1, na::VecStorage<_, na::Dynamic, na::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 `na::Matrix<_, na::Dynamic, na::U1, na::VecStorage<_, na::Dynamic, na::U1>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_zeros` found for struct `na::Matrix<_, na::Dynamic, na::Dynamic, na::VecStorage<_, na::Dynamic, na::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 `na::Matrix<_, na::Dynamic, na::Dynamic, na::VecStorage<_, na::Dynamic, na::Dynamic>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_mut_vector` found for mutable reference `&mut na::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 `na::Matrix<_, na::Dynamic, na::U1, na::VecStorage<_, na::Dynamic, na::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 `na::Matrix<_, na::Dynamic, na::U1, na::VecStorage<_, na::Dynamic, na::U1>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_zeros` found for struct `na::Matrix<_, na::Dynamic, na::Dynamic, na::VecStorage<_, na::Dynamic, na::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 `na::Matrix<_, na::Dynamic, na::Dynamic, na::VecStorage<_, na::Dynamic, na::Dynamic>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_zeros` found for struct `na::Matrix<_, na::Dynamic, na::Dynamic, na::VecStorage<_, na::Dynamic, na::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 `na::Matrix<_, na::Dynamic, na::Dynamic, na::VecStorage<_, na::Dynamic, na::Dynamic>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_vector` found for reference `&na::Matrix>` in the current scope [INFO] [stdout] --> src/nn.rs:165:86 [INFO] [stdout] | [INFO] [stdout] 165 | ...| 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 `&na::Matrix>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `na::Matrix<_, na::Dynamic, na::U1, na::VecStorage<_, na::Dynamic, na::U1>>` has no field named `at` [INFO] [stdout] --> src/nn.rs:191:114 [INFO] [stdout] | [INFO] [stdout] 191 | ...o)| (DVector { at: i }, DVector { at: o })).collect()); [INFO] [stdout] | ^^ `na::Matrix<_, na::Dynamic, na::U1, na::VecStorage<_, na::Dynamic, na::U1>>` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `na::Matrix<_, na::Dynamic, na::U1, na::VecStorage<_, na::Dynamic, na::U1>>` has no field named `at` [INFO] [stdout] --> src/nn.rs:191:133 [INFO] [stdout] | [INFO] [stdout] 191 | ...i }, DVector { at: o })).collect()); [INFO] [stdout] | ^^ `na::Matrix<_, na::Dynamic, na::U1, na::VecStorage<_, na::Dynamic, na::U1>>` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `na::Matrix<_, na::Dynamic, na::U1, na::VecStorage<_, na::Dynamic, na::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] | ^^ `na::Matrix<_, na::Dynamic, na::U1, na::VecStorage<_, na::Dynamic, na::U1>>` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `na::Matrix<_, na::Dynamic, na::U1, na::VecStorage<_, na::Dynamic, na::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] | ^^ `na::Matrix<_, na::Dynamic, na::U1, na::VecStorage<_, na::Dynamic, na::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 `na::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 `na::Matrix>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `na::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] | ^^ `na::Matrix<_, na::Dynamic, na::U1, na::VecStorage<_, na::Dynamic, na::U1>>` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `na::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] | ^^ `na::Matrix<_, na::Dynamic, na::U1, na::VecStorage<_, na::Dynamic, na::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 `&na::Matrix>` to `na::Matrix>` [INFO] [stdout] --> src/nn.rs:316:15 [INFO] [stdout] | [INFO] [stdout] 316 | clone *= &self.weights[it + 1]; [INFO] [stdout] | ^^ no implementation for `na::Matrix> *= &na::Matrix>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::MulAssign<&na::Matrix>>` is not implemented for `na::Matrix>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `na::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 `na::Matrix>` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::iter::FromIterator` is not implemented for `na::Matrix>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `na::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 `na::Matrix>` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::iter::FromIterator` is not implemented for `na::Matrix>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `na::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 `na::Matrix>` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::iter::FromIterator` is not implemented for `na::Matrix>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `na::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 `na::Matrix>` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::iter::FromIterator` is not implemented for `na::Matrix>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_mut_vector` found for struct `na::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 `na::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 `na::Matrix>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_mut_vector` found for struct `na::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 `na::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 `na::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" "377e47dbff33c1ff2a0cebeead2222716adac41cfe4ace0402520d39238fe999", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "377e47dbff33c1ff2a0cebeead2222716adac41cfe4ace0402520d39238fe999", kill_on_drop: false }` [INFO] [stdout] 377e47dbff33c1ff2a0cebeead2222716adac41cfe4ace0402520d39238fe999