[INFO] cloning repository https://github.com/EricGlover/chess_engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EricGlover/chess_engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEricGlover%2Fchess_engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEricGlover%2Fchess_engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8b193407b3329b17f182e1ac6f8ebdd204e86537 [INFO] checking EricGlover/chess_engine against master#a836d9b6413d9d593be6c09463ff8c4c70e56599 for pr-84037 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEricGlover%2Fchess_engine" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EricGlover/chess_engine on toolchain a836d9b6413d9d593be6c09463ff8c4c70e56599 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a836d9b6413d9d593be6c09463ff8c4c70e56599" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/EricGlover/chess_engine [INFO] finished tweaking git repo https://github.com/EricGlover/chess_engine [INFO] tweaked toml for git repo https://github.com/EricGlover/chess_engine written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/EricGlover/chess_engine already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a836d9b6413d9d593be6c09463ff8c4c70e56599" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a836d9b6413d9d593be6c09463ff8c4c70e56599" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f20a2a168aeac14f3f5da13fcd899769f17f2fca1127476ff486378731eecbe8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f20a2a168aeac14f3f5da13fcd899769f17f2fca1127476ff486378731eecbe8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f20a2a168aeac14f3f5da13fcd899769f17f2fca1127476ff486378731eecbe8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f20a2a168aeac14f3f5da13fcd899769f17f2fca1127476ff486378731eecbe8", kill_on_drop: false }` [INFO] [stdout] f20a2a168aeac14f3f5da13fcd899769f17f2fca1127476ff486378731eecbe8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a836d9b6413d9d593be6c09463ff8c4c70e56599" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8a59a5c95c07b8455e8658f1f39da5e70ffdcb15e735af4478bff8959601b8f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e8a59a5c95c07b8455e8658f1f39da5e70ffdcb15e735af4478bff8959601b8f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.90 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking string_morph v0.1.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking zeroize v1.2.0 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking unicode_types v0.2.0 [INFO] [stderr] Checking terminal_size v0.1.16 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking console v0.14.1 [INFO] [stderr] Checking dialoguer v0.8.0 [INFO] [stderr] Checking indicatif v0.15.0 [INFO] [stderr] Checking matrix_display v1.0.0 [INFO] [stderr] Checking chess_engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `ai` [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod ai; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `ai`, create file "src/ai.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `castling_rights` [INFO] [stdout] --> src/board.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod castling_rights; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `castling_rights`, create file "src/board/castling_rights.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `color` [INFO] [stdout] --> src/board.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | mod color; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `color`, create file "src/board/color.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `coordinate` [INFO] [stdout] --> src/board.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | mod coordinate; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `coordinate`, create file "src/board/coordinate.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `piece` [INFO] [stdout] --> src/board.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod piece; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `piece`, create file "src/board/piece.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `piece_type` [INFO] [stdout] --> src/board.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | mod piece_type; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `piece_type`, create file "src/board/piece_type.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `square` [INFO] [stdout] --> src/board.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod square; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `square`, create file "src/board/square.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `ai` [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod ai; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `ai`, create file "src/ai.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `castling_rights` [INFO] [stdout] --> src/board.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod castling_rights; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `castling_rights`, create file "src/board/castling_rights.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `color` [INFO] [stdout] --> src/board.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | mod color; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `color`, create file "src/board/color.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `coordinate` [INFO] [stdout] --> src/board.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | mod coordinate; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `coordinate`, create file "src/board/coordinate.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `piece` [INFO] [stdout] --> src/board.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod piece; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `piece`, create file "src/board/piece.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `piece_type` [INFO] [stdout] --> src/board.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | mod piece_type; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `piece_type`, create file "src/board/piece_type.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `square` [INFO] [stdout] --> src/board.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod square; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `square`, create file "src/board/square.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `castling_rights::CastlingRights` [INFO] [stdout] --> src/board.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use castling_rights::CastlingRights; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `CastlingRights` in `board::castling_rights` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `color::Color` [INFO] [stdout] --> src/board.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use color::Color; [INFO] [stdout] | ^^^^^^^^^^^^ no `Color` in `board::color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `piece::Piece` [INFO] [stdout] --> src/board.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use piece::Piece; [INFO] [stdout] | ^^^^^^^^^^^^ no `Piece` in `board::piece` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `piece_type::PieceType` [INFO] [stdout] --> src/board.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use piece_type::PieceType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `PieceType` in `board::piece_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `square::Square` [INFO] [stdout] --> src/board.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use square::Square; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Square` in `board::square` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::ai::evaluator` [INFO] [stdout] --> src/game.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ai::evaluator::evaluate; [INFO] [stdout] | ^^^^^^^^^ could not find `evaluator` in `ai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::board::Coordinate` [INFO] [stdout] --> src/chess_notation/pgn.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::board::{BoardTrait, Coordinate, PieceType}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `Coordinate` in `board` [INFO] [stdout] | help: a similar name exists in the module (notice the capitalization): `coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::board::Coordinate` [INFO] [stdout] --> src/move_generator/path.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::board::Coordinate; [INFO] [stdout] | ^^^^^^^^^^^^^^---------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module (notice the capitalization): `coordinate` [INFO] [stdout] | no `Coordinate` in `board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `castling_rights::CastlingRights` [INFO] [stdout] --> src/board.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use castling_rights::CastlingRights; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `CastlingRights` in `board::castling_rights` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `color::Color` [INFO] [stdout] --> src/board.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use color::Color; [INFO] [stdout] | ^^^^^^^^^^^^ no `Color` in `board::color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `piece::Piece` [INFO] [stdout] --> src/board.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use piece::Piece; [INFO] [stdout] | ^^^^^^^^^^^^ no `Piece` in `board::piece` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `piece_type::PieceType` [INFO] [stdout] --> src/board.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use piece_type::PieceType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `PieceType` in `board::piece_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `square::Square` [INFO] [stdout] --> src/board.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use square::Square; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Square` in `board::square` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::ai::evaluator` [INFO] [stdout] --> src/game.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ai::evaluator::evaluate; [INFO] [stdout] | ^^^^^^^^^ could not find `evaluator` in `ai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::ai::ai`, `crate::ai::AiSearch` [INFO] [stdout] --> src/move_generator.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::ai::{ai, AiSearch}; [INFO] [stdout] | ^^ ^^^^^^^^ no `AiSearch` in `ai` [INFO] [stdout] | | [INFO] [stdout] | no `ai` in `ai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::ai::evaluator` [INFO] [stdout] --> src/tests.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ai::evaluator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `evaluator` in `ai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::board::Coordinate` [INFO] [stdout] --> src/chess_notation/pgn.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::board::{BoardTrait, Coordinate, PieceType}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `Coordinate` in `board` [INFO] [stdout] | help: a similar name exists in the module (notice the capitalization): `coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::board::Coordinate` [INFO] [stdout] --> src/move_generator/path.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::board::Coordinate; [INFO] [stdout] | ^^^^^^^^^^^^^^---------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module (notice the capitalization): `coordinate` [INFO] [stdout] | no `Coordinate` in `board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::board::Coordinate` [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::board::Coordinate; [INFO] [stdout] | ^^^^^^^^^^^^^^---------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module (notice the capitalization): `coordinate` [INFO] [stdout] | no `Coordinate` in `board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/board.rs:530:38 [INFO] [stdout] | [INFO] [stdout] 530 | row.push(Square::new(Coordinate::new(x, y), None, color)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/board.rs:628:46 [INFO] [stdout] | [INFO] [stdout] 628 | let white_rook = board.get_piece_at(&Coordinate::new(8, 1)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/board.rs:631:13 [INFO] [stdout] | [INFO] [stdout] 631 | Coordinate::new(7, 1), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/board.rs:696:18 [INFO] [stdout] | [INFO] [stdout] 696 | let at = Coordinate::new(1, 1); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/board.rs:706:73 [INFO] [stdout] | [INFO] [stdout] 706 | let black_king = Piece::new(Color::Black, PieceType::King, Some(Coordinate::new(5, 8))); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:146:30 [INFO] [stdout] | [INFO] [stdout] 146 | let coordinate = Coordinate::new(x, y); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:178:14 [INFO] [stdout] | [INFO] [stdout] 178 | Some(Coordinate::from(parts[3])) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:233:54 [INFO] [stdout] | [INFO] [stdout] 233 | assert_eq!(piece.at().unwrap(), &Coordinate::new(5, 1)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:256:37 [INFO] [stdout] | [INFO] [stdout] 256 | assert_eq!(board.has_piece(&Coordinate::new(1, 8)), false); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:257:37 [INFO] [stdout] | [INFO] [stdout] 257 | assert_eq!(board.has_piece(&Coordinate::new(2, 8)), false); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/board.rs:530:38 [INFO] [stdout] | [INFO] [stdout] 530 | row.push(Square::new(Coordinate::new(x, y), None, color)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:146:30 [INFO] [stdout] | [INFO] [stdout] 146 | let coordinate = Coordinate::new(x, y); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:258:37 [INFO] [stdout] | [INFO] [stdout] 258 | assert_eq!(board.has_piece(&Coordinate::new(3, 8)), true); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:178:14 [INFO] [stdout] | [INFO] [stdout] 178 | Some(Coordinate::from(parts[3])) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:259:37 [INFO] [stdout] | [INFO] [stdout] 259 | assert_eq!(board.has_piece(&Coordinate::new(4, 8)), true); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:260:37 [INFO] [stdout] | [INFO] [stdout] 260 | assert_eq!(board.has_piece(&Coordinate::new(5, 8)), false); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | let to = Coordinate::from(s.as_str()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:261:37 [INFO] [stdout] | [INFO] [stdout] 261 | assert_eq!(board.has_piece(&Coordinate::new(6, 8)), true); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:262:37 [INFO] [stdout] | [INFO] [stdout] 262 | assert_eq!(board.has_piece(&Coordinate::new(7, 8)), false); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:263:37 [INFO] [stdout] | [INFO] [stdout] 263 | assert_eq!(board.has_piece(&Coordinate::new(8, 8)), true); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:266:39 [INFO] [stdout] | [INFO] [stdout] 266 | assert_eq!(has_piece(&board, &Coordinate::new(1, 7)), false); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:267:39 [INFO] [stdout] | [INFO] [stdout] 267 | assert_eq!(has_piece(&board, &Coordinate::new(2, 7)), true); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:268:39 [INFO] [stdout] | [INFO] [stdout] 268 | assert_eq!(has_piece(&board, &Coordinate::new(3, 7)), true); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ai` in `ai` [INFO] [stdout] --> src/game.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | ai: ai::ai::new(Color::Black), [INFO] [stdout] | ^^ could not find `ai` in `ai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:269:39 [INFO] [stdout] | [INFO] [stdout] 269 | assert_eq!(has_piece(&board, &Coordinate::new(4, 7)), false); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ai` in `ai` [INFO] [stdout] --> src/game.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | ai2: ai::ai::new(Color::White), [INFO] [stdout] | ^^ could not find `ai` in `ai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:270:39 [INFO] [stdout] | [INFO] [stdout] 270 | assert_eq!(has_piece(&board, &Coordinate::new(5, 7)), false); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `evaluator` in `ai` [INFO] [stdout] --> src/game.rs:137:28 [INFO] [stdout] | [INFO] [stdout] 137 | let eval = ai::evaluator::evaluate(&self.board, None, None); [INFO] [stdout] | ^^^^^^^^^ could not find `evaluator` in `ai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `evaluator` in `ai` [INFO] [stdout] --> src/game.rs:153:28 [INFO] [stdout] | [INFO] [stdout] 153 | let eval = ai::evaluator::evaluate(&self.board, None, None); [INFO] [stdout] | ^^^^^^^^^ could not find `evaluator` in `ai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:271:39 [INFO] [stdout] | [INFO] [stdout] 271 | assert_eq!(has_piece(&board, &Coordinate::new(6, 7)), false); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:272:39 [INFO] [stdout] | [INFO] [stdout] 272 | assert_eq!(has_piece(&board, &Coordinate::new(7, 7)), false); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:273:39 [INFO] [stdout] | [INFO] [stdout] 273 | assert_eq!(has_piece(&board, &Coordinate::new(8, 7)), true); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:275:39 [INFO] [stdout] | [INFO] [stdout] 275 | assert_eq!(has_piece(&board, &Coordinate::new(1, 6)), true); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:276:39 [INFO] [stdout] | [INFO] [stdout] 276 | assert_eq!(has_piece(&board, &Coordinate::new(2, 6)), true); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:277:39 [INFO] [stdout] | [INFO] [stdout] 277 | assert_eq!(has_piece(&board, &Coordinate::new(3, 6)), true); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:278:39 [INFO] [stdout] | [INFO] [stdout] 278 | assert_eq!(has_piece(&board, &Coordinate::new(4, 6)), false); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:279:39 [INFO] [stdout] | [INFO] [stdout] 279 | assert_eq!(has_piece(&board, &Coordinate::new(5, 6)), false); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:280:39 [INFO] [stdout] | [INFO] [stdout] 280 | assert_eq!(has_piece(&board, &Coordinate::new(6, 6)), false); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:281:39 [INFO] [stdout] | [INFO] [stdout] 281 | assert_eq!(has_piece(&board, &Coordinate::new(7, 6)), true); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:282:39 [INFO] [stdout] | [INFO] [stdout] 282 | assert_eq!(has_piece(&board, &Coordinate::new(8, 6)), false); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:284:39 [INFO] [stdout] | [INFO] [stdout] 284 | assert_eq!(has_piece(&board, &Coordinate::new(1, 5)), false); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:285:39 [INFO] [stdout] | [INFO] [stdout] 285 | assert_eq!(has_piece(&board, &Coordinate::new(2, 5)), true); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:286:39 [INFO] [stdout] | [INFO] [stdout] 286 | assert_eq!(has_piece(&board, &Coordinate::new(3, 5)), false); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:287:39 [INFO] [stdout] | [INFO] [stdout] 287 | assert_eq!(has_piece(&board, &Coordinate::new(4, 5)), true); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:288:39 [INFO] [stdout] | [INFO] [stdout] 288 | assert_eq!(has_piece(&board, &Coordinate::new(5, 5)), true); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/chess_move.rs:124:28 [INFO] [stdout] | [INFO] [stdout] 124 | let from = Coordinate::new(5, y); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/chess_move.rs:125:26 [INFO] [stdout] | [INFO] [stdout] 125 | let to = Coordinate::new(7, y); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/chess_move.rs:129:28 [INFO] [stdout] | [INFO] [stdout] 129 | let from = Coordinate::new(8, y); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:289:39 [INFO] [stdout] | [INFO] [stdout] 289 | assert_eq!(has_piece(&board, &Coordinate::new(6, 5)), true); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/chess_move.rs:130:26 [INFO] [stdout] | [INFO] [stdout] 130 | let to = Coordinate::new(6, y); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:290:39 [INFO] [stdout] | [INFO] [stdout] 290 | assert_eq!(has_piece(&board, &Coordinate::new(7, 5)), false); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:291:39 [INFO] [stdout] | [INFO] [stdout] 291 | assert_eq!(has_piece(&board, &Coordinate::new(8, 5)), false); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:294:39 [INFO] [stdout] | [INFO] [stdout] 294 | assert_eq!(has_piece(&board, &Coordinate::new(1, 4)), true); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/chess_move.rs:143:28 [INFO] [stdout] | [INFO] [stdout] 143 | let from = Coordinate::new(5, y); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:295:39 [INFO] [stdout] | [INFO] [stdout] 295 | assert_eq!(has_piece(&board, &Coordinate::new(2, 4)), false); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/chess_move.rs:144:26 [INFO] [stdout] | [INFO] [stdout] 144 | let to = Coordinate::new(3, y); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/chess_move.rs:148:28 [INFO] [stdout] | [INFO] [stdout] 148 | let from = Coordinate::new(1, y); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:296:39 [INFO] [stdout] | [INFO] [stdout] 296 | assert_eq!(has_piece(&board, &Coordinate::new(3, 4)), false); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/chess_move.rs:149:26 [INFO] [stdout] | [INFO] [stdout] 149 | let to = Coordinate::new(4, y); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:297:39 [INFO] [stdout] | [INFO] [stdout] 297 | assert_eq!(has_piece(&board, &Coordinate::new(4, 4)), true); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:298:39 [INFO] [stdout] | [INFO] [stdout] 298 | assert_eq!(has_piece(&board, &Coordinate::new(5, 4)), true); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:299:39 [INFO] [stdout] | [INFO] [stdout] 299 | assert_eq!(has_piece(&board, &Coordinate::new(6, 4)), true); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:300:39 [INFO] [stdout] | [INFO] [stdout] 300 | assert_eq!(has_piece(&board, &Coordinate::new(7, 4)), true); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:227:40 [INFO] [stdout] | [INFO] [stdout] 227 | && piece.at().unwrap() == &Coordinate::new(5, 1) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:301:39 [INFO] [stdout] | [INFO] [stdout] 301 | assert_eq!(has_piece(&board, &Coordinate::new(8, 4)), true); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:229:44 [INFO] [stdout] | [INFO] [stdout] 229 | let rook = board.get_piece_at(&Coordinate::new(1, 1)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:303:39 [INFO] [stdout] | [INFO] [stdout] 303 | assert_eq!(has_piece(&board, &Coordinate::new(1, 3)), true); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:233:21 [INFO] [stdout] | [INFO] [stdout] 233 | Coordinate::new(2, 1), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:304:39 [INFO] [stdout] | [INFO] [stdout] 304 | assert_eq!(has_piece(&board, &Coordinate::new(2, 3)), false); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:234:21 [INFO] [stdout] | [INFO] [stdout] 234 | Coordinate::new(3, 1), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:235:21 [INFO] [stdout] | [INFO] [stdout] 235 | Coordinate::new(4, 1), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:305:39 [INFO] [stdout] | [INFO] [stdout] 305 | assert_eq!(has_piece(&board, &Coordinate::new(3, 3)), true); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | && piece.at().unwrap() == &Coordinate::new(5, 1) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:306:39 [INFO] [stdout] | [INFO] [stdout] 306 | assert_eq!(has_piece(&board, &Coordinate::new(4, 3)), false); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:246:44 [INFO] [stdout] | [INFO] [stdout] 246 | let rook = board.get_piece_at(&Coordinate::new(8, 1)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:307:39 [INFO] [stdout] | [INFO] [stdout] 307 | assert_eq!(has_piece(&board, &Coordinate::new(5, 3)), false); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:249:43 [INFO] [stdout] | [INFO] [stdout] 249 | let pass_through_spots = [Coordinate::new(6, 1), Coordinate::new(7, 1)]; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:308:39 [INFO] [stdout] | [INFO] [stdout] 308 | assert_eq!(has_piece(&board, &Coordinate::new(6, 3)), false); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:249:66 [INFO] [stdout] | [INFO] [stdout] 249 | let pass_through_spots = [Coordinate::new(6, 1), Coordinate::new(7, 1)]; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:309:39 [INFO] [stdout] | [INFO] [stdout] 309 | assert_eq!(has_piece(&board, &Coordinate::new(7, 3)), false); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:257:40 [INFO] [stdout] | [INFO] [stdout] 257 | && piece.at().unwrap() == &Coordinate::new(5, 8) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:310:39 [INFO] [stdout] | [INFO] [stdout] 310 | assert_eq!(has_piece(&board, &Coordinate::new(8, 3)), false); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:259:44 [INFO] [stdout] | [INFO] [stdout] 259 | let rook = board.get_piece_at(&Coordinate::new(1, 8)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:263:21 [INFO] [stdout] | [INFO] [stdout] 263 | Coordinate::new(2, 8), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:312:39 [INFO] [stdout] | [INFO] [stdout] 312 | assert_eq!(has_piece(&board, &Coordinate::new(1, 2)), false); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:264:21 [INFO] [stdout] | [INFO] [stdout] 264 | Coordinate::new(3, 8), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:313:39 [INFO] [stdout] | [INFO] [stdout] 313 | assert_eq!(has_piece(&board, &Coordinate::new(2, 2)), true); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:265:21 [INFO] [stdout] | [INFO] [stdout] 265 | Coordinate::new(4, 8), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:314:39 [INFO] [stdout] | [INFO] [stdout] 314 | assert_eq!(has_piece(&board, &Coordinate::new(3, 2)), false); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:274:40 [INFO] [stdout] | [INFO] [stdout] 274 | && piece.at().unwrap() == &Coordinate::new(5, 8) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:315:39 [INFO] [stdout] | [INFO] [stdout] 315 | assert_eq!(has_piece(&board, &Coordinate::new(4, 2)), false); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:276:44 [INFO] [stdout] | [INFO] [stdout] 276 | let rook = board.get_piece_at(&Coordinate::new(8, 8)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:316:39 [INFO] [stdout] | [INFO] [stdout] 316 | assert_eq!(has_piece(&board, &Coordinate::new(5, 2)), false); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:279:43 [INFO] [stdout] | [INFO] [stdout] 279 | let pass_through_spots = [Coordinate::new(6, 8), Coordinate::new(7, 8)]; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:279:66 [INFO] [stdout] | [INFO] [stdout] 279 | let pass_through_spots = [Coordinate::new(6, 8), Coordinate::new(7, 8)]; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:317:39 [INFO] [stdout] | [INFO] [stdout] 317 | assert_eq!(has_piece(&board, &Coordinate::new(6, 2)), true); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:318:39 [INFO] [stdout] | [INFO] [stdout] 318 | assert_eq!(has_piece(&board, &Coordinate::new(7, 2)), true); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:319:39 [INFO] [stdout] | [INFO] [stdout] 319 | assert_eq!(has_piece(&board, &Coordinate::new(8, 2)), true); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:321:39 [INFO] [stdout] | [INFO] [stdout] 321 | assert_eq!(has_piece(&board, &Coordinate::new(1, 1)), false); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:322:39 [INFO] [stdout] | [INFO] [stdout] 322 | assert_eq!(has_piece(&board, &Coordinate::new(2, 1)), false); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:323:39 [INFO] [stdout] | [INFO] [stdout] 323 | assert_eq!(has_piece(&board, &Coordinate::new(3, 1)), false); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:324:39 [INFO] [stdout] | [INFO] [stdout] 324 | assert_eq!(has_piece(&board, &Coordinate::new(4, 1)), false); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:325:39 [INFO] [stdout] | [INFO] [stdout] 325 | assert_eq!(has_piece(&board, &Coordinate::new(5, 1)), true); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:326:39 [INFO] [stdout] | [INFO] [stdout] 326 | assert_eq!(has_piece(&board, &Coordinate::new(6, 1)), true); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:327:39 [INFO] [stdout] | [INFO] [stdout] 327 | assert_eq!(has_piece(&board, &Coordinate::new(7, 1)), true); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:328:39 [INFO] [stdout] | [INFO] [stdout] 328 | assert_eq!(has_piece(&board, &Coordinate::new(8, 1)), false); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | let to = Coordinate::from(s.as_str()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | let a1 = Coordinate::from("a1"); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | let a2 = Coordinate::from("a2"); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/board.rs:26:43 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait BoardTrait { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 26 | fn en_passant_target(&self) -> Option; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/board.rs:47:50 [INFO] [stdout] | [INFO] [stdout] 47 | fn place_piece(&mut self, piece: Piece, at: &Coordinate); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/board.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 49 | fn has_piece(&self, at: &Coordinate) -> bool; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/board.rs:51:33 [INFO] [stdout] | [INFO] [stdout] 51 | fn get_piece_at(&self, at: &Coordinate) -> Option<&Piece>; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/board.rs:65:31 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Board { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 65 | en_passant_target: Option, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/board.rs:65:31 [INFO] [stdout] | [INFO] [stdout] 65 | en_passant_target: Option, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/board.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 72 | impl BoardTrait for Board { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 92 | fn en_passant_target(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/board.rs:321:54 [INFO] [stdout] | [INFO] [stdout] 321 | fn place_piece(&mut self, mut piece: Piece, at: &Coordinate) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/board.rs:327:30 [INFO] [stdout] | [INFO] [stdout] 327 | fn has_piece(&self, at: &Coordinate) -> bool { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/board.rs:333:33 [INFO] [stdout] | [INFO] [stdout] 333 | fn get_piece_at(&self, at: &Coordinate) -> Option<&Piece> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/board.rs:393:35 [INFO] [stdout] | [INFO] [stdout] 386 | impl Board { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 393 | en_passant_target: Option, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/board.rs:463:35 [INFO] [stdout] | [INFO] [stdout] 463 | fn move_piece(&mut self, at: &Coordinate, to: &Coordinate) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/board.rs:463:52 [INFO] [stdout] | [INFO] [stdout] 463 | fn move_piece(&mut self, at: &Coordinate, to: &Coordinate) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/board.rs:471:40 [INFO] [stdout] | [INFO] [stdout] 471 | fn remove_piece_at(&mut self, at: &Coordinate) -> Option { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/board.rs:494:31 [INFO] [stdout] | [INFO] [stdout] 494 | fn get_square(&self, at: &Coordinate) -> &Square { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/board.rs:501:39 [INFO] [stdout] | [INFO] [stdout] 501 | fn get_square_mut(&mut self, at: &Coordinate) -> &mut Square { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/chess_notation.rs:19:45 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn parse_move(str: &str) -> (PieceType, Coordinate) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ai` in module `ai` [INFO] [stdout] --> src/game.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | ai: ai::ai, [INFO] [stdout] | ^^ not found in `ai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ai` in module `ai` [INFO] [stdout] --> src/game.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | ai2: ai::ai, [INFO] [stdout] | ^^ not found in `ai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/chess_notation.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | let a4 = Coordinate::from("a4"); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/chess_move.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | rook_from: Coordinate, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/chess_move.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | rook_to: Coordinate, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/chess_move.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | pub from: Coordinate, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/chess_move.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | pub to: Coordinate, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/chess_move.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | from: Coordinate, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/chess_move.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | to: Coordinate, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/chess_move.rs:120:11 [INFO] [stdout] | [INFO] [stdout] 120 | ) -> (Coordinate, Coordinate) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/chess_move.rs:120:23 [INFO] [stdout] | [INFO] [stdout] 120 | ) -> (Coordinate, Coordinate) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/chess_move.rs:139:11 [INFO] [stdout] | [INFO] [stdout] 139 | ) -> (Coordinate, Coordinate) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/chess_move.rs:139:23 [INFO] [stdout] | [INFO] [stdout] 139 | ) -> (Coordinate, Coordinate) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | from: &Coordinate, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 138 | to: &Coordinate, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | from: &Coordinate, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:178:33 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn make_moves(path: Vec, board: &dyn BoardTrait, piece: &Piece) -> Vec { [INFO] [stdout] | - ^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HIGH_Y` in this scope [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:353:54 [INFO] [stdout] | [INFO] [stdout] 353 | if (piece.color == Color::White && to.y() == HIGH_Y) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LOW_Y` in this scope [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:354:58 [INFO] [stdout] | [INFO] [stdout] 354 | || (piece.color == Color::Black && to.y() == LOW_Y) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:408:20 [INFO] [stdout] | [INFO] [stdout] 408 | from: &Coordinate, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:409:18 [INFO] [stdout] | [INFO] [stdout] 409 | at: &Coordinate, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:451:19 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn make_vector_moves( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 451 | path: Vec, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:519:49 [INFO] [stdout] | [INFO] [stdout] 519 | fn square_is_empty(board: &dyn BoardTrait, at: &Coordinate) -> bool { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:524:54 [INFO] [stdout] | [INFO] [stdout] 524 | fn square_occupiable_by(board: &dyn BoardTrait, at: &Coordinate, color: Color) -> bool { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:531:49 [INFO] [stdout] | [INFO] [stdout] 531 | fn has_enemy_piece(board: &dyn BoardTrait, at: &Coordinate, own_color: Color) -> bool { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:540:20 [INFO] [stdout] | [INFO] [stdout] 540 | fn is_on_board(c: &Coordinate) -> bool { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LOW_X` in this scope [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:541:14 [INFO] [stdout] | [INFO] [stdout] 541 | c.x() >= LOW_X && c.x() <= HIGH_X && c.y() >= LOW_Y && c.y() <= HIGH_Y [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HIGH_X` in this scope [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:541:32 [INFO] [stdout] | [INFO] [stdout] 541 | c.x() >= LOW_X && c.x() <= HIGH_X && c.y() >= LOW_Y && c.y() <= HIGH_Y [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LOW_Y` in this scope [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:541:51 [INFO] [stdout] | [INFO] [stdout] 541 | c.x() >= LOW_X && c.x() <= HIGH_X && c.y() >= LOW_Y && c.y() <= HIGH_Y [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HIGH_Y` in this scope [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:541:69 [INFO] [stdout] | [INFO] [stdout] 541 | c.x() >= LOW_X && c.x() <= HIGH_X && c.y() >= LOW_Y && c.y() <= HIGH_Y [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator.rs:315:15 [INFO] [stdout] | [INFO] [stdout] 315 | pub from: Coordinate, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator.rs:316:13 [INFO] [stdout] | [INFO] [stdout] 316 | pub to: Coordinate, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator.rs:362:26 [INFO] [stdout] | [INFO] [stdout] 358 | struct Pin<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, Coordinate` [INFO] [stdout] ... [INFO] [stdout] 362 | pub can_move_to: Vec, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator.rs:370:25 [INFO] [stdout] | [INFO] [stdout] 370 | attack_coordinate: &Coordinate, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ai` in `ai` [INFO] [stdout] --> src/game.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | ai: ai::ai::new(Color::Black), [INFO] [stdout] | ^^ could not find `ai` in `ai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ai` in `ai` [INFO] [stdout] --> src/game.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | ai2: ai::ai::new(Color::White), [INFO] [stdout] | ^^ could not find `ai` in `ai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::board_console_printer::print_board` [INFO] [stdout] --> src/board.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::board_console_printer::print_board; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::chess_notation::fen_reader` [INFO] [stdout] --> src/board.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::chess_notation::fen_reader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gen_pseudo_legal_moves` [INFO] [stdout] --> src/board.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::move_generator::{gen_pseudo_legal_moves, Move, MoveType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/board.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Formatter` [INFO] [stdout] --> src/board.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::fmt::Formatter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::board_console_printer` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::board_console_printer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::board_console_printer::print_board` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::board_console_printer::print_board; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Prefix::Verbatim` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Prefix::Verbatim; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::chess_notation::fen_reader::make_board` [INFO] [stdout] --> src/chess_notation/pgn.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::chess_notation::fen_reader::make_board; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::chess_notation::fen_reader` [INFO] [stdout] --> src/chess_notation/pgn.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::chess_notation::fen_reader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::move_generator::Move` [INFO] [stdout] --> src/game.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::move_generator::Move; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/game.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use chrono::{DateTime, Local}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::chess_notation::pgn::make_move_log` [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::chess_notation::pgn::make_move_log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::chess_notation::fen_reader::make_board` [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::chess_notation::fen_reader::make_board; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `evaluator` in `ai` [INFO] [stdout] --> src/game.rs:137:28 [INFO] [stdout] | [INFO] [stdout] 137 | let eval = ai::evaluator::evaluate(&self.board, None, None); [INFO] [stdout] | ^^^^^^^^^ could not find `evaluator` in `ai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `evaluator` in `ai` [INFO] [stdout] --> src/game.rs:153:28 [INFO] [stdout] | [INFO] [stdout] 153 | let eval = ai::evaluator::evaluate(&self.board, None, None); [INFO] [stdout] | ^^^^^^^^^ could not find `evaluator` in `ai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/chess_move.rs:124:28 [INFO] [stdout] | [INFO] [stdout] 124 | let from = Coordinate::new(5, y); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/chess_move.rs:125:26 [INFO] [stdout] | [INFO] [stdout] 125 | let to = Coordinate::new(7, y); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/chess_move.rs:129:28 [INFO] [stdout] | [INFO] [stdout] 129 | let from = Coordinate::new(8, y); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/chess_move.rs:130:26 [INFO] [stdout] | [INFO] [stdout] 130 | let to = Coordinate::new(6, y); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/chess_move.rs:143:28 [INFO] [stdout] | [INFO] [stdout] 143 | let from = Coordinate::new(5, y); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/chess_move.rs:144:26 [INFO] [stdout] | [INFO] [stdout] 144 | let to = Coordinate::new(3, y); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/chess_move.rs:148:28 [INFO] [stdout] | [INFO] [stdout] 148 | let from = Coordinate::new(1, y); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/chess_move.rs:149:26 [INFO] [stdout] | [INFO] [stdout] 149 | let to = Coordinate::new(4, y); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:227:40 [INFO] [stdout] | [INFO] [stdout] 227 | && piece.at().unwrap() == &Coordinate::new(5, 1) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:229:44 [INFO] [stdout] | [INFO] [stdout] 229 | let rook = board.get_piece_at(&Coordinate::new(1, 1)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:233:21 [INFO] [stdout] | [INFO] [stdout] 233 | Coordinate::new(2, 1), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:234:21 [INFO] [stdout] | [INFO] [stdout] 234 | Coordinate::new(3, 1), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:235:21 [INFO] [stdout] | [INFO] [stdout] 235 | Coordinate::new(4, 1), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | && piece.at().unwrap() == &Coordinate::new(5, 1) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:246:44 [INFO] [stdout] | [INFO] [stdout] 246 | let rook = board.get_piece_at(&Coordinate::new(8, 1)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:249:43 [INFO] [stdout] | [INFO] [stdout] 249 | let pass_through_spots = [Coordinate::new(6, 1), Coordinate::new(7, 1)]; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:249:66 [INFO] [stdout] | [INFO] [stdout] 249 | let pass_through_spots = [Coordinate::new(6, 1), Coordinate::new(7, 1)]; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:257:40 [INFO] [stdout] | [INFO] [stdout] 257 | && piece.at().unwrap() == &Coordinate::new(5, 8) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:259:44 [INFO] [stdout] | [INFO] [stdout] 259 | let rook = board.get_piece_at(&Coordinate::new(1, 8)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:263:21 [INFO] [stdout] | [INFO] [stdout] 263 | Coordinate::new(2, 8), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:264:21 [INFO] [stdout] | [INFO] [stdout] 264 | Coordinate::new(3, 8), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:265:21 [INFO] [stdout] | [INFO] [stdout] 265 | Coordinate::new(4, 8), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:274:40 [INFO] [stdout] | [INFO] [stdout] 274 | && piece.at().unwrap() == &Coordinate::new(5, 8) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:276:44 [INFO] [stdout] | [INFO] [stdout] 276 | let rook = board.get_piece_at(&Coordinate::new(8, 8)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:279:43 [INFO] [stdout] | [INFO] [stdout] 279 | let pass_through_spots = [Coordinate::new(6, 8), Coordinate::new(7, 8)]; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:279:66 [INFO] [stdout] | [INFO] [stdout] 279 | let pass_through_spots = [Coordinate::new(6, 8), Coordinate::new(7, 8)]; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator.rs:93:42 [INFO] [stdout] | [INFO] [stdout] 93 | let knight = board.get_piece_at(&Coordinate::new(2, 8)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | Coordinate::new(4, 7), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | Coordinate::new(3, 6), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator.rs:112:42 [INFO] [stdout] | [INFO] [stdout] 112 | let bishop = board.get_piece_at(&Coordinate::new(3, 8)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator.rs:123:41 [INFO] [stdout] | [INFO] [stdout] 123 | let queen = board.get_piece_at(&Coordinate::new(1, 4)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator.rs:134:40 [INFO] [stdout] | [INFO] [stdout] 134 | let king = board.get_piece_at(&Coordinate::new(5, 8)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator.rs:201:14 [INFO] [stdout] | [INFO] [stdout] 201 | &Coordinate::new(2, 4), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator.rs:217:42 [INFO] [stdout] | [INFO] [stdout] 217 | let bishop = board.get_piece_at(&Coordinate::new(2, 4)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator.rs:218:48 [INFO] [stdout] | [INFO] [stdout] 218 | let white_bishop = board.get_piece_at(&Coordinate::new(4, 2)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `&_` [INFO] [stdout] --> src/board.rs:340:27 [INFO] [stdout] | [INFO] [stdout] 340 | self.find_pieces(|&square| { [INFO] [stdout] | ^^^^^^^ consider giving this closure parameter the explicit type `&_`, with the type parameters specified [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator.rs:219:40 [INFO] [stdout] | [INFO] [stdout] 219 | let king = board.get_piece_at(&Coordinate::new(5, 1)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator.rs:220:32 [INFO] [stdout] | [INFO] [stdout] 220 | let can_move_to = vec![Coordinate::new(2, 4), Coordinate::new(3, 3)]; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/move_generator.rs:220:55 [INFO] [stdout] | [INFO] [stdout] 220 | let can_move_to = vec![Coordinate::new(2, 4), Coordinate::new(3, 3)]; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/tests.rs:61:67 [INFO] [stdout] | [INFO] [stdout] 61 | let pawn = Piece::new(Color::White, PieceType::Pawn, Some(Coordinate::new(1, 1))); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/tests.rs:62:69 [INFO] [stdout] | [INFO] [stdout] 62 | let pawn_2 = Piece::new(Color::White, PieceType::Pawn, Some(Coordinate::new(1, 1))); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/tests.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | let m1 = Move::new(Coordinate::new(1, 1), Coordinate::new(1, 1), PieceType::Pawn, MoveType::Move, None, None); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/tests.rs:64:51 [INFO] [stdout] | [INFO] [stdout] 64 | let m1 = Move::new(Coordinate::new(1, 1), Coordinate::new(1, 1), PieceType::Pawn, MoveType::Move, None, None); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/tests.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 65 | let m2 = Move::new(Coordinate::new(2, 1), Coordinate::new(1, 1), PieceType::Pawn, MoveType::Move,None, None); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/tests.rs:65:51 [INFO] [stdout] | [INFO] [stdout] 65 | let m2 = Move::new(Coordinate::new(2, 1), Coordinate::new(1, 1), PieceType::Pawn, MoveType::Move,None, None); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/tests.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | let m3 = Move::new(Coordinate::new(1, 1), Coordinate::new(1, 1), PieceType::Pawn, MoveType::Move,None, None); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/tests.rs:66:51 [INFO] [stdout] | [INFO] [stdout] 66 | let m3 = Move::new(Coordinate::new(1, 1), Coordinate::new(1, 1), PieceType::Pawn, MoveType::Move,None, None); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/board.rs:26:43 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait BoardTrait { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 26 | fn en_passant_target(&self) -> Option; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/board.rs:47:50 [INFO] [stdout] | [INFO] [stdout] 47 | fn place_piece(&mut self, piece: Piece, at: &Coordinate); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/board.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 49 | fn has_piece(&self, at: &Coordinate) -> bool; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/board.rs:51:33 [INFO] [stdout] | [INFO] [stdout] 51 | fn get_piece_at(&self, at: &Coordinate) -> Option<&Piece>; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/board.rs:65:31 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Board { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 65 | en_passant_target: Option, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/board.rs:65:31 [INFO] [stdout] | [INFO] [stdout] 65 | en_passant_target: Option, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/board.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 72 | impl BoardTrait for Board { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 92 | fn en_passant_target(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/board.rs:321:54 [INFO] [stdout] | [INFO] [stdout] 321 | fn place_piece(&mut self, mut piece: Piece, at: &Coordinate) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/board.rs:327:30 [INFO] [stdout] | [INFO] [stdout] 327 | fn has_piece(&self, at: &Coordinate) -> bool { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/board.rs:333:33 [INFO] [stdout] | [INFO] [stdout] 333 | fn get_piece_at(&self, at: &Coordinate) -> Option<&Piece> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/board.rs:393:35 [INFO] [stdout] | [INFO] [stdout] 386 | impl Board { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 393 | en_passant_target: Option, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/board.rs:463:35 [INFO] [stdout] | [INFO] [stdout] 463 | fn move_piece(&mut self, at: &Coordinate, to: &Coordinate) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/board.rs:463:52 [INFO] [stdout] | [INFO] [stdout] 463 | fn move_piece(&mut self, at: &Coordinate, to: &Coordinate) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/board.rs:471:40 [INFO] [stdout] | [INFO] [stdout] 471 | fn remove_piece_at(&mut self, at: &Coordinate) -> Option { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/board.rs:494:31 [INFO] [stdout] | [INFO] [stdout] 494 | fn get_square(&self, at: &Coordinate) -> &Square { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/board.rs:501:39 [INFO] [stdout] | [INFO] [stdout] 501 | fn get_square_mut(&mut self, at: &Coordinate) -> &mut Square { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/chess_notation/fen_reader.rs:247:47 [INFO] [stdout] | [INFO] [stdout] 247 | fn has_piece(board: &BoardTrait, at: &Coordinate) -> bool { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/chess_notation.rs:19:45 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn parse_move(str: &str) -> (PieceType, Coordinate) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ai` in module `ai` [INFO] [stdout] --> src/game.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | ai: ai::ai, [INFO] [stdout] | ^^ not found in `ai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ai` in module `ai` [INFO] [stdout] --> src/game.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | ai2: ai::ai, [INFO] [stdout] | ^^ not found in `ai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/chess_move.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | rook_from: Coordinate, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/chess_move.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | rook_to: Coordinate, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/chess_move.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | pub from: Coordinate, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/chess_move.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | pub to: Coordinate, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/chess_move.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | from: Coordinate, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/chess_move.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | to: Coordinate, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/chess_move.rs:120:11 [INFO] [stdout] | [INFO] [stdout] 120 | ) -> (Coordinate, Coordinate) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/chess_move.rs:120:23 [INFO] [stdout] | [INFO] [stdout] 120 | ) -> (Coordinate, Coordinate) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/chess_move.rs:139:11 [INFO] [stdout] | [INFO] [stdout] 139 | ) -> (Coordinate, Coordinate) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/chess_move.rs:139:23 [INFO] [stdout] | [INFO] [stdout] 139 | ) -> (Coordinate, Coordinate) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | from: &Coordinate, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 138 | to: &Coordinate, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | from: &Coordinate, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:178:33 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn make_moves(path: Vec, board: &dyn BoardTrait, piece: &Piece) -> Vec { [INFO] [stdout] | - ^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HIGH_Y` in this scope [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:353:54 [INFO] [stdout] | [INFO] [stdout] 353 | if (piece.color == Color::White && to.y() == HIGH_Y) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LOW_Y` in this scope [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:354:58 [INFO] [stdout] | [INFO] [stdout] 354 | || (piece.color == Color::Black && to.y() == LOW_Y) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:408:20 [INFO] [stdout] | [INFO] [stdout] 408 | from: &Coordinate, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:409:18 [INFO] [stdout] | [INFO] [stdout] 409 | at: &Coordinate, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:451:19 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn make_vector_moves( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 451 | path: Vec, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:519:49 [INFO] [stdout] | [INFO] [stdout] 519 | fn square_is_empty(board: &dyn BoardTrait, at: &Coordinate) -> bool { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:524:54 [INFO] [stdout] | [INFO] [stdout] 524 | fn square_occupiable_by(board: &dyn BoardTrait, at: &Coordinate, color: Color) -> bool { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:531:49 [INFO] [stdout] | [INFO] [stdout] 531 | fn has_enemy_piece(board: &dyn BoardTrait, at: &Coordinate, own_color: Color) -> bool { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:540:20 [INFO] [stdout] | [INFO] [stdout] 540 | fn is_on_board(c: &Coordinate) -> bool { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LOW_X` in this scope [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:541:14 [INFO] [stdout] | [INFO] [stdout] 541 | c.x() >= LOW_X && c.x() <= HIGH_X && c.y() >= LOW_Y && c.y() <= HIGH_Y [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HIGH_X` in this scope [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:541:32 [INFO] [stdout] | [INFO] [stdout] 541 | c.x() >= LOW_X && c.x() <= HIGH_X && c.y() >= LOW_Y && c.y() <= HIGH_Y [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LOW_Y` in this scope [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:541:51 [INFO] [stdout] | [INFO] [stdout] 541 | c.x() >= LOW_X && c.x() <= HIGH_X && c.y() >= LOW_Y && c.y() <= HIGH_Y [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HIGH_Y` in this scope [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:541:69 [INFO] [stdout] | [INFO] [stdout] 541 | c.x() >= LOW_X && c.x() <= HIGH_X && c.y() >= LOW_Y && c.y() <= HIGH_Y [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator.rs:315:15 [INFO] [stdout] | [INFO] [stdout] 315 | pub from: Coordinate, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator.rs:316:13 [INFO] [stdout] | [INFO] [stdout] 316 | pub to: Coordinate, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator.rs:362:26 [INFO] [stdout] | [INFO] [stdout] 358 | struct Pin<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, Coordinate` [INFO] [stdout] ... [INFO] [stdout] 362 | pub can_move_to: Vec, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator.rs:370:25 [INFO] [stdout] | [INFO] [stdout] 370 | attack_coordinate: &Coordinate, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::board_console_printer::print_board` [INFO] [stdout] --> src/board.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::board_console_printer::print_board; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::chess_notation::fen_reader` [INFO] [stdout] --> src/board.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::chess_notation::fen_reader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gen_pseudo_legal_moves` [INFO] [stdout] --> src/board.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::move_generator::{gen_pseudo_legal_moves, Move, MoveType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/board.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Formatter` [INFO] [stdout] --> src/board.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::fmt::Formatter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::board_console_printer` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::board_console_printer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::board_console_printer::print_board` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::board_console_printer::print_board; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Prefix::Verbatim` [INFO] [stdout] --> src/chess_notation/fen_reader.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Prefix::Verbatim; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chess_notation/fen_reader.rs:247:30 [INFO] [stdout] | [INFO] [stdout] 247 | fn has_piece(board: &BoardTrait, at: &Coordinate) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn BoardTrait` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::chess_notation::fen_reader` [INFO] [stdout] --> src/chess_notation/pgn.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::chess_notation::fen_reader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::move_generator::Move` [INFO] [stdout] --> src/game.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::move_generator::Move; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/game.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use chrono::{DateTime, Local}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::chess_notation::pgn::make_move_log` [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::chess_notation::pgn::make_move_log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::chess_notation::fen_reader::make_board` [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::chess_notation::fen_reader::make_board; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ai::*` [INFO] [stdout] --> src/tests.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ai::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 100 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0425, E0432, E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chess_engine` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed for `&_` [INFO] [stdout] --> src/board.rs:340:27 [INFO] [stdout] | [INFO] [stdout] 340 | self.find_pieces(|&square| { [INFO] [stdout] | ^^^^^^^ consider giving this closure parameter the explicit type `&_`, with the type parameters specified [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 196 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0425, E0432, E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e8a59a5c95c07b8455e8658f1f39da5e70ffdcb15e735af4478bff8959601b8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8a59a5c95c07b8455e8658f1f39da5e70ffdcb15e735af4478bff8959601b8f", kill_on_drop: false }` [INFO] [stdout] e8a59a5c95c07b8455e8658f1f39da5e70ffdcb15e735af4478bff8959601b8f