[INFO] cloning repository https://github.com/CodeyBoi/cherss
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CodeyBoi/cherss" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCodeyBoi%2Fcherss", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCodeyBoi%2Fcherss'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d8a9b5a0cdcef4663594b961e1032048c2c02dc0
[INFO] checking CodeyBoi/cherss against try#54cf65b8d066c082e536455049b95943cf30378f for pr-151920
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCodeyBoi%2Fcherss" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/CodeyBoi/cherss
[INFO] finished tweaking git repo https://github.com/CodeyBoi/cherss
[INFO] tweaked toml for git repo https://github.com/CodeyBoi/cherss written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/CodeyBoi/cherss on toolchain 54cf65b8d066c082e536455049b95943cf30378f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54cf65b8d066c082e536455049b95943cf30378f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/CodeyBoi/cherss already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54cf65b8d066c082e536455049b95943cf30378f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+54cf65b8d066c082e536455049b95943cf30378f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 38f91f8ed69633be7170ef25563a57675148e0f53bf734d294c55628c64729c6
[INFO] running `Command { std: "docker" "start" "-a" "38f91f8ed69633be7170ef25563a57675148e0f53bf734d294c55628c64729c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "38f91f8ed69633be7170ef25563a57675148e0f53bf734d294c55628c64729c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "38f91f8ed69633be7170ef25563a57675148e0f53bf734d294c55628c64729c6", kill_on_drop: false }`
[INFO] [stdout] 38f91f8ed69633be7170ef25563a57675148e0f53bf734d294c55628c64729c6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+54cf65b8d066c082e536455049b95943cf30378f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 283b96123d59a5e43a33df01a8efe146af1c9fcafebaf703a59d7b202f0138f7
[INFO] running `Command { std: "docker" "start" "-a" "283b96123d59a5e43a33df01a8efe146af1c9fcafebaf703a59d7b202f0138f7", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling proc-macro2 v1.0.85
[INFO] [stderr]    Compiling version-compare v0.1.1
[INFO] [stderr]     Checking zerocopy v0.7.34
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]     Checking allocator-api2 v0.2.18
[INFO] [stderr]     Checking either v1.12.0
[INFO] [stderr]    Compiling sdl2 v0.36.0
[INFO] [stderr]     Checking unicode-width v0.1.13
[INFO] [stderr]     Checking castaway v0.2.2
[INFO] [stderr]     Checking bitflags v2.5.0
[INFO] [stderr]     Checking unicode-segmentation v1.11.0
[INFO] [stderr]     Checking cassowary v0.3.0
[INFO] [stderr]     Checking compact_str v0.7.1
[INFO] [stderr]    Compiling sdl2-sys v0.36.0
[INFO] [stderr]     Checking itertools v0.12.1
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]     Checking signal-hook v0.3.17
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking signal-hook-mio v0.2.3
[INFO] [stderr]     Checking crossterm v0.27.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking lru v0.12.3
[INFO] [stderr]     Checking unicode-truncate v1.0.0
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling stability v0.2.0
[INFO] [stderr]     Checking strum v0.26.2
[INFO] [stderr]     Checking ratatui v0.26.3
[INFO] [stderr]     Checking chess v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `BotStrategy`
[INFO] [stdout]  --> src/main.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use player::{BotStrategy, Player};
[INFO] [stdout]   |              ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Index`
[INFO] [stdout]  --> src/chess.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 |     ops::{Add, Index, Mul, Neg, Sub},
[INFO] [stdout]   |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chessgame::ChessGame`
[INFO] [stdout]  --> src/chessboard.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     chessgame::ChessGame,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Coords` and `bitboard::Chessboard`
[INFO] [stdout]  --> src/player.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     bitboard::Chessboard,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 5 |     chess::{Chess, Coords, Move},
[INFO] [stdout]   |                    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BotStrategy`
[INFO] [stdout]  --> src/main.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use player::{BotStrategy, Player};
[INFO] [stdout]   |              ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Index`
[INFO] [stdout]  --> src/chess.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 |     ops::{Add, Index, Mul, Neg, Sub},
[INFO] [stdout]   |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chessgame::ChessGame`
[INFO] [stdout]  --> src/chessboard.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     chessgame::ChessGame,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Coords` and `bitboard::Chessboard`
[INFO] [stdout]  --> src/player.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     bitboard::Chessboard,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 5 |     chess::{Chess, Coords, Move},
[INFO] [stdout]   |                    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/bitboard.rs:525:29
[INFO] [stdout]     |
[INFO] [stdout] 525 |         self.generate_moves(moves, piece, color, piece_map);
[INFO] [stdout]     |              -------------- ^^^^^ expected `&mut Vec<(Position, BitBoard)>`, found `&mut Vec<Move>`
[INFO] [stdout]     |              |
[INFO] [stdout]     |              arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut Vec<(chess::Position, bitboard::BitBoard)>`
[INFO] [stdout]                found mutable reference `&mut Vec<chess::Move>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/bitboard.rs:528:8
[INFO] [stdout]     |
[INFO] [stdout] 528 |     fn generate_moves(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 529 |         &self,
[INFO] [stdout] 530 |         moves: &mut Vec<(Position, BitBoard)>,
[INFO] [stdout]     |         -------------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/bitboard.rs:539:42
[INFO] [stdout]     |
[INFO] [stdout] 539 |                 self.generate_pawn_moves(moves, piece_map, color);
[INFO] [stdout]     |                      ------------------- ^^^^^ expected `&mut Vec<Move>`, found `&mut Vec<(Position, BitBoard)>`
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut Vec<chess::Move>`
[INFO] [stdout]                found mutable reference `&mut Vec<(chess::Position, bitboard::BitBoard)>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/bitboard.rs:596:8
[INFO] [stdout]     |
[INFO] [stdout] 596 |     fn generate_pawn_moves(&self, moves: &mut Vec<Move>, pieces: BitBoard, color: ChessColor) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^        ---------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/bitboard.rs:544:25
[INFO] [stdout]     |
[INFO] [stdout] 543 |                     Self::add_moves_with_origin(
[INFO] [stdout]     |                     --------------------------- arguments to this function are incorrect
[INFO] [stdout] 544 |                         moves,
[INFO] [stdout]     |                         ^^^^^ expected `&mut Vec<Move>`, found `&mut Vec<(Position, BitBoard)>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut Vec<chess::Move>`
[INFO] [stdout]                found mutable reference `&mut Vec<(chess::Position, bitboard::BitBoard)>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/bitboard.rs:590:8
[INFO] [stdout]     |
[INFO] [stdout] 590 |     fn add_moves_with_origin(moves: &mut Vec<Move>, origin: Position, positions: &[Position]) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^ ---------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/bitboard.rs:556:25
[INFO] [stdout]     |
[INFO] [stdout] 555 |                     Self::add_moves_with_origin(
[INFO] [stdout]     |                     --------------------------- arguments to this function are incorrect
[INFO] [stdout] 556 |                         moves,
[INFO] [stdout]     |                         ^^^^^ expected `&mut Vec<Move>`, found `&mut Vec<(Position, BitBoard)>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut Vec<chess::Move>`
[INFO] [stdout]                found mutable reference `&mut Vec<(chess::Position, bitboard::BitBoard)>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/bitboard.rs:590:8
[INFO] [stdout]     |
[INFO] [stdout] 590 |     fn add_moves_with_origin(moves: &mut Vec<Move>, origin: Position, positions: &[Position]) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^ ---------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/bitboard.rs:568:25
[INFO] [stdout]     |
[INFO] [stdout] 567 |                     Self::add_moves_with_origin(
[INFO] [stdout]     |                     --------------------------- arguments to this function are incorrect
[INFO] [stdout] 568 |                         moves,
[INFO] [stdout]     |                         ^^^^^ expected `&mut Vec<Move>`, found `&mut Vec<(Position, BitBoard)>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut Vec<chess::Move>`
[INFO] [stdout]                found mutable reference `&mut Vec<(chess::Position, bitboard::BitBoard)>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/bitboard.rs:590:8
[INFO] [stdout]     |
[INFO] [stdout] 590 |     fn add_moves_with_origin(moves: &mut Vec<Move>, origin: Position, positions: &[Position]) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^ ---------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/bitboard.rs:525:29
[INFO] [stdout]     |
[INFO] [stdout] 525 |         self.generate_moves(moves, piece, color, piece_map);
[INFO] [stdout]     |              -------------- ^^^^^ expected `&mut Vec<(Position, BitBoard)>`, found `&mut Vec<Move>`
[INFO] [stdout]     |              |
[INFO] [stdout]     |              arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut Vec<(chess::Position, BitBoard)>`
[INFO] [stdout]                found mutable reference `&mut Vec<Move>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/bitboard.rs:528:8
[INFO] [stdout]     |
[INFO] [stdout] 528 |     fn generate_moves(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 529 |         &self,
[INFO] [stdout] 530 |         moves: &mut Vec<(Position, BitBoard)>,
[INFO] [stdout]     |         -------------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/bitboard.rs:539:42
[INFO] [stdout]     |
[INFO] [stdout] 539 |                 self.generate_pawn_moves(moves, piece_map, color);
[INFO] [stdout]     |                      ------------------- ^^^^^ expected `&mut Vec<Move>`, found `&mut Vec<(Position, BitBoard)>`
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut Vec<Move>`
[INFO] [stdout]                found mutable reference `&mut Vec<(chess::Position, BitBoard)>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/bitboard.rs:596:8
[INFO] [stdout]     |
[INFO] [stdout] 596 |     fn generate_pawn_moves(&self, moves: &mut Vec<Move>, pieces: BitBoard, color: ChessColor) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^        ---------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/bitboard.rs:544:25
[INFO] [stdout]     |
[INFO] [stdout] 543 |                     Self::add_moves_with_origin(
[INFO] [stdout]     |                     --------------------------- arguments to this function are incorrect
[INFO] [stdout] 544 |                         moves,
[INFO] [stdout]     |                         ^^^^^ expected `&mut Vec<Move>`, found `&mut Vec<(Position, BitBoard)>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut Vec<Move>`
[INFO] [stdout]                found mutable reference `&mut Vec<(chess::Position, BitBoard)>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/bitboard.rs:590:8
[INFO] [stdout]     |
[INFO] [stdout] 590 |     fn add_moves_with_origin(moves: &mut Vec<Move>, origin: Position, positions: &[Position]) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^ ---------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/bitboard.rs:556:25
[INFO] [stdout]     |
[INFO] [stdout] 555 |                     Self::add_moves_with_origin(
[INFO] [stdout]     |                     --------------------------- arguments to this function are incorrect
[INFO] [stdout] 556 |                         moves,
[INFO] [stdout]     |                         ^^^^^ expected `&mut Vec<Move>`, found `&mut Vec<(Position, BitBoard)>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut Vec<Move>`
[INFO] [stdout]                found mutable reference `&mut Vec<(chess::Position, BitBoard)>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/bitboard.rs:590:8
[INFO] [stdout]     |
[INFO] [stdout] 590 |     fn add_moves_with_origin(moves: &mut Vec<Move>, origin: Position, positions: &[Position]) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^ ---------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: a value of type `Vec<chess::Position>` cannot be built from an iterator over elements of type `bitboard::BitBoard`
[INFO] [stdout]    --> src/bitboard.rs:801:35
[INFO] [stdout]     |
[INFO] [stdout] 801 |         moves.iter().map(|m| m.1).collect()
[INFO] [stdout]     |                                   ^^^^^^^ value of type `Vec<chess::Position>` cannot be built from `std::iter::Iterator<Item=bitboard::BitBoard>`
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `FromIterator<bitboard::BitBoard>` is not implemented for `Vec<chess::Position>`
[INFO] [stdout]       but trait `FromIterator<chess::Position>` is implemented for it
[INFO] [stdout]    --> /rustc/54cf65b8d066c082e536455049b95943cf30378f/library/alloc/src/vec/mod.rs:3797:0
[INFO] [stdout]     = help: for that trait implementation, expected `chess::Position`, found `bitboard::BitBoard`
[INFO] [stdout] note: the method call chain might not have had the expected associated types
[INFO] [stdout]    --> src/bitboard.rs:801:22
[INFO] [stdout]     |
[INFO] [stdout] 797 |         let mut moves = Vec::new();
[INFO] [stdout]     |                         ---------- this expression has type `Vec<(Position, BitBoard)>`
[INFO] [stdout] ...
[INFO] [stdout] 801 |         moves.iter().map(|m| m.1).collect()
[INFO] [stdout]     |               ------ ^^^^^^^^^^^^ `Iterator::Item` changed to `BitBoard` here
[INFO] [stdout]     |               |
[INFO] [stdout]     |               `Iterator::Item` is `&(Position, BitBoard)` here
[INFO] [stdout] note: required by a bound in `collect`
[INFO] [stdout]    --> /rustc/54cf65b8d066c082e536455049b95943cf30378f/library/core/src/iter/traits/iterator.rs:2051:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/bitboard.rs:804:56
[INFO] [stdout]     |
[INFO] [stdout] 804 |     fn moves_from_as_bitboard(&self, pos: Position) -> BitBoard {}
[INFO] [stdout]     |        ----------------------                          ^^^^^^^^ expected `BitBoard`, found `()`
[INFO] [stdout]     |        |
[INFO] [stdout]     |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/bitboard.rs:568:25
[INFO] [stdout]     |
[INFO] [stdout] 567 |                     Self::add_moves_with_origin(
[INFO] [stdout]     |                     --------------------------- arguments to this function are incorrect
[INFO] [stdout] 568 |                         moves,
[INFO] [stdout]     |                         ^^^^^ expected `&mut Vec<Move>`, found `&mut Vec<(Position, BitBoard)>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut Vec<Move>`
[INFO] [stdout]                found mutable reference `&mut Vec<(chess::Position, BitBoard)>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/bitboard.rs:590:8
[INFO] [stdout]     |
[INFO] [stdout] 590 |     fn add_moves_with_origin(moves: &mut Vec<Move>, origin: Position, positions: &[Position]) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^ ---------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/bitboard.rs:810:9
[INFO] [stdout]     |
[INFO] [stdout] 806 |     fn moves_by_piece(&self, piece: PieceType, color: ChessColor) -> Vec<Move> {
[INFO] [stdout]     |                                                                      --------- expected `Vec<chess::Move>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 809 |         self.generate_moves(&mut moves, piece, color, piece_map);
[INFO] [stdout]     |                                  ----- here the type of `moves` is inferred to be `Vec<(chess::Position, bitboard::BitBoard)>`
[INFO] [stdout] 810 |         moves
[INFO] [stdout]     |         ^^^^^ expected `Vec<Move>`, found `Vec<(Position, BitBoard)>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Vec<chess::Move>`
[INFO] [stdout]                found struct `Vec<(chess::Position, bitboard::BitBoard)>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: a value of type `Vec<chess::Position>` cannot be built from an iterator over elements of type `BitBoard`
[INFO] [stdout]    --> src/bitboard.rs:801:35
[INFO] [stdout]     |
[INFO] [stdout] 801 |         moves.iter().map(|m| m.1).collect()
[INFO] [stdout]     |                                   ^^^^^^^ value of type `Vec<chess::Position>` cannot be built from `std::iter::Iterator<Item=BitBoard>`
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `FromIterator<BitBoard>` is not implemented for `Vec<chess::Position>`
[INFO] [stdout]       but trait `FromIterator<chess::Position>` is implemented for it
[INFO] [stdout]    --> /rustc/54cf65b8d066c082e536455049b95943cf30378f/library/alloc/src/vec/mod.rs:3797:0
[INFO] [stdout]     = help: for that trait implementation, expected `chess::Position`, found `BitBoard`
[INFO] [stdout] note: the method call chain might not have had the expected associated types
[INFO] [stdout]    --> src/bitboard.rs:801:22
[INFO] [stdout]     |
[INFO] [stdout] 797 |         let mut moves = Vec::new();
[INFO] [stdout]     |                         ---------- this expression has type `Vec<(Position, BitBoard)>`
[INFO] [stdout] ...
[INFO] [stdout] 801 |         moves.iter().map(|m| m.1).collect()
[INFO] [stdout]     |               ------ ^^^^^^^^^^^^ `Iterator::Item` changed to `BitBoard` here
[INFO] [stdout]     |               |
[INFO] [stdout]     |               `Iterator::Item` is `&(Position, BitBoard)` here
[INFO] [stdout] note: required by a bound in `collect`
[INFO] [stdout]    --> /rustc/54cf65b8d066c082e536455049b95943cf30378f/library/core/src/iter/traits/iterator.rs:2051:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/bitboard.rs:804:56
[INFO] [stdout]     |
[INFO] [stdout] 804 |     fn moves_from_as_bitboard(&self, pos: Position) -> BitBoard {}
[INFO] [stdout]     |        ----------------------                          ^^^^^^^^ expected `BitBoard`, found `()`
[INFO] [stdout]     |        |
[INFO] [stdout]     |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/bitboard.rs:810:9
[INFO] [stdout]     |
[INFO] [stdout] 806 |     fn moves_by_piece(&self, piece: PieceType, color: ChessColor) -> Vec<Move> {
[INFO] [stdout]     |                                                                      --------- expected `Vec<Move>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 809 |         self.generate_moves(&mut moves, piece, color, piece_map);
[INFO] [stdout]     |                                  ----- here the type of `moves` is inferred to be `Vec<(chess::Position, BitBoard)>`
[INFO] [stdout] 810 |         moves
[INFO] [stdout]     |         ^^^^^ expected `Vec<Move>`, found `Vec<(Position, BitBoard)>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Vec<Move>`
[INFO] [stdout]                found struct `Vec<(chess::Position, BitBoard)>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `board`
[INFO] [stdout]   --> src/player.rs:50:15
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn mirror(board: &Box<dyn Chess>) -> Option<Move> {
[INFO] [stdout]    |               ^^^^^ help: if this is intentional, prefix it with an underscore: `_board`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `board`
[INFO] [stdout]   --> src/player.rs:50:15
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn mirror(board: &Box<dyn Chess>) -> Option<Move> {
[INFO] [stdout]    |               ^^^^^ help: if this is intentional, prefix it with an underscore: `_board`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chess` (bin "chess" test) due to 8 previous errors; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `chess` (bin "chess") due to 8 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "283b96123d59a5e43a33df01a8efe146af1c9fcafebaf703a59d7b202f0138f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "283b96123d59a5e43a33df01a8efe146af1c9fcafebaf703a59d7b202f0138f7", kill_on_drop: false }`
[INFO] [stdout] 283b96123d59a5e43a33df01a8efe146af1c9fcafebaf703a59d7b202f0138f7
