[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] 0dfd242a404885e3d34bebf2b9e488cdaf68cd95 [INFO] documenting EricGlover/chess_engine against 1.61.0 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEricGlover%2Fchess_engine" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EricGlover/chess_engine on toolchain 1.61.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "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-1/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" "+1.61.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded string_morph v0.1.0 [INFO] [stderr] Downloaded unicode_types v0.2.0 [INFO] [stderr] Downloaded matrix_display v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f1aef2d10830bc633eb9823bd212b1df566af292189b580a273e2f65bd32215a [INFO] running `Command { std: "docker" "start" "-a" "f1aef2d10830bc633eb9823bd212b1df566af292189b580a273e2f65bd32215a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1aef2d10830bc633eb9823bd212b1df566af292189b580a273e2f65bd32215a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1aef2d10830bc633eb9823bd212b1df566af292189b580a273e2f65bd32215a", kill_on_drop: false }` [INFO] [stdout] f1aef2d10830bc633eb9823bd212b1df566af292189b580a273e2f65bd32215a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f5287e7d6cc80a1ae550f100dab67c57c7de3910147a4d618e0e65e0b0a1ee39 [INFO] running `Command { std: "docker" "start" "-a" "f5287e7d6cc80a1ae550f100dab67c57c7de3910147a4d618e0e65e0b0a1ee39", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.90 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking string_morph v0.1.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking zeroize v1.2.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking number_prefix v0.3.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking unicode_types v0.2.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [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 num-integer v0.1.44 [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 indicatif v0.15.0 [INFO] [stderr] Checking dialoguer v0.8.0 [INFO] [stderr] Checking matrix_display v1.0.0 [INFO] [stderr] Documenting 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" or "src/ai/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `board_trait` [INFO] [stdout] --> src/board.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod board_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `board_trait`, create file "src/board/board_trait.rs" or "src/board/board_trait/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `castling_rights` [INFO] [stdout] --> src/board.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | mod castling_rights; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `castling_rights`, create file "src/board/castling_rights.rs" or "src/board/castling_rights/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `color` [INFO] [stdout] --> src/board.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | mod color; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `color`, create file "src/board/color.rs" or "src/board/color/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `coordinate` [INFO] [stdout] --> src/board.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod coordinate; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `coordinate`, create file "src/board/coordinate.rs" or "src/board/coordinate/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `iterators` [INFO] [stdout] --> src/board.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | mod iterators; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `iterators`, create file "src/board/iterators.rs" or "src/board/iterators/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `piece` [INFO] [stdout] --> src/board.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod piece; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `piece`, create file "src/board/piece.rs" or "src/board/piece/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `piece_type` [INFO] [stdout] --> src/board.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod piece_type; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `piece_type`, create file "src/board/piece_type.rs" or "src/board/piece_type/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `square` [INFO] [stdout] --> src/board.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod square; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `square`, create file "src/board/square.rs" or "src/board/square/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `board_trait::BoardTrait` [INFO] [stdout] --> src/board.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use board_trait::BoardTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `BoardTrait` in `board::board_trait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `castling_rights::CastlingRights` [INFO] [stdout] --> src/board.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | 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:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | 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:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | 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:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | 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:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | 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:39 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::board::{BoardTrait, Color, 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/hash.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::board::{BoardTrait, Color, 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[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/board.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Board { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 30 | 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:51:43 [INFO] [stdout] | [INFO] [stdout] 36 | impl BoardTrait for Board { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 51 | fn en_passant_target(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SquareIterator` in this scope [INFO] [stdout] --> src/board.rs:80:31 [INFO] [stdout] | [INFO] [stdout] 80 | fn squares_list(&self) -> SquareIterator { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RankIterator` in this scope [INFO] [stdout] --> src/board.rs:84:34 [INFO] [stdout] | [INFO] [stdout] 84 | fn get_rank(&self, y: u8) -> RankIterator { [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `IntoIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FilesIterator` in this scope [INFO] [stdout] --> src/board.rs:94:28 [INFO] [stdout] | [INFO] [stdout] 94 | fn get_files(&self) -> FilesIterator { [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:258:54 [INFO] [stdout] | [INFO] [stdout] 258 | 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:269:30 [INFO] [stdout] | [INFO] [stdout] 269 | 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:275:33 [INFO] [stdout] | [INFO] [stdout] 275 | 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:341:35 [INFO] [stdout] | [INFO] [stdout] 334 | impl Board { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 341 | 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:373:35 [INFO] [stdout] | [INFO] [stdout] 373 | 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:373:52 [INFO] [stdout] | [INFO] [stdout] 373 | 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:381:40 [INFO] [stdout] | [INFO] [stdout] 381 | 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 `SquareIterator` in this scope [INFO] [stdout] --> src/board.rs:404:36 [INFO] [stdout] | [INFO] [stdout] 404 | fn squares_list_iter(&self) -> SquareIterator { [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:408:31 [INFO] [stdout] | [INFO] [stdout] 408 | 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:411:39 [INFO] [stdout] | [INFO] [stdout] 411 | 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:131:40 [INFO] [stdout] | [INFO] [stdout] 131 | fn read_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:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | 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:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | 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:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | 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:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | 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:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | 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:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | 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:85:20 [INFO] [stdout] | [INFO] [stdout] 85 | 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:86:18 [INFO] [stdout] | [INFO] [stdout] 86 | 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:87:15 [INFO] [stdout] | [INFO] [stdout] 87 | 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:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | 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:134:11 [INFO] [stdout] | [INFO] [stdout] 134 | ) -> (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:134:23 [INFO] [stdout] | [INFO] [stdout] 134 | ) -> (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:153:11 [INFO] [stdout] | [INFO] [stdout] 153 | ) -> (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:153:23 [INFO] [stdout] | [INFO] [stdout] 153 | ) -> (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:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | 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:140:10 [INFO] [stdout] | [INFO] [stdout] 140 | 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:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | 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:177:33 [INFO] [stdout] | [INFO] [stdout] 177 | 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[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/move_generator/pseudo_legal_move_generator.rs:369:20 [INFO] [stdout] | [INFO] [stdout] 369 | 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:370:18 [INFO] [stdout] | [INFO] [stdout] 370 | 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:398:19 [INFO] [stdout] | [INFO] [stdout] 397 | pub fn make_vector_moves( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 398 | 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:466:49 [INFO] [stdout] | [INFO] [stdout] 466 | 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:471:54 [INFO] [stdout] | [INFO] [stdout] 471 | 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:478:49 [INFO] [stdout] | [INFO] [stdout] 478 | 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:487:20 [INFO] [stdout] | [INFO] [stdout] 487 | fn is_on_board(c: &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.rs:338:15 [INFO] [stdout] | [INFO] [stdout] 338 | 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:339:13 [INFO] [stdout] | [INFO] [stdout] 339 | 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:385:26 [INFO] [stdout] | [INFO] [stdout] 381 | struct Pin<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, Coordinate` [INFO] [stdout] ... [INFO] [stdout] 385 | 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:393:25 [INFO] [stdout] | [INFO] [stdout] 393 | attack_coordinate: &Coordinate, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/hash.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | let max = (u64::pow(2, 64) - 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 11 - let max = (u64::pow(2, 64) - 1); [INFO] [stdout] 11 + let max = u64::pow(2, 64) - 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/hash.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | let num = rng.gen_range((0..max)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12 - let num = rng.gen_range((0..max)); [INFO] [stdout] 12 + let num = rng.gen_range(0..max); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/hash.rs:42:40 [INFO] [stdout] | [INFO] [stdout] 42 | let mut gen = || rng.gen_range((0..u64::MAX)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 42 - let mut gen = || rng.gen_range((0..u64::MAX)); [INFO] [stdout] 42 + let mut gen = || rng.gen_range(0..u64::MAX); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 67 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not document `chess_engine` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name chess_engine src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=ef4fbb05ce43f2db -L dependency=/opt/rustwide/target/debug/deps --extern chrono=/opt/rustwide/target/debug/deps/libchrono-45c501cc428ba732.rmeta --extern console=/opt/rustwide/target/debug/deps/libconsole-a027f07c0d2c67c9.rmeta --extern dialoguer=/opt/rustwide/target/debug/deps/libdialoguer-81ad7b43506bdcc0.rmeta --extern getopts=/opt/rustwide/target/debug/deps/libgetopts-5ac1998d42ad4645.rmeta --extern indicatif=/opt/rustwide/target/debug/deps/libindicatif-69a23c34e95f5fdc.rmeta --extern matrix_display=/opt/rustwide/target/debug/deps/libmatrix_display-1f1e32f49afeb60b.rmeta --extern rand=/opt/rustwide/target/debug/deps/librand-4c79efbc49e9b971.rmeta --extern regex=/opt/rustwide/target/debug/deps/libregex-16c53435a1f9b16e.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "f5287e7d6cc80a1ae550f100dab67c57c7de3910147a4d618e0e65e0b0a1ee39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5287e7d6cc80a1ae550f100dab67c57c7de3910147a4d618e0e65e0b0a1ee39", kill_on_drop: false }` [INFO] [stdout] f5287e7d6cc80a1ae550f100dab67c57c7de3910147a4d618e0e65e0b0a1ee39