[INFO] updating cached repository https://github.com/benglard/RustyNet [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 9dd8d77427a33fb470bd56dc8830597edf80268b [INFO] testing benglard/RustyNet against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenglard%2FRustyNet" "/workspace/builds/worker-6/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/benglard/RustyNet on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/benglard/RustyNet [INFO] finished tweaking git repo https://github.com/benglard/RustyNet [INFO] tweaked toml for git repo https://github.com/benglard/RustyNet written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/benglard/RustyNet already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-6/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 `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8937173ec785f58619cf28e8ec05ab5041471b36916ad2e04e9987b1b8ead2cd [INFO] running `"docker" "start" "-a" "8937173ec785f58619cf28e8ec05ab5041471b36916ad2e04e9987b1b8ead2cd"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling RustyNet v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stderr] --> src/lib.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(collections)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rand::Rng` [INFO] [stderr] --> src/utilities.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use rand::Rng; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression [INFO] [stderr] --> src/utilities.rs:6:14 [INFO] [stderr] | [INFO] [stderr] 6 | for _ in (0 .. n) { [INFO] [stderr] | ^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression [INFO] [stderr] --> src/utilities.rs:14:14 [INFO] [stderr] | [INFO] [stderr] 14 | for _ in (0 .. n) { [INFO] [stderr] | ^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression [INFO] [stderr] --> src/utilities.rs:22:14 [INFO] [stderr] | [INFO] [stderr] 22 | for _ in (0 .. n) { [INFO] [stderr] | ^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/vol.rs:14:17 [INFO] [stderr] | [INFO] [stderr] 14 | let n = (sx * sy * depth); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression [INFO] [stderr] --> src/vol.rs:67:20 [INFO] [stderr] | [INFO] [stderr] 67 | for idx in (0 .. n) { [INFO] [stderr] | ^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression [INFO] [stderr] --> src/vol.rs:75:20 [INFO] [stderr] | [INFO] [stderr] 75 | for idx in (0 .. n) { [INFO] [stderr] | ^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression [INFO] [stderr] --> src/vol.rs:82:20 [INFO] [stderr] | [INFO] [stderr] 82 | for num in (0 .. self.w.len()) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression [INFO] [stderr] --> src/vol.rs:94:20 [INFO] [stderr] | [INFO] [stderr] 94 | for idx in (0 .. n) { [INFO] [stderr] | ^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unused import: `utilities` [INFO] [stderr] --> src/input_layer.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use utilities; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression [INFO] [stderr] --> src/linear_layer.rs:24:18 [INFO] [stderr] | [INFO] [stderr] 24 | for _ in (0 .. num_inputs) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression [INFO] [stderr] --> src/linear_layer.rs:59:18 [INFO] [stderr] | [INFO] [stderr] 59 | for i in (0 .. self.out_depth) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression [INFO] [stderr] --> src/linear_layer.rs:63:22 [INFO] [stderr] | [INFO] [stderr] 63 | for d in (0 .. self.num_inputs) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression [INFO] [stderr] --> src/linear_layer.rs:80:18 [INFO] [stderr] | [INFO] [stderr] 80 | for i in (0 .. self.out_depth) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression [INFO] [stderr] --> src/linear_layer.rs:85:22 [INFO] [stderr] | [INFO] [stderr] 85 | for d in (0 .. self.num_inputs) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/input_layer.rs:22:41 [INFO] [stderr] | [INFO] [stderr] 22 | layer_type: string::String::from_str("input"), [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/linear_layer.rs:41:41 [INFO] [stderr] | [INFO] [stderr] 41 | layer_type: string::String::from_str("linear"), [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 15 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0554, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0554`. [INFO] [stderr] error: could not compile `RustyNet`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "8937173ec785f58619cf28e8ec05ab5041471b36916ad2e04e9987b1b8ead2cd"` [INFO] running `"docker" "rm" "-f" "8937173ec785f58619cf28e8ec05ab5041471b36916ad2e04e9987b1b8ead2cd"` [INFO] [stdout] 8937173ec785f58619cf28e8ec05ab5041471b36916ad2e04e9987b1b8ead2cd