[INFO] updating cached repository https://github.com/seanchen1991/parallel-conway [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a0f6882ba5a6bceeef9fa0ef3eedff17f98653c [INFO] testing seanchen1991/parallel-conway against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseanchen1991%2Fparallel-conway" "/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/seanchen1991/parallel-conway on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-9/source/Cargo.toml [INFO] crate git repo https://github.com/seanchen1991/parallel-conway already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-9/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-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6751823d643ce61927750a01ebfea9b5b3418488838a5d37fc7d8072b79053e8 [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" "6751823d643ce61927750a01ebfea9b5b3418488838a5d37fc7d8072b79053e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6751823d643ce61927750a01ebfea9b5b3418488838a5d37fc7d8072b79053e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6751823d643ce61927750a01ebfea9b5b3418488838a5d37fc7d8072b79053e8", kill_on_drop: false }` [INFO] [stdout] 6751823d643ce61927750a01ebfea9b5b3418488838a5d37fc7d8072b79053e8 [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" "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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f975d386384bd74c8c48b25cd2c52c553c216ced3657f40ba42224252359100 [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" "3f975d386384bd74c8c48b25cd2c52c553c216ced3657f40ba42224252359100", kill_on_drop: false }` [INFO] [stderr] Compiling shader_version v0.3.0 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling piston-texture v0.6.0 [INFO] [stderr] Compiling piston-viewport v0.5.0 [INFO] [stderr] Compiling vecmath v0.3.1 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling tiff v0.2.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling pistoncore-input v0.23.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling png v0.12.0 [INFO] [stderr] Compiling wayland-client v0.21.13 [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 image v0.20.1 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling glutin v0.19.0 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling pistoncore-window v0.34.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.39.0 [INFO] [stderr] Compiling piston v0.39.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling winit v0.18.1 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.57.0 [INFO] [stderr] Compiling pistoncore-glutin_window v0.51.1 [INFO] [stderr] Compiling parallel-conway v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected identifier, found keyword `let` [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let let Err(error) = run() { [INFO] [stdout] | ^^^ expected identifier, found keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `;`, `=`, `@`, or `|`, found `Err` [INFO] [stdout] --> src/main.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let let Err(error) = run() { [INFO] [stdout] | ^^^ expected one of `:`, `;`, `=`, `@`, or `|` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `.` [INFO] [stdout] --> src/life.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 73 | match.rng.gen() { [INFO] [stdout] | -----^ expected expression [INFO] [stdout] | | [INFO] [stdout] | while parsing this match expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sdl2_window` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use sdl2_window::Sdl2Window as Window; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `sdl2_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/life.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 31 | / fn new_with_custom_rules( [INFO] [stdout] 32 | | rows: usize, [INFO] [stdout] 33 | | cols: usize, [INFO] [stdout] 34 | | born: Vec, [INFO] [stdout] ... | [INFO] [stdout] 38 | | let new_cells = (0..self.len()) [INFO] [stdout] | | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] ... | [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | } [INFO] [stdout] | |_____- this function doesn't have a `self` parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ResultExt` [INFO] [stdout] --> src/main.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use failure::{Error, ResultExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piston::input::*` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use piston::input::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piston::event_loop::*` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use piston::event_loop::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piston::window::WindowSettings` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use piston::window::WindowSettings; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/life.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter` [INFO] [stdout] --> src/life.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rng`, `thread_rng` [INFO] [stdout] --> src/life.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::{Rng, thread_rng}; [INFO] [stdout] | ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | fn run() -> Result<(), Error> { [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(), failure::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_par_iter` found for struct `std::ops::Range<{integer}>` in the current scope [INFO] [stdout] --> src/life.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | .into_par_iter() [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `std::ops::Range<{integer}>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use rayon::iter::IntoParallelIterator;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `life::Board` has no field named `width` [INFO] [stdout] --> src/life.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | width: self.width, [INFO] [stdout] | ^^^^^ `life::Board` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `cells`, `rows`, `cols`, `survive`, `born` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `width` on type `&life::Board` [INFO] [stdout] --> src/life.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | width: self.width, [INFO] [stdout] | ^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 60 | width: self.width(), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `life::Board` has no field named `height` [INFO] [stdout] --> src/life.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | height: self.height, [INFO] [stdout] | ^^^^^^ `life::Board` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `cells`, `rows`, `cols`, `survive`, `born` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `height` on type `&life::Board` [INFO] [stdout] --> src/life.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | height: self.height, [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 61 | height: self.height(), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_par_iter` found for struct `std::ops::Range` in the current scope [INFO] [stdout] --> src/life.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | .into_par_iter() [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `std::ops::Range` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use rayon::iter::IntoParallelIterator;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_par_iter` found for struct `std::ops::Range` in the current scope [INFO] [stdout] --> src/life.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 125 | .into_par_iter() [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `std::ops::Range` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use rayon::iter::IntoParallelIterator;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0424, E0432, E0560, E0599, E0615. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `parallel-conway`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "3f975d386384bd74c8c48b25cd2c52c553c216ced3657f40ba42224252359100", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f975d386384bd74c8c48b25cd2c52c553c216ced3657f40ba42224252359100", kill_on_drop: false }` [INFO] [stdout] 3f975d386384bd74c8c48b25cd2c52c553c216ced3657f40ba42224252359100