[INFO] cloning repository https://github.com/sivertjoe/Future-chess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sivertjoe/Future-chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsivertjoe%2FFuture-chess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsivertjoe%2FFuture-chess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 369d2cc1e6a7dd3d07315fa947ea9ac852ccca9b [INFO] testing sivertjoe/Future-chess against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsivertjoe%2FFuture-chess" "/workspace/builds/worker-101/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-101/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sivertjoe/Future-chess on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sivertjoe/Future-chess [INFO] finished tweaking git repo https://github.com/sivertjoe/Future-chess [INFO] tweaked toml for git repo https://github.com/sivertjoe/Future-chess written to /workspace/builds/worker-101/source/Cargo.toml [INFO] crate git repo https://github.com/sivertjoe/Future-chess already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4bf6f37dff578b6e33463a40520bace7b66a5f2c35e08ad7240d3ec1c4a99e4d [INFO] running `Command { std: "docker" "start" "-a" "4bf6f37dff578b6e33463a40520bace7b66a5f2c35e08ad7240d3ec1c4a99e4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4bf6f37dff578b6e33463a40520bace7b66a5f2c35e08ad7240d3ec1c4a99e4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bf6f37dff578b6e33463a40520bace7b66a5f2c35e08ad7240d3ec1c4a99e4d", kill_on_drop: false }` [INFO] [stdout] 4bf6f37dff578b6e33463a40520bace7b66a5f2c35e08ad7240d3ec1c4a99e4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11bace662d67c8174307fe656846b7925967614f5d6f9efa9b5c337a2dd38ecd [INFO] running `Command { std: "docker" "start" "-a" "11bace662d67c8174307fe656846b7925967614f5d6f9efa9b5c337a2dd38ecd", kill_on_drop: false }` [INFO] [stderr] Compiling sfml-build v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling num-bigint v0.2.1 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling futures v0.1.25 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling csfml-system-sys v0.4.0 [INFO] [stderr] Compiling csfml-window-sys v0.4.0 [INFO] [stderr] Compiling csfml-audio-sys v0.4.0 [INFO] [stderr] Compiling csfml-graphics-sys v0.4.0 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling sfml v0.14.0 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling chess_v2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(nll, vec_remove_item)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/mov_functions/rook.rs:71:28 [INFO] [stdout] | [INFO] [stdout] 71 | return future::err(());; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/chess_set.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | fn place(&mut self, Piece<'a>, Square); [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Piece<'a>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/chess_set.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | fn place(&mut self, Piece<'a>, Square); [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Square` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/chess_set.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | fn record(&mut self, Move); [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: Move` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/chess_set.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | fn get(&self, usize) -> Option<&Move>; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(nll, vec_remove_item)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `vec_remove_item` [INFO] [stdout] --> src/main.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(nll, vec_remove_item)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pieces.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | pub rule: Box, [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - pub rule: Box, [INFO] [stdout] 22 + pub rule: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pieces.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(typ: Box, color: Color) -> Piece<'a> [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - pub fn new(typ: Box, color: Color) -> Piece<'a> [INFO] [stdout] 26 + pub fn new(typ: Box, color: Color) -> Piece<'a> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pieces.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn new() -> Box [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 - pub fn new() -> Box [INFO] [stdout] 91 + pub fn new() -> Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pieces.rs:121:25 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn new() -> Box [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 121 - pub fn new() -> Box [INFO] [stdout] 121 + pub fn new() -> Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pieces.rs:150:25 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn new() -> Box [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 150 - pub fn new() -> Box [INFO] [stdout] 150 + pub fn new() -> Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pieces.rs:180:25 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn new() -> Box [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 180 - pub fn new() -> Box [INFO] [stdout] 180 + pub fn new() -> Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pieces.rs:209:25 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn new() -> Box [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 209 - pub fn new() -> Box [INFO] [stdout] 209 + pub fn new() -> Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pieces.rs:238:25 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn new() -> Box [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 238 - pub fn new() -> Box [INFO] [stdout] 238 + pub fn new() -> Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/new_piece_creator.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn m_create_kings<'a>(set: &mut ChessSet) [INFO] [stdout] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - pub fn m_create_kings<'a>(set: &mut ChessSet) [INFO] [stdout] 21 + pub fn m_create_kings<'a>(set: &mut dyn ChessSet) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/new_piece_creator.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn p_create_king<'a>(set: &mut ChessSet, text: _Index) [INFO] [stdout] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - pub fn p_create_king<'a>(set: &mut ChessSet, text: _Index) [INFO] [stdout] 27 + pub fn p_create_king<'a>(set: &mut dyn ChessSet, text: _Index) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/new_piece_creator.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn m_create_queens(set: &mut ChessSet) [INFO] [stdout] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 - pub fn m_create_queens(set: &mut ChessSet) [INFO] [stdout] 36 + pub fn m_create_queens(set: &mut dyn ChessSet) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/new_piece_creator.rs:42:33 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn p_create_queen(set: &mut ChessSet, text: _Index) [INFO] [stdout] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - pub fn p_create_queen(set: &mut ChessSet, text: _Index) [INFO] [stdout] 42 + pub fn p_create_queen(set: &mut dyn ChessSet, text: _Index) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/new_piece_creator.rs:51:33 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn m_create_pawns(set: &mut ChessSet) [INFO] [stdout] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - pub fn m_create_pawns(set: &mut ChessSet) [INFO] [stdout] 51 + pub fn m_create_pawns(set: &mut dyn ChessSet) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/new_piece_creator.rs:57:29 [INFO] [stdout] | [INFO] [stdout] 57 | fn p_create_pawns(set: &mut ChessSet, color: Color) [INFO] [stdout] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 - fn p_create_pawns(set: &mut ChessSet, color: Color) [INFO] [stdout] 57 + fn p_create_pawns(set: &mut dyn ChessSet, color: Color) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/new_piece_creator.rs:72:34 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn m_create_bishop(set: &mut ChessSet) [INFO] [stdout] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 72 - pub fn m_create_bishop(set: &mut ChessSet) [INFO] [stdout] 72 + pub fn m_create_bishop(set: &mut dyn ChessSet) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/new_piece_creator.rs:79:33 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn m_create_rooks(set: &mut ChessSet) [INFO] [stdout] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 79 - pub fn m_create_rooks(set: &mut ChessSet) [INFO] [stdout] 79 + pub fn m_create_rooks(set: &mut dyn ChessSet) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/new_piece_creator.rs:87:35 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn m_create_knights(set: &mut ChessSet) [INFO] [stdout] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 - pub fn m_create_knights(set: &mut ChessSet) [INFO] [stdout] 87 + pub fn m_create_knights(set: &mut dyn ChessSet) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/new_piece_creator.rs:96:15 [INFO] [stdout] | [INFO] [stdout] 96 | set: &mut ChessSet, [INFO] [stdout] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 96 - set: &mut ChessSet, [INFO] [stdout] 96 + set: &mut dyn ChessSet, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/new_piece_creator.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | create_func: &Fn() -> Box) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 - create_func: &Fn() -> Box) [INFO] [stdout] 99 + create_func: &dyn Fn() -> Box) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/new_piece_creator.rs:99:31 [INFO] [stdout] | [INFO] [stdout] 99 | create_func: &Fn() -> Box) [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 - create_func: &Fn() -> Box) [INFO] [stdout] 99 + create_func: &Fn() -> Box) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/new_piece_creator.rs:108:15 [INFO] [stdout] | [INFO] [stdout] 108 | set: &mut ChessSet, [INFO] [stdout] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 108 - set: &mut ChessSet, [INFO] [stdout] 108 + set: &mut dyn ChessSet, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/new_piece_creator.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | create_func: &Fn() -> Box [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 111 - create_func: &Fn() -> Box [INFO] [stdout] 111 + create_func: &dyn Fn() -> Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/new_piece_creator.rs:111:31 [INFO] [stdout] | [INFO] [stdout] 111 | create_func: &Fn() -> Box [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 111 - create_func: &Fn() -> Box [INFO] [stdout] 111 + create_func: &Fn() -> Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/new_piece_creator.rs:123:29 [INFO] [stdout] | [INFO] [stdout] 123 | fn _create_piece<'a>(p: Box, color: Color) -> FutureResult, ()> [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 123 - fn _create_piece<'a>(p: Box, color: Color) -> FutureResult, ()> [INFO] [stdout] 123 + fn _create_piece<'a>(p: Box, color: Color) -> FutureResult, ()> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/highlight.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | target: &mut sfml::graphics::RenderTarget, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 - target: &mut sfml::graphics::RenderTarget, [INFO] [stdout] 41 + target: &mut dyn sfml::graphics::RenderTarget, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/arrow.rs:94:22 [INFO] [stdout] | [INFO] [stdout] 94 | target: &mut sfml::graphics::RenderTarget, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 94 - target: &mut sfml::graphics::RenderTarget, [INFO] [stdout] 94 + target: &mut dyn sfml::graphics::RenderTarget, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `remove_item` found for struct `Vec>` in the current scope [INFO] [stdout] --> src/game.rs:87:40 [INFO] [stdout] | [INFO] [stdout] 87 | if self.highlighed_squares.remove_item(&highlight).is_none() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `remove_item` found for struct `Vec>` in the current scope [INFO] [stdout] --> src/game.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | if self.arrows.remove_item(&arrow).is_none() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0554, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chess_v2` due to 6 previous errors; 31 warnings emitted [INFO] running `Command { std: "docker" "inspect" "11bace662d67c8174307fe656846b7925967614f5d6f9efa9b5c337a2dd38ecd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11bace662d67c8174307fe656846b7925967614f5d6f9efa9b5c337a2dd38ecd", kill_on_drop: false }` [INFO] [stdout] 11bace662d67c8174307fe656846b7925967614f5d6f9efa9b5c337a2dd38ecd