[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] testing risboo6909/life-rs against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frisboo6909%2Flife-rs" "/workspace/builds/worker-63/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-63/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/risboo6909/life-rs on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "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-63/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" "+62efba8a050c64249dab942951bb28f710208bc8" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 74f3e26eb6a1256f1aad9cee8d7b38d223fbb8c6237b410bc93cf77bf3b751f4 [INFO] running `Command { std: "docker" "start" "-a" "74f3e26eb6a1256f1aad9cee8d7b38d223fbb8c6237b410bc93cf77bf3b751f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74f3e26eb6a1256f1aad9cee8d7b38d223fbb8c6237b410bc93cf77bf3b751f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74f3e26eb6a1256f1aad9cee8d7b38d223fbb8c6237b410bc93cf77bf3b751f4", kill_on_drop: false }` [INFO] [stdout] 74f3e26eb6a1256f1aad9cee8d7b38d223fbb8c6237b410bc93cf77bf3b751f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] efb995b67397309092c11496f08119311af61baa943310cc0a395217c666f2d2 [INFO] running `Command { std: "docker" "start" "-a" "efb995b67397309092c11496f08119311af61baa943310cc0a395217c666f2d2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.20 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling num-traits v0.1.37 [INFO] [stderr] Compiling siphasher v0.2.1 [INFO] [stderr] Compiling gcc v0.3.43 [INFO] [stderr] Compiling serde v0.9.9 [INFO] [stderr] Compiling dtoa v0.4.1 [INFO] [stderr] Compiling itoa v0.3.1 [INFO] [stderr] Compiling lazy_static v0.2.2 [INFO] [stderr] Compiling rustc-serialize v0.3.22 [INFO] [stderr] Compiling piston-float v0.2.0 [INFO] [stderr] Compiling byteorder v1.0.0 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling shader_version v0.2.2 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling bitflags v0.6.0 [INFO] [stderr] Compiling odds v0.2.25 [INFO] [stderr] Compiling inflate v0.1.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.7 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling byteorder v0.4.2 [INFO] [stderr] Compiling piston-texture v0.5.0 [INFO] [stderr] Compiling rustc-demangle v0.1.4 [INFO] [stderr] Compiling interpolation v0.1.0 [INFO] [stderr] Compiling linked-hash-map v0.0.10 [INFO] [stderr] Compiling read_color v0.1.0 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.2.1 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.1.0 [INFO] [stderr] Compiling fnv v1.0.5 [INFO] [stderr] Compiling bitflags v0.8.2 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling unicode-segmentation v1.2.0 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling find_folder v0.3.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling gif v0.9.1 [INFO] [stderr] Compiling piston-viewport v0.2.0 [INFO] [stderr] Compiling vecmath v0.2.0 [INFO] [stderr] Compiling xml-rs v0.3.6 [INFO] [stderr] Compiling phf_shared v0.7.21 [INFO] [stderr] Compiling stb_truetype v0.2.0 [INFO] [stderr] Compiling nodrop v0.1.9 [INFO] [stderr] Compiling phf v0.7.21 [INFO] [stderr] Compiling num-integer v0.1.33 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling num_cpus v1.2.1 [INFO] [stderr] Compiling fs2 v0.2.5 [INFO] [stderr] Compiling shared_library v0.1.5 [INFO] [stderr] Compiling time v0.1.36 [INFO] [stderr] Compiling term_size v0.3.0 [INFO] [stderr] Compiling atty v0.2.2 [INFO] [stderr] Compiling draw_state v0.6.0 [INFO] [stderr] Compiling x11-dl v2.12.0 [INFO] [stderr] Compiling xcb v0.7.6 [INFO] [stderr] Compiling tempfile v2.1.5 [INFO] [stderr] Compiling miniz-sys v0.1.9 [INFO] [stderr] Compiling backtrace-sys v0.1.12 [INFO] [stderr] Compiling piston2d-graphics v0.19.0 [INFO] [stderr] Compiling arrayvec v0.3.20 [INFO] [stderr] Compiling serde_json v0.9.8 [INFO] [stderr] Compiling pistoncore-input v0.15.0 [INFO] [stderr] Compiling gl_generator v0.5.2 [INFO] [stderr] Compiling wayland-scanner v0.7.8 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling num-iter v0.1.33 [INFO] [stderr] Compiling gfx_core v0.5.1 [INFO] [stderr] Compiling phf_generator v0.7.21 [INFO] [stderr] Compiling deque v0.3.1 [INFO] [stderr] Compiling num-bigint v0.1.36 [INFO] [stderr] Compiling engine v0.1.0 (/opt/rustwide/workdir/engine) [INFO] [stderr] Compiling memmap v0.4.0 [INFO] [stderr] Compiling clap v2.24.2 [INFO] [stderr] error: failed to run custom build command for `xcb v0.7.6` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/xcb-94c6e4efe7cefb62/build-script-build` (exit status: 101) [INFO] [stderr] --- stderr [INFO] [stderr] error occured in handler: ('request: ', ('xcb', 'NoOperation')) [INFO] [stderr] Traceback (most recent call last): [INFO] [stderr] File "/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/xcb-0.7.6/rs_client.py", line 2401, in [INFO] [stderr] module.generate() [INFO] [stderr] File "/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/xcb-0.7.6/xcbgen/state.py", line 108, in generate [INFO] [stderr] self.close() [INFO] [stderr] File "/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/xcb-0.7.6/rs_client.py", line 291, in rs_close [INFO] [stderr] _f.writeout(os.path.join(module.rs_srcdir, "ffi", "%s.rs" % _module_name(_ns.ext_name))) [INFO] [stderr] File "/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/xcb-0.7.6/rs_client.py", line 115, in writeout [INFO] [stderr] with open(path, 'w') as f: [INFO] [stderr] OSError: [Errno 30] Read-only file system: '/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/xcb-0.7.6/src/ffi/xproto.rs' [INFO] [stderr] thread 'main' panicked at 'processing of /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/xcb-0.7.6/xml/xproto.xml returned non-zero (1)', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/xcb-0.7.6/build.rs:73:17 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x55c8a647e9ec - std::backtrace_rs::backtrace::libunwind::trace::h793e05efd273d0f4 [INFO] [stderr] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stderr] 1: 0x55c8a647e9ec - std::backtrace_rs::backtrace::trace_unsynchronized::h640b7b86ff610c77 [INFO] [stderr] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x55c8a647e9ec - std::sys_common::backtrace::_print_fmt::h362fa2a4f354f877 [INFO] [stderr] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stderr] 3: 0x55c8a647e9ec - ::fmt::hf439e5ed84c74abd [INFO] [stderr] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stderr] 4: 0x55c8a649c1ec - core::fmt::write::h72801a82c94e6ff1 [INFO] [stderr] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/core/src/fmt/mod.rs:1149:17 [INFO] [stderr] 5: 0x55c8a647bbb5 - std::io::Write::write_fmt::h5562a8b6da0f0339 [INFO] [stderr] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/io/mod.rs:1697:15 [INFO] [stderr] 6: 0x55c8a647fff0 - std::sys_common::backtrace::_print::hb29ddd998d02631c [INFO] [stderr] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stderr] 7: 0x55c8a647fff0 - std::sys_common::backtrace::print::h81965e3d7c90fbb6 [INFO] [stderr] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stderr] 8: 0x55c8a647fff0 - std::panicking::default_hook::{{closure}}::h84db205ab6674b38 [INFO] [stderr] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:211:50 [INFO] [stderr] 9: 0x55c8a647fb9b - std::panicking::default_hook::h1bf8bb4159936bca [INFO] [stderr] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:228:9 [INFO] [stderr] 10: 0x55c8a64806a4 - std::panicking::rust_panic_with_hook::hf8e86850fbbd03b1 [INFO] [stderr] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:606:17 [INFO] [stderr] 11: 0x55c8a6480180 - std::panicking::begin_panic_handler::{{closure}}::h590a0d6060ff866e [INFO] [stderr] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:502:13 [INFO] [stderr] 12: 0x55c8a647eea4 - std::sys_common::backtrace::__rust_end_short_backtrace::h260b8bd1c848a03c [INFO] [stderr] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stderr] 13: 0x55c8a64800e9 - rust_begin_unwind [INFO] [stderr] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:498:5 [INFO] [stderr] 14: 0x55c8a645c0c1 - core::panicking::panic_fmt::h7b8580d81fcbbacd [INFO] [stderr] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/core/src/panicking.rs:106:14 [INFO] [stderr] 15: 0x55c8a645f579 - build_script_build::main::{{closure}}::hed85ee1e3417ccb6 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/xcb-0.7.6/build.rs:73:17 [INFO] [stderr] 16: 0x55c8a645e1bb - build_script_build::visit_xml::h7bfa709bafe10b7d [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/xcb-0.7.6/build.rs:20:44 [INFO] [stderr] 17: 0x55c8a645e8e3 - build_script_build::main::h15e7fb915d99989f [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/xcb-0.7.6/build.rs:56:5 [INFO] [stderr] 18: 0x55c8a646452b - core::ops::function::FnOnce::call_once::h9e6e6b521a65395c [INFO] [stderr] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/core/src/ops/function.rs:227:5 [INFO] [stderr] 19: 0x55c8a645f5ce - std::sys_common::backtrace::__rust_begin_short_backtrace::h0cce5719dcf3c80f [INFO] [stderr] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stderr] 20: 0x55c8a6463ff1 - std::rt::lang_start::{{closure}}::hc0b211252607e405 [INFO] [stderr] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/rt.rs:145:18 [INFO] [stderr] 21: 0x55c8a647e231 - core::ops::function::impls:: for &F>::call_once::h42d3791e66d196c0 [INFO] [stderr] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/core/src/ops/function.rs:259:13 [INFO] [stderr] 22: 0x55c8a647e231 - std::panicking::try::do_call::hc3bcb188e535517f [INFO] [stderr] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:406:40 [INFO] [stderr] 23: 0x55c8a647e231 - std::panicking::try::hb1edf04d4a7097ab [INFO] [stderr] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:370:19 [INFO] [stderr] 24: 0x55c8a647e231 - std::panic::catch_unwind::h75ed941ac0d36d57 [INFO] [stderr] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panic.rs:133:14 [INFO] [stderr] 25: 0x55c8a647e231 - std::rt::lang_start_internal::{{closure}}::hc702b3389af4cbea [INFO] [stderr] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/rt.rs:128:48 [INFO] [stderr] 26: 0x55c8a647e231 - std::panicking::try::do_call::h53276a03c7fe2ebc [INFO] [stderr] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:406:40 [INFO] [stderr] 27: 0x55c8a647e231 - std::panicking::try::ha9e37f45dc542517 [INFO] [stderr] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:370:19 [INFO] [stderr] 28: 0x55c8a647e231 - std::panic::catch_unwind::h182647595766fee7 [INFO] [stderr] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panic.rs:133:14 [INFO] [stderr] 29: 0x55c8a647e231 - std::rt::lang_start_internal::h571831ebdba142de [INFO] [stderr] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/rt.rs:128:20 [INFO] [stderr] 30: 0x55c8a6463fc0 - std::rt::lang_start::hbceb0d79a7e5fcea [INFO] [stderr] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/rt.rs:144:17 [INFO] [stderr] 31: 0x55c8a645f5bc - main [INFO] [stderr] 32: 0x7faf8ffd00b3 - __libc_start_main [INFO] [stderr] 33: 0x55c8a645c7de - _start [INFO] [stderr] 34: 0x0 - [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 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] [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 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] [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 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] [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 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] [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 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] [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 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] [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 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] [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 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] [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 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] [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 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] [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 239 - match(c) { [INFO] [stdout] 239 + match c { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 288 - match(c) { [INFO] [stdout] 288 + match c { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [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] 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" "efb995b67397309092c11496f08119311af61baa943310cc0a395217c666f2d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efb995b67397309092c11496f08119311af61baa943310cc0a395217c666f2d2", kill_on_drop: false }` [INFO] [stdout] efb995b67397309092c11496f08119311af61baa943310cc0a395217c666f2d2