[INFO] cloning repository https://github.com/u4ium/chess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/u4ium/chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fu4ium%2Fchess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fu4ium%2Fchess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ade9fa58c1bd828dd0592f965f59162172bb3dad [INFO] testing u4ium/chess against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fu4ium%2Fchess" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/u4ium/chess on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/u4ium/chess [INFO] finished tweaking git repo https://github.com/u4ium/chess [INFO] tweaked toml for git repo https://github.com/u4ium/chess written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/u4ium/chess already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 487424439dc9be4de114585b0f0399f8444dadf1e2b1a177d35c3793d585ec9a [INFO] running `Command { std: "docker" "start" "-a" "487424439dc9be4de114585b0f0399f8444dadf1e2b1a177d35c3793d585ec9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "487424439dc9be4de114585b0f0399f8444dadf1e2b1a177d35c3793d585ec9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "487424439dc9be4de114585b0f0399f8444dadf1e2b1a177d35c3793d585ec9a", kill_on_drop: false }` [INFO] [stdout] 487424439dc9be4de114585b0f0399f8444dadf1e2b1a177d35c3793d585ec9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f18022dd47430b03caf22540875cc37dd9773a79d2b62ee9352f63e7d725dfa9 [INFO] running `Command { std: "docker" "start" "-a" "f18022dd47430b03caf22540875cc37dd9773a79d2b62ee9352f63e7d725dfa9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling enum-map-derive v0.6.0 [INFO] [stderr] Compiling enum-map v1.1.1 [INFO] [stderr] Compiling chess v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 30.73s [INFO] running `Command { std: "docker" "inspect" "f18022dd47430b03caf22540875cc37dd9773a79d2b62ee9352f63e7d725dfa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f18022dd47430b03caf22540875cc37dd9773a79d2b62ee9352f63e7d725dfa9", kill_on_drop: false }` [INFO] [stdout] f18022dd47430b03caf22540875cc37dd9773a79d2b62ee9352f63e7d725dfa9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6312cc4b5c84233f47c469fd9c9b5add798324461087b55de1558a84991348af [INFO] running `Command { std: "docker" "start" "-a" "6312cc4b5c84233f47c469fd9c9b5add798324461087b55de1558a84991348af", kill_on_drop: false }` [INFO] [stderr] Compiling chess v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.47s [INFO] running `Command { std: "docker" "inspect" "6312cc4b5c84233f47c469fd9c9b5add798324461087b55de1558a84991348af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6312cc4b5c84233f47c469fd9c9b5add798324461087b55de1558a84991348af", kill_on_drop: false }` [INFO] [stdout] 6312cc4b5c84233f47c469fd9c9b5add798324461087b55de1558a84991348af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f2842a3bc3963c914b1855c23da7577103999f4300b21e8fc06e19d089e6e8ca [INFO] running `Command { std: "docker" "start" "-a" "f2842a3bc3963c914b1855c23da7577103999f4300b21e8fc06e19d089e6e8ca", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/chess-855be04bb478899e) [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/chess-b8f0feeec743562f) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests chess [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/board.rs - board::BoardState::get_legal_moves (line 319) ... FAILED [INFO] [stdout] test src/board/grid.rs - board::grid::squares_between (line 79) ... FAILED [INFO] [stdout] test src/board/grid.rs - board::grid::squares_between (line 35) ... FAILED [INFO] [stdout] test src/board/grid.rs - board::grid::squares_between (line 24) ... FAILED [INFO] [stdout] test src/board/grid.rs - board::grid::squares_between (line 68) ... FAILED [INFO] [stdout] test src/board/grid.rs - board::grid::squares_between (line 57) ... FAILED [INFO] [stdout] test src/board/grid.rs - board::grid::squares_between (line 46) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/board.rs - board::BoardState::get_legal_moves (line 319) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `chess::ColumnIndex`, `chess::RowIndex`, `chess::Coordinate`, `chess::Colour` [INFO] [stdout] --> src/board.rs:320:25 [INFO] [stdout] | [INFO] [stdout] 4 | use chess::{BoardState, ColumnIndex::*, RowIndex::*, Move, Coordinate, Colour::*}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^ could not find `Colour` in `chess` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `Coordinate` in the root [INFO] [stdout] | | could not find `RowIndex` in `chess` [INFO] [stdout] | could not find `ColumnIndex` in `chess` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/board.rs:330:4 [INFO] [stdout] | [INFO] [stdout] 14 | ], Black).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::piece::Colour::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/board.rs:331:40 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(board_state.get_legal_moves(Black).len(), 0); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::piece::Colour::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `BoardState` is private [INFO] [stdout] --> src/board.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 4 | use chess::{BoardState, ColumnIndex::*, RowIndex::*, Move, Coordinate, Colour::*}; [INFO] [stdout] | ^^^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `BoardState` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:8:50 [INFO] [stdout] | [INFO] [stdout] 8 | use board::{coordinates::Move, piece::Colour::*, BoardState}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Move` is private [INFO] [stdout] --> src/board.rs:320:54 [INFO] [stdout] | [INFO] [stdout] 4 | use chess::{BoardState, ColumnIndex::*, RowIndex::*, Move, Coordinate, Colour::*}; [INFO] [stdout] | ^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Move` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use board::{coordinates::Move, piece::Colour::*, BoardState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0603. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/board/grid.rs - board::grid::squares_between (line 79) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `chess::RowIndex`, `chess::ColumnIndex`, `chess::Coordinate`, `chess::squares_between` [INFO] [stdout] --> src/board/grid.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 4 | use chess::{RowIndex::*, ColumnIndex::*, Coordinate, Move, squares_between}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ no `squares_between` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `Coordinate` in the root [INFO] [stdout] | | could not find `ColumnIndex` in `chess` [INFO] [stdout] | could not find `RowIndex` in `chess` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `_1` in this scope [INFO] [stdout] --> src/board/grid.rs:82:28 [INFO] [stdout] | [INFO] [stdout] 6 | from: Coordinate {row: _1, column: A}, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::RowIndex::_1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/board/grid.rs:82:40 [INFO] [stdout] | [INFO] [stdout] 6 | from: Coordinate {row: _1, column: A}, [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::ColumnIndex::A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `_2` in this scope [INFO] [stdout] --> src/board/grid.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 7 | to: Coordinate {row: _2, column: B}, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::RowIndex::_2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> src/board/grid.rs:83:38 [INFO] [stdout] | [INFO] [stdout] 7 | to: Coordinate {row: _2, column: B}, [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::ColumnIndex::B; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Move` is private [INFO] [stdout] --> src/board/grid.rs:80:54 [INFO] [stdout] | [INFO] [stdout] 4 | use chess::{RowIndex::*, ColumnIndex::*, Coordinate, Move, squares_between}; [INFO] [stdout] | ^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Move` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use board::{coordinates::Move, piece::Colour::*, BoardState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0603. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/board/grid.rs - board::grid::squares_between (line 35) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `chess::RowIndex`, `chess::ColumnIndex`, `chess::Coordinate`, `chess::squares_between` [INFO] [stdout] --> src/board/grid.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 4 | use chess::{RowIndex::*, ColumnIndex::*, Coordinate, Move, squares_between}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ no `squares_between` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `Coordinate` in the root [INFO] [stdout] | | could not find `ColumnIndex` in `chess` [INFO] [stdout] | could not find `RowIndex` in `chess` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `_7` in this scope [INFO] [stdout] --> src/board/grid.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 6 | from: Coordinate {row: _7, column: G}, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::RowIndex::_7; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `G` in this scope [INFO] [stdout] --> src/board/grid.rs:38:40 [INFO] [stdout] | [INFO] [stdout] 6 | from: Coordinate {row: _7, column: G}, [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::ColumnIndex::G; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `_4` in this scope [INFO] [stdout] --> src/board/grid.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 7 | to: Coordinate {row: _4, column: D}, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::RowIndex::_4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D` in this scope [INFO] [stdout] --> src/board/grid.rs:39:38 [INFO] [stdout] | [INFO] [stdout] 7 | to: Coordinate {row: _4, column: D}, [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::ColumnIndex::D; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `_6` in this scope [INFO] [stdout] --> src/board/grid.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 10 | Coordinate {row: _6, column: F}, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::RowIndex::_6; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `F` in this scope [INFO] [stdout] --> src/board/grid.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 10 | Coordinate {row: _6, column: F}, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 10 | Coordinate {row: _6, column: m}, [INFO] [stdout] | ~ [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::ColumnIndex::F; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `_5` in this scope [INFO] [stdout] --> src/board/grid.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 11 | Coordinate {row: _5, column: E} [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::RowIndex::_5; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `E` in this scope [INFO] [stdout] --> src/board/grid.rs:43:34 [INFO] [stdout] | [INFO] [stdout] 11 | Coordinate {row: _5, column: E} [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 11 | Coordinate {row: _5, column: m} [INFO] [stdout] | ~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::ColumnIndex::E; [INFO] [stdout] | [INFO] [stdout] 3 | use core::f32::consts::E; [INFO] [stdout] | [INFO] [stdout] 3 | use core::f64::consts::E; [INFO] [stdout] | [INFO] [stdout] 3 | use std::f32::consts::E; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Move` is private [INFO] [stdout] --> src/board/grid.rs:36:54 [INFO] [stdout] | [INFO] [stdout] 4 | use chess::{RowIndex::*, ColumnIndex::*, Coordinate, Move, squares_between}; [INFO] [stdout] | ^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Move` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use board::{coordinates::Move, piece::Colour::*, BoardState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0603. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/board/grid.rs - board::grid::squares_between (line 24) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `chess::RowIndex`, `chess::ColumnIndex`, `chess::Coordinate`, `chess::squares_between` [INFO] [stdout] --> src/board/grid.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 4 | use chess::{RowIndex::*, ColumnIndex::*, Coordinate, Move, squares_between}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ no `squares_between` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `Coordinate` in the root [INFO] [stdout] | | could not find `ColumnIndex` in `chess` [INFO] [stdout] | could not find `RowIndex` in `chess` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `_1` in this scope [INFO] [stdout] --> src/board/grid.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 6 | from: Coordinate {row: _1, column: A}, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::RowIndex::_1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/board/grid.rs:27:40 [INFO] [stdout] | [INFO] [stdout] 6 | from: Coordinate {row: _1, column: A}, [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::ColumnIndex::A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `_4` in this scope [INFO] [stdout] --> src/board/grid.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 7 | to: Coordinate {row: _4, column: D}, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::RowIndex::_4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D` in this scope [INFO] [stdout] --> src/board/grid.rs:28:38 [INFO] [stdout] | [INFO] [stdout] 7 | to: Coordinate {row: _4, column: D}, [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::ColumnIndex::D; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `_2` in this scope [INFO] [stdout] --> src/board/grid.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 10 | Coordinate {row: _2, column: B}, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::RowIndex::_2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> src/board/grid.rs:31:34 [INFO] [stdout] | [INFO] [stdout] 10 | Coordinate {row: _2, column: B}, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 10 | Coordinate {row: _2, column: m}, [INFO] [stdout] | ~ [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::ColumnIndex::B; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `_3` in this scope [INFO] [stdout] --> src/board/grid.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 11 | Coordinate {row: _3, column: C} [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::RowIndex::_3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `C` in this scope [INFO] [stdout] --> src/board/grid.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 11 | Coordinate {row: _3, column: C} [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 11 | Coordinate {row: _3, column: m} [INFO] [stdout] | ~ [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::ColumnIndex::C; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Move` is private [INFO] [stdout] --> src/board/grid.rs:25:54 [INFO] [stdout] | [INFO] [stdout] 4 | use chess::{RowIndex::*, ColumnIndex::*, Coordinate, Move, squares_between}; [INFO] [stdout] | ^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Move` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use board::{coordinates::Move, piece::Colour::*, BoardState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0603. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/board/grid.rs - board::grid::squares_between (line 68) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `chess::RowIndex`, `chess::ColumnIndex`, `chess::Coordinate`, `chess::squares_between` [INFO] [stdout] --> src/board/grid.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 4 | use chess::{RowIndex::*, ColumnIndex::*, Coordinate, Move, squares_between}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ no `squares_between` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `Coordinate` in the root [INFO] [stdout] | | could not find `ColumnIndex` in `chess` [INFO] [stdout] | could not find `RowIndex` in `chess` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `_7` in this scope [INFO] [stdout] --> src/board/grid.rs:71:28 [INFO] [stdout] | [INFO] [stdout] 6 | from: Coordinate {row: _7, column: D}, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::RowIndex::_7; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D` in this scope [INFO] [stdout] --> src/board/grid.rs:71:40 [INFO] [stdout] | [INFO] [stdout] 6 | from: Coordinate {row: _7, column: D}, [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::ColumnIndex::D; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `_7` in this scope [INFO] [stdout] --> src/board/grid.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 7 | to: Coordinate {row: _7, column: G}, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::RowIndex::_7; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `G` in this scope [INFO] [stdout] --> src/board/grid.rs:72:38 [INFO] [stdout] | [INFO] [stdout] 7 | to: Coordinate {row: _7, column: G}, [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::ColumnIndex::G; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `_7` in this scope [INFO] [stdout] --> src/board/grid.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 10 | Coordinate {row: _7, column: E}, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::RowIndex::_7; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `E` in this scope [INFO] [stdout] --> src/board/grid.rs:75:34 [INFO] [stdout] | [INFO] [stdout] 10 | Coordinate {row: _7, column: E}, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 10 | Coordinate {row: _7, column: m}, [INFO] [stdout] | ~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::ColumnIndex::E; [INFO] [stdout] | [INFO] [stdout] 3 | use core::f32::consts::E; [INFO] [stdout] | [INFO] [stdout] 3 | use core::f64::consts::E; [INFO] [stdout] | [INFO] [stdout] 3 | use std::f32::consts::E; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `_7` in this scope [INFO] [stdout] --> src/board/grid.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 11 | Coordinate {row: _7, column: F} [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::RowIndex::_7; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `F` in this scope [INFO] [stdout] --> src/board/grid.rs:76:34 [INFO] [stdout] | [INFO] [stdout] 11 | Coordinate {row: _7, column: F} [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 11 | Coordinate {row: _7, column: m} [INFO] [stdout] | ~ [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::ColumnIndex::F; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Move` is private [INFO] [stdout] --> src/board/grid.rs:69:54 [INFO] [stdout] | [INFO] [stdout] 4 | use chess::{RowIndex::*, ColumnIndex::*, Coordinate, Move, squares_between}; [INFO] [stdout] | ^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Move` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use board::{coordinates::Move, piece::Colour::*, BoardState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0603. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/board/grid.rs - board::grid::squares_between (line 57) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `chess::RowIndex`, `chess::ColumnIndex`, `chess::Coordinate`, `chess::squares_between` [INFO] [stdout] --> src/board/grid.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 4 | use chess::{RowIndex::*, ColumnIndex::*, Coordinate, Move, squares_between}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ no `squares_between` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `Coordinate` in the root [INFO] [stdout] | | could not find `ColumnIndex` in `chess` [INFO] [stdout] | could not find `RowIndex` in `chess` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `_7` in this scope [INFO] [stdout] --> src/board/grid.rs:60:28 [INFO] [stdout] | [INFO] [stdout] 6 | from: Coordinate {row: _7, column: G}, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::RowIndex::_7; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `G` in this scope [INFO] [stdout] --> src/board/grid.rs:60:40 [INFO] [stdout] | [INFO] [stdout] 6 | from: Coordinate {row: _7, column: G}, [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::ColumnIndex::G; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `_7` in this scope [INFO] [stdout] --> src/board/grid.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 7 | to: Coordinate {row: _7, column: D}, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::RowIndex::_7; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D` in this scope [INFO] [stdout] --> src/board/grid.rs:61:38 [INFO] [stdout] | [INFO] [stdout] 7 | to: Coordinate {row: _7, column: D}, [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::ColumnIndex::D; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `_7` in this scope [INFO] [stdout] --> src/board/grid.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 10 | Coordinate {row: _7, column: F}, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::RowIndex::_7; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `F` in this scope [INFO] [stdout] --> src/board/grid.rs:64:34 [INFO] [stdout] | [INFO] [stdout] 10 | Coordinate {row: _7, column: F}, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 10 | Coordinate {row: _7, column: m}, [INFO] [stdout] | ~ [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::ColumnIndex::F; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `_7` in this scope [INFO] [stdout] --> src/board/grid.rs:65:22 [INFO] [stdout] | [INFO] [stdout] 11 | Coordinate {row: _7, column: E} [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::RowIndex::_7; [INFO] [stdout] | [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `E` in this scope [INFO] [stdout] --> src/board/grid.rs:65:34 [INFO] [stdout] | [INFO] [stdout] 11 | Coordinate {row: _7, column: E} [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 11 | Coordinate {row: _7, column: m} [INFO] [stdout] | ~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::ColumnIndex::E; [INFO] [stdout] | [INFO] [stdout] 3 | use core::f32::consts::E; [INFO] [stdout] | [INFO] [stdout] 3 | use core::f64::consts::E; [INFO] [stdout] | [INFO] [stdout] 3 | use std::f32::consts::E; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Move` is private [INFO] [stdout] --> src/board/grid.rs:58:54 [INFO] [stdout] | [INFO] [stdout] 4 | use chess::{RowIndex::*, ColumnIndex::*, Coordinate, Move, squares_between}; [INFO] [stdout] | ^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Move` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use board::{coordinates::Move, piece::Colour::*, BoardState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0603. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/board/grid.rs - board::grid::squares_between (line 46) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `chess::RowIndex`, `chess::ColumnIndex`, `chess::Coordinate`, `chess::squares_between` [INFO] [stdout] --> src/board/grid.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 4 | use chess::{RowIndex::*, ColumnIndex::*, Coordinate, Move, squares_between}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ no `squares_between` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `Coordinate` in the root [INFO] [stdout] | | could not find `ColumnIndex` in `chess` [INFO] [stdout] | could not find `RowIndex` in `chess` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `_7` in this scope [INFO] [stdout] --> src/board/grid.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 6 | from: Coordinate {row: _7, column: G}, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::RowIndex::_7; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `G` in this scope [INFO] [stdout] --> src/board/grid.rs:49:40 [INFO] [stdout] | [INFO] [stdout] 6 | from: Coordinate {row: _7, column: G}, [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::ColumnIndex::G; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `_4` in this scope [INFO] [stdout] --> src/board/grid.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 7 | to: Coordinate {row: _4, column: G}, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::RowIndex::_4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `G` in this scope [INFO] [stdout] --> src/board/grid.rs:50:38 [INFO] [stdout] | [INFO] [stdout] 7 | to: Coordinate {row: _4, column: G}, [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::ColumnIndex::G; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `_6` in this scope [INFO] [stdout] --> src/board/grid.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 10 | Coordinate {row: _6, column: G}, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::RowIndex::_6; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `G` in this scope [INFO] [stdout] --> src/board/grid.rs:53:34 [INFO] [stdout] | [INFO] [stdout] 10 | Coordinate {row: _6, column: G}, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 10 | Coordinate {row: _6, column: m}, [INFO] [stdout] | ~ [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::ColumnIndex::G; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `_5` in this scope [INFO] [stdout] --> src/board/grid.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 11 | Coordinate {row: _5, column: G} [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::RowIndex::_5; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `G` in this scope [INFO] [stdout] --> src/board/grid.rs:54:34 [INFO] [stdout] | [INFO] [stdout] 11 | Coordinate {row: _5, column: G} [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 11 | Coordinate {row: _5, column: m} [INFO] [stdout] | ~ [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use chess::board::coordinates::ColumnIndex::G; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Move` is private [INFO] [stdout] --> src/board/grid.rs:47:54 [INFO] [stdout] | [INFO] [stdout] 4 | use chess::{RowIndex::*, ColumnIndex::*, Coordinate, Move, squares_between}; [INFO] [stdout] | ^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Move` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use board::{coordinates::Move, piece::Colour::*, BoardState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0603. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/board.rs - board::BoardState::get_legal_moves (line 319) [INFO] [stdout] src/board/grid.rs - board::grid::squares_between (line 24) [INFO] [stdout] src/board/grid.rs - board::grid::squares_between (line 35) [INFO] [stdout] src/board/grid.rs - board::grid::squares_between (line 46) [INFO] [stdout] src/board/grid.rs - board::grid::squares_between (line 57) [INFO] [stdout] src/board/grid.rs - board::grid::squares_between (line 68) [INFO] [stdout] src/board/grid.rs - board::grid::squares_between (line 79) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f2842a3bc3963c914b1855c23da7577103999f4300b21e8fc06e19d089e6e8ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2842a3bc3963c914b1855c23da7577103999f4300b21e8fc06e19d089e6e8ca", kill_on_drop: false }` [INFO] [stdout] f2842a3bc3963c914b1855c23da7577103999f4300b21e8fc06e19d089e6e8ca