[INFO] cloning repository https://github.com/corka149/simple_neural_network [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/corka149/simple_neural_network" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcorka149%2Fsimple_neural_network", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcorka149%2Fsimple_neural_network'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a84a0fbfb7483b1e8f59e1e7e0278565251d61ca [INFO] checking corka149/simple_neural_network against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcorka149%2Fsimple_neural_network" "/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/corka149/simple_neural_network on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/corka149/simple_neural_network [INFO] finished tweaking git repo https://github.com/corka149/simple_neural_network [INFO] tweaked toml for git repo https://github.com/corka149/simple_neural_network written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/corka149/simple_neural_network already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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] 28cd2240bb314ddb54f81c4b7a94d910ceaeeff798734548c17e7f77b215bb83 [INFO] running `Command { std: "docker" "start" "-a" "28cd2240bb314ddb54f81c4b7a94d910ceaeeff798734548c17e7f77b215bb83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28cd2240bb314ddb54f81c4b7a94d910ceaeeff798734548c17e7f77b215bb83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28cd2240bb314ddb54f81c4b7a94d910ceaeeff798734548c17e7f77b215bb83", kill_on_drop: false }` [INFO] [stdout] 28cd2240bb314ddb54f81c4b7a94d910ceaeeff798734548c17e7f77b215bb83 [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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] cb612a9c30d309d2099bf7354fa4283aa57bb66e44608312d8e639f64d9cfb5d [INFO] running `Command { std: "docker" "start" "-a" "cb612a9c30d309d2099bf7354fa4283aa57bb66e44608312d8e639f64d9cfb5d", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.31 [INFO] [stderr] Checking num v0.1.40 [INFO] [stderr] Checking time v0.1.38 [INFO] [stderr] Checking rand v0.3.16 [INFO] [stderr] Checking chrono v0.4.0 [INFO] [stderr] Checking neural_network v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/util.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | (1.0 / (1.0 + E.powf(-x))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/matrix/error.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `transpose_matrix` in this scope [INFO] [stdout] --> src/matrix/math.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 144 | let new_a = transpose_matrix(&a); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/util.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | (1.0 / (1.0 + E.powf(-x))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/matrix/math.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/matrix/error.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `input_nodes` on type `NeuralNetwork<[closure@src/lib.rs:134:51: 134:62]>` [INFO] [stdout] --> src/lib.rs:136:23 [INFO] [stdout] | [INFO] [stdout] 136 | assert_eq!(nn.input_nodes, 3); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `learning_rate`, `activation_function`, `wih`, `who` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `hidden_nodes` on type `NeuralNetwork<[closure@src/lib.rs:134:51: 134:62]>` [INFO] [stdout] --> src/lib.rs:137:23 [INFO] [stdout] | [INFO] [stdout] 137 | assert_eq!(nn.hidden_nodes, 3); [INFO] [stdout] | ^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `learning_rate`, `activation_function`, `wih`, `who` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `output_nodes` on type `NeuralNetwork<[closure@src/lib.rs:134:51: 134:62]>` [INFO] [stdout] --> src/lib.rs:138:23 [INFO] [stdout] | [INFO] [stdout] 138 | assert_eq!(nn.output_nodes, 3); [INFO] [stdout] | ^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `learning_rate`, `activation_function`, `wih`, `who` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for struct `matrix::Matrix` in the current scope [INFO] [stdout] --> src/matrix/mod.rs:155:24 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Matrix { [INFO] [stdout] | ----------------- method `len` not found for this [INFO] [stdout] ... [INFO] [stdout] 155 | assert_eq!(vec.len(), 4); [INFO] [stdout] | ^^^ method not found in `matrix::Matrix` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `len`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ExactSizeIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `matrix::Matrix` [INFO] [stdout] --> src/matrix/mod.rs:156:20 [INFO] [stdout] | [INFO] [stdout] 156 | assert_eq!(vec[0].len(), 3); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0599, E0608, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `neural_network` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "cb612a9c30d309d2099bf7354fa4283aa57bb66e44608312d8e639f64d9cfb5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb612a9c30d309d2099bf7354fa4283aa57bb66e44608312d8e639f64d9cfb5d", kill_on_drop: false }` [INFO] [stdout] cb612a9c30d309d2099bf7354fa4283aa57bb66e44608312d8e639f64d9cfb5d