[INFO] cloning repository https://github.com/corka149/simple_neural_network [INFO] running `"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"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcorka149%2Fsimple_neural_network'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] a84a0fbfb7483b1e8f59e1e7e0278565251d61ca [INFO] checking corka149/simple_neural_network against beta-2019-10-27 for pr-65897 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcorka149%2Fsimple_neural_network" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/corka149/simple_neural_network on toolchain beta-2019-10-27 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "read-manifest" "--manifest-path" "Cargo.toml"` [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-2/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 `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-10-27" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2642beea84d99aa0503b74386fb7647123565f3bf0ecb771d206c2c332516833 [INFO] running `"docker" "start" "-a" "2642beea84d99aa0503b74386fb7647123565f3bf0ecb771d206c2c332516833"` [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] [stderr] error[E0425]: cannot find function `transpose_matrix` in this scope [INFO] [stderr] --> src/matrix/math.rs:144:21 [INFO] [stderr] | [INFO] [stderr] 144 | let new_a = transpose_matrix(&a); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `test_transpose_matrix` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `input_nodes` on type `NeuralNetwork<[closure@src/lib.rs:134:51: 134:62]>` [INFO] [stderr] --> src/lib.rs:136:23 [INFO] [stderr] | [INFO] [stderr] 136 | assert_eq!(nn.input_nodes, 3); [INFO] [stderr] | ^^^^^^^^^^^ unknown field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `learning_rate`, `activation_function`, `wih`, `who` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `hidden_nodes` on type `NeuralNetwork<[closure@src/lib.rs:134:51: 134:62]>` [INFO] [stderr] --> src/lib.rs:137:23 [INFO] [stderr] | [INFO] [stderr] 137 | assert_eq!(nn.hidden_nodes, 3); [INFO] [stderr] | ^^^^^^^^^^^^ unknown field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `learning_rate`, `activation_function`, `wih`, `who` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `output_nodes` on type `NeuralNetwork<[closure@src/lib.rs:134:51: 134:62]>` [INFO] [stderr] --> src/lib.rs:138:23 [INFO] [stderr] | [INFO] [stderr] 138 | assert_eq!(nn.output_nodes, 3); [INFO] [stderr] | ^^^^^^^^^^^^ unknown field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `learning_rate`, `activation_function`, `wih`, `who` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `len` found for type `matrix::Matrix` in the current scope [INFO] [stderr] --> src/matrix/mod.rs:155:24 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct Matrix { [INFO] [stderr] | ----------------- method `len` not found for this [INFO] [stderr] ... [INFO] [stderr] 155 | assert_eq!(vec.len(), 4); [INFO] [stderr] | ^^^ method not found in `matrix::Matrix` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `len`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `std::iter::ExactSizeIterator` [INFO] [stderr] [INFO] [stderr] error[E0608]: cannot index into a value of type `matrix::Matrix` [INFO] [stderr] --> src/matrix/mod.rs:156:20 [INFO] [stderr] | [INFO] [stderr] 156 | assert_eq!(vec[0].len(), 3); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0599, E0608, E0609. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `neural_network`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "2642beea84d99aa0503b74386fb7647123565f3bf0ecb771d206c2c332516833"` [INFO] running `"docker" "rm" "-f" "2642beea84d99aa0503b74386fb7647123565f3bf0ecb771d206c2c332516833"` [INFO] [stdout] 2642beea84d99aa0503b74386fb7647123565f3bf0ecb771d206c2c332516833