[INFO] cloning repository https://github.com/arnau/gol-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arnau/gol-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farnau%2Fgol-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farnau%2Fgol-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] be8eeeb7274a0c2fbc8f8db62a01088e60fc1c2f [INFO] checking arnau/gol-rs against master#05eac57ef6668c9d181b65aceb96b1e7881f60be for pr-127656 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farnau%2Fgol-rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/arnau/gol-rs on toolchain 05eac57ef6668c9d181b65aceb96b1e7881f60be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+05eac57ef6668c9d181b65aceb96b1e7881f60be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/arnau/gol-rs [INFO] finished tweaking git repo https://github.com/arnau/gol-rs [INFO] tweaked toml for git repo https://github.com/arnau/gol-rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/arnau/gol-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+05eac57ef6668c9d181b65aceb96b1e7881f60be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sdl2-sys v0.27.2 [INFO] [stderr] Downloaded xml-rs v0.3.5 [INFO] [stderr] Downloaded wayland-window v0.4.3 [INFO] [stderr] Downloaded x11-dl v2.12.0 [INFO] [stderr] Downloaded gleam v0.2.29 [INFO] [stderr] Downloaded gcc v0.3.41 [INFO] [stderr] Downloaded serde v0.8.21 [INFO] [stderr] Downloaded serde_json v0.8.4 [INFO] [stderr] Downloaded clippy v0.0.104 [INFO] [stderr] Downloaded clippy_lints v0.0.104 [INFO] [stderr] Downloaded glium v0.15.0 [INFO] [stderr] Downloaded unicode-normalization v0.1.3 [INFO] [stderr] Downloaded glutin v0.7.1 [INFO] [stderr] Downloaded sdl2 v0.27.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+05eac57ef6668c9d181b65aceb96b1e7881f60be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5bd8ff93ccdcc8c356deb15a77af4a2e05daab181d4cf2fb5c495a0c697d5dfe [INFO] running `Command { std: "docker" "start" "-a" "5bd8ff93ccdcc8c356deb15a77af4a2e05daab181d4cf2fb5c495a0c697d5dfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5bd8ff93ccdcc8c356deb15a77af4a2e05daab181d4cf2fb5c495a0c697d5dfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bd8ff93ccdcc8c356deb15a77af4a2e05daab181d4cf2fb5c495a0c697d5dfe", kill_on_drop: false }` [INFO] [stdout] 5bd8ff93ccdcc8c356deb15a77af4a2e05daab181d4cf2fb5c495a0c697d5dfe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+05eac57ef6668c9d181b65aceb96b1e7881f60be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39f5a63fbbec810be30e15b646fac15b6d131dfa0da24dae76cf35903a38a3d6 [INFO] running `Command { std: "docker" "start" "-a" "39f5a63fbbec810be30e15b646fac15b6d131dfa0da24dae76cf35903a38a3d6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Checking libc v0.2.18 [INFO] [stderr] Compiling phf_shared v0.7.20 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling serde v0.8.21 [INFO] [stderr] Compiling num-traits v0.1.36 [INFO] [stderr] Compiling itoa v0.1.1 [INFO] [stderr] Compiling xml-rs v0.3.5 [INFO] [stderr] Compiling dtoa v0.2.2 [INFO] [stderr] Checking lazy_static v0.2.2 [INFO] [stderr] Compiling phf v0.7.20 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling khronos_api v1.0.0 [INFO] [stderr] Compiling log v0.3.6 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling pkg-config v0.3.8 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Compiling gl_generator v0.5.2 [INFO] [stderr] Compiling wayland-scanner v0.7.6 [INFO] [stderr] Compiling tempfile v2.1.4 [INFO] [stderr] Compiling phf_generator v0.7.20 [INFO] [stderr] Compiling wayland-scanner v0.5.11 [INFO] [stderr] Compiling phf_codegen v0.7.20 [INFO] [stderr] Compiling x11-dl v2.12.0 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Compiling wayland-client v0.7.6 [INFO] [stderr] Compiling target_build_utils v0.1.2 [INFO] [stderr] Checking shared_library v0.1.5 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling gcc v0.3.41 [INFO] [stderr] Compiling wayland-client v0.5.12 [INFO] [stderr] Checking crossbeam v0.2.10 [INFO] [stderr] Checking num-integer v0.1.32 [INFO] [stderr] Compiling glutin v0.6.2 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking memmap v0.2.3 [INFO] [stderr] Checking memmap v0.4.0 [INFO] [stderr] Compiling serde_json v0.8.4 [INFO] [stderr] Compiling matrixmultiply v0.1.13 [INFO] [stderr] Compiling backtrace-sys v0.1.5 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Compiling sdl2-sys v0.27.2 [INFO] [stderr] Checking num-iter v0.1.32 [INFO] [stderr] Compiling glium v0.15.0 [INFO] [stderr] Compiling glutin v0.7.1 [INFO] [stderr] Checking cfg-if v0.1.0 [INFO] [stderr] Checking rustc-demangle v0.1.3 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Compiling ndarray v0.7.2 [INFO] [stderr] Checking either v1.0.2 [INFO] [stderr] Checking itertools v0.5.8 [INFO] [stderr] Checking num v0.1.36 [INFO] [stderr] Checking num-complex v0.1.35 [INFO] [stderr] Checking smallvec v0.1.8 [INFO] [stderr] Checking sdl2 v0.27.2 [INFO] [stderr] Compiling libloading v0.3.1 [INFO] [stderr] Checking dlib v0.3.1 [INFO] [stderr] Checking wayland-sys v0.7.6 [INFO] [stderr] Checking wayland-sys v0.5.11 [INFO] [stderr] Checking wayland-kbd v0.3.6 [INFO] [stderr] Checking wayland-window v0.2.3 [INFO] [stderr] Checking wayland-kbd v0.6.2 [INFO] [stderr] Checking wayland-window v0.4.3 [INFO] [stderr] Checking winit v0.5.6 [INFO] [stderr] Checking conway v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/grid.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | (true, 2...3) => cell.keep(), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GridItem` [INFO] [stdout] --> src/population.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use grid::{ Grid, GridItem, inc, dec }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/grid.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | (true, 2...3) => cell.keep(), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/population.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 91 | .iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 83 ~ IntoIterator::into_iter([(x, dec(y, size)), [INFO] [stdout] 84 | (x, inc(y, size)), [INFO] [stdout] ... [INFO] [stdout] 89 | (dec(x, size), inc(y, size)), [INFO] [stdout] 90 ~ (inc(x, size), inc(y, size))]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/community.rs:296:17 [INFO] [stdout] | [INFO] [stdout] 296 | &canvas.invert_axis(Axis(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 296 | let _ = &canvas.invert_axis(Axis(1)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/community.rs:303:17 [INFO] [stdout] | [INFO] [stdout] 303 | &canvas.invert_axis(Axis(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 303 | let _ = &canvas.invert_axis(Axis(0)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/community.rs:304:17 [INFO] [stdout] | [INFO] [stdout] 304 | &canvas.invert_axis(Axis(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 304 | let _ = &canvas.invert_axis(Axis(1)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/community.rs:308:17 [INFO] [stdout] | [INFO] [stdout] 308 | &canvas.invert_axis(Axis(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 308 | let _ = &canvas.invert_axis(Axis(1)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/community.rs:355:11 [INFO] [stdout] | [INFO] [stdout] 355 | ].into_iter().map(|&x| x.into()).collect(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 355 | ].iter().map(|&x| x.into()).collect(); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 339 ~ let raw: Vec = IntoIterator::into_iter([ [INFO] [stdout] 340 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, [INFO] [stdout] ... [INFO] [stdout] 354 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, [INFO] [stdout] 355 ~ ]).map(|&x| x.into()).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/community.rs:385:11 [INFO] [stdout] | [INFO] [stdout] 385 | ].into_iter().map(|&x| x.into()).collect(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 385 | ].iter().map(|&x| x.into()).collect(); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 368 ~ let raw: Vec = IntoIterator::into_iter([ [INFO] [stdout] 369 | 0, 0, 0, 0, 0, 0, 0, 0, 0, [INFO] [stdout] ... [INFO] [stdout] 384 | 0, 0, 0, 0, 0, 0, 0, 0, 0, [INFO] [stdout] 385 ~ ]).map(|&x| x.into()).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/community.rs:405:11 [INFO] [stdout] | [INFO] [stdout] 405 | ].into_iter().map(|&x| x.into()).collect(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 405 | ].iter().map(|&x| x.into()).collect(); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 399 ~ let raw: Vec = IntoIterator::into_iter([ [INFO] [stdout] 400 | 0, 1, 1, 1, 1, [INFO] [stdout] ... [INFO] [stdout] 404 | 0, 0, 0, 0, 0, [INFO] [stdout] 405 ~ ]).map(|&x| x.into()).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/community.rs:411:17 [INFO] [stdout] | [INFO] [stdout] 411 | &canvas.invert_axis(Axis(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 411 | let _ = &canvas.invert_axis(Axis(1)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/community.rs:415:17 [INFO] [stdout] | [INFO] [stdout] 415 | &canvas.invert_axis(Axis(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 415 | let _ = &canvas.invert_axis(Axis(1)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/population.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 91 | .iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 83 ~ IntoIterator::into_iter([(x, dec(y, size)), [INFO] [stdout] 84 | (x, inc(y, size)), [INFO] [stdout] ... [INFO] [stdout] 89 | (dec(x, size), inc(y, size)), [INFO] [stdout] 90 ~ (inc(x, size), inc(y, size))]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/community.rs:296:17 [INFO] [stdout] | [INFO] [stdout] 296 | &canvas.invert_axis(Axis(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 296 | let _ = &canvas.invert_axis(Axis(1)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/community.rs:303:17 [INFO] [stdout] | [INFO] [stdout] 303 | &canvas.invert_axis(Axis(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 303 | let _ = &canvas.invert_axis(Axis(0)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/community.rs:304:17 [INFO] [stdout] | [INFO] [stdout] 304 | &canvas.invert_axis(Axis(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 304 | let _ = &canvas.invert_axis(Axis(1)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/community.rs:308:17 [INFO] [stdout] | [INFO] [stdout] 308 | &canvas.invert_axis(Axis(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 308 | let _ = &canvas.invert_axis(Axis(1)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/community.rs:355:11 [INFO] [stdout] | [INFO] [stdout] 355 | ].into_iter().map(|&x| x.into()).collect(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 355 | ].iter().map(|&x| x.into()).collect(); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 339 ~ let raw: Vec = IntoIterator::into_iter([ [INFO] [stdout] 340 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, [INFO] [stdout] ... [INFO] [stdout] 354 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, [INFO] [stdout] 355 ~ ]).map(|&x| x.into()).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/community.rs:385:11 [INFO] [stdout] | [INFO] [stdout] 385 | ].into_iter().map(|&x| x.into()).collect(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 385 | ].iter().map(|&x| x.into()).collect(); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 368 ~ let raw: Vec = IntoIterator::into_iter([ [INFO] [stdout] 369 | 0, 0, 0, 0, 0, 0, 0, 0, 0, [INFO] [stdout] ... [INFO] [stdout] 384 | 0, 0, 0, 0, 0, 0, 0, 0, 0, [INFO] [stdout] 385 ~ ]).map(|&x| x.into()).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/community.rs:405:11 [INFO] [stdout] | [INFO] [stdout] 405 | ].into_iter().map(|&x| x.into()).collect(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 405 | ].iter().map(|&x| x.into()).collect(); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 399 ~ let raw: Vec = IntoIterator::into_iter([ [INFO] [stdout] 400 | 0, 1, 1, 1, 1, [INFO] [stdout] ... [INFO] [stdout] 404 | 0, 0, 0, 0, 0, [INFO] [stdout] 405 ~ ]).map(|&x| x.into()).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/community.rs:411:17 [INFO] [stdout] | [INFO] [stdout] 411 | &canvas.invert_axis(Axis(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 411 | let _ = &canvas.invert_axis(Axis(1)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/community.rs:415:17 [INFO] [stdout] | [INFO] [stdout] 415 | &canvas.invert_axis(Axis(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 415 | let _ = &canvas.invert_axis(Axis(1)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/ndarray.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate ndarray; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndarray::prelude::*` [INFO] [stdout] --> src/bin/ndarray.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ndarray::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conway::cell::Cell` [INFO] [stdout] --> src/bin/ndarray.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use conway::cell::Cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/ndarray.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate ndarray; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndarray::prelude::*` [INFO] [stdout] --> src/bin/ndarray.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ndarray::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conway::cell::Cell` [INFO] [stdout] --> src/bin/ndarray.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use conway::cell::Cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.44s [INFO] running `Command { std: "docker" "inspect" "39f5a63fbbec810be30e15b646fac15b6d131dfa0da24dae76cf35903a38a3d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39f5a63fbbec810be30e15b646fac15b6d131dfa0da24dae76cf35903a38a3d6", kill_on_drop: false }` [INFO] [stdout] 39f5a63fbbec810be30e15b646fac15b6d131dfa0da24dae76cf35903a38a3d6 [INFO] checking arnau/gol-rs against try#0c9c19b42881b7ee3d3f268d2369726c7f8dddfd for pr-127656 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farnau%2Fgol-rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/arnau/gol-rs on toolchain 0c9c19b42881b7ee3d3f268d2369726c7f8dddfd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c9c19b42881b7ee3d3f268d2369726c7f8dddfd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/arnau/gol-rs [INFO] finished tweaking git repo https://github.com/arnau/gol-rs [INFO] tweaked toml for git repo https://github.com/arnau/gol-rs written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/arnau/gol-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c9c19b42881b7ee3d3f268d2369726c7f8dddfd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+0c9c19b42881b7ee3d3f268d2369726c7f8dddfd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c4126993cd7ca5511122a8dd35f7a50cb3641024cf34ab8cd61d4837369c002 [INFO] running `Command { std: "docker" "start" "-a" "0c4126993cd7ca5511122a8dd35f7a50cb3641024cf34ab8cd61d4837369c002", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c4126993cd7ca5511122a8dd35f7a50cb3641024cf34ab8cd61d4837369c002", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c4126993cd7ca5511122a8dd35f7a50cb3641024cf34ab8cd61d4837369c002", kill_on_drop: false }` [INFO] [stdout] 0c4126993cd7ca5511122a8dd35f7a50cb3641024cf34ab8cd61d4837369c002 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+0c9c19b42881b7ee3d3f268d2369726c7f8dddfd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d01a501cd8e378c7b10d3181740911798b3701526555656c4bbb8023ad56ca1 [INFO] running `Command { std: "docker" "start" "-a" "7d01a501cd8e378c7b10d3181740911798b3701526555656c4bbb8023ad56ca1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling phf_shared v0.7.20 [INFO] [stderr] Checking libc v0.2.18 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking lazy_static v0.2.2 [INFO] [stderr] Compiling num-traits v0.1.36 [INFO] [stderr] Compiling dtoa v0.2.2 [INFO] [stdout] error[E0365]: extern crate `core` is private and cannot be re-exported [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bitflags-0.7.0/src/lib.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub use core as __core; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider making the `extern crate` item publicly accessible [INFO] [stdout] | [INFO] [stdout] 1 | pub // Copyright 2014 The Rust Project Developers. See the COPYRIGHT [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0365`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bitflags` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "7d01a501cd8e378c7b10d3181740911798b3701526555656c4bbb8023ad56ca1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d01a501cd8e378c7b10d3181740911798b3701526555656c4bbb8023ad56ca1", kill_on_drop: false }` [INFO] [stdout] 7d01a501cd8e378c7b10d3181740911798b3701526555656c4bbb8023ad56ca1