[INFO] cloning repository https://github.com/declanvk/boknafisk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/declanvk/boknafisk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeclanvk%2Fboknafisk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeclanvk%2Fboknafisk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 595ab8824118f9ecc0a44da64544a65b4f664ce6 [INFO] checking declanvk/boknafisk against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeclanvk%2Fboknafisk" "/workspace/builds/worker-25/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-25/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/declanvk/boknafisk 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/declanvk/boknafisk [INFO] finished tweaking git repo https://github.com/declanvk/boknafisk [INFO] tweaked toml for git repo https://github.com/declanvk/boknafisk written to /workspace/builds/worker-25/source/Cargo.toml [INFO] crate git repo https://github.com/declanvk/boknafisk 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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-segmentation v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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] 9c3574a321d53d93878192611038137afd8176f75277be4b3bbda9dd3267b533 [INFO] running `Command { std: "docker" "start" "-a" "9c3574a321d53d93878192611038137afd8176f75277be4b3bbda9dd3267b533", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c3574a321d53d93878192611038137afd8176f75277be4b3bbda9dd3267b533", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c3574a321d53d93878192611038137afd8176f75277be4b3bbda9dd3267b533", kill_on_drop: false }` [INFO] [stdout] 9c3574a321d53d93878192611038137afd8176f75277be4b3bbda9dd3267b533 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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] 9653952e27b6d3b150ff7d4adb37f12edc0bafcce676b039fa705562abacd8db [INFO] running `Command { std: "docker" "start" "-a" "9653952e27b6d3b150ff7d4adb37f12edc0bafcce676b039fa705562abacd8db", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking unicode-segmentation v1.0.1 [INFO] [stderr] Checking lazy_static v0.2.2 [INFO] [stderr] Checking boknafisk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0437]: type `Err` is not a member of trait `TryFrom` [INFO] [stdout] --> src/square_position.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | type Err = SquarePositionFromError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `Err` is not a member of trait `TryFrom` [INFO] [stdout] --> src/square_position.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | type Err = SquarePositionFromError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `Err` is not a member of trait `TryFrom` [INFO] [stdout] --> src/square_position.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | type Err = SquarePositionFromError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `Err` is not a member of trait `TryFrom` [INFO] [stdout] --> src/square_position.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | type Err = SquarePositionFromError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:23:77 [INFO] [stdout] | [INFO] [stdout] 23 | starting.board[0] = Some(Piece::new(PieceType::Rook, Color::White));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:24:79 [INFO] [stdout] | [INFO] [stdout] 24 | starting.board[1] = Some(Piece::new(PieceType::Knight, Color::White));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:25:79 [INFO] [stdout] | [INFO] [stdout] 25 | starting.board[2] = Some(Piece::new(PieceType::Bishop, Color::White));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:26:78 [INFO] [stdout] | [INFO] [stdout] 26 | starting.board[3] = Some(Piece::new(PieceType::Queen, Color::White));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:27:77 [INFO] [stdout] | [INFO] [stdout] 27 | starting.board[4] = Some(Piece::new(PieceType::King, Color::White));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:28:79 [INFO] [stdout] | [INFO] [stdout] 28 | starting.board[5] = Some(Piece::new(PieceType::Bishop, Color::White));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:29:79 [INFO] [stdout] | [INFO] [stdout] 29 | starting.board[6] = Some(Piece::new(PieceType::Knight, Color::White));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:30:77 [INFO] [stdout] | [INFO] [stdout] 30 | starting.board[7] = Some(Piece::new(PieceType::Rook, Color::White));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:23:77 [INFO] [stdout] | [INFO] [stdout] 23 | starting.board[0] = Some(Piece::new(PieceType::Rook, Color::White));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:36:78 [INFO] [stdout] | [INFO] [stdout] 36 | starting.board[56] = Some(Piece::new(PieceType::Rook, Color::Black));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:37:80 [INFO] [stdout] | [INFO] [stdout] 37 | starting.board[57] = Some(Piece::new(PieceType::Knight, Color::Black));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:24:79 [INFO] [stdout] | [INFO] [stdout] 24 | starting.board[1] = Some(Piece::new(PieceType::Knight, Color::White));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:25:79 [INFO] [stdout] | [INFO] [stdout] 25 | starting.board[2] = Some(Piece::new(PieceType::Bishop, Color::White));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:38:80 [INFO] [stdout] | [INFO] [stdout] 38 | starting.board[58] = Some(Piece::new(PieceType::Bishop, Color::Black));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:39:79 [INFO] [stdout] | [INFO] [stdout] 39 | starting.board[59] = Some(Piece::new(PieceType::Queen, Color::Black));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:26:78 [INFO] [stdout] | [INFO] [stdout] 26 | starting.board[3] = Some(Piece::new(PieceType::Queen, Color::White));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:40:78 [INFO] [stdout] | [INFO] [stdout] 40 | starting.board[60] = Some(Piece::new(PieceType::King, Color::Black));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:27:77 [INFO] [stdout] | [INFO] [stdout] 27 | starting.board[4] = Some(Piece::new(PieceType::King, Color::White));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:28:79 [INFO] [stdout] | [INFO] [stdout] 28 | starting.board[5] = Some(Piece::new(PieceType::Bishop, Color::White));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:41:80 [INFO] [stdout] | [INFO] [stdout] 41 | starting.board[61] = Some(Piece::new(PieceType::Bishop, Color::Black));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:42:80 [INFO] [stdout] | [INFO] [stdout] 42 | starting.board[62] = Some(Piece::new(PieceType::Knight, Color::Black));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:29:79 [INFO] [stdout] | [INFO] [stdout] 29 | starting.board[6] = Some(Piece::new(PieceType::Knight, Color::White));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:43:78 [INFO] [stdout] | [INFO] [stdout] 43 | starting.board[63] = Some(Piece::new(PieceType::Rook, Color::Black));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:30:77 [INFO] [stdout] | [INFO] [stdout] 30 | starting.board[7] = Some(Piece::new(PieceType::Rook, Color::White));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:36:78 [INFO] [stdout] | [INFO] [stdout] 36 | starting.board[56] = Some(Piece::new(PieceType::Rook, Color::Black));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:37:80 [INFO] [stdout] | [INFO] [stdout] 37 | starting.board[57] = Some(Piece::new(PieceType::Knight, Color::Black));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:38:80 [INFO] [stdout] | [INFO] [stdout] 38 | starting.board[58] = Some(Piece::new(PieceType::Bishop, Color::Black));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:39:79 [INFO] [stdout] | [INFO] [stdout] 39 | starting.board[59] = Some(Piece::new(PieceType::Queen, Color::Black));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:40:78 [INFO] [stdout] | [INFO] [stdout] 40 | starting.board[60] = Some(Piece::new(PieceType::King, Color::Black));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:41:80 [INFO] [stdout] | [INFO] [stdout] 41 | starting.board[61] = Some(Piece::new(PieceType::Bishop, Color::Black));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:42:80 [INFO] [stdout] | [INFO] [stdout] 42 | starting.board[62] = Some(Piece::new(PieceType::Knight, Color::Black));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:43:78 [INFO] [stdout] | [INFO] [stdout] 43 | starting.board[63] = Some(Piece::new(PieceType::Rook, Color::Black));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/castling.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / bitflags! { [INFO] [stdout] 6 | | pub flags CastlingFlags: u8 { [INFO] [stdout] 7 | | const WHITE_QUEENSIDE = 0b0000001, [INFO] [stdout] 8 | | const WHITE_KINGSIDE = 0b0000010, [INFO] [stdout] ... | [INFO] [stdout] 11 | | } [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/castling.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / bitflags! { [INFO] [stdout] 6 | | pub flags CastlingFlags: u8 { [INFO] [stdout] 7 | | const WHITE_QUEENSIDE = 0b0000001, [INFO] [stdout] 8 | | const WHITE_KINGSIDE = 0b0000010, [INFO] [stdout] ... | [INFO] [stdout] 11 | | } [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/castling.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / bitflags! { [INFO] [stdout] 6 | | pub flags CastlingFlags: u8 { [INFO] [stdout] 7 | | const WHITE_QUEENSIDE = 0b0000001, [INFO] [stdout] 8 | | const WHITE_KINGSIDE = 0b0000010, [INFO] [stdout] ... | [INFO] [stdout] 11 | | } [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/castling.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / bitflags! { [INFO] [stdout] 6 | | pub flags CastlingFlags: u8 { [INFO] [stdout] 7 | | const WHITE_QUEENSIDE = 0b0000001, [INFO] [stdout] 8 | | const WHITE_KINGSIDE = 0b0000010, [INFO] [stdout] ... | [INFO] [stdout] 11 | | } [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error_types.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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/error_types.rs:70:32 [INFO] [stdout] | [INFO] [stdout] 70 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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/error_types.rs:73:73 [INFO] [stdout] | [INFO] [stdout] 73 | FromFenError::MalformedStringField(ref err) => Some(err as &Error), [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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/error_types.rs:74:71 [INFO] [stdout] | [INFO] [stdout] 74 | FromFenError::IntFieldParseError(ref err) => Some(err as &Error), [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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: `Direction` [INFO] [stdout] --> src/move_gen.rs:328:37 [INFO] [stdout] | [INFO] [stdout] 328 | use square_position::{CARDINAL, Direction, SquarePosition}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `generate_sliding_attack_bitboards` [INFO] [stdout] --> src/move_gen.rs:331:20 [INFO] [stdout] | [INFO] [stdout] 331 | generate_sliding_attack_bitboards}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/castling.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / bitflags! { [INFO] [stdout] 6 | | pub flags CastlingFlags: u8 { [INFO] [stdout] 7 | | const WHITE_QUEENSIDE = 0b0000001, [INFO] [stdout] 8 | | const WHITE_KINGSIDE = 0b0000010, [INFO] [stdout] ... | [INFO] [stdout] 11 | | } [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/castling.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / bitflags! { [INFO] [stdout] 6 | | pub flags CastlingFlags: u8 { [INFO] [stdout] 7 | | const WHITE_QUEENSIDE = 0b0000001, [INFO] [stdout] 8 | | const WHITE_KINGSIDE = 0b0000010, [INFO] [stdout] ... | [INFO] [stdout] 11 | | } [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error_types.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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/error_types.rs:70:32 [INFO] [stdout] | [INFO] [stdout] 70 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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/error_types.rs:73:73 [INFO] [stdout] | [INFO] [stdout] 73 | FromFenError::MalformedStringField(ref err) => Some(err as &Error), [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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/error_types.rs:74:71 [INFO] [stdout] | [INFO] [stdout] 74 | FromFenError::IntFieldParseError(ref err) => Some(err as &Error), [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bit_boards.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static! { [INFO] [stdout] 11 | | pub static ref FILE_BOARDS: [BitBoard; 8] = { [INFO] [stdout] 12 | | let mut file_boards = [0x101010101010101 as BitBoard; 8]; [INFO] [stdout] 13 | | [INFO] [stdout] ... | [INFO] [stdout] 28 | | }; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bit_boards.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static! { [INFO] [stdout] 11 | | pub static ref FILE_BOARDS: [BitBoard; 8] = { [INFO] [stdout] 12 | | let mut file_boards = [0x101010101010101 as BitBoard; 8]; [INFO] [stdout] 13 | | [INFO] [stdout] ... | [INFO] [stdout] 28 | | }; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bit_boards.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static! { [INFO] [stdout] 11 | | pub static ref FILE_BOARDS: [BitBoard; 8] = { [INFO] [stdout] 12 | | let mut file_boards = [0x101010101010101 as BitBoard; 8]; [INFO] [stdout] 13 | | [INFO] [stdout] ... | [INFO] [stdout] 28 | | }; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bit_boards.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static! { [INFO] [stdout] 11 | | pub static ref FILE_BOARDS: [BitBoard; 8] = { [INFO] [stdout] 12 | | let mut file_boards = [0x101010101010101 as BitBoard; 8]; [INFO] [stdout] 13 | | [INFO] [stdout] ... | [INFO] [stdout] 28 | | }; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bit_boards.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static! { [INFO] [stdout] 11 | | pub static ref FILE_BOARDS: [BitBoard; 8] = { [INFO] [stdout] 12 | | let mut file_boards = [0x101010101010101 as BitBoard; 8]; [INFO] [stdout] 13 | | [INFO] [stdout] ... | [INFO] [stdout] 28 | | }; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bit_boards.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static! { [INFO] [stdout] 11 | | pub static ref FILE_BOARDS: [BitBoard; 8] = { [INFO] [stdout] 12 | | let mut file_boards = [0x101010101010101 as BitBoard; 8]; [INFO] [stdout] 13 | | [INFO] [stdout] ... | [INFO] [stdout] 28 | | }; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bit_boards.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static! { [INFO] [stdout] 11 | | pub static ref FILE_BOARDS: [BitBoard; 8] = { [INFO] [stdout] 12 | | let mut file_boards = [0x101010101010101 as BitBoard; 8]; [INFO] [stdout] 13 | | [INFO] [stdout] ... | [INFO] [stdout] 28 | | }; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bit_boards.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static! { [INFO] [stdout] 11 | | pub static ref FILE_BOARDS: [BitBoard; 8] = { [INFO] [stdout] 12 | | let mut file_boards = [0x101010101010101 as BitBoard; 8]; [INFO] [stdout] 13 | | [INFO] [stdout] ... | [INFO] [stdout] 28 | | }; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/move_gen.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / lazy_static! { [INFO] [stdout] 14 | | pub static ref KING_DIRECTIONS: [Direction; 8] = { [INFO] [stdout] 15 | | [ [INFO] [stdout] 16 | | NORTH, [INFO] [stdout] ... | [INFO] [stdout] 37 | | }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/move_gen.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / lazy_static! { [INFO] [stdout] 14 | | pub static ref KING_DIRECTIONS: [Direction; 8] = { [INFO] [stdout] 15 | | [ [INFO] [stdout] 16 | | NORTH, [INFO] [stdout] ... | [INFO] [stdout] 37 | | }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/move_gen.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / lazy_static! { [INFO] [stdout] 14 | | pub static ref KING_DIRECTIONS: [Direction; 8] = { [INFO] [stdout] 15 | | [ [INFO] [stdout] 16 | | NORTH, [INFO] [stdout] ... | [INFO] [stdout] 37 | | }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/move_gen.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / lazy_static! { [INFO] [stdout] 14 | | pub static ref KING_DIRECTIONS: [Direction; 8] = { [INFO] [stdout] 15 | | [ [INFO] [stdout] 16 | | NORTH, [INFO] [stdout] ... | [INFO] [stdout] 37 | | }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/move_gen.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / lazy_static! { [INFO] [stdout] 14 | | pub static ref KING_DIRECTIONS: [Direction; 8] = { [INFO] [stdout] 15 | | [ [INFO] [stdout] 16 | | NORTH, [INFO] [stdout] ... | [INFO] [stdout] 37 | | }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/move_gen.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / lazy_static! { [INFO] [stdout] 14 | | pub static ref KING_DIRECTIONS: [Direction; 8] = { [INFO] [stdout] 15 | | [ [INFO] [stdout] 16 | | NORTH, [INFO] [stdout] ... | [INFO] [stdout] 37 | | }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/move_gen.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / lazy_static! { [INFO] [stdout] 14 | | pub static ref KING_DIRECTIONS: [Direction; 8] = { [INFO] [stdout] 15 | | [ [INFO] [stdout] 16 | | NORTH, [INFO] [stdout] ... | [INFO] [stdout] 37 | | }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/move_gen.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / lazy_static! { [INFO] [stdout] 14 | | pub static ref KING_DIRECTIONS: [Direction; 8] = { [INFO] [stdout] 15 | | [ [INFO] [stdout] 16 | | NORTH, [INFO] [stdout] ... | [INFO] [stdout] 37 | | }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Error` [INFO] [stdout] --> src/square_position.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | impl TryFrom for SquarePosition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Error` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Error = Type;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Error` [INFO] [stdout] --> src/square_position.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | impl TryFrom for SquarePosition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Error` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Error = Type;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Error` [INFO] [stdout] --> src/square_position.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | impl TryFrom for SquarePosition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Error` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Error = Type;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error_types.rs:65:64 [INFO] [stdout] | [INFO] [stdout] 65 | FromFenError::MalformedStringField(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error_types.rs:66:62 [INFO] [stdout] | [INFO] [stdout] 66 | FromFenError::IntFieldParseError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0437. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `boknafisk` due to 5 previous errors; 33 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Error` [INFO] [stdout] --> src/square_position.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | impl TryFrom for SquarePosition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Error` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Error = Type;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error_types.rs:65:64 [INFO] [stdout] | [INFO] [stdout] 65 | FromFenError::MalformedStringField(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error_types.rs:66:62 [INFO] [stdout] | [INFO] [stdout] 66 | FromFenError::IntFieldParseError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stdout] Some errors have detailed explanations: E0046, E0437. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9653952e27b6d3b150ff7d4adb37f12edc0bafcce676b039fa705562abacd8db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9653952e27b6d3b150ff7d4adb37f12edc0bafcce676b039fa705562abacd8db", kill_on_drop: false }` [INFO] [stdout] 9653952e27b6d3b150ff7d4adb37f12edc0bafcce676b039fa705562abacd8db