[INFO] cloning repository https://github.com/risboo6909/life-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/risboo6909/life-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frisboo6909%2Flife-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frisboo6909%2Flife-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 16b2522520ee627a9e863e2db315ec0d56591c1f [INFO] checking risboo6909/life-rs against try#b20a093d9fb1ffaa04ae9852cb034864a992bafd for pr-85073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frisboo6909%2Flife-rs" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/risboo6909/life-rs on toolchain b20a093d9fb1ffaa04ae9852cb034864a992bafd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/risboo6909/life-rs [INFO] finished tweaking git repo https://github.com/risboo6909/life-rs [INFO] tweaked toml for git repo https://github.com/risboo6909/life-rs written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/risboo6909/life-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "fetch" "--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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libloading v0.3.2 [INFO] [stderr] Downloaded x11-dl v2.12.0 [INFO] [stderr] Downloaded serde v0.9.9 [INFO] [stderr] Downloaded piston2d-opengl_graphics v0.36.2 [INFO] [stderr] Downloaded piston_window v0.60.0 [INFO] [stderr] Downloaded serde_json v0.9.8 [INFO] [stderr] Downloaded target_build_utils v0.3.0 [INFO] [stderr] Downloaded num-bigint v0.1.36 [INFO] [stderr] Downloaded piston-gfx_texture v0.19.0 [INFO] [stderr] Downloaded piston2d-gfx_graphics v0.34.1 [INFO] running `Command { std: "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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8268e87290b64229c4d4ed27f8803b606edfe4288a27cb9fa20fefebe58b4cf5 [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" "8268e87290b64229c4d4ed27f8803b606edfe4288a27cb9fa20fefebe58b4cf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8268e87290b64229c4d4ed27f8803b606edfe4288a27cb9fa20fefebe58b4cf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8268e87290b64229c4d4ed27f8803b606edfe4288a27cb9fa20fefebe58b4cf5", kill_on_drop: false }` [INFO] [stdout] 8268e87290b64229c4d4ed27f8803b606edfe4288a27cb9fa20fefebe58b4cf5 [INFO] running `Command { std: "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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0bfdf1dc7e78cba335b81a6024f7edb3bbadbdfe416709b04f9ac88b55a8fa61 [INFO] running `Command { std: "docker" "start" "-a" "0bfdf1dc7e78cba335b81a6024f7edb3bbadbdfe416709b04f9ac88b55a8fa61", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.20 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling siphasher v0.2.1 [INFO] [stderr] Compiling gcc v0.3.43 [INFO] [stderr] Compiling serde v0.9.9 [INFO] [stderr] Compiling khronos_api v1.0.0 [INFO] [stderr] Compiling itoa v0.3.1 [INFO] [stderr] Compiling num-traits v0.1.37 [INFO] [stderr] Compiling log v0.3.6 [INFO] [stderr] Compiling dtoa v0.4.1 [INFO] [stderr] Checking lazy_static v0.2.2 [INFO] [stderr] Checking piston-float v0.2.0 [INFO] [stderr] Checking bitflags v0.6.0 [INFO] [stderr] Checking shader_version v0.2.2 [INFO] [stderr] Checking odds v0.2.25 [INFO] [stderr] Checking color_quant v1.0.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking scoped_threadpool v0.1.7 [INFO] [stderr] Checking byteorder v0.4.2 [INFO] [stderr] Checking piston-texture v0.5.0 [INFO] [stderr] Checking read_color v0.1.0 [INFO] [stderr] Checking rustc-demangle v0.1.4 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking linked-hash-map v0.0.10 [INFO] [stderr] Checking interpolation v0.1.0 [INFO] [stderr] Checking piston-shaders_graphics2d v0.2.1 [INFO] [stderr] Checking piston-shaders_graphics2d v0.1.0 [INFO] [stderr] Checking unicode-segmentation v1.2.0 [INFO] [stderr] Checking bitflags v0.8.2 [INFO] [stderr] Checking find_folder v0.3.0 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking num_cpus v1.2.1 [INFO] [stderr] Checking time v0.1.36 [INFO] [stderr] Checking atty v0.2.2 [INFO] [stderr] Checking term_size v0.3.0 [INFO] [stderr] Compiling x11-dl v2.12.0 [INFO] [stderr] Compiling xml-rs v0.3.6 [INFO] [stderr] Checking piston-viewport v0.2.0 [INFO] [stderr] Checking vecmath v0.2.0 [INFO] [stderr] Checking draw_state v0.6.0 [INFO] [stderr] Compiling tempfile v2.1.5 [INFO] [stderr] Checking shared_library v0.1.5 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Checking gif v0.9.1 [INFO] [stderr] Compiling phf_shared v0.7.21 [INFO] [stderr] Checking pistoncore-input v0.15.0 [INFO] [stderr] Checking clap v2.24.2 [INFO] [stderr] Checking stb_truetype v0.2.0 [INFO] [stderr] Compiling xcb v0.7.6 [INFO] [stderr] Checking memmap v0.4.0 [INFO] [stderr] Compiling phf v0.7.21 [INFO] [stderr] Checking num-integer v0.1.33 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking nodrop v0.1.9 [INFO] [stderr] Checking num-iter v0.1.33 [INFO] [stderr] Checking arrayvec v0.3.20 [INFO] [stderr] Checking gfx_core v0.5.1 [INFO] [stderr] Checking deque v0.3.1 [INFO] [stderr] Checking num-bigint v0.1.36 [INFO] [stderr] Checking engine v0.1.0 (/opt/rustwide/workdir/engine) [INFO] [stderr] Checking piston2d-graphics v0.19.0 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> engine/src/board/vect/mod.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | iter: Box + 'a> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> engine/src/board/vect/mod.rs:112:38 [INFO] [stdout] | [INFO] [stdout] 112 | fn get_iter<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> engine/src/board/vect/mod.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn new() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn BoardInternal` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> engine/src/board/hashed.rs:59:38 [INFO] [stdout] | [INFO] [stdout] 59 | fn get_iter<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> engine/src/board/hashed.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn new() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn BoardInternal` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> engine/src/board/mod.rs:45:38 [INFO] [stdout] | [INFO] [stdout] 45 | fn get_iter<'a>(&'a self) -> Box + 'a>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> engine/src/board/mod.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | cells: Box, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn BoardInternal` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> engine/src/board/mod.rs:83:27 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn new(cells: Box, width: Option, height: Option) -> Board { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn BoardInternal` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> engine/src/board/mod.rs:250:20 [INFO] [stdout] | [INFO] [stdout] 250 | cell_iter: Box + 'a> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> engine/src/core/loader.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> engine/src/core/loader.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{BufRead, BufReader, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> engine/src/core/loader.rs:221:42 [INFO] [stdout] | [INFO] [stdout] 221 | fn filter_line<'a>(line: &'a str) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> engine/src/core/loader.rs:239:14 [INFO] [stdout] | [INFO] [stdout] 239 | match(c) { [INFO] [stdout] | ^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> engine/src/core/loader.rs:288:14 [INFO] [stdout] | [INFO] [stdout] 288 | match(c) { [INFO] [stdout] | ^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_hashed` in this scope [INFO] [stdout] --> engine/src/board/mod.rs:285:35 [INFO] [stdout] | [INFO] [stdout] 285 | let mut my_board = Board::new(new_hashed(), Some(10), Some(10)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_hashed` in this scope [INFO] [stdout] --> engine/src/board/mod.rs:313:35 [INFO] [stdout] | [INFO] [stdout] 313 | let mut my_board = Board::new(new_hashed(), Some(10), Some(10)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_hashed` in this scope [INFO] [stdout] --> engine/src/board/mod.rs:334:35 [INFO] [stdout] | [INFO] [stdout] 334 | let mut my_board = Board::new(new_hashed(), Some(10), Some(10)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_hashed` in this scope [INFO] [stdout] --> engine/src/board/mod.rs:376:35 [INFO] [stdout] | [INFO] [stdout] 376 | let mut my_board = Board::new(new_hashed(), Some(10), Some(10)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rayon v0.6.0 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> engine/src/board/vect/mod.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | iter: Box + 'a> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> engine/src/board/vect/mod.rs:112:38 [INFO] [stdout] | [INFO] [stdout] 112 | fn get_iter<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> engine/src/board/vect/mod.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn new() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn BoardInternal` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> engine/src/board/hashed.rs:59:38 [INFO] [stdout] | [INFO] [stdout] 59 | fn get_iter<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> engine/src/board/hashed.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn new() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn BoardInternal` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> engine/src/board/mod.rs:45:38 [INFO] [stdout] | [INFO] [stdout] 45 | fn get_iter<'a>(&'a self) -> Box + 'a>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> engine/src/board/mod.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | cells: Box, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn BoardInternal` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> engine/src/board/mod.rs:83:27 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn new(cells: Box, width: Option, height: Option) -> Board { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn BoardInternal` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> engine/src/board/mod.rs:250:20 [INFO] [stdout] | [INFO] [stdout] 250 | cell_iter: Box + 'a> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> engine/src/core/loader.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> engine/src/core/loader.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{BufRead, BufReader, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> engine/src/core/loader.rs:221:42 [INFO] [stdout] | [INFO] [stdout] 221 | fn filter_line<'a>(line: &'a str) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> engine/src/core/loader.rs:239:14 [INFO] [stdout] | [INFO] [stdout] 239 | match(c) { [INFO] [stdout] | ^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> engine/src/core/loader.rs:288:14 [INFO] [stdout] | [INFO] [stdout] 288 | match(c) { [INFO] [stdout] | ^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling miniz-sys v0.1.9 [INFO] [stderr] Compiling backtrace-sys v0.1.12 [INFO] [stdout] error[E0599]: the method `into_iter` exists for struct `Board`, but its trait bounds were not satisfied [INFO] [stdout] --> engine/src/board/mod.rs:323:54 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Board { [INFO] [stdout] | ---------------- [INFO] [stdout] | | [INFO] [stdout] | method `into_iter` not found for this [INFO] [stdout] | doesn't satisfy `Board: IntoIterator` [INFO] [stdout] | doesn't satisfy `Board: Iterator` [INFO] [stdout] ... [INFO] [stdout] 323 | for CellDesc { coord, is_alive, .. } in my_board.into_iter() { [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Board` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Board: Iterator` [INFO] [stdout] which is required by `Board: IntoIterator` [INFO] [stdout] `&Board: Iterator` [INFO] [stdout] which is required by `&Board: IntoIterator` [INFO] [stdout] `&mut Board: Iterator` [INFO] [stdout] which is required by `&mut Board: IntoIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gl_generator v0.5.2 [INFO] [stderr] Compiling wayland-scanner v0.7.8 [INFO] [stdout] warning: unused variable: `gen` [INFO] [stdout] --> engine/src/board/mod.rs:193:37 [INFO] [stdout] | [INFO] [stdout] 193 | &Cell::Occupied {gen} => *x, [INFO] [stdout] | ^^^ help: try ignoring the field: `gen: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> engine/src/core/loader.rs:255:21 [INFO] [stdout] | [INFO] [stdout] 255 | for idx in 0..repeat { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tmp` [INFO] [stdout] --> engine/src/core/loader.rs:355:13 [INFO] [stdout] | [INFO] [stdout] 355 | let tmp = rle_line.clone(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tmp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `engine` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> engine/src/core/loader.rs:226:28 [INFO] [stdout] | [INFO] [stdout] 226 | fn rle_decoder(line: &str, mut row: isize) -> Vec { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> engine/src/core/loader.rs:380:9 [INFO] [stdout] | [INFO] [stdout] 380 | let mut data_provider = FileInputProvider::new(file_name); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> engine/src/core/loader.rs:389:9 [INFO] [stdout] | [INFO] [stdout] 389 | let mut data_provider = StringDataProvider::new(input_string); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ValueString` [INFO] [stdout] --> engine/src/core/loader.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | ValueString(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `col:` in this pattern is redundant [INFO] [stdout] --> engine/src/board/mod.rs:94:19 [INFO] [stdout] | [INFO] [stdout] 94 | for Coord{col: col, row: row} in config_vec { [INFO] [stdout] | ^^^^^^^^ help: use shorthand field pattern: `col` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_shorthand_field_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `row:` in this pattern is redundant [INFO] [stdout] --> engine/src/board/mod.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | for Coord{col: col, row: row} in config_vec { [INFO] [stdout] | ^^^^^^^^ help: use shorthand field pattern: `row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0bfdf1dc7e78cba335b81a6024f7edb3bbadbdfe416709b04f9ac88b55a8fa61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bfdf1dc7e78cba335b81a6024f7edb3bbadbdfe416709b04f9ac88b55a8fa61", kill_on_drop: false }` [INFO] [stdout] 0bfdf1dc7e78cba335b81a6024f7edb3bbadbdfe416709b04f9ac88b55a8fa61