[INFO] cloning repository https://github.com/BenPski/chess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BenPski/chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenPski%2Fchess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenPski%2Fchess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 67eac62bfb357f56459d879f0e33474ce2077a4e [INFO] checking BenPski/chess/67eac62bfb357f56459d879f0e33474ce2077a4e against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenPski%2Fchess" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BenPski/chess on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BenPski/chess [INFO] finished tweaking git repo https://github.com/BenPski/chess [INFO] tweaked toml for git repo https://github.com/BenPski/chess written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/BenPski/chess already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-1-tc1/source/dumb_chess/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-1-tc1/source/browser_chess/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.40 [INFO] [stderr] Downloaded trace v0.1.7 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77ae90bbbddd74fe06406d5d086f7d24dbea4e42e0b8965dfbcc15782f1b06f9 [INFO] running `Command { std: "docker" "start" "-a" "77ae90bbbddd74fe06406d5d086f7d24dbea4e42e0b8965dfbcc15782f1b06f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77ae90bbbddd74fe06406d5d086f7d24dbea4e42e0b8965dfbcc15782f1b06f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77ae90bbbddd74fe06406d5d086f7d24dbea4e42e0b8965dfbcc15782f1b06f9", kill_on_drop: false }` [INFO] [stdout] 77ae90bbbddd74fe06406d5d086f7d24dbea4e42e0b8965dfbcc15782f1b06f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0cca04df30a8c19b3ed98f2dbe6922fe198cec75101fbc494e3bd9b78a9bedc [INFO] running `Command { std: "docker" "start" "-a" "e0cca04df30a8c19b3ed98f2dbe6922fe198cec75101fbc494e3bd9b78a9bedc", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/dumb_chess/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/browser_chess/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.90 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling wasm-bindgen v0.2.90 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling trace v0.1.7 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.90 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling enum-iterator-derive v1.3.0 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.40 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.90 [INFO] [stderr] Checking enum-iterator v1.5.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.90 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Checking dumb_chess v0.1.0 (/opt/rustwide/workdir/dumb_chess) [INFO] [stderr] Checking js-sys v0.3.67 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stdout] warning: struct `FirstChoose` is never constructed [INFO] [stdout] --> dumb_chess/src/strategy.rs:418:8 [INFO] [stdout] | [INFO] [stdout] 418 | struct FirstChoose; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LastChoose` is never constructed [INFO] [stdout] --> dumb_chess/src/strategy.rs:419:8 [INFO] [stdout] | [INFO] [stdout] 419 | struct LastChoose; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AverageCombine` is never constructed [INFO] [stdout] --> dumb_chess/src/strategy.rs:455:8 [INFO] [stdout] | [INFO] [stdout] 455 | struct AverageCombine; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MedianCombine` is never constructed [INFO] [stdout] --> dumb_chess/src/strategy.rs:456:8 [INFO] [stdout] | [INFO] [stdout] 456 | struct MedianCombine; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VarianceCombine` is never constructed [INFO] [stdout] --> dumb_chess/src/strategy.rs:457:8 [INFO] [stdout] | [INFO] [stdout] 457 | struct VarianceCombine; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProductCombine` is never constructed [INFO] [stdout] --> dumb_chess/src/strategy.rs:459:8 [INFO] [stdout] | [INFO] [stdout] 459 | struct ProductCombine; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConstantCombine` is never constructed [INFO] [stdout] --> dumb_chess/src/strategy.rs:460:8 [INFO] [stdout] | [INFO] [stdout] 460 | struct ConstantCombine(f32); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `average` is never used [INFO] [stdout] --> dumb_chess/src/strategy.rs:541:4 [INFO] [stdout] | [INFO] [stdout] 541 | fn average(values: &[f32]) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `variance` is never used [INFO] [stdout] --> dumb_chess/src/strategy.rs:551:4 [INFO] [stdout] | [INFO] [stdout] 551 | fn variance(values: &[f32]) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FirstChoose` is never constructed [INFO] [stdout] --> dumb_chess/src/strategy.rs:418:8 [INFO] [stdout] | [INFO] [stdout] 418 | struct FirstChoose; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LastChoose` is never constructed [INFO] [stdout] --> dumb_chess/src/strategy.rs:419:8 [INFO] [stdout] | [INFO] [stdout] 419 | struct LastChoose; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AverageCombine` is never constructed [INFO] [stdout] --> dumb_chess/src/strategy.rs:455:8 [INFO] [stdout] | [INFO] [stdout] 455 | struct AverageCombine; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MedianCombine` is never constructed [INFO] [stdout] --> dumb_chess/src/strategy.rs:456:8 [INFO] [stdout] | [INFO] [stdout] 456 | struct MedianCombine; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VarianceCombine` is never constructed [INFO] [stdout] --> dumb_chess/src/strategy.rs:457:8 [INFO] [stdout] | [INFO] [stdout] 457 | struct VarianceCombine; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProductCombine` is never constructed [INFO] [stdout] --> dumb_chess/src/strategy.rs:459:8 [INFO] [stdout] | [INFO] [stdout] 459 | struct ProductCombine; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConstantCombine` is never constructed [INFO] [stdout] --> dumb_chess/src/strategy.rs:460:8 [INFO] [stdout] | [INFO] [stdout] 460 | struct ConstantCombine(f32); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `average` is never used [INFO] [stdout] --> dumb_chess/src/strategy.rs:541:4 [INFO] [stdout] | [INFO] [stdout] 541 | fn average(values: &[f32]) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `variance` is never used [INFO] [stdout] --> dumb_chess/src/strategy.rs:551:4 [INFO] [stdout] | [INFO] [stdout] 551 | fn variance(values: &[f32]) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chess` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chess::game::ChessGame; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `chess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chess` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chess::piece::Piece::*; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `chess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chess` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chess::player::Player::*; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `chess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chess` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use chess::action::Action::*; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `chess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chess` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use chess::action::*; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `chess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `chess::game::ChessGame`, `chess::piece::Piece::*`, `chess::player::Player::*`, `chess::action::Action::*`, `chess::action::*` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chess::game::ChessGame; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use chess::piece::Piece::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use chess::player::Player::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | use chess::action::Action::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | use chess::action::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `King` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | let king = King(0, Black); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | let king = King(0, Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:13:42 [INFO] [stdout] | [INFO] [stdout] 13 | let mut moves = game.available_moves(Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | AMove(Move::new(king, orig, orig + (0,1).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | AMove(Move::new(king, orig, orig + (0,1).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | AMove(Move::new(king, orig, orig + (0,-1).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | AMove(Move::new(king, orig, orig + (0,-1).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | AMove(Move::new(king, orig, orig + (1,0).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | AMove(Move::new(king, orig, orig + (1,0).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | AMove(Move::new(king, orig, orig + (-1,0).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | AMove(Move::new(king, orig, orig + (-1,0).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | AMove(Move::new(king, orig, orig + (1,1).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | AMove(Move::new(king, orig, orig + (1,1).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | AMove(Move::new(king, orig, orig + (1,-1).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | AMove(Move::new(king, orig, orig + (1,-1).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | AMove(Move::new(king, orig, orig + (-1,1).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | AMove(Move::new(king, orig, orig + (-1,1).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | AMove(Move::new(king, orig, orig + (-1,-1).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | AMove(Move::new(king, orig, orig + (-1,-1).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Knight` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | let knight = Knight(0, Black); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Knight; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | let knight = Knight(0, Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:36:42 [INFO] [stdout] | [INFO] [stdout] 36 | let mut moves = game.available_moves(Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | AMove(Move::new(knight, orig, orig + (1,2).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | AMove(Move::new(knight, orig, orig + (1,2).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | AMove(Move::new(knight, orig, orig + (2,1).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | AMove(Move::new(knight, orig, orig + (2,1).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | AMove(Move::new(knight, orig, orig + (-1,2).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | AMove(Move::new(knight, orig, orig + (-1,2).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | AMove(Move::new(knight, orig, orig + (-2,1).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | AMove(Move::new(knight, orig, orig + (-2,1).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | AMove(Move::new(knight, orig, orig + (1,-2).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | AMove(Move::new(knight, orig, orig + (1,-2).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | AMove(Move::new(knight, orig, orig + (2,-1).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | AMove(Move::new(knight, orig, orig + (2,-1).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | AMove(Move::new(knight, orig, orig + (-1,-2).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | AMove(Move::new(knight, orig, orig + (-1,-2).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | AMove(Move::new(knight, orig, orig + (-2,-1).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | AMove(Move::new(knight, orig, orig + (-2,-1).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bishop` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | let bishop = Bishop(0, Black); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Bishop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:56:28 [INFO] [stdout] | [INFO] [stdout] 56 | let bishop = Bishop(0, Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:59:42 [INFO] [stdout] | [INFO] [stdout] 59 | let mut moves = game.available_moves(Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | AMove(Move::new(bishop, orig, orig + (1,1).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 61 | AMove(Move::new(bishop, orig, orig + (1,1).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | AMove(Move::new(bishop, orig, orig + (2,2).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | AMove(Move::new(bishop, orig, orig + (2,2).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | AMove(Move::new(bishop, orig, orig + (3,3).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 63 | AMove(Move::new(bishop, orig, orig + (3,3).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | AMove(Move::new(bishop, orig, orig + (-1,-1).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:64:15 [INFO] [stdout] | [INFO] [stdout] 64 | AMove(Move::new(bishop, orig, orig + (-1,-1).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | AMove(Move::new(bishop, orig, orig + (-2,-2).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 65 | AMove(Move::new(bishop, orig, orig + (-2,-2).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | AMove(Move::new(bishop, orig, orig + (-3,-3).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | AMove(Move::new(bishop, orig, orig + (-3,-3).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | AMove(Move::new(bishop, orig, orig + (-4,-4).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | AMove(Move::new(bishop, orig, orig + (-4,-4).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | AMove(Move::new(bishop, orig, orig + (-1,1).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | AMove(Move::new(bishop, orig, orig + (-1,1).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | AMove(Move::new(bishop, orig, orig + (-2,2).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:69:15 [INFO] [stdout] | [INFO] [stdout] 69 | AMove(Move::new(bishop, orig, orig + (-2,2).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | AMove(Move::new(bishop, orig, orig + (-3,3).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | AMove(Move::new(bishop, orig, orig + (-3,3).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | AMove(Move::new(bishop, orig, orig + (1,-1).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:71:15 [INFO] [stdout] | [INFO] [stdout] 71 | AMove(Move::new(bishop, orig, orig + (1,-1).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | AMove(Move::new(bishop, orig, orig + (2,-2).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 72 | AMove(Move::new(bishop, orig, orig + (2,-2).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | AMove(Move::new(bishop, orig, orig + (3,-3).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:73:15 [INFO] [stdout] | [INFO] [stdout] 73 | AMove(Move::new(bishop, orig, orig + (3,-3).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Rook` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | let rook = Rook(0, Black); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | let rook = Rook(0, Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:87:42 [INFO] [stdout] | [INFO] [stdout] 87 | let mut moves = game.available_moves(Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | AMove(Move::new(rook, orig, orig + (1,0).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:89:15 [INFO] [stdout] | [INFO] [stdout] 89 | AMove(Move::new(rook, orig, orig + (1,0).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | AMove(Move::new(rook, orig, orig + (2,0).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 90 | AMove(Move::new(rook, orig, orig + (2,0).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | AMove(Move::new(rook, orig, orig + (3,0).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 91 | AMove(Move::new(rook, orig, orig + (3,0).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | AMove(Move::new(rook, orig, orig + (-1,0).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:92:15 [INFO] [stdout] | [INFO] [stdout] 92 | AMove(Move::new(rook, orig, orig + (-1,0).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | AMove(Move::new(rook, orig, orig + (-2,0).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:93:15 [INFO] [stdout] | [INFO] [stdout] 93 | AMove(Move::new(rook, orig, orig + (-2,0).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | AMove(Move::new(rook, orig, orig + (-3,0).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:94:15 [INFO] [stdout] | [INFO] [stdout] 94 | AMove(Move::new(rook, orig, orig + (-3,0).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | AMove(Move::new(rook, orig, orig + (-4,0).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:95:15 [INFO] [stdout] | [INFO] [stdout] 95 | AMove(Move::new(rook, orig, orig + (-4,0).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | AMove(Move::new(rook, orig, orig + (0,1).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:96:15 [INFO] [stdout] | [INFO] [stdout] 96 | AMove(Move::new(rook, orig, orig + (0,1).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | AMove(Move::new(rook, orig, orig + (0,2).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:97:15 [INFO] [stdout] | [INFO] [stdout] 97 | AMove(Move::new(rook, orig, orig + (0,2).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | AMove(Move::new(rook, orig, orig + (0,3).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:98:15 [INFO] [stdout] | [INFO] [stdout] 98 | AMove(Move::new(rook, orig, orig + (0,3).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | AMove(Move::new(rook, orig, orig + (0,-1).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:99:15 [INFO] [stdout] | [INFO] [stdout] 99 | AMove(Move::new(rook, orig, orig + (0,-1).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | AMove(Move::new(rook, orig, orig + (0,-2).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:100:15 [INFO] [stdout] | [INFO] [stdout] 100 | AMove(Move::new(rook, orig, orig + (0,-2).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | AMove(Move::new(rook, orig, orig + (0,-3).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:101:15 [INFO] [stdout] | [INFO] [stdout] 101 | AMove(Move::new(rook, orig, orig + (0,-3).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | AMove(Move::new(rook, orig, orig + (0,-4).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:102:15 [INFO] [stdout] | [INFO] [stdout] 102 | AMove(Move::new(rook, orig, orig + (0,-4).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Queen` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | let queen = Queen(0, Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Queen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:113:26 [INFO] [stdout] | [INFO] [stdout] 113 | let queen = Queen(0, Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:116:42 [INFO] [stdout] | [INFO] [stdout] 116 | let mut moves = game.available_moves(Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | AMove(Move::new(queen, orig, orig + (1,0).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:118:15 [INFO] [stdout] | [INFO] [stdout] 118 | AMove(Move::new(queen, orig, orig + (1,0).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | AMove(Move::new(queen, orig, orig + (2,0).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:119:15 [INFO] [stdout] | [INFO] [stdout] 119 | AMove(Move::new(queen, orig, orig + (2,0).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | AMove(Move::new(queen, orig, orig + (3,0).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:120:15 [INFO] [stdout] | [INFO] [stdout] 120 | AMove(Move::new(queen, orig, orig + (3,0).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | AMove(Move::new(queen, orig, orig + (-1,0).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:121:15 [INFO] [stdout] | [INFO] [stdout] 121 | AMove(Move::new(queen, orig, orig + (-1,0).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | AMove(Move::new(queen, orig, orig + (-2,0).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | AMove(Move::new(queen, orig, orig + (-2,0).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | AMove(Move::new(queen, orig, orig + (-3,0).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:123:15 [INFO] [stdout] | [INFO] [stdout] 123 | AMove(Move::new(queen, orig, orig + (-3,0).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | AMove(Move::new(queen, orig, orig + (-4,0).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:124:15 [INFO] [stdout] | [INFO] [stdout] 124 | AMove(Move::new(queen, orig, orig + (-4,0).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | AMove(Move::new(queen, orig, orig + (0,1).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:125:15 [INFO] [stdout] | [INFO] [stdout] 125 | AMove(Move::new(queen, orig, orig + (0,1).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | AMove(Move::new(queen, orig, orig + (0,2).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:126:15 [INFO] [stdout] | [INFO] [stdout] 126 | AMove(Move::new(queen, orig, orig + (0,2).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | AMove(Move::new(queen, orig, orig + (0,3).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:127:15 [INFO] [stdout] | [INFO] [stdout] 127 | AMove(Move::new(queen, orig, orig + (0,3).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | AMove(Move::new(queen, orig, orig + (0,-1).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:128:15 [INFO] [stdout] | [INFO] [stdout] 128 | AMove(Move::new(queen, orig, orig + (0,-1).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | AMove(Move::new(queen, orig, orig + (0,-2).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:129:15 [INFO] [stdout] | [INFO] [stdout] 129 | AMove(Move::new(queen, orig, orig + (0,-2).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | AMove(Move::new(queen, orig, orig + (0,-3).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:130:15 [INFO] [stdout] | [INFO] [stdout] 130 | AMove(Move::new(queen, orig, orig + (0,-3).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | AMove(Move::new(queen, orig, orig + (0,-4).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:131:15 [INFO] [stdout] | [INFO] [stdout] 131 | AMove(Move::new(queen, orig, orig + (0,-4).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | AMove(Move::new(queen, orig, orig + (1,1).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:132:15 [INFO] [stdout] | [INFO] [stdout] 132 | AMove(Move::new(queen, orig, orig + (1,1).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | AMove(Move::new(queen, orig, orig + (2,2).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:133:15 [INFO] [stdout] | [INFO] [stdout] 133 | AMove(Move::new(queen, orig, orig + (2,2).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | AMove(Move::new(queen, orig, orig + (3,3).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:134:15 [INFO] [stdout] | [INFO] [stdout] 134 | AMove(Move::new(queen, orig, orig + (3,3).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | AMove(Move::new(queen, orig, orig + (-1,-1).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:135:15 [INFO] [stdout] | [INFO] [stdout] 135 | AMove(Move::new(queen, orig, orig + (-1,-1).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | AMove(Move::new(queen, orig, orig + (-2,-2).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:136:15 [INFO] [stdout] | [INFO] [stdout] 136 | AMove(Move::new(queen, orig, orig + (-2,-2).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | AMove(Move::new(queen, orig, orig + (-3,-3).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:137:15 [INFO] [stdout] | [INFO] [stdout] 137 | AMove(Move::new(queen, orig, orig + (-3,-3).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | AMove(Move::new(queen, orig, orig + (-4,-4).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | AMove(Move::new(queen, orig, orig + (-4,-4).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | AMove(Move::new(queen, orig, orig + (-1,1).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:139:15 [INFO] [stdout] | [INFO] [stdout] 139 | AMove(Move::new(queen, orig, orig + (-1,1).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | AMove(Move::new(queen, orig, orig + (-2,2).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:140:15 [INFO] [stdout] | [INFO] [stdout] 140 | AMove(Move::new(queen, orig, orig + (-2,2).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | AMove(Move::new(queen, orig, orig + (-3,3).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:141:15 [INFO] [stdout] | [INFO] [stdout] 141 | AMove(Move::new(queen, orig, orig + (-3,3).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | AMove(Move::new(queen, orig, orig + (1,-1).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:142:15 [INFO] [stdout] | [INFO] [stdout] 142 | AMove(Move::new(queen, orig, orig + (1,-1).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | AMove(Move::new(queen, orig, orig + (2,-2).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:143:15 [INFO] [stdout] | [INFO] [stdout] 143 | AMove(Move::new(queen, orig, orig + (2,-2).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | AMove(Move::new(queen, orig, orig + (3,-3).into())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:144:15 [INFO] [stdout] | [INFO] [stdout] 144 | AMove(Move::new(queen, orig, orig + (3,-3).into())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pawn` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:155:16 [INFO] [stdout] | [INFO] [stdout] 155 | let pawn = Pawn(0, Black); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:155:24 [INFO] [stdout] | [INFO] [stdout] 155 | let pawn = Pawn(0, Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:158:42 [INFO] [stdout] | [INFO] [stdout] 158 | let mut moves = game.available_moves(Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | AMove(Move::new(pawn, orig, orig + Black.pawn_dir())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:161:15 [INFO] [stdout] | [INFO] [stdout] 161 | AMove(Move::new(pawn, orig, orig + Black.pawn_dir())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:161:44 [INFO] [stdout] | [INFO] [stdout] 161 | AMove(Move::new(pawn, orig, orig + Black.pawn_dir())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | AMove(Move::new(pawn, orig, orig + Black.pawn_dir() + Black.pawn_dir())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:162:15 [INFO] [stdout] | [INFO] [stdout] 162 | AMove(Move::new(pawn, orig, orig + Black.pawn_dir() + Black.pawn_dir())), [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:162:44 [INFO] [stdout] | [INFO] [stdout] 162 | AMove(Move::new(pawn, orig, orig + Black.pawn_dir() + Black.pawn_dir())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:162:63 [INFO] [stdout] | [INFO] [stdout] 162 | AMove(Move::new(pawn, orig, orig + Black.pawn_dir() + Black.pawn_dir())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Rook` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:173:16 [INFO] [stdout] | [INFO] [stdout] 173 | let rook = Rook(0, Black); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:173:24 [INFO] [stdout] | [INFO] [stdout] 173 | let rook = Rook(0, Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `King` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:175:16 [INFO] [stdout] | [INFO] [stdout] 175 | let king = King(1, Black); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:175:24 [INFO] [stdout] | [INFO] [stdout] 175 | let king = King(1, Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:179:38 [INFO] [stdout] | [INFO] [stdout] 179 | let moves = game.available_moves(Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ACastle` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:180:18 [INFO] [stdout] | [INFO] [stdout] 180 | let castle = ACastle(Castle::new(king, rook, king_orig, king_orig + (0, -2).into(), rook_orig, king_orig + (0, -1).into())); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::ACastle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Castle` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:180:26 [INFO] [stdout] | [INFO] [stdout] 180 | let castle = ACastle(Castle::new(king, rook, king_orig, king_orig + (0, -2).into(), rook_orig, king_orig + (0, -1).into())); [INFO] [stdout] | ^^^^^^ use of undeclared type `Castle` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Castle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Rook` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:187:16 [INFO] [stdout] | [INFO] [stdout] 187 | let rook = Rook(0, Black); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:187:24 [INFO] [stdout] | [INFO] [stdout] 187 | let rook = Rook(0, Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `King` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:189:16 [INFO] [stdout] | [INFO] [stdout] 189 | let king = King(1, Black); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::King; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:189:24 [INFO] [stdout] | [INFO] [stdout] 189 | let king = King(1, Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Rook` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:191:19 [INFO] [stdout] | [INFO] [stdout] 191 | let op_rook = Rook(2, White); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 191 | let op_rook = rook(2, White); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:191:27 [INFO] [stdout] | [INFO] [stdout] 191 | let op_rook = Rook(2, White); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::White; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:195:38 [INFO] [stdout] | [INFO] [stdout] 195 | let moves = game.available_moves(Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ACastle` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:196:18 [INFO] [stdout] | [INFO] [stdout] 196 | let castle = ACastle(Castle::new(king, rook, king_orig, king_orig + (0, -2).into(), rook_orig, king_orig + (0, -1).into())); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::ACastle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Castle` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:196:26 [INFO] [stdout] | [INFO] [stdout] 196 | let castle = ACastle(Castle::new(king, rook, king_orig, king_orig + (0, -2).into(), rook_orig, king_orig + (0, -1).into())); [INFO] [stdout] | ^^^^^^ use of undeclared type `Castle` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Castle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pawn` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | let pawn1 = Pawn(0, Black); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:203:25 [INFO] [stdout] | [INFO] [stdout] 203 | let pawn1 = Pawn(0, Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pawn` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | let pawn2 = Pawn(1, White); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:204:25 [INFO] [stdout] | [INFO] [stdout] 204 | let pawn2 = Pawn(1, White); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::White; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:207:22 [INFO] [stdout] | [INFO] [stdout] 207 | game = game.step(AMove(Move::new(pawn1, orig, orig + (2, 0).into()))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:207:28 [INFO] [stdout] | [INFO] [stdout] 207 | game = game.step(AMove(Move::new(pawn1, orig, orig + (2, 0).into()))); [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:209:38 [INFO] [stdout] | [INFO] [stdout] 209 | let moves = game.available_moves(White); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::White; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `APassant` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:210:19 [INFO] [stdout] | [INFO] [stdout] 210 | let passant = APassant(Passant::new(pawn2, pawn1, (3,4).into(), (2,3).into(), (3,3).into())); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::APassant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Passant` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:210:28 [INFO] [stdout] | [INFO] [stdout] 210 | let passant = APassant(Passant::new(pawn2, pawn1, (3,4).into(), (2,3).into(), (3,3).into())); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Passant` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Passant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pawn` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | let pawn1 = Pawn(0, Black); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:218:25 [INFO] [stdout] | [INFO] [stdout] 218 | let pawn1 = Pawn(0, Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pawn` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | let pawn2 = Pawn(1, White); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:219:25 [INFO] [stdout] | [INFO] [stdout] 219 | let pawn2 = Pawn(1, White); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::White; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Knight` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:220:18 [INFO] [stdout] | [INFO] [stdout] 220 | let knight = Knight(2, Black); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Knight; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:220:28 [INFO] [stdout] | [INFO] [stdout] 220 | let knight = Knight(2, Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:224:38 [INFO] [stdout] | [INFO] [stdout] 224 | let moves = game.available_moves(Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | let move1 = AMove(Move::new(knight, (0,0).into(), (1,2).into())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:226:23 [INFO] [stdout] | [INFO] [stdout] 226 | let move1 = AMove(Move::new(knight, (0,0).into(), (1,2).into())); [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:227:17 [INFO] [stdout] | [INFO] [stdout] 227 | let move2 = AMove(Move::new(knight, (0,0).into(), (2,1).into())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:227:23 [INFO] [stdout] | [INFO] [stdout] 227 | let move2 = AMove(Move::new(knight, (0,0).into(), (2,1).into())); [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pawn` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:236:16 [INFO] [stdout] | [INFO] [stdout] 236 | let pawn = Pawn(0, White); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:236:24 [INFO] [stdout] | [INFO] [stdout] 236 | let pawn = Pawn(0, White); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::White; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Rook` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:237:16 [INFO] [stdout] | [INFO] [stdout] 237 | let rook = Rook(1, Black); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:237:24 [INFO] [stdout] | [INFO] [stdout] 237 | let rook = Rook(1, Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:240:38 [INFO] [stdout] | [INFO] [stdout] 240 | let moves = game.available_moves(Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ATake` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:242:16 [INFO] [stdout] | [INFO] [stdout] 242 | let take = ATake(Take::new(rook, pawn, (4,2).into(), (1,2).into())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::ATake; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Take` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:242:22 [INFO] [stdout] | [INFO] [stdout] 242 | let take = ATake(Take::new(rook, pawn, (4,2).into(), (1,2).into())); [INFO] [stdout] | ^^^^ use of undeclared type `Take` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Take; [INFO] [stdout] | [INFO] [stdout] 1 + use std::iter::Take; [INFO] [stdout] | [INFO] [stdout] 1 + use core::iter::Take; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Take; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ATake` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:245:57 [INFO] [stdout] | [INFO] [stdout] 245 | assert_eq!(moves.into_iter().filter(|x| matches!(x, ATake(_))).count(), 1); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::ATake; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pawn` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:251:17 [INFO] [stdout] | [INFO] [stdout] 251 | let pawn1 = Pawn(0, White); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:251:25 [INFO] [stdout] | [INFO] [stdout] 251 | let pawn1 = Pawn(0, White); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::White; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pawn` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:252:17 [INFO] [stdout] | [INFO] [stdout] 252 | let pawn2 = Pawn(3, White); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:252:25 [INFO] [stdout] | [INFO] [stdout] 252 | let pawn2 = Pawn(3, White); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::White; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Rook` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:253:16 [INFO] [stdout] | [INFO] [stdout] 253 | let rook = Rook(1, Black); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:253:24 [INFO] [stdout] | [INFO] [stdout] 253 | let rook = Rook(1, Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:257:38 [INFO] [stdout] | [INFO] [stdout] 257 | let moves = game.available_moves(Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ATake` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:259:17 [INFO] [stdout] | [INFO] [stdout] 259 | let take1 = ATake(Take::new(rook, pawn1, (4,2).into(), (1,2).into())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::ATake; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Take` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:259:23 [INFO] [stdout] | [INFO] [stdout] 259 | let take1 = ATake(Take::new(rook, pawn1, (4,2).into(), (1,2).into())); [INFO] [stdout] | ^^^^ use of undeclared type `Take` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Take; [INFO] [stdout] | [INFO] [stdout] 1 + use std::iter::Take; [INFO] [stdout] | [INFO] [stdout] 1 + use core::iter::Take; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Take; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ATake` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 260 | let take2 = ATake(Take::new(rook, pawn1, (4,2).into(), (0,2).into())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::ATake; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Take` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:260:23 [INFO] [stdout] | [INFO] [stdout] 260 | let take2 = ATake(Take::new(rook, pawn1, (4,2).into(), (0,2).into())); [INFO] [stdout] | ^^^^ use of undeclared type `Take` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Take; [INFO] [stdout] | [INFO] [stdout] 1 + use std::iter::Take; [INFO] [stdout] | [INFO] [stdout] 1 + use core::iter::Take; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Take; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pawn` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:270:17 [INFO] [stdout] | [INFO] [stdout] 270 | let pawn1 = Pawn(0, Black); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:270:25 [INFO] [stdout] | [INFO] [stdout] 270 | let pawn1 = Pawn(0, Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pawn` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:271:17 [INFO] [stdout] | [INFO] [stdout] 271 | let pawn2 = Pawn(3, White); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:271:25 [INFO] [stdout] | [INFO] [stdout] 271 | let pawn2 = Pawn(3, White); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::White; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Rook` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:272:16 [INFO] [stdout] | [INFO] [stdout] 272 | let rook = Rook(1, Black); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:272:24 [INFO] [stdout] | [INFO] [stdout] 272 | let rook = Rook(1, Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:276:38 [INFO] [stdout] | [INFO] [stdout] 276 | let moves = game.available_moves(Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ATake` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:278:57 [INFO] [stdout] | [INFO] [stdout] 278 | assert_eq!(moves.into_iter().filter(|x| matches!(x, ATake(_))).count(), 0); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::ATake; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pawn` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:284:16 [INFO] [stdout] | [INFO] [stdout] 284 | let pawn = Pawn(0, White); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:284:24 [INFO] [stdout] | [INFO] [stdout] 284 | let pawn = Pawn(0, White); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::White; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Queen` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 285 | let queen = Queen(1, Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Queen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:285:26 [INFO] [stdout] | [INFO] [stdout] 285 | let queen = Queen(1, Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:288:38 [INFO] [stdout] | [INFO] [stdout] 288 | let moves = game.available_moves(Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ATake` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:290:16 [INFO] [stdout] | [INFO] [stdout] 290 | let take = ATake(Take::new(queen, pawn, (4,2).into(), (1,2).into())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::ATake; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Take` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:290:22 [INFO] [stdout] | [INFO] [stdout] 290 | let take = ATake(Take::new(queen, pawn, (4,2).into(), (1,2).into())); [INFO] [stdout] | ^^^^ use of undeclared type `Take` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Take; [INFO] [stdout] | [INFO] [stdout] 1 + use std::iter::Take; [INFO] [stdout] | [INFO] [stdout] 1 + use core::iter::Take; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Take; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ATake` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:293:57 [INFO] [stdout] | [INFO] [stdout] 293 | assert_eq!(moves.into_iter().filter(|x| matches!(x, ATake(_))).count(), 1); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::ATake; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pawn` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:299:17 [INFO] [stdout] | [INFO] [stdout] 299 | let pawn1 = Pawn(0, White); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:299:25 [INFO] [stdout] | [INFO] [stdout] 299 | let pawn1 = Pawn(0, White); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::White; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pawn` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:300:17 [INFO] [stdout] | [INFO] [stdout] 300 | let pawn2 = Pawn(3, White); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:300:25 [INFO] [stdout] | [INFO] [stdout] 300 | let pawn2 = Pawn(3, White); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::White; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Queen` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:301:17 [INFO] [stdout] | [INFO] [stdout] 301 | let queen = Queen(1, Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Queen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:301:26 [INFO] [stdout] | [INFO] [stdout] 301 | let queen = Queen(1, Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:305:38 [INFO] [stdout] | [INFO] [stdout] 305 | let moves = game.available_moves(Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ATake` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:307:17 [INFO] [stdout] | [INFO] [stdout] 307 | let take1 = ATake(Take::new(queen, pawn1, (4,2).into(), (1,2).into())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::ATake; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Take` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:307:23 [INFO] [stdout] | [INFO] [stdout] 307 | let take1 = ATake(Take::new(queen, pawn1, (4,2).into(), (1,2).into())); [INFO] [stdout] | ^^^^ use of undeclared type `Take` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Take; [INFO] [stdout] | [INFO] [stdout] 1 + use std::iter::Take; [INFO] [stdout] | [INFO] [stdout] 1 + use core::iter::Take; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Take; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ATake` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:308:17 [INFO] [stdout] | [INFO] [stdout] 308 | let take2 = ATake(Take::new(queen, pawn1, (4,2).into(), (0,2).into())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::ATake; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Take` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:308:23 [INFO] [stdout] | [INFO] [stdout] 308 | let take2 = ATake(Take::new(queen, pawn1, (4,2).into(), (0,2).into())); [INFO] [stdout] | ^^^^ use of undeclared type `Take` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Take; [INFO] [stdout] | [INFO] [stdout] 1 + use std::iter::Take; [INFO] [stdout] | [INFO] [stdout] 1 + use core::iter::Take; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Take; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pawn` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:318:17 [INFO] [stdout] | [INFO] [stdout] 318 | let pawn1 = Pawn(0, Black); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:318:25 [INFO] [stdout] | [INFO] [stdout] 318 | let pawn1 = Pawn(0, Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pawn` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:319:17 [INFO] [stdout] | [INFO] [stdout] 319 | let pawn2 = Pawn(3, White); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:319:25 [INFO] [stdout] | [INFO] [stdout] 319 | let pawn2 = Pawn(3, White); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::White; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Queen` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:320:17 [INFO] [stdout] | [INFO] [stdout] 320 | let queen = Queen(1, Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Queen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:320:26 [INFO] [stdout] | [INFO] [stdout] 320 | let queen = Queen(1, Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:324:38 [INFO] [stdout] | [INFO] [stdout] 324 | let moves = game.available_moves(Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ATake` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:326:57 [INFO] [stdout] | [INFO] [stdout] 326 | assert_eq!(moves.into_iter().filter(|x| matches!(x, ATake(_))).count(), 0); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::ATake; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pawn` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:332:16 [INFO] [stdout] | [INFO] [stdout] 332 | let pawn = Pawn(0, White); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:332:24 [INFO] [stdout] | [INFO] [stdout] 332 | let pawn = Pawn(0, White); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::White; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bishop` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:333:18 [INFO] [stdout] | [INFO] [stdout] 333 | let bishop = Bishop(1, Black); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Bishop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:333:28 [INFO] [stdout] | [INFO] [stdout] 333 | let bishop = Bishop(1, Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:336:38 [INFO] [stdout] | [INFO] [stdout] 336 | let moves = game.available_moves(Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ATake` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:338:16 [INFO] [stdout] | [INFO] [stdout] 338 | let take = ATake(Take::new(bishop, pawn, (4,4).into(), (1,1).into())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::ATake; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Take` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:338:22 [INFO] [stdout] | [INFO] [stdout] 338 | let take = ATake(Take::new(bishop, pawn, (4,4).into(), (1,1).into())); [INFO] [stdout] | ^^^^ use of undeclared type `Take` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Take; [INFO] [stdout] | [INFO] [stdout] 1 + use std::iter::Take; [INFO] [stdout] | [INFO] [stdout] 1 + use core::iter::Take; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Take; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ATake` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:341:57 [INFO] [stdout] | [INFO] [stdout] 341 | assert_eq!(moves.into_iter().filter(|x| matches!(x, ATake(_))).count(), 1); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::ATake; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pawn` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:347:17 [INFO] [stdout] | [INFO] [stdout] 347 | let pawn1 = Pawn(0, White); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:347:25 [INFO] [stdout] | [INFO] [stdout] 347 | let pawn1 = Pawn(0, White); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::White; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pawn` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:348:17 [INFO] [stdout] | [INFO] [stdout] 348 | let pawn2 = Pawn(3, White); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:348:25 [INFO] [stdout] | [INFO] [stdout] 348 | let pawn2 = Pawn(3, White); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::White; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bishop` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:349:18 [INFO] [stdout] | [INFO] [stdout] 349 | let bishop = Bishop(1, Black); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Bishop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:349:28 [INFO] [stdout] | [INFO] [stdout] 349 | let bishop = Bishop(1, Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:353:38 [INFO] [stdout] | [INFO] [stdout] 353 | let moves = game.available_moves(Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ATake` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | let take1 = ATake(Take::new(bishop, pawn1, (4,4).into(), (1,1).into())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::ATake; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Take` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:355:23 [INFO] [stdout] | [INFO] [stdout] 355 | let take1 = ATake(Take::new(bishop, pawn1, (4,4).into(), (1,1).into())); [INFO] [stdout] | ^^^^ use of undeclared type `Take` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Take; [INFO] [stdout] | [INFO] [stdout] 1 + use std::iter::Take; [INFO] [stdout] | [INFO] [stdout] 1 + use core::iter::Take; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Take; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ATake` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | let take2 = ATake(Take::new(bishop, pawn1, (4,4).into(), (0,0).into())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::ATake; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Take` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:356:23 [INFO] [stdout] | [INFO] [stdout] 356 | let take2 = ATake(Take::new(bishop, pawn1, (4,4).into(), (0,0).into())); [INFO] [stdout] | ^^^^ use of undeclared type `Take` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Take; [INFO] [stdout] | [INFO] [stdout] 1 + use std::iter::Take; [INFO] [stdout] | [INFO] [stdout] 1 + use core::iter::Take; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Take; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pawn` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:366:17 [INFO] [stdout] | [INFO] [stdout] 366 | let pawn1 = Pawn(0, Black); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:366:25 [INFO] [stdout] | [INFO] [stdout] 366 | let pawn1 = Pawn(0, Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pawn` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:367:17 [INFO] [stdout] | [INFO] [stdout] 367 | let pawn2 = Pawn(3, White); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:367:25 [INFO] [stdout] | [INFO] [stdout] 367 | let pawn2 = Pawn(3, White); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::White; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bishop` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:368:18 [INFO] [stdout] | [INFO] [stdout] 368 | let bishop = Bishop(1, Black); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Bishop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:368:28 [INFO] [stdout] | [INFO] [stdout] 368 | let bishop = Bishop(1, Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:372:38 [INFO] [stdout] | [INFO] [stdout] 372 | let moves = game.available_moves(Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ATake` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:374:57 [INFO] [stdout] | [INFO] [stdout] 374 | assert_eq!(moves.into_iter().filter(|x| matches!(x, ATake(_))).count(), 0); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::ATake; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pawn` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:380:16 [INFO] [stdout] | [INFO] [stdout] 380 | let pawn = Pawn(0, White); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:380:24 [INFO] [stdout] | [INFO] [stdout] 380 | let pawn = Pawn(0, White); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::White; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Rook` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:381:16 [INFO] [stdout] | [INFO] [stdout] 381 | let rook = Rook(2, Black); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:381:24 [INFO] [stdout] | [INFO] [stdout] 381 | let rook = Rook(2, Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:384:38 [INFO] [stdout] | [INFO] [stdout] 384 | let moves = game.available_moves(White); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::White; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ATake` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:386:16 [INFO] [stdout] | [INFO] [stdout] 386 | let take = ATake(Take::new(pawn, rook, (4,5).into(), (3,4).into())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::ATake; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Take` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:386:22 [INFO] [stdout] | [INFO] [stdout] 386 | let take = ATake(Take::new(pawn, rook, (4,5).into(), (3,4).into())); [INFO] [stdout] | ^^^^ use of undeclared type `Take` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Take; [INFO] [stdout] | [INFO] [stdout] 1 + use std::iter::Take; [INFO] [stdout] | [INFO] [stdout] 1 + use core::iter::Take; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Take; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pawn` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:394:16 [INFO] [stdout] | [INFO] [stdout] 394 | let pawn = Pawn(0, White); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:394:24 [INFO] [stdout] | [INFO] [stdout] 394 | let pawn = Pawn(0, White); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::White; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:396:22 [INFO] [stdout] | [INFO] [stdout] 396 | game = game.step(AMove(Move::new(pawn, (2,0).into(), (1,0).into()))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:396:28 [INFO] [stdout] | [INFO] [stdout] 396 | game = game.step(AMove(Move::new(pawn, (2,0).into(), (1,0).into()))); [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:397:38 [INFO] [stdout] | [INFO] [stdout] 397 | let moves = game.available_moves(White); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::White; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `APromote` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:399:25 [INFO] [stdout] | [INFO] [stdout] 399 | let promote_queen = APromote(Promote::new(pawn, Queen(0, White), (1,0).into(), (0,0).into())); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::APromote; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Promote` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:399:34 [INFO] [stdout] | [INFO] [stdout] 399 | let promote_queen = APromote(Promote::new(pawn, Queen(0, White), (1,0).into(), (0,0).into())); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Promote` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Promote; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Queen` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:399:53 [INFO] [stdout] | [INFO] [stdout] 399 | let promote_queen = APromote(Promote::new(pawn, Queen(0, White), (1,0).into(), (0,0).into())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Queen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:399:62 [INFO] [stdout] | [INFO] [stdout] 399 | let promote_queen = APromote(Promote::new(pawn, Queen(0, White), (1,0).into(), (0,0).into())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::White; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `APromote` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:400:24 [INFO] [stdout] | [INFO] [stdout] 400 | let promote_rook = APromote(Promote::new(pawn, Rook(0, White), (1,0).into(), (0,0).into())); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::APromote; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Promote` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:400:33 [INFO] [stdout] | [INFO] [stdout] 400 | let promote_rook = APromote(Promote::new(pawn, Rook(0, White), (1,0).into(), (0,0).into())); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Promote` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Promote; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Rook` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:400:52 [INFO] [stdout] | [INFO] [stdout] 400 | let promote_rook = APromote(Promote::new(pawn, Rook(0, White), (1,0).into(), (0,0).into())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:400:60 [INFO] [stdout] | [INFO] [stdout] 400 | let promote_rook = APromote(Promote::new(pawn, Rook(0, White), (1,0).into(), (0,0).into())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::White; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `APromote` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:401:26 [INFO] [stdout] | [INFO] [stdout] 401 | let promote_bishop = APromote(Promote::new(pawn, Bishop(0, White), (1,0).into(), (0,0).into())); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::APromote; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Promote` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:401:35 [INFO] [stdout] | [INFO] [stdout] 401 | let promote_bishop = APromote(Promote::new(pawn, Bishop(0, White), (1,0).into(), (0,0).into())); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Promote` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Promote; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bishop` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:401:54 [INFO] [stdout] | [INFO] [stdout] 401 | let promote_bishop = APromote(Promote::new(pawn, Bishop(0, White), (1,0).into(), (0,0).into())); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Bishop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:401:64 [INFO] [stdout] | [INFO] [stdout] 401 | let promote_bishop = APromote(Promote::new(pawn, Bishop(0, White), (1,0).into(), (0,0).into())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::White; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `APromote` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:402:26 [INFO] [stdout] | [INFO] [stdout] 402 | let promote_knight = APromote(Promote::new(pawn, Knight(0, White), (1,0).into(), (0,0).into())); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::APromote; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Promote` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:402:35 [INFO] [stdout] | [INFO] [stdout] 402 | let promote_knight = APromote(Promote::new(pawn, Knight(0, White), (1,0).into(), (0,0).into())); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Promote` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Promote; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Knight` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:402:54 [INFO] [stdout] | [INFO] [stdout] 402 | let promote_knight = APromote(Promote::new(pawn, Knight(0, White), (1,0).into(), (0,0).into())); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Knight; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:402:64 [INFO] [stdout] | [INFO] [stdout] 402 | let promote_knight = APromote(Promote::new(pawn, Knight(0, White), (1,0).into(), (0,0).into())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::White; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pawn` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:413:16 [INFO] [stdout] | [INFO] [stdout] 413 | let pawn = Pawn(0, White); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Pawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:413:24 [INFO] [stdout] | [INFO] [stdout] 413 | let pawn = Pawn(0, White); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::White; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Rook` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:414:16 [INFO] [stdout] | [INFO] [stdout] 414 | let rook = Rook(1, Black); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Black` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:414:24 [INFO] [stdout] | [INFO] [stdout] 414 | let rook = Rook(1, Black); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::Black; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::Black; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AMove` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:416:22 [INFO] [stdout] | [INFO] [stdout] 416 | game = game.step(AMove(Move::new(pawn, (2,0).into(), (1,0).into()))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::AMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:416:28 [INFO] [stdout] | [INFO] [stdout] 416 | game = game.step(AMove(Move::new(pawn, (2,0).into(), (1,0).into()))); [INFO] [stdout] | ^^^^ use of undeclared type `Move` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:418:38 [INFO] [stdout] | [INFO] [stdout] 418 | let moves = game.available_moves(White); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::White; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `APromoteTake` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:420:25 [INFO] [stdout] | [INFO] [stdout] 420 | let promote_queen = APromoteTake(PromoteTake::new(pawn, Queen(0, White), rook, (1,0).into(), (0,1).into())); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::APromoteTake; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PromoteTake` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:420:38 [INFO] [stdout] | [INFO] [stdout] 420 | let promote_queen = APromoteTake(PromoteTake::new(pawn, Queen(0, White), rook, (1,0).into(), (0,1).into())); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PromoteTake` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::PromoteTake; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Queen` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:420:61 [INFO] [stdout] | [INFO] [stdout] 420 | let promote_queen = APromoteTake(PromoteTake::new(pawn, Queen(0, White), rook, (1,0).into(), (0,1).into())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Queen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:420:70 [INFO] [stdout] | [INFO] [stdout] 420 | let promote_queen = APromoteTake(PromoteTake::new(pawn, Queen(0, White), rook, (1,0).into(), (0,1).into())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::White; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `APromoteTake` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:421:24 [INFO] [stdout] | [INFO] [stdout] 421 | let promote_rook = APromoteTake(PromoteTake::new(pawn, Rook(0, White), rook, (1,0).into(), (0,1).into())); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::APromoteTake; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PromoteTake` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:421:37 [INFO] [stdout] | [INFO] [stdout] 421 | let promote_rook = APromoteTake(PromoteTake::new(pawn, Rook(0, White), rook, (1,0).into(), (0,1).into())); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PromoteTake` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::PromoteTake; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Rook` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:421:60 [INFO] [stdout] | [INFO] [stdout] 421 | let promote_rook = APromoteTake(PromoteTake::new(pawn, Rook(0, White), rook, (1,0).into(), (0,1).into())); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 421 | let promote_rook = APromoteTake(PromoteTake::new(pawn, rook(0, White), rook, (1,0).into(), (0,1).into())); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:421:68 [INFO] [stdout] | [INFO] [stdout] 421 | let promote_rook = APromoteTake(PromoteTake::new(pawn, Rook(0, White), rook, (1,0).into(), (0,1).into())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::White; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `APromoteTake` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:422:26 [INFO] [stdout] | [INFO] [stdout] 422 | let promote_bishop = APromoteTake(PromoteTake::new(pawn, Bishop(0, White), rook, (1,0).into(), (0,1).into())); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::APromoteTake; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PromoteTake` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:422:39 [INFO] [stdout] | [INFO] [stdout] 422 | let promote_bishop = APromoteTake(PromoteTake::new(pawn, Bishop(0, White), rook, (1,0).into(), (0,1).into())); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PromoteTake` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::PromoteTake; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bishop` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:422:62 [INFO] [stdout] | [INFO] [stdout] 422 | let promote_bishop = APromoteTake(PromoteTake::new(pawn, Bishop(0, White), rook, (1,0).into(), (0,1).into())); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Bishop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:422:72 [INFO] [stdout] | [INFO] [stdout] 422 | let promote_bishop = APromoteTake(PromoteTake::new(pawn, Bishop(0, White), rook, (1,0).into(), (0,1).into())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::White; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `APromoteTake` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:423:26 [INFO] [stdout] | [INFO] [stdout] 423 | let promote_knight = APromoteTake(PromoteTake::new(pawn, Knight(0, White), rook, (1,0).into(), (0,1).into())); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::Action::APromoteTake; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PromoteTake` [INFO] [stdout] --> dumb_chess/tests/move_test.rs:423:39 [INFO] [stdout] | [INFO] [stdout] 423 | let promote_knight = APromoteTake(PromoteTake::new(pawn, Knight(0, White), rook, (1,0).into(), (0,1).into())); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PromoteTake` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::action::PromoteTake; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Knight` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:423:62 [INFO] [stdout] | [INFO] [stdout] 423 | let promote_knight = APromoteTake(PromoteTake::new(pawn, Knight(0, White), rook, (1,0).into(), (0,1).into())); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::piece::Piece::Knight; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `White` in this scope [INFO] [stdout] --> dumb_chess/tests/move_test.rs:423:72 [INFO] [stdout] | [INFO] [stdout] 423 | let promote_knight = APromoteTake(PromoteTake::new(pawn, Knight(0, White), rook, (1,0).into(), (0,1).into())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use clap::builder::styling::AnsiColor::White; [INFO] [stdout] | [INFO] [stdout] 1 + use dumb_chess::player::Player::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 339 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0531. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dumb_chess` (test "move_test") due to 340 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e0cca04df30a8c19b3ed98f2dbe6922fe198cec75101fbc494e3bd9b78a9bedc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0cca04df30a8c19b3ed98f2dbe6922fe198cec75101fbc494e3bd9b78a9bedc", kill_on_drop: false }` [INFO] [stdout] e0cca04df30a8c19b3ed98f2dbe6922fe198cec75101fbc494e3bd9b78a9bedc