[INFO] cloning repository https://github.com/craigfay/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/craigfay/chess-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcraigfay%2Fchess-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcraigfay%2Fchess-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bf8ff59865be685d7099a83e795110d1de1d1e23 [INFO] checking craigfay/chess-engine against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcraigfay%2Fchess-engine" "/workspace/builds/worker-35/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-35/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/craigfay/chess-engine on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/craigfay/chess-engine [INFO] finished tweaking git repo https://github.com/craigfay/chess-engine [INFO] tweaked toml for git repo https://github.com/craigfay/chess-engine written to /workspace/builds/worker-35/source/Cargo.toml [INFO] crate git repo https://github.com/craigfay/chess-engine already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7ece7943555f579ede555735c2bb2a1c3c669cd3674013d3ce0c38fc14ab60a [INFO] running `Command { std: "docker" "start" "-a" "b7ece7943555f579ede555735c2bb2a1c3c669cd3674013d3ce0c38fc14ab60a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7ece7943555f579ede555735c2bb2a1c3c669cd3674013d3ce0c38fc14ab60a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7ece7943555f579ede555735c2bb2a1c3c669cd3674013d3ce0c38fc14ab60a", kill_on_drop: false }` [INFO] [stdout] b7ece7943555f579ede555735c2bb2a1c3c669cd3674013d3ce0c38fc14ab60a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9fa3ad4dbcb06dc28cb8d41ffc42e77c073610f03e7a471d0522033760b0645f [INFO] running `Command { std: "docker" "start" "-a" "9fa3ad4dbcb06dc28cb8d41ffc42e77c073610f03e7a471d0522033760b0645f", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking chess-engine v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/pieces.rs (1 fix) [INFO] [stderr] Fixed src/actions.rs (12 fixes) [INFO] [stderr] Fixed src/tests.rs (6 fixes) [INFO] [stderr] Fixed src/utilities.rs (1 fix) [INFO] [stderr] Fixed src/tests.rs (5 fixes) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.16s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking chess-engine v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | let state = GameState::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | assert!(piece.color == White && piece.name == Pawn); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:19:55 [INFO] [stdout] | [INFO] [stdout] 19 | assert!(piece.color == White && piece.name == Pawn); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | assert!(piece.color == White && piece.name == Rook); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:23:51 [INFO] [stdout] | [INFO] [stdout] 23 | assert!(piece.color == White && piece.name == Rook); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | assert!(piece.color == White && piece.name == Knight); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Knight` in this scope [INFO] [stdout] --> src/tests.rs:25:51 [INFO] [stdout] | [INFO] [stdout] 25 | assert!(piece.color == White && piece.name == Knight); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Knight; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | assert!(piece.color == White && piece.name == Bishop); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Bishop` in this scope [INFO] [stdout] --> src/tests.rs:27:51 [INFO] [stdout] | [INFO] [stdout] 27 | assert!(piece.color == White && piece.name == Bishop); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Bishop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | assert!(piece.color == White && piece.name == Queen); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Queen` in this scope [INFO] [stdout] --> src/tests.rs:29:51 [INFO] [stdout] | [INFO] [stdout] 29 | assert!(piece.color == White && piece.name == Queen); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Queen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | assert!(piece.color == White && piece.name == King); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:31:51 [INFO] [stdout] | [INFO] [stdout] 31 | assert!(piece.color == White && piece.name == King); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | assert!(piece.color == White && piece.name == Bishop); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Bishop` in this scope [INFO] [stdout] --> src/tests.rs:33:51 [INFO] [stdout] | [INFO] [stdout] 33 | assert!(piece.color == White && piece.name == Bishop); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Bishop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | assert!(piece.color == White && piece.name == Knight); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Knight` in this scope [INFO] [stdout] --> src/tests.rs:35:51 [INFO] [stdout] | [INFO] [stdout] 35 | assert!(piece.color == White && piece.name == Knight); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Knight; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | assert!(piece.color == White && piece.name == Rook); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:37:51 [INFO] [stdout] | [INFO] [stdout] 37 | assert!(piece.color == White && piece.name == Rook); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 41 | assert!(piece.color == Black && piece.name == Pawn); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:41:55 [INFO] [stdout] | [INFO] [stdout] 41 | assert!(piece.color == Black && piece.name == Pawn); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | assert!(piece.color == Black && piece.name == Rook); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:45:51 [INFO] [stdout] | [INFO] [stdout] 45 | assert!(piece.color == Black && piece.name == Rook); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | assert!(piece.color == Black && piece.name == Knight); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Knight` in this scope [INFO] [stdout] --> src/tests.rs:47:51 [INFO] [stdout] | [INFO] [stdout] 47 | assert!(piece.color == Black && piece.name == Knight); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Knight; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 49 | assert!(piece.color == Black && piece.name == Bishop); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Bishop` in this scope [INFO] [stdout] --> src/tests.rs:49:51 [INFO] [stdout] | [INFO] [stdout] 49 | assert!(piece.color == Black && piece.name == Bishop); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Bishop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | assert!(piece.color == Black && piece.name == Queen); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Queen` in this scope [INFO] [stdout] --> src/tests.rs:51:51 [INFO] [stdout] | [INFO] [stdout] 51 | assert!(piece.color == Black && piece.name == Queen); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Queen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | assert!(piece.color == Black && piece.name == King); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:53:51 [INFO] [stdout] | [INFO] [stdout] 53 | assert!(piece.color == Black && piece.name == King); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | assert!(piece.color == Black && piece.name == Bishop); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Bishop` in this scope [INFO] [stdout] --> src/tests.rs:55:51 [INFO] [stdout] | [INFO] [stdout] 55 | assert!(piece.color == Black && piece.name == Bishop); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Bishop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:57:28 [INFO] [stdout] | [INFO] [stdout] 57 | assert!(piece.color == Black && piece.name == Knight); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Knight` in this scope [INFO] [stdout] --> src/tests.rs:57:51 [INFO] [stdout] | [INFO] [stdout] 57 | assert!(piece.color == Black && piece.name == Knight); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Knight; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:59:28 [INFO] [stdout] | [INFO] [stdout] 59 | assert!(piece.color == Black && piece.name == Rook); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:59:51 [INFO] [stdout] | [INFO] [stdout] 59 | assert!(piece.color == Black && piece.name == Rook); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:74:31 [INFO] [stdout] | [INFO] [stdout] 74 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:75:31 [INFO] [stdout] | [INFO] [stdout] 75 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `legal_actions` in this scope [INFO] [stdout] --> src/tests.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | assert_eq!(5, legal_actions(&state).len()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 13 | use crate::legal_actions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | let state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | Placement::new(White, Pawn, 8), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | Placement::new(White, Pawn, 8), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:85:31 [INFO] [stdout] | [INFO] [stdout] 85 | Placement::new(White, Pawn, 8), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | Placement::new(White, Pawn, 9), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 86 | Placement::new(White, Pawn, 9), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:86:31 [INFO] [stdout] | [INFO] [stdout] 86 | Placement::new(White, Pawn, 9), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `legal_actions` in this scope [INFO] [stdout] --> src/tests.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | assert_eq!(4, legal_actions(&state).len()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 13 | use crate::legal_actions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `position_delta` in this scope [INFO] [stdout] --> src/tests.rs:93:16 [INFO] [stdout] | [INFO] [stdout] 93 | assert_eq!(position_delta(0, 1), (1, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 13 | use crate::utilities::position_delta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `position_delta` in this scope [INFO] [stdout] --> src/tests.rs:94:16 [INFO] [stdout] | [INFO] [stdout] 94 | assert_eq!(position_delta(0, 4), (4, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 13 | use crate::utilities::position_delta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `position_delta` in this scope [INFO] [stdout] --> src/tests.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 95 | assert_eq!(position_delta(0, 12), (4, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 13 | use crate::utilities::position_delta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `position_delta` in this scope [INFO] [stdout] --> src/tests.rs:96:16 [INFO] [stdout] | [INFO] [stdout] 96 | assert_eq!(position_delta(12, 0), (-4, -1)); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 13 | use crate::utilities::position_delta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `position_delta` in this scope [INFO] [stdout] --> src/tests.rs:98:16 [INFO] [stdout] | [INFO] [stdout] 98 | assert_eq!(position_delta(0, 1), (1, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 13 | use crate::utilities::position_delta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `position_delta` in this scope [INFO] [stdout] --> src/tests.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 99 | assert_eq!(position_delta(0, 56), (0, 7)); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 13 | use crate::utilities::position_delta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `position_delta` in this scope [INFO] [stdout] --> src/tests.rs:100:16 [INFO] [stdout] | [INFO] [stdout] 100 | assert_eq!(position_delta(0, 12), (4, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 13 | use crate::utilities::position_delta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `position_delta` in this scope [INFO] [stdout] --> src/tests.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 101 | assert_eq!(position_delta(63, 0), (-7, -7)); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 13 | use crate::utilities::position_delta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | let mut state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | Placement::new(Black, Bishop, 61), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:111:24 [INFO] [stdout] | [INFO] [stdout] 111 | Placement::new(Black, Bishop, 61), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Bishop` in this scope [INFO] [stdout] --> src/tests.rs:111:31 [INFO] [stdout] | [INFO] [stdout] 111 | Placement::new(Black, Bishop, 61), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Bishop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:112:31 [INFO] [stdout] | [INFO] [stdout] 112 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | Placement::new(Black, Rook, 63), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:113:24 [INFO] [stdout] | [INFO] [stdout] 113 | Placement::new(Black, Rook, 63), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | Placement::new(Black, Rook, 63), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | Placement::new(Black, Pawn, 52), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:114:24 [INFO] [stdout] | [INFO] [stdout] 114 | Placement::new(Black, Pawn, 52), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:114:31 [INFO] [stdout] | [INFO] [stdout] 114 | Placement::new(Black, Pawn, 52), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | Placement::new(Black, Pawn, 53), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:115:24 [INFO] [stdout] | [INFO] [stdout] 115 | Placement::new(Black, Pawn, 53), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:115:31 [INFO] [stdout] | [INFO] [stdout] 115 | Placement::new(Black, Pawn, 53), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | Placement::new(Black, Pawn, 55), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:116:24 [INFO] [stdout] | [INFO] [stdout] 116 | Placement::new(Black, Pawn, 55), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:116:31 [INFO] [stdout] | [INFO] [stdout] 116 | Placement::new(Black, Pawn, 55), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:117:24 [INFO] [stdout] | [INFO] [stdout] 117 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:117:31 [INFO] [stdout] | [INFO] [stdout] 117 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | state.to_move = Black; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:121:19 [INFO] [stdout] | [INFO] [stdout] 121 | let _action = Move { from: 61, to: 54 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `diagonal_path_is_obstructed` in this scope [INFO] [stdout] --> src/tests.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 122 | assert!(false == diagonal_path_is_obstructed(61, 54, &state)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 13 | use crate::utilities::diagonal_path_is_obstructed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | let state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | Placement::new(White, Pawn, 16), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:129:24 [INFO] [stdout] | [INFO] [stdout] 129 | Placement::new(White, Pawn, 16), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:129:31 [INFO] [stdout] | [INFO] [stdout] 129 | Placement::new(White, Pawn, 16), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:131:18 [INFO] [stdout] | [INFO] [stdout] 131 | let action = Move { from: 16, to: 17 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | let state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | Placement::new(White, Pawn, 18), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:140:24 [INFO] [stdout] | [INFO] [stdout] 140 | Placement::new(White, Pawn, 18), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | Placement::new(White, Pawn, 18), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:142:18 [INFO] [stdout] | [INFO] [stdout] 142 | let action = Move { from: 18, to: 42 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | let state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | Placement::new(White, Pawn, 22), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:150:24 [INFO] [stdout] | [INFO] [stdout] 150 | Placement::new(White, Pawn, 22), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:150:31 [INFO] [stdout] | [INFO] [stdout] 150 | Placement::new(White, Pawn, 22), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:152:18 [INFO] [stdout] | [INFO] [stdout] 152 | let action = Move { from: 22, to: 30 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | let state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | Placement::new(White, Pawn, 4), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:160:24 [INFO] [stdout] | [INFO] [stdout] 160 | Placement::new(White, Pawn, 4), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:160:31 [INFO] [stdout] | [INFO] [stdout] 160 | Placement::new(White, Pawn, 4), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:162:18 [INFO] [stdout] | [INFO] [stdout] 162 | let action = Move { from: 22, to: 31 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:165:18 [INFO] [stdout] | [INFO] [stdout] 165 | let action = Move { from: 22, to: 29 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | let state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | Placement::new(White, Rook, 35), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:173:24 [INFO] [stdout] | [INFO] [stdout] 173 | Placement::new(White, Rook, 35), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:173:31 [INFO] [stdout] | [INFO] [stdout] 173 | Placement::new(White, Rook, 35), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:175:18 [INFO] [stdout] | [INFO] [stdout] 175 | let action = Move { from: 35, to: 32 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | let state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | Placement::new(White, Rook, 35), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:183:24 [INFO] [stdout] | [INFO] [stdout] 183 | Placement::new(White, Rook, 35), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:183:31 [INFO] [stdout] | [INFO] [stdout] 183 | Placement::new(White, Rook, 35), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:185:18 [INFO] [stdout] | [INFO] [stdout] 185 | let action = Move { from: 35, to: 3 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | let state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | Placement::new(White, Rook, 32), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:193:24 [INFO] [stdout] | [INFO] [stdout] 193 | Placement::new(White, Rook, 32), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:193:31 [INFO] [stdout] | [INFO] [stdout] 193 | Placement::new(White, Rook, 32), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | Placement::new(Black, Pawn, 33), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:194:24 [INFO] [stdout] | [INFO] [stdout] 194 | Placement::new(Black, Pawn, 33), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:194:31 [INFO] [stdout] | [INFO] [stdout] 194 | Placement::new(Black, Pawn, 33), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:196:18 [INFO] [stdout] | [INFO] [stdout] 196 | let action = Move { from: 32, to: 36 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | let state = GameState::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:204:18 [INFO] [stdout] | [INFO] [stdout] 204 | let action = Move { from: 0, to: 8 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | let state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | Placement::new(White, Bishop, 22), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:212:24 [INFO] [stdout] | [INFO] [stdout] 212 | Placement::new(White, Bishop, 22), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Bishop` in this scope [INFO] [stdout] --> src/tests.rs:212:31 [INFO] [stdout] | [INFO] [stdout] 212 | Placement::new(White, Bishop, 22), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Bishop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:214:18 [INFO] [stdout] | [INFO] [stdout] 214 | let action = Move { from: 22, to: 36 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:221:17 [INFO] [stdout] | [INFO] [stdout] 221 | let state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | Placement::new(White, Bishop, 0), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:222:24 [INFO] [stdout] | [INFO] [stdout] 222 | Placement::new(White, Bishop, 0), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Bishop` in this scope [INFO] [stdout] --> src/tests.rs:222:31 [INFO] [stdout] | [INFO] [stdout] 222 | Placement::new(White, Bishop, 0), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Bishop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:224:18 [INFO] [stdout] | [INFO] [stdout] 224 | let action = Move { from: 0, to: 36 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | let state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | Placement::new(White, Bishop, 27), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:232:24 [INFO] [stdout] | [INFO] [stdout] 232 | Placement::new(White, Bishop, 27), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Bishop` in this scope [INFO] [stdout] --> src/tests.rs:232:31 [INFO] [stdout] | [INFO] [stdout] 232 | Placement::new(White, Bishop, 27), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Bishop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:234:18 [INFO] [stdout] | [INFO] [stdout] 234 | let action = Move { from: 27, to: 9 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:241:17 [INFO] [stdout] | [INFO] [stdout] 241 | let state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | Placement::new(White, Bishop, 56), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:242:24 [INFO] [stdout] | [INFO] [stdout] 242 | Placement::new(White, Bishop, 56), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Bishop` in this scope [INFO] [stdout] --> src/tests.rs:242:31 [INFO] [stdout] | [INFO] [stdout] 242 | Placement::new(White, Bishop, 56), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Bishop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:244:18 [INFO] [stdout] | [INFO] [stdout] 244 | let action = Move { from: 56, to: 42 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:251:17 [INFO] [stdout] | [INFO] [stdout] 251 | let state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | Placement::new(White, Bishop, 23), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:252:24 [INFO] [stdout] | [INFO] [stdout] 252 | Placement::new(White, Bishop, 23), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Bishop` in this scope [INFO] [stdout] --> src/tests.rs:252:31 [INFO] [stdout] | [INFO] [stdout] 252 | Placement::new(White, Bishop, 23), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Bishop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:254:18 [INFO] [stdout] | [INFO] [stdout] 254 | let action = Move { from: 23, to: 41 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:261:17 [INFO] [stdout] | [INFO] [stdout] 261 | let state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | Placement::new(White, Bishop, 24), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:262:24 [INFO] [stdout] | [INFO] [stdout] 262 | Placement::new(White, Bishop, 24), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Bishop` in this scope [INFO] [stdout] --> src/tests.rs:262:31 [INFO] [stdout] | [INFO] [stdout] 262 | Placement::new(White, Bishop, 24), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Bishop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:264:18 [INFO] [stdout] | [INFO] [stdout] 264 | let action = Move { from: 24, to: 15 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:270:17 [INFO] [stdout] | [INFO] [stdout] 270 | let state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | Placement::new(Black, Knight, 28), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:271:24 [INFO] [stdout] | [INFO] [stdout] 271 | Placement::new(Black, Knight, 28), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Knight` in this scope [INFO] [stdout] --> src/tests.rs:271:31 [INFO] [stdout] | [INFO] [stdout] 271 | Placement::new(Black, Knight, 28), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Knight; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:273:18 [INFO] [stdout] | [INFO] [stdout] 273 | let action = Move { from: 28, to: 45 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:279:17 [INFO] [stdout] | [INFO] [stdout] 279 | let state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | Placement::new(Black, Knight, 28), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:280:24 [INFO] [stdout] | [INFO] [stdout] 280 | Placement::new(Black, Knight, 28), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Knight` in this scope [INFO] [stdout] --> src/tests.rs:280:31 [INFO] [stdout] | [INFO] [stdout] 280 | Placement::new(Black, Knight, 28), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Knight; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:282:18 [INFO] [stdout] | [INFO] [stdout] 282 | let action = Move { from: 28, to: 38 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:288:17 [INFO] [stdout] | [INFO] [stdout] 288 | let state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | Placement::new(Black, Knight, 28), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:289:24 [INFO] [stdout] | [INFO] [stdout] 289 | Placement::new(Black, Knight, 28), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Knight` in this scope [INFO] [stdout] --> src/tests.rs:289:31 [INFO] [stdout] | [INFO] [stdout] 289 | Placement::new(Black, Knight, 28), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Knight; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:291:18 [INFO] [stdout] | [INFO] [stdout] 291 | let action = Move { from: 28, to: 43 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | let state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | Placement::new(Black, Knight, 28), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:298:24 [INFO] [stdout] | [INFO] [stdout] 298 | Placement::new(Black, Knight, 28), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Knight` in this scope [INFO] [stdout] --> src/tests.rs:298:31 [INFO] [stdout] | [INFO] [stdout] 298 | Placement::new(Black, Knight, 28), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Knight; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:300:18 [INFO] [stdout] | [INFO] [stdout] 300 | let action = Move { from: 28, to: 34 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:306:17 [INFO] [stdout] | [INFO] [stdout] 306 | let state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 307 | Placement::new(Black, Knight, 28), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:307:24 [INFO] [stdout] | [INFO] [stdout] 307 | Placement::new(Black, Knight, 28), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Knight` in this scope [INFO] [stdout] --> src/tests.rs:307:31 [INFO] [stdout] | [INFO] [stdout] 307 | Placement::new(Black, Knight, 28), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Knight; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:309:18 [INFO] [stdout] | [INFO] [stdout] 309 | let action = Move { from: 28, to: 13 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:315:17 [INFO] [stdout] | [INFO] [stdout] 315 | let state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | Placement::new(Black, Knight, 28), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:316:24 [INFO] [stdout] | [INFO] [stdout] 316 | Placement::new(Black, Knight, 28), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Knight` in this scope [INFO] [stdout] --> src/tests.rs:316:31 [INFO] [stdout] | [INFO] [stdout] 316 | Placement::new(Black, Knight, 28), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Knight; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:318:18 [INFO] [stdout] | [INFO] [stdout] 318 | let action = Move { from: 28, to: 22 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:324:17 [INFO] [stdout] | [INFO] [stdout] 324 | let state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | Placement::new(Black, Knight, 28), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:325:24 [INFO] [stdout] | [INFO] [stdout] 325 | Placement::new(Black, Knight, 28), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Knight` in this scope [INFO] [stdout] --> src/tests.rs:325:31 [INFO] [stdout] | [INFO] [stdout] 325 | Placement::new(Black, Knight, 28), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Knight; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:327:18 [INFO] [stdout] | [INFO] [stdout] 327 | let action = Move { from: 28, to: 11 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:333:17 [INFO] [stdout] | [INFO] [stdout] 333 | let state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | Placement::new(Black, Knight, 28), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:334:24 [INFO] [stdout] | [INFO] [stdout] 334 | Placement::new(Black, Knight, 28), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Knight` in this scope [INFO] [stdout] --> src/tests.rs:334:31 [INFO] [stdout] | [INFO] [stdout] 334 | Placement::new(Black, Knight, 28), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Knight; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:336:18 [INFO] [stdout] | [INFO] [stdout] 336 | let action = Move { from: 28, to: 18 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:343:17 [INFO] [stdout] | [INFO] [stdout] 343 | let state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | Placement::new(Black, Queen, 24), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:344:24 [INFO] [stdout] | [INFO] [stdout] 344 | Placement::new(Black, Queen, 24), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Queen` in this scope [INFO] [stdout] --> src/tests.rs:344:31 [INFO] [stdout] | [INFO] [stdout] 344 | Placement::new(Black, Queen, 24), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Queen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:346:18 [INFO] [stdout] | [INFO] [stdout] 346 | let action = Move { from: 24, to: 30 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:353:21 [INFO] [stdout] | [INFO] [stdout] 353 | let mut state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 354 | Placement::new(Black, Queen, 40), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:354:24 [INFO] [stdout] | [INFO] [stdout] 354 | Placement::new(Black, Queen, 40), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Queen` in this scope [INFO] [stdout] --> src/tests.rs:354:31 [INFO] [stdout] | [INFO] [stdout] 354 | Placement::new(Black, Queen, 40), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Queen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | Placement::new(Black, Pawn, 32), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:355:24 [INFO] [stdout] | [INFO] [stdout] 355 | Placement::new(Black, Pawn, 32), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:355:31 [INFO] [stdout] | [INFO] [stdout] 355 | Placement::new(Black, Pawn, 32), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:357:21 [INFO] [stdout] | [INFO] [stdout] 357 | state.to_move = Black; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:358:18 [INFO] [stdout] | [INFO] [stdout] 358 | let action = Move { from: 40, to: 24 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:365:21 [INFO] [stdout] | [INFO] [stdout] 365 | let mut state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366 | Placement::new(Black, Queen, 40), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:366:24 [INFO] [stdout] | [INFO] [stdout] 366 | Placement::new(Black, Queen, 40), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Queen` in this scope [INFO] [stdout] --> src/tests.rs:366:31 [INFO] [stdout] | [INFO] [stdout] 366 | Placement::new(Black, Queen, 40), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Queen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:367:9 [INFO] [stdout] | [INFO] [stdout] 367 | Placement::new(Black, Pawn, 41), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:367:24 [INFO] [stdout] | [INFO] [stdout] 367 | Placement::new(Black, Pawn, 41), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:367:31 [INFO] [stdout] | [INFO] [stdout] 367 | Placement::new(Black, Pawn, 41), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:369:21 [INFO] [stdout] | [INFO] [stdout] 369 | state.to_move = Black; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:370:18 [INFO] [stdout] | [INFO] [stdout] 370 | let action = Move { from: 40, to: 42 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:377:17 [INFO] [stdout] | [INFO] [stdout] 377 | let state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | Placement::new(Black, Queen, 24), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:378:24 [INFO] [stdout] | [INFO] [stdout] 378 | Placement::new(Black, Queen, 24), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Queen` in this scope [INFO] [stdout] --> src/tests.rs:378:31 [INFO] [stdout] | [INFO] [stdout] 378 | Placement::new(Black, Queen, 24), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Queen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:380:18 [INFO] [stdout] | [INFO] [stdout] 380 | let action = Move { from: 24, to: 48 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:387:17 [INFO] [stdout] | [INFO] [stdout] 387 | let state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 388 | Placement::new(White, Queen, 24), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:388:24 [INFO] [stdout] | [INFO] [stdout] 388 | Placement::new(White, Queen, 24), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Queen` in this scope [INFO] [stdout] --> src/tests.rs:388:31 [INFO] [stdout] | [INFO] [stdout] 388 | Placement::new(White, Queen, 24), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Queen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:390:18 [INFO] [stdout] | [INFO] [stdout] 390 | let action = Move { from: 24, to: 42 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:397:17 [INFO] [stdout] | [INFO] [stdout] 397 | let state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 398 | Placement::new(Black, King, 28), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:398:24 [INFO] [stdout] | [INFO] [stdout] 398 | Placement::new(Black, King, 28), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:398:31 [INFO] [stdout] | [INFO] [stdout] 398 | Placement::new(Black, King, 28), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:400:18 [INFO] [stdout] | [INFO] [stdout] 400 | let action = Move { from: 28, to: 27 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:407:17 [INFO] [stdout] | [INFO] [stdout] 407 | let state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:408:9 [INFO] [stdout] | [INFO] [stdout] 408 | Placement::new(Black, King, 28), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:408:24 [INFO] [stdout] | [INFO] [stdout] 408 | Placement::new(Black, King, 28), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:408:31 [INFO] [stdout] | [INFO] [stdout] 408 | Placement::new(Black, King, 28), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:410:18 [INFO] [stdout] | [INFO] [stdout] 410 | let action = Move { from: 28, to: 20 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:417:17 [INFO] [stdout] | [INFO] [stdout] 417 | let state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Placement::new(Black, King, 24), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:418:24 [INFO] [stdout] | [INFO] [stdout] 418 | Placement::new(Black, King, 24), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:418:31 [INFO] [stdout] | [INFO] [stdout] 418 | Placement::new(Black, King, 24), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:420:18 [INFO] [stdout] | [INFO] [stdout] 420 | let action = Move { from: 24, to: 33 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:426:17 [INFO] [stdout] | [INFO] [stdout] 426 | let state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:427:9 [INFO] [stdout] | [INFO] [stdout] 427 | Placement::new(Black, King, 63), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:427:24 [INFO] [stdout] | [INFO] [stdout] 427 | Placement::new(Black, King, 63), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:427:31 [INFO] [stdout] | [INFO] [stdout] 427 | Placement::new(Black, King, 63), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:428:9 [INFO] [stdout] | [INFO] [stdout] 428 | Placement::new(Black, Pawn, 52), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:428:24 [INFO] [stdout] | [INFO] [stdout] 428 | Placement::new(Black, Pawn, 52), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:428:31 [INFO] [stdout] | [INFO] [stdout] 428 | Placement::new(Black, Pawn, 52), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:429:9 [INFO] [stdout] | [INFO] [stdout] 429 | Placement::new(White, Pawn, 44), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:429:24 [INFO] [stdout] | [INFO] [stdout] 429 | Placement::new(White, Pawn, 44), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:429:31 [INFO] [stdout] | [INFO] [stdout] 429 | Placement::new(White, Pawn, 44), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:430:9 [INFO] [stdout] | [INFO] [stdout] 430 | Placement::new(White, Bishop, 43), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:430:24 [INFO] [stdout] | [INFO] [stdout] 430 | Placement::new(White, Bishop, 43), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Bishop` in this scope [INFO] [stdout] --> src/tests.rs:430:31 [INFO] [stdout] | [INFO] [stdout] 430 | Placement::new(White, Bishop, 43), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Bishop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | Placement::new(White, Knight, 35), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:431:24 [INFO] [stdout] | [INFO] [stdout] 431 | Placement::new(White, Knight, 35), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Knight` in this scope [INFO] [stdout] --> src/tests.rs:431:31 [INFO] [stdout] | [INFO] [stdout] 431 | Placement::new(White, Knight, 35), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Knight; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:432:9 [INFO] [stdout] | [INFO] [stdout] 432 | Placement::new(White, Rook, 53), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:432:24 [INFO] [stdout] | [INFO] [stdout] 432 | Placement::new(White, Rook, 53), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:432:31 [INFO] [stdout] | [INFO] [stdout] 432 | Placement::new(White, Rook, 53), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:433:9 [INFO] [stdout] | [INFO] [stdout] 433 | Placement::new(White, Queen, 51), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:433:24 [INFO] [stdout] | [INFO] [stdout] 433 | Placement::new(White, Queen, 51), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Queen` in this scope [INFO] [stdout] --> src/tests.rs:433:31 [INFO] [stdout] | [INFO] [stdout] 433 | Placement::new(White, Queen, 51), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Queen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:434:9 [INFO] [stdout] | [INFO] [stdout] 434 | Placement::new(White, King, 60), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:434:24 [INFO] [stdout] | [INFO] [stdout] 434 | Placement::new(White, King, 60), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:434:31 [INFO] [stdout] | [INFO] [stdout] 434 | Placement::new(White, King, 60), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:437:18 [INFO] [stdout] | [INFO] [stdout] 437 | let action = Move { from: 44, to:52 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:440:18 [INFO] [stdout] | [INFO] [stdout] 440 | let action = Move { from: 43, to:52 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:443:18 [INFO] [stdout] | [INFO] [stdout] 443 | let action = Move { from: 35, to:52 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:446:18 [INFO] [stdout] | [INFO] [stdout] 446 | let action = Move { from: 53, to:52 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:449:18 [INFO] [stdout] | [INFO] [stdout] 449 | let action = Move { from: 51, to:52 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `square_algebraic_to_index` in this scope [INFO] [stdout] --> src/tests.rs:462:24 [INFO] [stdout] | [INFO] [stdout] 462 | assert_eq!(square_algebraic_to_index(&square), Some(index)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 13 | use crate::square_algebraic_to_index; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:469:17 [INFO] [stdout] | [INFO] [stdout] 469 | let state = GameState::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `color_is_checked` in this scope [INFO] [stdout] --> src/tests.rs:470:14 [INFO] [stdout] | [INFO] [stdout] 470 | assert!(!color_is_checked(White, &state)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 13 | use crate::utilities::color_is_checked; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:470:31 [INFO] [stdout] | [INFO] [stdout] 470 | assert!(!color_is_checked(White, &state)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:472:21 [INFO] [stdout] | [INFO] [stdout] 472 | let mut state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 473 | Placement::new(Black, King, 56), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:473:24 [INFO] [stdout] | [INFO] [stdout] 473 | Placement::new(Black, King, 56), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:473:31 [INFO] [stdout] | [INFO] [stdout] 473 | Placement::new(Black, King, 56), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:474:9 [INFO] [stdout] | [INFO] [stdout] 474 | Placement::new(White, Rook, 0), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:474:24 [INFO] [stdout] | [INFO] [stdout] 474 | Placement::new(White, Rook, 0), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:474:31 [INFO] [stdout] | [INFO] [stdout] 474 | Placement::new(White, Rook, 0), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:476:21 [INFO] [stdout] | [INFO] [stdout] 476 | state.to_move = Black; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `color_is_checked` in this scope [INFO] [stdout] --> src/tests.rs:477:13 [INFO] [stdout] | [INFO] [stdout] 477 | assert!(color_is_checked(Black, &state)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 13 | use crate::utilities::color_is_checked; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:477:30 [INFO] [stdout] | [INFO] [stdout] 477 | assert!(color_is_checked(Black, &state)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:482:17 [INFO] [stdout] | [INFO] [stdout] 482 | let state = GameState::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `color_threatens_square` in this scope [INFO] [stdout] --> src/tests.rs:483:13 [INFO] [stdout] | [INFO] [stdout] 483 | assert!(color_threatens_square(White, 20, &state)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 13 | use crate::utilities::color_threatens_square; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:483:36 [INFO] [stdout] | [INFO] [stdout] 483 | assert!(color_threatens_square(White, 20, &state)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `color_threatens_square` in this scope [INFO] [stdout] --> src/tests.rs:484:13 [INFO] [stdout] | [INFO] [stdout] 484 | assert!(color_threatens_square(Black, 44, &state)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 13 | use crate::utilities::color_threatens_square; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:484:36 [INFO] [stdout] | [INFO] [stdout] 484 | assert!(color_threatens_square(Black, 44, &state)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `color_threatens_square` in this scope [INFO] [stdout] --> src/tests.rs:487:14 [INFO] [stdout] | [INFO] [stdout] 487 | assert!(!color_threatens_square(White, 28, &state)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 13 | use crate::utilities::color_threatens_square; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:487:37 [INFO] [stdout] | [INFO] [stdout] 487 | assert!(!color_threatens_square(White, 28, &state)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `color_threatens_square` in this scope [INFO] [stdout] --> src/tests.rs:488:14 [INFO] [stdout] | [INFO] [stdout] 488 | assert!(!color_threatens_square(Black, 36, &state)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 13 | use crate::utilities::color_threatens_square; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:488:37 [INFO] [stdout] | [INFO] [stdout] 488 | assert!(!color_threatens_square(Black, 36, &state)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:493:17 [INFO] [stdout] | [INFO] [stdout] 493 | let state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:494:9 [INFO] [stdout] | [INFO] [stdout] 494 | Placement::new(White, King, 0), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:494:24 [INFO] [stdout] | [INFO] [stdout] 494 | Placement::new(White, King, 0), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:494:31 [INFO] [stdout] | [INFO] [stdout] 494 | Placement::new(White, King, 0), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:495:9 [INFO] [stdout] | [INFO] [stdout] 495 | Placement::new(Black, Rook, 56), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:495:24 [INFO] [stdout] | [INFO] [stdout] 495 | Placement::new(Black, Rook, 56), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:495:31 [INFO] [stdout] | [INFO] [stdout] 495 | Placement::new(Black, Rook, 56), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:497:18 [INFO] [stdout] | [INFO] [stdout] 497 | let action = Move { from: 0, to: 1 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:499:51 [INFO] [stdout] | [INFO] [stdout] 499 | assert!(new_state.squares[1].unwrap().name == King); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:505:21 [INFO] [stdout] | [INFO] [stdout] 505 | let mut state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:506:9 [INFO] [stdout] | [INFO] [stdout] 506 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:506:24 [INFO] [stdout] | [INFO] [stdout] 506 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:506:31 [INFO] [stdout] | [INFO] [stdout] 506 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:507:9 [INFO] [stdout] | [INFO] [stdout] 507 | Placement::new(White, Rook, 7), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:507:24 [INFO] [stdout] | [INFO] [stdout] 507 | Placement::new(White, Rook, 7), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:507:31 [INFO] [stdout] | [INFO] [stdout] 507 | Placement::new(White, Rook, 7), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Castle` in this scope [INFO] [stdout] --> src/tests.rs:510:18 [INFO] [stdout] | [INFO] [stdout] 510 | let action = Castle { direction: Kingside }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Castle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Kingside` in this scope [INFO] [stdout] --> src/tests.rs:510:38 [INFO] [stdout] | [INFO] [stdout] 510 | let action = Castle { direction: Kingside }; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::CastleDirection::Kingside; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:516:21 [INFO] [stdout] | [INFO] [stdout] 516 | let mut state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:517:9 [INFO] [stdout] | [INFO] [stdout] 517 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:517:24 [INFO] [stdout] | [INFO] [stdout] 517 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:517:31 [INFO] [stdout] | [INFO] [stdout] 517 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:518:9 [INFO] [stdout] | [INFO] [stdout] 518 | Placement::new(Black, Rook, 63), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:518:24 [INFO] [stdout] | [INFO] [stdout] 518 | Placement::new(Black, Rook, 63), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:518:31 [INFO] [stdout] | [INFO] [stdout] 518 | Placement::new(Black, Rook, 63), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:521:21 [INFO] [stdout] | [INFO] [stdout] 521 | state.to_move = Black; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Castle` in this scope [INFO] [stdout] --> src/tests.rs:522:18 [INFO] [stdout] | [INFO] [stdout] 522 | let action = Castle { direction: Kingside }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Castle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Kingside` in this scope [INFO] [stdout] --> src/tests.rs:522:38 [INFO] [stdout] | [INFO] [stdout] 522 | let action = Castle { direction: Kingside }; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::CastleDirection::Kingside; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:528:21 [INFO] [stdout] | [INFO] [stdout] 528 | let mut state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:529:9 [INFO] [stdout] | [INFO] [stdout] 529 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:529:24 [INFO] [stdout] | [INFO] [stdout] 529 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:529:31 [INFO] [stdout] | [INFO] [stdout] 529 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:530:9 [INFO] [stdout] | [INFO] [stdout] 530 | Placement::new(White, Rook, 0), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:530:24 [INFO] [stdout] | [INFO] [stdout] 530 | Placement::new(White, Rook, 0), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:530:31 [INFO] [stdout] | [INFO] [stdout] 530 | Placement::new(White, Rook, 0), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Castle` in this scope [INFO] [stdout] --> src/tests.rs:533:18 [INFO] [stdout] | [INFO] [stdout] 533 | let action = Castle { direction: Queenside }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Castle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Queenside` in this scope [INFO] [stdout] --> src/tests.rs:533:38 [INFO] [stdout] | [INFO] [stdout] 533 | let action = Castle { direction: Queenside }; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::CastleDirection::Queenside; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:539:21 [INFO] [stdout] | [INFO] [stdout] 539 | let mut state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:540:9 [INFO] [stdout] | [INFO] [stdout] 540 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:540:24 [INFO] [stdout] | [INFO] [stdout] 540 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:540:31 [INFO] [stdout] | [INFO] [stdout] 540 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:541:9 [INFO] [stdout] | [INFO] [stdout] 541 | Placement::new(Black, Rook, 56), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:541:24 [INFO] [stdout] | [INFO] [stdout] 541 | Placement::new(Black, Rook, 56), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:541:31 [INFO] [stdout] | [INFO] [stdout] 541 | Placement::new(Black, Rook, 56), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:544:21 [INFO] [stdout] | [INFO] [stdout] 544 | state.to_move = Black; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Castle` in this scope [INFO] [stdout] --> src/tests.rs:545:18 [INFO] [stdout] | [INFO] [stdout] 545 | let action = Castle { direction: Queenside }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Castle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Queenside` in this scope [INFO] [stdout] --> src/tests.rs:545:38 [INFO] [stdout] | [INFO] [stdout] 545 | let action = Castle { direction: Queenside }; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::CastleDirection::Queenside; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:551:21 [INFO] [stdout] | [INFO] [stdout] 551 | let mut state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:552:9 [INFO] [stdout] | [INFO] [stdout] 552 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:552:24 [INFO] [stdout] | [INFO] [stdout] 552 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:552:31 [INFO] [stdout] | [INFO] [stdout] 552 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:553:9 [INFO] [stdout] | [INFO] [stdout] 553 | Placement::new(White, Rook, 7), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:553:24 [INFO] [stdout] | [INFO] [stdout] 553 | Placement::new(White, Rook, 7), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:553:31 [INFO] [stdout] | [INFO] [stdout] 553 | Placement::new(White, Rook, 7), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Castle` in this scope [INFO] [stdout] --> src/tests.rs:556:18 [INFO] [stdout] | [INFO] [stdout] 556 | let action = Castle { direction: Kingside }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Castle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Kingside` in this scope [INFO] [stdout] --> src/tests.rs:556:38 [INFO] [stdout] | [INFO] [stdout] 556 | let action = Castle { direction: Kingside }; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::CastleDirection::Kingside; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:560:26 [INFO] [stdout] | [INFO] [stdout] 560 | assert!(king.name == King && king.color == White); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 560 | assert!(king.name == king && king.color == White); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:560:48 [INFO] [stdout] | [INFO] [stdout] 560 | assert!(king.name == King && king.color == White); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:561:26 [INFO] [stdout] | [INFO] [stdout] 561 | assert!(rook.name == Rook && rook.color == White); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 561 | assert!(rook.name == rook && rook.color == White); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:561:48 [INFO] [stdout] | [INFO] [stdout] 561 | assert!(rook.name == Rook && rook.color == White); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:568:21 [INFO] [stdout] | [INFO] [stdout] 568 | let mut state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:569:9 [INFO] [stdout] | [INFO] [stdout] 569 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:569:24 [INFO] [stdout] | [INFO] [stdout] 569 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:569:31 [INFO] [stdout] | [INFO] [stdout] 569 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:570:9 [INFO] [stdout] | [INFO] [stdout] 570 | Placement::new(White, Rook, 0), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:570:24 [INFO] [stdout] | [INFO] [stdout] 570 | Placement::new(White, Rook, 0), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:570:31 [INFO] [stdout] | [INFO] [stdout] 570 | Placement::new(White, Rook, 0), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Castle` in this scope [INFO] [stdout] --> src/tests.rs:573:18 [INFO] [stdout] | [INFO] [stdout] 573 | let action = Castle { direction: Queenside }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Castle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Queenside` in this scope [INFO] [stdout] --> src/tests.rs:573:38 [INFO] [stdout] | [INFO] [stdout] 573 | let action = Castle { direction: Queenside }; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::CastleDirection::Queenside; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:577:26 [INFO] [stdout] | [INFO] [stdout] 577 | assert!(king.name == King && king.color == White); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 577 | assert!(king.name == king && king.color == White); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:577:48 [INFO] [stdout] | [INFO] [stdout] 577 | assert!(king.name == King && king.color == White); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:578:26 [INFO] [stdout] | [INFO] [stdout] 578 | assert!(rook.name == Rook && rook.color == White); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 578 | assert!(rook.name == rook && rook.color == White); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:578:48 [INFO] [stdout] | [INFO] [stdout] 578 | assert!(rook.name == Rook && rook.color == White); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:585:21 [INFO] [stdout] | [INFO] [stdout] 585 | let mut state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:586:9 [INFO] [stdout] | [INFO] [stdout] 586 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:586:24 [INFO] [stdout] | [INFO] [stdout] 586 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:586:31 [INFO] [stdout] | [INFO] [stdout] 586 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:587:9 [INFO] [stdout] | [INFO] [stdout] 587 | Placement::new(Black, Rook, 63), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:587:24 [INFO] [stdout] | [INFO] [stdout] 587 | Placement::new(Black, Rook, 63), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:587:31 [INFO] [stdout] | [INFO] [stdout] 587 | Placement::new(Black, Rook, 63), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:590:21 [INFO] [stdout] | [INFO] [stdout] 590 | state.to_move = Black; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Castle` in this scope [INFO] [stdout] --> src/tests.rs:591:18 [INFO] [stdout] | [INFO] [stdout] 591 | let action = Castle { direction: Kingside }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Castle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Kingside` in this scope [INFO] [stdout] --> src/tests.rs:591:38 [INFO] [stdout] | [INFO] [stdout] 591 | let action = Castle { direction: Kingside }; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::CastleDirection::Kingside; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:595:26 [INFO] [stdout] | [INFO] [stdout] 595 | assert!(king.name == King && king.color == Black); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 595 | assert!(king.name == king && king.color == Black); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:595:48 [INFO] [stdout] | [INFO] [stdout] 595 | assert!(king.name == King && king.color == Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:596:26 [INFO] [stdout] | [INFO] [stdout] 596 | assert!(rook.name == Rook && rook.color == Black); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 596 | assert!(rook.name == rook && rook.color == Black); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:596:48 [INFO] [stdout] | [INFO] [stdout] 596 | assert!(rook.name == Rook && rook.color == Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:603:21 [INFO] [stdout] | [INFO] [stdout] 603 | let mut state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:604:9 [INFO] [stdout] | [INFO] [stdout] 604 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:604:24 [INFO] [stdout] | [INFO] [stdout] 604 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:604:31 [INFO] [stdout] | [INFO] [stdout] 604 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:605:9 [INFO] [stdout] | [INFO] [stdout] 605 | Placement::new(Black, Rook, 56), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:605:24 [INFO] [stdout] | [INFO] [stdout] 605 | Placement::new(Black, Rook, 56), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:605:31 [INFO] [stdout] | [INFO] [stdout] 605 | Placement::new(Black, Rook, 56), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:608:21 [INFO] [stdout] | [INFO] [stdout] 608 | state.to_move = Black; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Castle` in this scope [INFO] [stdout] --> src/tests.rs:609:18 [INFO] [stdout] | [INFO] [stdout] 609 | let action = Castle { direction: Queenside }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Castle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Queenside` in this scope [INFO] [stdout] --> src/tests.rs:609:38 [INFO] [stdout] | [INFO] [stdout] 609 | let action = Castle { direction: Queenside }; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::CastleDirection::Queenside; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:613:26 [INFO] [stdout] | [INFO] [stdout] 613 | assert!(king.name == King && king.color == Black); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 613 | assert!(king.name == king && king.color == Black); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:613:48 [INFO] [stdout] | [INFO] [stdout] 613 | assert!(king.name == King && king.color == Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:614:26 [INFO] [stdout] | [INFO] [stdout] 614 | assert!(rook.name == Rook && rook.color == Black); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 614 | assert!(rook.name == rook && rook.color == Black); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:614:48 [INFO] [stdout] | [INFO] [stdout] 614 | assert!(rook.name == Rook && rook.color == Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:621:21 [INFO] [stdout] | [INFO] [stdout] 621 | let mut state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:622:9 [INFO] [stdout] | [INFO] [stdout] 622 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:622:24 [INFO] [stdout] | [INFO] [stdout] 622 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:622:31 [INFO] [stdout] | [INFO] [stdout] 622 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:623:9 [INFO] [stdout] | [INFO] [stdout] 623 | Placement::new(White, Bishop, 5), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:623:24 [INFO] [stdout] | [INFO] [stdout] 623 | Placement::new(White, Bishop, 5), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Bishop` in this scope [INFO] [stdout] --> src/tests.rs:623:31 [INFO] [stdout] | [INFO] [stdout] 623 | Placement::new(White, Bishop, 5), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Bishop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:624:9 [INFO] [stdout] | [INFO] [stdout] 624 | Placement::new(White, Rook, 7), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:624:24 [INFO] [stdout] | [INFO] [stdout] 624 | Placement::new(White, Rook, 7), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:624:31 [INFO] [stdout] | [INFO] [stdout] 624 | Placement::new(White, Rook, 7), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Castle` in this scope [INFO] [stdout] --> src/tests.rs:627:18 [INFO] [stdout] | [INFO] [stdout] 627 | let action = Castle { direction: Kingside }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Castle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Kingside` in this scope [INFO] [stdout] --> src/tests.rs:627:38 [INFO] [stdout] | [INFO] [stdout] 627 | let action = Castle { direction: Kingside }; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::CastleDirection::Kingside; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:633:21 [INFO] [stdout] | [INFO] [stdout] 633 | let mut state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:634:9 [INFO] [stdout] | [INFO] [stdout] 634 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:634:24 [INFO] [stdout] | [INFO] [stdout] 634 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:634:31 [INFO] [stdout] | [INFO] [stdout] 634 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:635:9 [INFO] [stdout] | [INFO] [stdout] 635 | Placement::new(White, Queen, 3), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:635:24 [INFO] [stdout] | [INFO] [stdout] 635 | Placement::new(White, Queen, 3), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Queen` in this scope [INFO] [stdout] --> src/tests.rs:635:31 [INFO] [stdout] | [INFO] [stdout] 635 | Placement::new(White, Queen, 3), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Queen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:636:9 [INFO] [stdout] | [INFO] [stdout] 636 | Placement::new(White, Rook, 0), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:636:24 [INFO] [stdout] | [INFO] [stdout] 636 | Placement::new(White, Rook, 0), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:636:31 [INFO] [stdout] | [INFO] [stdout] 636 | Placement::new(White, Rook, 0), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Castle` in this scope [INFO] [stdout] --> src/tests.rs:639:18 [INFO] [stdout] | [INFO] [stdout] 639 | let action = Castle { direction: Queenside }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Castle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Queenside` in this scope [INFO] [stdout] --> src/tests.rs:639:38 [INFO] [stdout] | [INFO] [stdout] 639 | let action = Castle { direction: Queenside }; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::CastleDirection::Queenside; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:645:21 [INFO] [stdout] | [INFO] [stdout] 645 | let mut state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:646:9 [INFO] [stdout] | [INFO] [stdout] 646 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:646:24 [INFO] [stdout] | [INFO] [stdout] 646 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:646:31 [INFO] [stdout] | [INFO] [stdout] 646 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:647:9 [INFO] [stdout] | [INFO] [stdout] 647 | Placement::new(Black, Knight, 62), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:647:24 [INFO] [stdout] | [INFO] [stdout] 647 | Placement::new(Black, Knight, 62), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Knight` in this scope [INFO] [stdout] --> src/tests.rs:647:31 [INFO] [stdout] | [INFO] [stdout] 647 | Placement::new(Black, Knight, 62), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Knight; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:648:9 [INFO] [stdout] | [INFO] [stdout] 648 | Placement::new(Black, Rook, 63), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:648:24 [INFO] [stdout] | [INFO] [stdout] 648 | Placement::new(Black, Rook, 63), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:648:31 [INFO] [stdout] | [INFO] [stdout] 648 | Placement::new(Black, Rook, 63), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:651:21 [INFO] [stdout] | [INFO] [stdout] 651 | state.to_move = Black; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Castle` in this scope [INFO] [stdout] --> src/tests.rs:652:18 [INFO] [stdout] | [INFO] [stdout] 652 | let action = Castle { direction: Kingside }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Castle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Kingside` in this scope [INFO] [stdout] --> src/tests.rs:652:38 [INFO] [stdout] | [INFO] [stdout] 652 | let action = Castle { direction: Kingside }; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::CastleDirection::Kingside; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:658:21 [INFO] [stdout] | [INFO] [stdout] 658 | let mut state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:659:9 [INFO] [stdout] | [INFO] [stdout] 659 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:659:24 [INFO] [stdout] | [INFO] [stdout] 659 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:659:31 [INFO] [stdout] | [INFO] [stdout] 659 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:660:9 [INFO] [stdout] | [INFO] [stdout] 660 | Placement::new(Black, Bishop, 58), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:660:24 [INFO] [stdout] | [INFO] [stdout] 660 | Placement::new(Black, Bishop, 58), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Bishop` in this scope [INFO] [stdout] --> src/tests.rs:660:31 [INFO] [stdout] | [INFO] [stdout] 660 | Placement::new(Black, Bishop, 58), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Bishop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | Placement::new(Black, Rook, 56), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:661:24 [INFO] [stdout] | [INFO] [stdout] 661 | Placement::new(Black, Rook, 56), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:661:31 [INFO] [stdout] | [INFO] [stdout] 661 | Placement::new(Black, Rook, 56), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:664:21 [INFO] [stdout] | [INFO] [stdout] 664 | state.to_move = Black; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Castle` in this scope [INFO] [stdout] --> src/tests.rs:665:18 [INFO] [stdout] | [INFO] [stdout] 665 | let action = Castle { direction: Queenside }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Castle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Queenside` in this scope [INFO] [stdout] --> src/tests.rs:665:38 [INFO] [stdout] | [INFO] [stdout] 665 | let action = Castle { direction: Queenside }; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::CastleDirection::Queenside; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:671:21 [INFO] [stdout] | [INFO] [stdout] 671 | let mut state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:672:9 [INFO] [stdout] | [INFO] [stdout] 672 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:672:24 [INFO] [stdout] | [INFO] [stdout] 672 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:672:31 [INFO] [stdout] | [INFO] [stdout] 672 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:673:9 [INFO] [stdout] | [INFO] [stdout] 673 | Placement::new(White, Rook, 7), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:673:24 [INFO] [stdout] | [INFO] [stdout] 673 | Placement::new(White, Rook, 7), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:673:31 [INFO] [stdout] | [INFO] [stdout] 673 | Placement::new(White, Rook, 7), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:674:9 [INFO] [stdout] | [INFO] [stdout] 674 | Placement::new(Black, Rook, 21), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:674:24 [INFO] [stdout] | [INFO] [stdout] 674 | Placement::new(Black, Rook, 21), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:674:31 [INFO] [stdout] | [INFO] [stdout] 674 | Placement::new(Black, Rook, 21), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Castle` in this scope [INFO] [stdout] --> src/tests.rs:677:18 [INFO] [stdout] | [INFO] [stdout] 677 | let action = Castle { direction: Kingside }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Castle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Kingside` in this scope [INFO] [stdout] --> src/tests.rs:677:38 [INFO] [stdout] | [INFO] [stdout] 677 | let action = Castle { direction: Kingside }; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::CastleDirection::Kingside; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:683:21 [INFO] [stdout] | [INFO] [stdout] 683 | let mut state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:684:9 [INFO] [stdout] | [INFO] [stdout] 684 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:684:24 [INFO] [stdout] | [INFO] [stdout] 684 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:684:31 [INFO] [stdout] | [INFO] [stdout] 684 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:685:9 [INFO] [stdout] | [INFO] [stdout] 685 | Placement::new(White, Rook, 7), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:685:24 [INFO] [stdout] | [INFO] [stdout] 685 | Placement::new(White, Rook, 7), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:685:31 [INFO] [stdout] | [INFO] [stdout] 685 | Placement::new(White, Rook, 7), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:686:9 [INFO] [stdout] | [INFO] [stdout] 686 | Placement::new(Black, Pawn, 15), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:686:24 [INFO] [stdout] | [INFO] [stdout] 686 | Placement::new(Black, Pawn, 15), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:686:31 [INFO] [stdout] | [INFO] [stdout] 686 | Placement::new(Black, Pawn, 15), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Castle` in this scope [INFO] [stdout] --> src/tests.rs:689:18 [INFO] [stdout] | [INFO] [stdout] 689 | let action = Castle { direction: Kingside }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Castle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Kingside` in this scope [INFO] [stdout] --> src/tests.rs:689:38 [INFO] [stdout] | [INFO] [stdout] 689 | let action = Castle { direction: Kingside }; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::CastleDirection::Kingside; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:695:21 [INFO] [stdout] | [INFO] [stdout] 695 | let mut state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:696:9 [INFO] [stdout] | [INFO] [stdout] 696 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:696:24 [INFO] [stdout] | [INFO] [stdout] 696 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:696:31 [INFO] [stdout] | [INFO] [stdout] 696 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:697:9 [INFO] [stdout] | [INFO] [stdout] 697 | Placement::new(White, Rook, 7), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:697:24 [INFO] [stdout] | [INFO] [stdout] 697 | Placement::new(White, Rook, 7), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:697:31 [INFO] [stdout] | [INFO] [stdout] 697 | Placement::new(White, Rook, 7), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:698:9 [INFO] [stdout] | [INFO] [stdout] 698 | Placement::new(Black, Bishop, 12), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:698:24 [INFO] [stdout] | [INFO] [stdout] 698 | Placement::new(Black, Bishop, 12), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Bishop` in this scope [INFO] [stdout] --> src/tests.rs:698:31 [INFO] [stdout] | [INFO] [stdout] 698 | Placement::new(Black, Bishop, 12), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Bishop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Castle` in this scope [INFO] [stdout] --> src/tests.rs:701:18 [INFO] [stdout] | [INFO] [stdout] 701 | let action = Castle { direction: Kingside }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Castle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Kingside` in this scope [INFO] [stdout] --> src/tests.rs:701:38 [INFO] [stdout] | [INFO] [stdout] 701 | let action = Castle { direction: Kingside }; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::CastleDirection::Kingside; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:707:21 [INFO] [stdout] | [INFO] [stdout] 707 | let mut state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:708:9 [INFO] [stdout] | [INFO] [stdout] 708 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:708:24 [INFO] [stdout] | [INFO] [stdout] 708 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:708:31 [INFO] [stdout] | [INFO] [stdout] 708 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:709:9 [INFO] [stdout] | [INFO] [stdout] 709 | Placement::new(White, Rook, 0), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:709:24 [INFO] [stdout] | [INFO] [stdout] 709 | Placement::new(White, Rook, 0), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:709:31 [INFO] [stdout] | [INFO] [stdout] 709 | Placement::new(White, Rook, 0), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:710:9 [INFO] [stdout] | [INFO] [stdout] 710 | Placement::new(Black, Rook, 28), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:710:24 [INFO] [stdout] | [INFO] [stdout] 710 | Placement::new(Black, Rook, 28), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:710:31 [INFO] [stdout] | [INFO] [stdout] 710 | Placement::new(Black, Rook, 28), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Castle` in this scope [INFO] [stdout] --> src/tests.rs:713:18 [INFO] [stdout] | [INFO] [stdout] 713 | let action = Castle { direction: Queenside }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Castle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Queenside` in this scope [INFO] [stdout] --> src/tests.rs:713:38 [INFO] [stdout] | [INFO] [stdout] 713 | let action = Castle { direction: Queenside }; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::CastleDirection::Queenside; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:719:21 [INFO] [stdout] | [INFO] [stdout] 719 | let mut state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:720:9 [INFO] [stdout] | [INFO] [stdout] 720 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:720:24 [INFO] [stdout] | [INFO] [stdout] 720 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:720:31 [INFO] [stdout] | [INFO] [stdout] 720 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:721:9 [INFO] [stdout] | [INFO] [stdout] 721 | Placement::new(White, Rook, 0), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:721:24 [INFO] [stdout] | [INFO] [stdout] 721 | Placement::new(White, Rook, 0), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:721:31 [INFO] [stdout] | [INFO] [stdout] 721 | Placement::new(White, Rook, 0), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:722:9 [INFO] [stdout] | [INFO] [stdout] 722 | Placement::new(Black, Knight, 17), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:722:24 [INFO] [stdout] | [INFO] [stdout] 722 | Placement::new(Black, Knight, 17), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Knight` in this scope [INFO] [stdout] --> src/tests.rs:722:31 [INFO] [stdout] | [INFO] [stdout] 722 | Placement::new(Black, Knight, 17), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Knight; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Castle` in this scope [INFO] [stdout] --> src/tests.rs:725:18 [INFO] [stdout] | [INFO] [stdout] 725 | let action = Castle { direction: Queenside }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Castle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Queenside` in this scope [INFO] [stdout] --> src/tests.rs:725:38 [INFO] [stdout] | [INFO] [stdout] 725 | let action = Castle { direction: Queenside }; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::CastleDirection::Queenside; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:731:21 [INFO] [stdout] | [INFO] [stdout] 731 | let mut state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:732:9 [INFO] [stdout] | [INFO] [stdout] 732 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:732:24 [INFO] [stdout] | [INFO] [stdout] 732 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:732:31 [INFO] [stdout] | [INFO] [stdout] 732 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:733:9 [INFO] [stdout] | [INFO] [stdout] 733 | Placement::new(White, Rook, 0), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:733:24 [INFO] [stdout] | [INFO] [stdout] 733 | Placement::new(White, Rook, 0), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:733:31 [INFO] [stdout] | [INFO] [stdout] 733 | Placement::new(White, Rook, 0), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:734:9 [INFO] [stdout] | [INFO] [stdout] 734 | Placement::new(Black, Queen, 59), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:734:24 [INFO] [stdout] | [INFO] [stdout] 734 | Placement::new(Black, Queen, 59), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Queen` in this scope [INFO] [stdout] --> src/tests.rs:734:31 [INFO] [stdout] | [INFO] [stdout] 734 | Placement::new(Black, Queen, 59), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Queen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Castle` in this scope [INFO] [stdout] --> src/tests.rs:737:18 [INFO] [stdout] | [INFO] [stdout] 737 | let action = Castle { direction: Queenside }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Castle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Queenside` in this scope [INFO] [stdout] --> src/tests.rs:737:38 [INFO] [stdout] | [INFO] [stdout] 737 | let action = Castle { direction: Queenside }; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::CastleDirection::Queenside; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:743:21 [INFO] [stdout] | [INFO] [stdout] 743 | let mut state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:744:9 [INFO] [stdout] | [INFO] [stdout] 744 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:744:24 [INFO] [stdout] | [INFO] [stdout] 744 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:744:31 [INFO] [stdout] | [INFO] [stdout] 744 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:745:9 [INFO] [stdout] | [INFO] [stdout] 745 | Placement::new(Black, Rook, 63), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:745:24 [INFO] [stdout] | [INFO] [stdout] 745 | Placement::new(Black, Rook, 63), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:745:31 [INFO] [stdout] | [INFO] [stdout] 745 | Placement::new(Black, Rook, 63), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:746:9 [INFO] [stdout] | [INFO] [stdout] 746 | Placement::new(White, Pawn, 51), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:746:24 [INFO] [stdout] | [INFO] [stdout] 746 | Placement::new(White, Pawn, 51), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:746:31 [INFO] [stdout] | [INFO] [stdout] 746 | Placement::new(White, Pawn, 51), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:749:21 [INFO] [stdout] | [INFO] [stdout] 749 | state.to_move = Black; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Castle` in this scope [INFO] [stdout] --> src/tests.rs:750:18 [INFO] [stdout] | [INFO] [stdout] 750 | let action = Castle { direction: Kingside }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Castle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Kingside` in this scope [INFO] [stdout] --> src/tests.rs:750:38 [INFO] [stdout] | [INFO] [stdout] 750 | let action = Castle { direction: Kingside }; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::CastleDirection::Kingside; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:756:21 [INFO] [stdout] | [INFO] [stdout] 756 | let mut state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:757:9 [INFO] [stdout] | [INFO] [stdout] 757 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:757:24 [INFO] [stdout] | [INFO] [stdout] 757 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:757:31 [INFO] [stdout] | [INFO] [stdout] 757 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:758:9 [INFO] [stdout] | [INFO] [stdout] 758 | Placement::new(Black, Rook, 63), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:758:24 [INFO] [stdout] | [INFO] [stdout] 758 | Placement::new(Black, Rook, 63), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:758:31 [INFO] [stdout] | [INFO] [stdout] 758 | Placement::new(Black, Rook, 63), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:759:9 [INFO] [stdout] | [INFO] [stdout] 759 | Placement::new(White, Bishop, 55), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:759:24 [INFO] [stdout] | [INFO] [stdout] 759 | Placement::new(White, Bishop, 55), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Bishop` in this scope [INFO] [stdout] --> src/tests.rs:759:31 [INFO] [stdout] | [INFO] [stdout] 759 | Placement::new(White, Bishop, 55), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Bishop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:762:21 [INFO] [stdout] | [INFO] [stdout] 762 | state.to_move = Black; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Castle` in this scope [INFO] [stdout] --> src/tests.rs:763:18 [INFO] [stdout] | [INFO] [stdout] 763 | let action = Castle { direction: Kingside }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Castle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Kingside` in this scope [INFO] [stdout] --> src/tests.rs:763:38 [INFO] [stdout] | [INFO] [stdout] 763 | let action = Castle { direction: Kingside }; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::CastleDirection::Kingside; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:769:21 [INFO] [stdout] | [INFO] [stdout] 769 | let mut state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:770:9 [INFO] [stdout] | [INFO] [stdout] 770 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:770:24 [INFO] [stdout] | [INFO] [stdout] 770 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:770:31 [INFO] [stdout] | [INFO] [stdout] 770 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:771:9 [INFO] [stdout] | [INFO] [stdout] 771 | Placement::new(Black, Rook, 63), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:771:24 [INFO] [stdout] | [INFO] [stdout] 771 | Placement::new(Black, Rook, 63), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:771:31 [INFO] [stdout] | [INFO] [stdout] 771 | Placement::new(Black, Rook, 63), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:772:9 [INFO] [stdout] | [INFO] [stdout] 772 | Placement::new(White, Bishop, 52), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:772:24 [INFO] [stdout] | [INFO] [stdout] 772 | Placement::new(White, Bishop, 52), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Bishop` in this scope [INFO] [stdout] --> src/tests.rs:772:31 [INFO] [stdout] | [INFO] [stdout] 772 | Placement::new(White, Bishop, 52), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Bishop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:775:21 [INFO] [stdout] | [INFO] [stdout] 775 | state.to_move = Black; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Castle` in this scope [INFO] [stdout] --> src/tests.rs:776:18 [INFO] [stdout] | [INFO] [stdout] 776 | let action = Castle { direction: Kingside }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Castle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Kingside` in this scope [INFO] [stdout] --> src/tests.rs:776:38 [INFO] [stdout] | [INFO] [stdout] 776 | let action = Castle { direction: Kingside }; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::CastleDirection::Kingside; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:782:21 [INFO] [stdout] | [INFO] [stdout] 782 | let mut state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:783:9 [INFO] [stdout] | [INFO] [stdout] 783 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:783:24 [INFO] [stdout] | [INFO] [stdout] 783 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:783:31 [INFO] [stdout] | [INFO] [stdout] 783 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:784:9 [INFO] [stdout] | [INFO] [stdout] 784 | Placement::new(Black, Rook, 56), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:784:24 [INFO] [stdout] | [INFO] [stdout] 784 | Placement::new(Black, Rook, 56), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:784:31 [INFO] [stdout] | [INFO] [stdout] 784 | Placement::new(Black, Rook, 56), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:785:9 [INFO] [stdout] | [INFO] [stdout] 785 | Placement::new(White, Pawn, 53), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:785:24 [INFO] [stdout] | [INFO] [stdout] 785 | Placement::new(White, Pawn, 53), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:785:31 [INFO] [stdout] | [INFO] [stdout] 785 | Placement::new(White, Pawn, 53), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:788:21 [INFO] [stdout] | [INFO] [stdout] 788 | state.to_move = Black; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Castle` in this scope [INFO] [stdout] --> src/tests.rs:789:18 [INFO] [stdout] | [INFO] [stdout] 789 | let action = Castle { direction: Queenside }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Castle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Queenside` in this scope [INFO] [stdout] --> src/tests.rs:789:38 [INFO] [stdout] | [INFO] [stdout] 789 | let action = Castle { direction: Queenside }; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::CastleDirection::Queenside; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:795:21 [INFO] [stdout] | [INFO] [stdout] 795 | let mut state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:796:9 [INFO] [stdout] | [INFO] [stdout] 796 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:796:24 [INFO] [stdout] | [INFO] [stdout] 796 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:796:31 [INFO] [stdout] | [INFO] [stdout] 796 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:797:9 [INFO] [stdout] | [INFO] [stdout] 797 | Placement::new(Black, Rook, 56), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:797:24 [INFO] [stdout] | [INFO] [stdout] 797 | Placement::new(Black, Rook, 56), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:797:31 [INFO] [stdout] | [INFO] [stdout] 797 | Placement::new(Black, Rook, 56), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:798:9 [INFO] [stdout] | [INFO] [stdout] 798 | Placement::new(White, Pawn, 49), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:798:24 [INFO] [stdout] | [INFO] [stdout] 798 | Placement::new(White, Pawn, 49), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:798:31 [INFO] [stdout] | [INFO] [stdout] 798 | Placement::new(White, Pawn, 49), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:801:21 [INFO] [stdout] | [INFO] [stdout] 801 | state.to_move = Black; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Castle` in this scope [INFO] [stdout] --> src/tests.rs:802:18 [INFO] [stdout] | [INFO] [stdout] 802 | let action = Castle { direction: Queenside }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Castle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Queenside` in this scope [INFO] [stdout] --> src/tests.rs:802:38 [INFO] [stdout] | [INFO] [stdout] 802 | let action = Castle { direction: Queenside }; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::CastleDirection::Queenside; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:808:21 [INFO] [stdout] | [INFO] [stdout] 808 | let mut state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:809:9 [INFO] [stdout] | [INFO] [stdout] 809 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:809:24 [INFO] [stdout] | [INFO] [stdout] 809 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:809:31 [INFO] [stdout] | [INFO] [stdout] 809 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:810:9 [INFO] [stdout] | [INFO] [stdout] 810 | Placement::new(Black, Rook, 56), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:810:24 [INFO] [stdout] | [INFO] [stdout] 810 | Placement::new(Black, Rook, 56), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:810:31 [INFO] [stdout] | [INFO] [stdout] 810 | Placement::new(Black, Rook, 56), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:811:9 [INFO] [stdout] | [INFO] [stdout] 811 | Placement::new(White, Rook, 51), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:811:24 [INFO] [stdout] | [INFO] [stdout] 811 | Placement::new(White, Rook, 51), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:811:31 [INFO] [stdout] | [INFO] [stdout] 811 | Placement::new(White, Rook, 51), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:814:21 [INFO] [stdout] | [INFO] [stdout] 814 | state.to_move = Black; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Castle` in this scope [INFO] [stdout] --> src/tests.rs:815:18 [INFO] [stdout] | [INFO] [stdout] 815 | let action = Castle { direction: Queenside }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Castle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Queenside` in this scope [INFO] [stdout] --> src/tests.rs:815:38 [INFO] [stdout] | [INFO] [stdout] 815 | let action = Castle { direction: Queenside }; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::CastleDirection::Queenside; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:821:21 [INFO] [stdout] | [INFO] [stdout] 821 | let mut state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:822:9 [INFO] [stdout] | [INFO] [stdout] 822 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:822:24 [INFO] [stdout] | [INFO] [stdout] 822 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:822:31 [INFO] [stdout] | [INFO] [stdout] 822 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:823:9 [INFO] [stdout] | [INFO] [stdout] 823 | Placement::new(Black, Rook, 56), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:823:24 [INFO] [stdout] | [INFO] [stdout] 823 | Placement::new(Black, Rook, 56), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:823:31 [INFO] [stdout] | [INFO] [stdout] 823 | Placement::new(Black, Rook, 56), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:824:9 [INFO] [stdout] | [INFO] [stdout] 824 | Placement::new(White, Rook, 51), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:824:24 [INFO] [stdout] | [INFO] [stdout] 824 | Placement::new(White, Rook, 51), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:824:31 [INFO] [stdout] | [INFO] [stdout] 824 | Placement::new(White, Rook, 51), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:827:21 [INFO] [stdout] | [INFO] [stdout] 827 | state.to_move = Black; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:829:18 [INFO] [stdout] | [INFO] [stdout] 829 | let action = Move { from: 56, to: 57 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:837:21 [INFO] [stdout] | [INFO] [stdout] 837 | let mut state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:838:9 [INFO] [stdout] | [INFO] [stdout] 838 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:838:24 [INFO] [stdout] | [INFO] [stdout] 838 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:838:31 [INFO] [stdout] | [INFO] [stdout] 838 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:839:9 [INFO] [stdout] | [INFO] [stdout] 839 | Placement::new(Black, Rook, 63), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:839:24 [INFO] [stdout] | [INFO] [stdout] 839 | Placement::new(Black, Rook, 63), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:839:31 [INFO] [stdout] | [INFO] [stdout] 839 | Placement::new(Black, Rook, 63), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:840:9 [INFO] [stdout] | [INFO] [stdout] 840 | Placement::new(White, Rook, 51), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:840:24 [INFO] [stdout] | [INFO] [stdout] 840 | Placement::new(White, Rook, 51), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:840:31 [INFO] [stdout] | [INFO] [stdout] 840 | Placement::new(White, Rook, 51), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:843:21 [INFO] [stdout] | [INFO] [stdout] 843 | state.to_move = Black; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:845:18 [INFO] [stdout] | [INFO] [stdout] 845 | let action = Move { from: 63, to: 62 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:853:21 [INFO] [stdout] | [INFO] [stdout] 853 | let mut state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:854:9 [INFO] [stdout] | [INFO] [stdout] 854 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:854:24 [INFO] [stdout] | [INFO] [stdout] 854 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:854:31 [INFO] [stdout] | [INFO] [stdout] 854 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:855:9 [INFO] [stdout] | [INFO] [stdout] 855 | Placement::new(Black, Rook, 63), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:855:24 [INFO] [stdout] | [INFO] [stdout] 855 | Placement::new(Black, Rook, 63), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:855:31 [INFO] [stdout] | [INFO] [stdout] 855 | Placement::new(Black, Rook, 63), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:856:9 [INFO] [stdout] | [INFO] [stdout] 856 | Placement::new(White, Rook, 51), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:856:24 [INFO] [stdout] | [INFO] [stdout] 856 | Placement::new(White, Rook, 51), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:856:31 [INFO] [stdout] | [INFO] [stdout] 856 | Placement::new(White, Rook, 51), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:860:21 [INFO] [stdout] | [INFO] [stdout] 860 | state.to_move = Black; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:862:18 [INFO] [stdout] | [INFO] [stdout] 862 | let action = Move { from: 60, to: 61 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:871:21 [INFO] [stdout] | [INFO] [stdout] 871 | let mut state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:872:9 [INFO] [stdout] | [INFO] [stdout] 872 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:872:24 [INFO] [stdout] | [INFO] [stdout] 872 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:872:31 [INFO] [stdout] | [INFO] [stdout] 872 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:873:9 [INFO] [stdout] | [INFO] [stdout] 873 | Placement::new(White, Rook, 0), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:873:24 [INFO] [stdout] | [INFO] [stdout] 873 | Placement::new(White, Rook, 0), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:873:31 [INFO] [stdout] | [INFO] [stdout] 873 | Placement::new(White, Rook, 0), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:874:9 [INFO] [stdout] | [INFO] [stdout] 874 | Placement::new(Black, King, 51), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:874:24 [INFO] [stdout] | [INFO] [stdout] 874 | Placement::new(Black, King, 51), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:874:31 [INFO] [stdout] | [INFO] [stdout] 874 | Placement::new(Black, King, 51), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:878:18 [INFO] [stdout] | [INFO] [stdout] 878 | let action = Move { from: 0, to: 8 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:886:21 [INFO] [stdout] | [INFO] [stdout] 886 | let mut state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:887:9 [INFO] [stdout] | [INFO] [stdout] 887 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:887:24 [INFO] [stdout] | [INFO] [stdout] 887 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:887:31 [INFO] [stdout] | [INFO] [stdout] 887 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:888:9 [INFO] [stdout] | [INFO] [stdout] 888 | Placement::new(White, Rook, 7), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:888:24 [INFO] [stdout] | [INFO] [stdout] 888 | Placement::new(White, Rook, 7), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:888:31 [INFO] [stdout] | [INFO] [stdout] 888 | Placement::new(White, Rook, 7), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:889:9 [INFO] [stdout] | [INFO] [stdout] 889 | Placement::new(Black, King, 51), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:889:24 [INFO] [stdout] | [INFO] [stdout] 889 | Placement::new(Black, King, 51), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:889:31 [INFO] [stdout] | [INFO] [stdout] 889 | Placement::new(Black, King, 51), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:893:18 [INFO] [stdout] | [INFO] [stdout] 893 | let action = Move { from: 7, to: 6 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:901:21 [INFO] [stdout] | [INFO] [stdout] 901 | let mut state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:902:9 [INFO] [stdout] | [INFO] [stdout] 902 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:902:24 [INFO] [stdout] | [INFO] [stdout] 902 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:902:31 [INFO] [stdout] | [INFO] [stdout] 902 | Placement::new(White, King, 4), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:903:9 [INFO] [stdout] | [INFO] [stdout] 903 | Placement::new(White, Rook, 0), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:903:24 [INFO] [stdout] | [INFO] [stdout] 903 | Placement::new(White, Rook, 0), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:903:31 [INFO] [stdout] | [INFO] [stdout] 903 | Placement::new(White, Rook, 0), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:904:9 [INFO] [stdout] | [INFO] [stdout] 904 | Placement::new(White, Rook, 7), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:904:24 [INFO] [stdout] | [INFO] [stdout] 904 | Placement::new(White, Rook, 7), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:904:31 [INFO] [stdout] | [INFO] [stdout] 904 | Placement::new(White, Rook, 7), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:905:9 [INFO] [stdout] | [INFO] [stdout] 905 | Placement::new(Black, King, 51), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:905:24 [INFO] [stdout] | [INFO] [stdout] 905 | Placement::new(Black, King, 51), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:905:31 [INFO] [stdout] | [INFO] [stdout] 905 | Placement::new(Black, King, 51), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:910:18 [INFO] [stdout] | [INFO] [stdout] 910 | let action = Move { from: 4, to: 5 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:919:17 [INFO] [stdout] | [INFO] [stdout] 919 | let state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:920:9 [INFO] [stdout] | [INFO] [stdout] 920 | Placement::new(Black, Pawn, 44), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:920:24 [INFO] [stdout] | [INFO] [stdout] 920 | Placement::new(Black, Pawn, 44), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:920:31 [INFO] [stdout] | [INFO] [stdout] 920 | Placement::new(Black, Pawn, 44), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:921:9 [INFO] [stdout] | [INFO] [stdout] 921 | Placement::new(White, Pawn, 36), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:921:24 [INFO] [stdout] | [INFO] [stdout] 921 | Placement::new(White, Pawn, 36), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:921:31 [INFO] [stdout] | [INFO] [stdout] 921 | Placement::new(White, Pawn, 36), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `color_threatens_square` in this scope [INFO] [stdout] --> src/tests.rs:924:13 [INFO] [stdout] | [INFO] [stdout] 481 | fn color_threatens_square_test() { [INFO] [stdout] | -------------------------------- similarly named constant `color_threatens_square_test` defined here [INFO] [stdout] ... [INFO] [stdout] 924 | assert!(color_threatens_square(White, 43, &state)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 924 | assert!(color_threatens_square_test(White, 43, &state)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 13 | use crate::utilities::color_threatens_square; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:924:36 [INFO] [stdout] | [INFO] [stdout] 924 | assert!(color_threatens_square(White, 43, &state)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `color_threatens_square` in this scope [INFO] [stdout] --> src/tests.rs:925:13 [INFO] [stdout] | [INFO] [stdout] 481 | fn color_threatens_square_test() { [INFO] [stdout] | -------------------------------- similarly named constant `color_threatens_square_test` defined here [INFO] [stdout] ... [INFO] [stdout] 925 | assert!(color_threatens_square(White, 45, &state)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 925 | assert!(color_threatens_square_test(White, 45, &state)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 13 | use crate::utilities::color_threatens_square; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:925:36 [INFO] [stdout] | [INFO] [stdout] 925 | assert!(color_threatens_square(White, 45, &state)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `color_threatens_square` in this scope [INFO] [stdout] --> src/tests.rs:926:13 [INFO] [stdout] | [INFO] [stdout] 481 | fn color_threatens_square_test() { [INFO] [stdout] | -------------------------------- similarly named constant `color_threatens_square_test` defined here [INFO] [stdout] ... [INFO] [stdout] 926 | assert!(color_threatens_square(Black, 35, &state)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 926 | assert!(color_threatens_square_test(Black, 35, &state)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 13 | use crate::utilities::color_threatens_square; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:926:36 [INFO] [stdout] | [INFO] [stdout] 926 | assert!(color_threatens_square(Black, 35, &state)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `color_threatens_square` in this scope [INFO] [stdout] --> src/tests.rs:927:13 [INFO] [stdout] | [INFO] [stdout] 481 | fn color_threatens_square_test() { [INFO] [stdout] | -------------------------------- similarly named constant `color_threatens_square_test` defined here [INFO] [stdout] ... [INFO] [stdout] 927 | assert!(color_threatens_square(Black, 37, &state)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 927 | assert!(color_threatens_square_test(Black, 37, &state)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 13 | use crate::utilities::color_threatens_square; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:927:36 [INFO] [stdout] | [INFO] [stdout] 927 | assert!(color_threatens_square(Black, 37, &state)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `color_threatens_square` in this scope [INFO] [stdout] --> src/tests.rs:929:14 [INFO] [stdout] | [INFO] [stdout] 481 | fn color_threatens_square_test() { [INFO] [stdout] | -------------------------------- similarly named constant `color_threatens_square_test` defined here [INFO] [stdout] ... [INFO] [stdout] 929 | assert!(!color_threatens_square(White, 44, &state)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 929 | assert!(!color_threatens_square_test(White, 44, &state)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 13 | use crate::utilities::color_threatens_square; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:929:37 [INFO] [stdout] | [INFO] [stdout] 929 | assert!(!color_threatens_square(White, 44, &state)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `color_threatens_square` in this scope [INFO] [stdout] --> src/tests.rs:930:14 [INFO] [stdout] | [INFO] [stdout] 481 | fn color_threatens_square_test() { [INFO] [stdout] | -------------------------------- similarly named constant `color_threatens_square_test` defined here [INFO] [stdout] ... [INFO] [stdout] 930 | assert!(!color_threatens_square(Black, 36, &state)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 930 | assert!(!color_threatens_square_test(Black, 36, &state)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 13 | use crate::utilities::color_threatens_square; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:930:37 [INFO] [stdout] | [INFO] [stdout] 930 | assert!(!color_threatens_square(Black, 36, &state)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:935:17 [INFO] [stdout] | [INFO] [stdout] 935 | let state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:936:9 [INFO] [stdout] | [INFO] [stdout] 936 | Placement::new(White, Pawn, 33), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:936:24 [INFO] [stdout] | [INFO] [stdout] 936 | Placement::new(White, Pawn, 33), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:936:31 [INFO] [stdout] | [INFO] [stdout] 936 | Placement::new(White, Pawn, 33), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:937:9 [INFO] [stdout] | [INFO] [stdout] 937 | Placement::new(Black, Pawn, 50), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:937:24 [INFO] [stdout] | [INFO] [stdout] 937 | Placement::new(Black, Pawn, 50), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:937:31 [INFO] [stdout] | [INFO] [stdout] 937 | Placement::new(Black, Pawn, 50), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:942:18 [INFO] [stdout] | [INFO] [stdout] 942 | let action = Move { from: 50, to: 34 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `EnPassant` in this scope [INFO] [stdout] --> src/tests.rs:947:18 [INFO] [stdout] | [INFO] [stdout] 947 | let action = EnPassant { with: 33 }; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::EnPassant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:957:17 [INFO] [stdout] | [INFO] [stdout] 957 | let state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:958:9 [INFO] [stdout] | [INFO] [stdout] 958 | Placement::new(White, Pawn, 12), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:958:24 [INFO] [stdout] | [INFO] [stdout] 958 | Placement::new(White, Pawn, 12), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:958:31 [INFO] [stdout] | [INFO] [stdout] 958 | Placement::new(White, Pawn, 12), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:959:9 [INFO] [stdout] | [INFO] [stdout] 959 | Placement::new(Black, Pawn, 29), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:959:24 [INFO] [stdout] | [INFO] [stdout] 959 | Placement::new(Black, Pawn, 29), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:959:31 [INFO] [stdout] | [INFO] [stdout] 959 | Placement::new(Black, Pawn, 29), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:964:18 [INFO] [stdout] | [INFO] [stdout] 964 | let action = Move { from: 12, to: 28 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `EnPassant` in this scope [INFO] [stdout] --> src/tests.rs:969:18 [INFO] [stdout] | [INFO] [stdout] 969 | let action = EnPassant { with: 29 }; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::EnPassant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:978:17 [INFO] [stdout] | [INFO] [stdout] 978 | let state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:979:9 [INFO] [stdout] | [INFO] [stdout] 979 | Placement::new(White, Pawn, 55), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:979:24 [INFO] [stdout] | [INFO] [stdout] 979 | Placement::new(White, Pawn, 55), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:979:31 [INFO] [stdout] | [INFO] [stdout] 979 | Placement::new(White, Pawn, 55), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Promotion` in this scope [INFO] [stdout] --> src/tests.rs:981:18 [INFO] [stdout] | [INFO] [stdout] 981 | let action = Promotion { pawn_becomes: Knight, moving_from: 55, to: 63 }; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Promotion; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Knight` in this scope [INFO] [stdout] --> src/tests.rs:981:44 [INFO] [stdout] | [INFO] [stdout] 981 | let action = Promotion { pawn_becomes: Knight, moving_from: 55, to: 63 }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Knight; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:987:17 [INFO] [stdout] | [INFO] [stdout] 987 | let state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:988:9 [INFO] [stdout] | [INFO] [stdout] 988 | Placement::new(White, Pawn, 48), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:988:24 [INFO] [stdout] | [INFO] [stdout] 988 | Placement::new(White, Pawn, 48), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:988:31 [INFO] [stdout] | [INFO] [stdout] 988 | Placement::new(White, Pawn, 48), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Promotion` in this scope [INFO] [stdout] --> src/tests.rs:990:18 [INFO] [stdout] | [INFO] [stdout] 990 | let action = Promotion { pawn_becomes: Bishop, moving_from: 48, to: 56 }; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Promotion; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Bishop` in this scope [INFO] [stdout] --> src/tests.rs:990:44 [INFO] [stdout] | [INFO] [stdout] 990 | let action = Promotion { pawn_becomes: Bishop, moving_from: 48, to: 56 }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Bishop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:996:17 [INFO] [stdout] | [INFO] [stdout] 996 | let state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:997:9 [INFO] [stdout] | [INFO] [stdout] 997 | Placement::new(White, Pawn, 49), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:997:24 [INFO] [stdout] | [INFO] [stdout] 997 | Placement::new(White, Pawn, 49), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:997:31 [INFO] [stdout] | [INFO] [stdout] 997 | Placement::new(White, Pawn, 49), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Promotion` in this scope [INFO] [stdout] --> src/tests.rs:999:18 [INFO] [stdout] | [INFO] [stdout] 999 | let action = Promotion { pawn_becomes: Rook, moving_from: 49, to: 57 }; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Promotion; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:999:44 [INFO] [stdout] | [INFO] [stdout] 999 | let action = Promotion { pawn_becomes: Rook, moving_from: 49, to: 57 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:1005:17 [INFO] [stdout] | [INFO] [stdout] 1005 | let state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:1006:9 [INFO] [stdout] | [INFO] [stdout] 1006 | Placement::new(White, Pawn, 50), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:1006:24 [INFO] [stdout] | [INFO] [stdout] 1006 | Placement::new(White, Pawn, 50), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:1006:31 [INFO] [stdout] | [INFO] [stdout] 1006 | Placement::new(White, Pawn, 50), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Promotion` in this scope [INFO] [stdout] --> src/tests.rs:1008:18 [INFO] [stdout] | [INFO] [stdout] 1008 | let action = Promotion { pawn_becomes: Queen, moving_from: 50, to: 58 }; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Promotion; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Queen` in this scope [INFO] [stdout] --> src/tests.rs:1008:44 [INFO] [stdout] | [INFO] [stdout] 1008 | let action = Promotion { pawn_becomes: Queen, moving_from: 50, to: 58 }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Queen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:1014:21 [INFO] [stdout] | [INFO] [stdout] 1014 | let mut state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:1015:9 [INFO] [stdout] | [INFO] [stdout] 1015 | Placement::new(Black, Pawn, 12), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:1015:24 [INFO] [stdout] | [INFO] [stdout] 1015 | Placement::new(Black, Pawn, 12), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:1015:31 [INFO] [stdout] | [INFO] [stdout] 1015 | Placement::new(Black, Pawn, 12), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:1017:21 [INFO] [stdout] | [INFO] [stdout] 1017 | state.to_move = Black; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Promotion` in this scope [INFO] [stdout] --> src/tests.rs:1018:18 [INFO] [stdout] | [INFO] [stdout] 1018 | let action = Promotion { pawn_becomes: Bishop, moving_from: 12, to: 4 }; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Promotion; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Bishop` in this scope [INFO] [stdout] --> src/tests.rs:1018:44 [INFO] [stdout] | [INFO] [stdout] 1018 | let action = Promotion { pawn_becomes: Bishop, moving_from: 12, to: 4 }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Bishop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:1024:21 [INFO] [stdout] | [INFO] [stdout] 1024 | let mut state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:1025:9 [INFO] [stdout] | [INFO] [stdout] 1025 | Placement::new(Black, Pawn, 11), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:1025:24 [INFO] [stdout] | [INFO] [stdout] 1025 | Placement::new(Black, Pawn, 11), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:1025:31 [INFO] [stdout] | [INFO] [stdout] 1025 | Placement::new(Black, Pawn, 11), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:1027:21 [INFO] [stdout] | [INFO] [stdout] 1027 | state.to_move = Black; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Promotion` in this scope [INFO] [stdout] --> src/tests.rs:1028:18 [INFO] [stdout] | [INFO] [stdout] 1028 | let action = Promotion { pawn_becomes: Knight, moving_from: 11, to: 3 }; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Promotion; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Knight` in this scope [INFO] [stdout] --> src/tests.rs:1028:44 [INFO] [stdout] | [INFO] [stdout] 1028 | let action = Promotion { pawn_becomes: Knight, moving_from: 11, to: 3 }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Knight; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:1034:21 [INFO] [stdout] | [INFO] [stdout] 1034 | let mut state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:1035:9 [INFO] [stdout] | [INFO] [stdout] 1035 | Placement::new(Black, Pawn, 15), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:1035:24 [INFO] [stdout] | [INFO] [stdout] 1035 | Placement::new(Black, Pawn, 15), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:1035:31 [INFO] [stdout] | [INFO] [stdout] 1035 | Placement::new(Black, Pawn, 15), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:1037:21 [INFO] [stdout] | [INFO] [stdout] 1037 | state.to_move = Black; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Promotion` in this scope [INFO] [stdout] --> src/tests.rs:1038:18 [INFO] [stdout] | [INFO] [stdout] 1038 | let action = Promotion { pawn_becomes: Rook, moving_from: 15, to: 7 }; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Promotion; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:1038:44 [INFO] [stdout] | [INFO] [stdout] 1038 | let action = Promotion { pawn_becomes: Rook, moving_from: 15, to: 7 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:1044:21 [INFO] [stdout] | [INFO] [stdout] 1044 | let mut state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:1045:9 [INFO] [stdout] | [INFO] [stdout] 1045 | Placement::new(Black, Pawn, 14), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:1045:24 [INFO] [stdout] | [INFO] [stdout] 1045 | Placement::new(Black, Pawn, 14), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:1045:31 [INFO] [stdout] | [INFO] [stdout] 1045 | Placement::new(Black, Pawn, 14), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:1047:21 [INFO] [stdout] | [INFO] [stdout] 1047 | state.to_move = Black; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Promotion` in this scope [INFO] [stdout] --> src/tests.rs:1048:18 [INFO] [stdout] | [INFO] [stdout] 1048 | let action = Promotion { pawn_becomes: Queen, moving_from: 14, to: 6 }; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Promotion; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Queen` in this scope [INFO] [stdout] --> src/tests.rs:1048:44 [INFO] [stdout] | [INFO] [stdout] 1048 | let action = Promotion { pawn_becomes: Queen, moving_from: 14, to: 6 }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Queen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:1054:21 [INFO] [stdout] | [INFO] [stdout] 1054 | let mut state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:1055:9 [INFO] [stdout] | [INFO] [stdout] 1055 | Placement::new(Black, Pawn, 14), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:1055:24 [INFO] [stdout] | [INFO] [stdout] 1055 | Placement::new(Black, Pawn, 14), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:1055:31 [INFO] [stdout] | [INFO] [stdout] 1055 | Placement::new(Black, Pawn, 14), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:1056:9 [INFO] [stdout] | [INFO] [stdout] 1056 | Placement::new(White, Rook, 7), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:1056:24 [INFO] [stdout] | [INFO] [stdout] 1056 | Placement::new(White, Rook, 7), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:1056:31 [INFO] [stdout] | [INFO] [stdout] 1056 | Placement::new(White, Rook, 7), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:1058:21 [INFO] [stdout] | [INFO] [stdout] 1058 | state.to_move = Black; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Promotion` in this scope [INFO] [stdout] --> src/tests.rs:1059:18 [INFO] [stdout] | [INFO] [stdout] 1059 | let action = Promotion { pawn_becomes: Queen, moving_from: 14, to: 7 }; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Promotion; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Queen` in this scope [INFO] [stdout] --> src/tests.rs:1059:44 [INFO] [stdout] | [INFO] [stdout] 1059 | let action = Promotion { pawn_becomes: Queen, moving_from: 14, to: 7 }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Queen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:1065:17 [INFO] [stdout] | [INFO] [stdout] 1065 | let state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:1066:9 [INFO] [stdout] | [INFO] [stdout] 1066 | Placement::new(White, Pawn, 12), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:1066:24 [INFO] [stdout] | [INFO] [stdout] 1066 | Placement::new(White, Pawn, 12), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:1066:31 [INFO] [stdout] | [INFO] [stdout] 1066 | Placement::new(White, Pawn, 12), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:1067:9 [INFO] [stdout] | [INFO] [stdout] 1067 | Placement::new(Black, Pawn, 29), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:1067:24 [INFO] [stdout] | [INFO] [stdout] 1067 | Placement::new(Black, Pawn, 29), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:1067:31 [INFO] [stdout] | [INFO] [stdout] 1067 | Placement::new(Black, Pawn, 29), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:1068:9 [INFO] [stdout] | [INFO] [stdout] 1068 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:1068:24 [INFO] [stdout] | [INFO] [stdout] 1068 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:1068:31 [INFO] [stdout] | [INFO] [stdout] 1068 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:1071:18 [INFO] [stdout] | [INFO] [stdout] 1071 | let action = Move { from: 12, to: 28 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:1076:18 [INFO] [stdout] | [INFO] [stdout] 1076 | let action = Move { from: 60, to: 61 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:1085:17 [INFO] [stdout] | [INFO] [stdout] 1085 | let state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:1086:9 [INFO] [stdout] | [INFO] [stdout] 1086 | Placement::new(White, Pawn, 12), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:1086:24 [INFO] [stdout] | [INFO] [stdout] 1086 | Placement::new(White, Pawn, 12), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:1086:31 [INFO] [stdout] | [INFO] [stdout] 1086 | Placement::new(White, Pawn, 12), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:1087:9 [INFO] [stdout] | [INFO] [stdout] 1087 | Placement::new(Black, Pawn, 29), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:1087:24 [INFO] [stdout] | [INFO] [stdout] 1087 | Placement::new(Black, Pawn, 29), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:1087:31 [INFO] [stdout] | [INFO] [stdout] 1087 | Placement::new(Black, Pawn, 29), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:1088:9 [INFO] [stdout] | [INFO] [stdout] 1088 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:1088:24 [INFO] [stdout] | [INFO] [stdout] 1088 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `King` in this scope [INFO] [stdout] --> src/tests.rs:1088:31 [INFO] [stdout] | [INFO] [stdout] 1088 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:1089:9 [INFO] [stdout] | [INFO] [stdout] 1089 | Placement::new(Black, Rook, 63), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:1089:24 [INFO] [stdout] | [INFO] [stdout] 1089 | Placement::new(Black, Rook, 63), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rook` in this scope [INFO] [stdout] --> src/tests.rs:1089:31 [INFO] [stdout] | [INFO] [stdout] 1089 | Placement::new(Black, Rook, 63), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:1092:18 [INFO] [stdout] | [INFO] [stdout] 1092 | let action = Move { from: 12, to: 28 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Castle` in this scope [INFO] [stdout] --> src/tests.rs:1097:18 [INFO] [stdout] | [INFO] [stdout] 1097 | let action = Castle { direction: Kingside }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Castle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Kingside` in this scope [INFO] [stdout] --> src/tests.rs:1097:38 [INFO] [stdout] | [INFO] [stdout] 1097 | let action = Castle { direction: Kingside }; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::CastleDirection::Kingside; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:1101:19 [INFO] [stdout] | [INFO] [stdout] 1101 | let _action = Move { from: 29, to: 20 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:1107:17 [INFO] [stdout] | [INFO] [stdout] 1107 | let state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:1108:9 [INFO] [stdout] | [INFO] [stdout] 1108 | Placement::new(White, Pawn, 12), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:1108:24 [INFO] [stdout] | [INFO] [stdout] 1108 | Placement::new(White, Pawn, 12), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:1108:31 [INFO] [stdout] | [INFO] [stdout] 1108 | Placement::new(White, Pawn, 12), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:1109:9 [INFO] [stdout] | [INFO] [stdout] 1109 | Placement::new(Black, Pawn, 29), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:1109:24 [INFO] [stdout] | [INFO] [stdout] 1109 | Placement::new(Black, Pawn, 29), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:1109:31 [INFO] [stdout] | [INFO] [stdout] 1109 | Placement::new(Black, Pawn, 29), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:1110:9 [INFO] [stdout] | [INFO] [stdout] 1110 | Placement::new(Black, Pawn, 9), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:1110:24 [INFO] [stdout] | [INFO] [stdout] 1110 | Placement::new(Black, Pawn, 9), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:1110:31 [INFO] [stdout] | [INFO] [stdout] 1110 | Placement::new(Black, Pawn, 9), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:1113:30 [INFO] [stdout] | [INFO] [stdout] 1113 | assert!(state.to_move == White); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/tests.rs:1115:18 [INFO] [stdout] | [INFO] [stdout] 1115 | let action = Move { from: 12, to: 28 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Promotion` in this scope [INFO] [stdout] --> src/tests.rs:1120:18 [INFO] [stdout] | [INFO] [stdout] 1120 | let action = Promotion { pawn_becomes: Queen, moving_from: 9, to: 1 }; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Promotion; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Queen` in this scope [INFO] [stdout] --> src/tests.rs:1120:44 [INFO] [stdout] | [INFO] [stdout] 1120 | let action = Promotion { pawn_becomes: Queen, moving_from: 9, to: 1 }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Queen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameState` [INFO] [stdout] --> src/tests.rs:1129:17 [INFO] [stdout] | [INFO] [stdout] 1129 | let state = GameState::with_placements(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:1130:9 [INFO] [stdout] | [INFO] [stdout] 1130 | Placement::new(White, Bishop, 61), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:1130:24 [INFO] [stdout] | [INFO] [stdout] 1130 | Placement::new(White, Bishop, 61), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Bishop` in this scope [INFO] [stdout] --> src/tests.rs:1130:31 [INFO] [stdout] | [INFO] [stdout] 1130 | Placement::new(White, Bishop, 61), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Bishop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:1131:9 [INFO] [stdout] | [INFO] [stdout] 1131 | Placement::new(White, Pawn, 12), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> src/tests.rs:1131:24 [INFO] [stdout] | [INFO] [stdout] 1131 | Placement::new(White, Pawn, 12), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:1131:31 [INFO] [stdout] | [INFO] [stdout] 1131 | Placement::new(White, Pawn, 12), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:1132:9 [INFO] [stdout] | [INFO] [stdout] 1132 | Placement::new(Black, Pawn, 29), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> src/tests.rs:1132:24 [INFO] [stdout] | [INFO] [stdout] 1132 | Placement::new(Black, Pawn, 29), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Color::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pawn` in this scope [INFO] [stdout] --> src/tests.rs:1132:31 [INFO] [stdout] | [INFO] [stdout] 1132 | Placement::new(Black, Pawn, 29), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 13 | use crate::PieceName::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Placement` [INFO] [stdout] --> src/tests.rs:1133:9 [INFO] [stdout] | [INFO] [stdout] 1133 | Placement::new(Black, King, 60), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Placement; [INFO] [stdout] | [WARN] too many lines in the log, truncating it