[INFO] updating cached repository https://github.com/seanchen1991/parallel-conway [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] 2a0f6882ba5a6bceeef9fa0ef3eedff17f98653c [INFO] testing seanchen1991/parallel-conway against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseanchen1991%2Fparallel-conway" "/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/seanchen1991/parallel-conway 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/seanchen1991/parallel-conway [INFO] finished tweaking git repo https://github.com/seanchen1991/parallel-conway [INFO] tweaked toml for git repo https://github.com/seanchen1991/parallel-conway written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/seanchen1991/parallel-conway 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-2/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-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=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] 0e31f2a61604ea8738a9740c5e6a80e9c8c88724ade8d07ac7103afa28638fc8 [INFO] running `"docker" "start" "-a" "0e31f2a61604ea8738a9740c5e6a80e9c8c88724ade8d07ac7103afa28638fc8"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling png v0.12.0 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling tiff v0.2.2 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling piston2d-graphics v0.28.0 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling image v0.20.1 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling glutin v0.19.0 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.57.0 [INFO] [stderr] Compiling pistoncore-input v0.23.0 [INFO] [stderr] Compiling pistoncore-window v0.34.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling pistoncore-event_loop v0.39.0 [INFO] [stderr] Compiling piston v0.39.0 [INFO] [stderr] Compiling winit v0.18.1 [INFO] [stderr] Compiling pistoncore-glutin_window v0.51.1 [INFO] [stderr] Compiling parallel-conway v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: expected identifier, found keyword `let` [INFO] [stderr] --> src/main.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | let let Err(error) = run() { [INFO] [stderr] | ^^^ expected identifier, found keyword [INFO] [stderr] [INFO] [stderr] error: expected one of `:`, `;`, `=`, `@`, or `|`, found `Err` [INFO] [stderr] --> src/main.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | let let Err(error) = run() { [INFO] [stderr] | ^^^ expected one of `:`, `;`, `=`, `@`, or `|` [INFO] [stderr] [INFO] [stderr] error: expected expression, found `.` [INFO] [stderr] --> src/life.rs:73:22 [INFO] [stderr] | [INFO] [stderr] 73 | match.rng.gen() { [INFO] [stderr] | -----^ expected expression [INFO] [stderr] | | [INFO] [stderr] | while parsing this match expression [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sdl2_window` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use sdl2_window::Sdl2Window as Window; [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `sdl2_window` [INFO] [stderr] [INFO] [stderr] error[E0424]: expected value, found module `self` [INFO] [stderr] --> src/life.rs:38:29 [INFO] [stderr] | [INFO] [stderr] 31 | / fn new_with_custom_rules( [INFO] [stderr] 32 | | rows: usize, [INFO] [stderr] 33 | | cols: usize, [INFO] [stderr] 34 | | born: Vec, [INFO] [stderr] ... | [INFO] [stderr] 38 | | let new_cells = (0..self.len()) [INFO] [stderr] | | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stderr] ... | [INFO] [stderr] 50 | | } [INFO] [stderr] 51 | | } [INFO] [stderr] | |_____- this function doesn't have a `self` parameter [INFO] [stderr] [INFO] [stderr] warning: unused import: `ResultExt` [INFO] [stderr] --> src/main.rs:1:22 [INFO] [stderr] | [INFO] [stderr] 1 | use failure::{Error, ResultExt}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `piston::input::*` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use piston::input::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `piston::event_loop::*` [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use piston::event_loop::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `piston::window::WindowSettings` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use piston::window::WindowSettings; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fmt` [INFO] [stderr] --> src/life.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::fmt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::iter` [INFO] [stderr] --> src/life.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::iter; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Rng`, `thread_rng` [INFO] [stderr] --> src/life.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | use rand::{Rng, thread_rng}; [INFO] [stderr] | ^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:36:13 [INFO] [stderr] | [INFO] [stderr] 36 | fn run() -> Result<(), Error> { [INFO] [stderr] | --- ^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found `()` [INFO] [stderr] | | [INFO] [stderr] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stderr] | [INFO] [stderr] = note: expected enum `std::result::Result<(), failure::error::Error>` [INFO] [stderr] found unit type `()` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `into_par_iter` found for struct `std::ops::Range<{integer}>` in the current scope [INFO] [stderr] --> src/life.rs:39:14 [INFO] [stderr] | [INFO] [stderr] 39 | .into_par_iter() [INFO] [stderr] | ^^^^^^^^^^^^^ method not found in `std::ops::Range<{integer}>` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rayon-1.3.0/src/iter/mod.rs:226:8 [INFO] [stderr] | [INFO] [stderr] 226 | fn into_par_iter(self) -> Self::Iter; [INFO] [stderr] | ------------- [INFO] [stderr] | | [INFO] [stderr] | the method is available for `std::boxed::Box>` here [INFO] [stderr] | the method is available for `std::sync::Arc>` here [INFO] [stderr] | the method is available for `std::rc::Rc>` here [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 rayon::iter::IntoParallelIterator;` [INFO] [stderr] [INFO] [stderr] error[E0560]: struct `life::Board` has no field named `width` [INFO] [stderr] --> src/life.rs:60:13 [INFO] [stderr] | [INFO] [stderr] 60 | width: self.width, [INFO] [stderr] | ^^^^^ `life::Board` does not have this field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `cells`, `rows`, `cols`, `survive`, `born` [INFO] [stderr] [INFO] [stderr] error[E0615]: attempted to take value of method `width` on type `&life::Board` [INFO] [stderr] --> src/life.rs:60:25 [INFO] [stderr] | [INFO] [stderr] 60 | width: self.width, [INFO] [stderr] | ^^^^^ method, not a field [INFO] [stderr] | [INFO] [stderr] help: use parentheses to call the method [INFO] [stderr] | [INFO] [stderr] 60 | width: self.width(), [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] error[E0560]: struct `life::Board` has no field named `height` [INFO] [stderr] --> src/life.rs:61:13 [INFO] [stderr] | [INFO] [stderr] 61 | height: self.height, [INFO] [stderr] | ^^^^^^ `life::Board` does not have this field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `cells`, `rows`, `cols`, `survive`, `born` [INFO] [stderr] [INFO] [stderr] error[E0615]: attempted to take value of method `height` on type `&life::Board` [INFO] [stderr] --> src/life.rs:61:26 [INFO] [stderr] | [INFO] [stderr] 61 | height: self.height, [INFO] [stderr] | ^^^^^^ method, not a field [INFO] [stderr] | [INFO] [stderr] help: use parentheses to call the method [INFO] [stderr] | [INFO] [stderr] 61 | height: self.height(), [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `into_par_iter` found for struct `std::ops::Range` in the current scope [INFO] [stderr] --> src/life.rs:71:14 [INFO] [stderr] | [INFO] [stderr] 71 | .into_par_iter() [INFO] [stderr] | ^^^^^^^^^^^^^ method not found in `std::ops::Range` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rayon-1.3.0/src/iter/mod.rs:226:8 [INFO] [stderr] | [INFO] [stderr] 226 | fn into_par_iter(self) -> Self::Iter; [INFO] [stderr] | ------------- [INFO] [stderr] | | [INFO] [stderr] | the method is available for `std::boxed::Box>` here [INFO] [stderr] | the method is available for `std::sync::Arc>` here [INFO] [stderr] | the method is available for `std::rc::Rc>` here [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 rayon::iter::IntoParallelIterator;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `into_par_iter` found for struct `std::ops::Range` in the current scope [INFO] [stderr] --> src/life.rs:125:14 [INFO] [stderr] | [INFO] [stderr] 125 | .into_par_iter() [INFO] [stderr] | ^^^^^^^^^^^^^ method not found in `std::ops::Range` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rayon-1.3.0/src/iter/mod.rs:226:8 [INFO] [stderr] | [INFO] [stderr] 226 | fn into_par_iter(self) -> Self::Iter; [INFO] [stderr] | ------------- [INFO] [stderr] | | [INFO] [stderr] | the method is available for `std::boxed::Box>` here [INFO] [stderr] | the method is available for `std::sync::Arc>` here [INFO] [stderr] | the method is available for `std::rc::Rc>` here [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 rayon::iter::IntoParallelIterator;` [INFO] [stderr] [INFO] [stderr] error: aborting due to 13 previous errors; 7 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0424, E0432, E0560, E0599, E0615. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `parallel-conway`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "0e31f2a61604ea8738a9740c5e6a80e9c8c88724ade8d07ac7103afa28638fc8"` [INFO] running `"docker" "rm" "-f" "0e31f2a61604ea8738a9740c5e6a80e9c8c88724ade8d07ac7103afa28638fc8"` [INFO] [stdout] 0e31f2a61604ea8738a9740c5e6a80e9c8c88724ade8d07ac7103afa28638fc8