[INFO] cloning 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" "clone" "--bare" "https://github.com/seanchen1991/parallel-conway" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseanchen1991%2Fparallel-conway", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseanchen1991%2Fparallel-conway'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a0f6882ba5a6bceeef9fa0ef3eedff17f98653c [INFO] checking seanchen1991/parallel-conway against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseanchen1991%2Fparallel-conway" "/workspace/builds/worker-106/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-106/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/seanchen1991/parallel-conway on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-106/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pistoncore-window v0.34.0 [INFO] [stderr] Downloaded arrayvec v0.4.9 [INFO] [stderr] Downloaded pistoncore-glutin_window v0.51.1 [INFO] [stderr] Downloaded pistoncore-event_loop v0.39.0 [INFO] [stderr] Downloaded piston v0.39.0 [INFO] [stderr] Downloaded pistoncore-input v0.23.0 [INFO] [stderr] Downloaded object v0.26.1 [INFO] [stderr] Downloaded piston2d-opengl_graphics v0.57.0 [INFO] [stderr] Downloaded rustc-demangle v0.1.21 [INFO] [stderr] Downloaded serde_derive v1.0.82 [INFO] [stderr] Downloaded piston2d-graphics v0.28.0 [INFO] [stderr] Downloaded serde v1.0.82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f096d8137cdf905e99b7dc15e883d3ebf26b3ca2137a23acbd6c4f5bacefaedc [INFO] running `Command { std: "docker" "start" "-a" "f096d8137cdf905e99b7dc15e883d3ebf26b3ca2137a23acbd6c4f5bacefaedc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f096d8137cdf905e99b7dc15e883d3ebf26b3ca2137a23acbd6c4f5bacefaedc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f096d8137cdf905e99b7dc15e883d3ebf26b3ca2137a23acbd6c4f5bacefaedc", kill_on_drop: false }` [INFO] [stdout] f096d8137cdf905e99b7dc15e883d3ebf26b3ca2137a23acbd6c4f5bacefaedc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c967d505d2180381ebdfa4580ba5243bd9814a53fe8b98bc1f476d95ecb6af3b [INFO] running `Command { std: "docker" "start" "-a" "c967d505d2180381ebdfa4580ba5243bd9814a53fe8b98bc1f476d95ecb6af3b", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking piston-float v0.3.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling arrayvec v0.4.9 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling serde v1.0.82 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking shader_version v0.3.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking gimli v0.25.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking interpolation v0.1.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking piston-texture v0.6.0 [INFO] [stderr] Checking read_color v1.0.0 [INFO] [stderr] Checking piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking piston-viewport v0.5.0 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.0 [INFO] [stderr] Checking vecmath v0.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking object v0.26.1 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling rand_chacha v0.1.0 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling rand v0.6.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Checking num_cpus v1.9.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking time v0.1.41 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling glutin v0.19.0 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking piston2d-graphics v0.28.0 [INFO] [stderr] Checking addr2line v0.16.0 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Compiling serde_derive v1.0.82 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Checking tiff v0.2.2 [INFO] [stderr] Checking image v0.20.1 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking piston2d-opengl_graphics v0.57.0 [INFO] [stderr] Checking pistoncore-input v0.23.0 [INFO] [stderr] Checking pistoncore-window v0.34.0 [INFO] [stderr] Checking pistoncore-event_loop v0.39.0 [INFO] [stderr] Checking piston v0.39.0 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking winit v0.18.1 [INFO] [stderr] Checking pistoncore-glutin_window v0.51.1 [INFO] [stderr] Checking parallel-conway v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [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 crate 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] | --------------------- this function doesn't have a `self` parameter [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] help: add a `self` receiver parameter to make the associated `fn` a method [INFO] [stdout] | [INFO] [stdout] 32 | &self, rows: usize, [INFO] [stdout] | ++++++ [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 `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), failure::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [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[E0599]: no method named `into_par_iter` found for struct `std::ops::Range` 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] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rayon-1.0.3/src/iter/mod.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | fn into_par_iter(self) -> Self::Iter; [INFO] [stdout] | ------------- the method is available for `std::ops::Range<{integer}>` here [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 `Board` has no field named `width` [INFO] [stdout] --> src/life.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | width: self.width, [INFO] [stdout] | ^^^^^ `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 `&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 `Board` has no field named `height` [INFO] [stdout] --> src/life.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | height: self.height, [INFO] [stdout] | ^^^^^^ `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 `&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[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 crate 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] | --------------------- this function doesn't have a `self` parameter [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] help: add a `self` receiver parameter to make the associated `fn` a method [INFO] [stdout] | [INFO] [stdout] 32 | &self, rows: usize, [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] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rayon-1.0.3/src/iter/mod.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | fn into_par_iter(self) -> Self::Iter; [INFO] [stdout] | ------------- the method is available for `std::ops::Range` here [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] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rayon-1.0.3/src/iter/mod.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | fn into_par_iter(self) -> Self::Iter; [INFO] [stdout] | ------------- the method is available for `std::ops::Range` here [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] [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] [stderr] error: could not compile `parallel-conway` due to 14 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `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` 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] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rayon-1.0.3/src/iter/mod.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | fn into_par_iter(self) -> Self::Iter; [INFO] [stdout] | ------------- the method is available for `std::ops::Range<{integer}>` here [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 `Board` has no field named `width` [INFO] [stdout] --> src/life.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | width: self.width, [INFO] [stdout] | ^^^^^ `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 `&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 `Board` has no field named `height` [INFO] [stdout] --> src/life.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | height: self.height, [INFO] [stdout] | ^^^^^^ `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 `&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] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rayon-1.0.3/src/iter/mod.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | fn into_par_iter(self) -> Self::Iter; [INFO] [stdout] | ------------- the method is available for `std::ops::Range` here [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] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rayon-1.0.3/src/iter/mod.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | fn into_par_iter(self) -> Self::Iter; [INFO] [stdout] | ------------- the method is available for `std::ops::Range` here [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: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "c967d505d2180381ebdfa4580ba5243bd9814a53fe8b98bc1f476d95ecb6af3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c967d505d2180381ebdfa4580ba5243bd9814a53fe8b98bc1f476d95ecb6af3b", kill_on_drop: false }` [INFO] [stdout] c967d505d2180381ebdfa4580ba5243bd9814a53fe8b98bc1f476d95ecb6af3b