[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] testing declanvk/boknafisk 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%2Fdeclanvk%2Fboknafisk" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/declanvk/boknafisk 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/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-14/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] 11bcb64770e8506794208d171ea83708f46d4504366063f80b3c5ac804326a60 [INFO] running `Command { std: "docker" "start" "-a" "11bcb64770e8506794208d171ea83708f46d4504366063f80b3c5ac804326a60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11bcb64770e8506794208d171ea83708f46d4504366063f80b3c5ac804326a60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11bcb64770e8506794208d171ea83708f46d4504366063f80b3c5ac804326a60", kill_on_drop: false }` [INFO] [stdout] 11bcb64770e8506794208d171ea83708f46d4504366063f80b3c5ac804326a60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] f11d99caaa32fb8f638c3e585718d8ec88ae9d5cf75056b22ef31c691ae7142c [INFO] running `Command { std: "docker" "start" "-a" "f11d99caaa32fb8f638c3e585718d8ec88ae9d5cf75056b22ef31c691ae7142c", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling unicode-segmentation v1.0.1 [INFO] [stderr] Compiling lazy_static v0.2.2 [INFO] [stderr] Compiling 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[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_from)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(box_syntax)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [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: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: 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 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] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_from)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `try_from` has been stable since 1.34.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_from)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [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] | ^^^^^ [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] 20 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 20 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [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] | ^^^^^ [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] 70 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 70 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [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] error[E0282]: type annotations needed [INFO] [stdout] --> src/piece_board.rs:179:20 [INFO] [stdout] | [INFO] [stdout] 179 | if let Ok(position) = SquarePosition::try_from(search_index) { [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type parameter `E` declared on the enum `Result` [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] 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] | ^^^^^ [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] 73 - FromFenError::MalformedStringField(ref err) => Some(err as &Error), [INFO] [stdout] 73 + FromFenError::MalformedStringField(ref err) => Some(err as &dyn Error), [INFO] [stdout] | [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] | ^^^^^ [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] 74 - FromFenError::IntFieldParseError(ref err) => Some(err as &Error), [INFO] [stdout] 74 + FromFenError::IntFieldParseError(ref err) => Some(err as &dyn Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0282, E0437, E0554. [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 9 previous errors; 33 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f11d99caaa32fb8f638c3e585718d8ec88ae9d5cf75056b22ef31c691ae7142c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f11d99caaa32fb8f638c3e585718d8ec88ae9d5cf75056b22ef31c691ae7142c", kill_on_drop: false }` [INFO] [stdout] f11d99caaa32fb8f638c3e585718d8ec88ae9d5cf75056b22ef31c691ae7142c