[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] checking sivertjoe/Future-chess against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsivertjoe%2FFuture-chess" "/workspace/builds/worker-73/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-73/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sivertjoe/Future-chess on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-73/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-73/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-73/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 621c181f4a0d5ad9503bf3d78e06d6c461348cbefd9ca1d8d6f453014821d9ab [INFO] running `Command { std: "docker" "start" "-a" "621c181f4a0d5ad9503bf3d78e06d6c461348cbefd9ca1d8d6f453014821d9ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "621c181f4a0d5ad9503bf3d78e06d6c461348cbefd9ca1d8d6f453014821d9ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "621c181f4a0d5ad9503bf3d78e06d6c461348cbefd9ca1d8d6f453014821d9ab", kill_on_drop: false }` [INFO] [stdout] 621c181f4a0d5ad9503bf3d78e06d6c461348cbefd9ca1d8d6f453014821d9ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-73/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-73/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8866cef1056e3571fdb3bf6843cf35ddb503fc7d53cb3c12f7f50a0138db9a02 [INFO] running `Command { std: "docker" "start" "-a" "8866cef1056e3571fdb3bf6843cf35ddb503fc7d53cb3c12f7f50a0138db9a02", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 version_check v0.1.5 [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling num-bigint v0.2.1 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking futures v0.1.25 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Checking 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-graphics-sys v0.4.0 [INFO] [stderr] Compiling csfml-audio-sys v0.4.0 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking sfml v0.14.0 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking chess_v2 v0.1.0 (/opt/rustwide/workdir) [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] | ^^^^^^^^^^ help: use `dyn`: `dyn ChessPiece` [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] --> src/pieces.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(typ: Box, color: Color) -> Piece<'a> [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ChessPiece` [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] --> src/pieces.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn new() -> Box [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ChessPiece` [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] --> src/pieces.rs:121:25 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn new() -> Box [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ChessPiece` [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] --> src/pieces.rs:150:25 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn new() -> Box [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ChessPiece` [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] --> src/pieces.rs:180:25 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn new() -> Box [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ChessPiece` [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] --> src/pieces.rs:209:25 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn new() -> Box [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ChessPiece` [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] --> src/pieces.rs:238:25 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn new() -> Box [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ChessPiece` [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] --> src/new_piece_creator.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn m_create_kings<'a>(set: &mut ChessSet) [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn ChessSet` [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] --> 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] | ^^^^^^^^ help: use `dyn`: `dyn ChessSet` [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] --> src/new_piece_creator.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn m_create_queens(set: &mut ChessSet) [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn ChessSet` [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] --> src/new_piece_creator.rs:42:33 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn p_create_queen(set: &mut ChessSet, text: _Index) [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn ChessSet` [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] --> src/new_piece_creator.rs:51:33 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn m_create_pawns(set: &mut ChessSet) [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn ChessSet` [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] --> src/new_piece_creator.rs:57:29 [INFO] [stdout] | [INFO] [stdout] 57 | fn p_create_pawns(set: &mut ChessSet, color: Color) [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn ChessSet` [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] --> src/new_piece_creator.rs:72:34 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn m_create_bishop(set: &mut ChessSet) [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn ChessSet` [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] --> src/new_piece_creator.rs:79:33 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn m_create_rooks(set: &mut ChessSet) [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn ChessSet` [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] --> src/new_piece_creator.rs:87:35 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn m_create_knights(set: &mut ChessSet) [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn ChessSet` [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] --> src/new_piece_creator.rs:96:15 [INFO] [stdout] | [INFO] [stdout] 96 | set: &mut ChessSet, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn ChessSet` [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] --> src/new_piece_creator.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | create_func: &Fn() -> Box) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> Box` [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] --> src/new_piece_creator.rs:99:31 [INFO] [stdout] | [INFO] [stdout] 99 | create_func: &Fn() -> Box) [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ChessPiece` [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] --> src/new_piece_creator.rs:108:15 [INFO] [stdout] | [INFO] [stdout] 108 | set: &mut ChessSet, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn ChessSet` [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] --> src/new_piece_creator.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | create_func: &Fn() -> Box [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> Box` [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] --> src/new_piece_creator.rs:111:31 [INFO] [stdout] | [INFO] [stdout] 111 | create_func: &Fn() -> Box [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ChessPiece` [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] --> src/new_piece_creator.rs:123:29 [INFO] [stdout] | [INFO] [stdout] 123 | fn _create_piece<'a>(p: Box, color: Color) -> FutureResult, ()> [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ChessPiece` [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 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: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn sfml::graphics::RenderTarget` [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] --> src/arrow.rs:94:22 [INFO] [stdout] | [INFO] [stdout] 94 | target: &mut sfml::graphics::RenderTarget, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn sfml::graphics::RenderTarget` [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: 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] 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] | ^^^^^^^^^^ help: use `dyn`: `dyn ChessPiece` [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] --> src/pieces.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(typ: Box, color: Color) -> Piece<'a> [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ChessPiece` [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] --> src/pieces.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn new() -> Box [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ChessPiece` [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] --> src/pieces.rs:121:25 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn new() -> Box [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ChessPiece` [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] --> src/pieces.rs:150:25 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn new() -> Box [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ChessPiece` [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] --> src/pieces.rs:180:25 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn new() -> Box [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ChessPiece` [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] --> src/pieces.rs:209:25 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn new() -> Box [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ChessPiece` [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] --> src/pieces.rs:238:25 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn new() -> Box [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ChessPiece` [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] --> src/new_piece_creator.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn m_create_kings<'a>(set: &mut ChessSet) [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn ChessSet` [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] --> 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] | ^^^^^^^^ help: use `dyn`: `dyn ChessSet` [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] --> src/new_piece_creator.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn m_create_queens(set: &mut ChessSet) [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn ChessSet` [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] --> src/new_piece_creator.rs:42:33 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn p_create_queen(set: &mut ChessSet, text: _Index) [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn ChessSet` [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] --> src/new_piece_creator.rs:51:33 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn m_create_pawns(set: &mut ChessSet) [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn ChessSet` [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] --> src/new_piece_creator.rs:57:29 [INFO] [stdout] | [INFO] [stdout] 57 | fn p_create_pawns(set: &mut ChessSet, color: Color) [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn ChessSet` [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] --> src/new_piece_creator.rs:72:34 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn m_create_bishop(set: &mut ChessSet) [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn ChessSet` [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] --> src/new_piece_creator.rs:79:33 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn m_create_rooks(set: &mut ChessSet) [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn ChessSet` [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] --> src/new_piece_creator.rs:87:35 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn m_create_knights(set: &mut ChessSet) [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn ChessSet` [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] --> src/new_piece_creator.rs:96:15 [INFO] [stdout] | [INFO] [stdout] 96 | set: &mut ChessSet, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn ChessSet` [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] --> src/new_piece_creator.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | create_func: &Fn() -> Box) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> Box` [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] --> src/new_piece_creator.rs:99:31 [INFO] [stdout] | [INFO] [stdout] 99 | create_func: &Fn() -> Box) [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ChessPiece` [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] --> src/new_piece_creator.rs:108:15 [INFO] [stdout] | [INFO] [stdout] 108 | set: &mut ChessSet, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn ChessSet` [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] --> src/new_piece_creator.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | create_func: &Fn() -> Box [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> Box` [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] --> src/new_piece_creator.rs:111:31 [INFO] [stdout] | [INFO] [stdout] 111 | create_func: &Fn() -> Box [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ChessPiece` [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] --> src/new_piece_creator.rs:123:29 [INFO] [stdout] | [INFO] [stdout] 123 | fn _create_piece<'a>(p: Box, color: Color) -> FutureResult, ()> [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ChessPiece` [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 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: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn sfml::graphics::RenderTarget` [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] --> src/arrow.rs:94:22 [INFO] [stdout] | [INFO] [stdout] 94 | target: &mut sfml::graphics::RenderTarget, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn sfml::graphics::RenderTarget` [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: 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[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: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[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 2 previous errors; 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chess_v2` due to 3 previous errors; 31 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8866cef1056e3571fdb3bf6843cf35ddb503fc7d53cb3c12f7f50a0138db9a02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8866cef1056e3571fdb3bf6843cf35ddb503fc7d53cb3c12f7f50a0138db9a02", kill_on_drop: false }` [INFO] [stdout] 8866cef1056e3571fdb3bf6843cf35ddb503fc7d53cb3c12f7f50a0138db9a02