[INFO] cloning repository https://github.com/CreativeWolfies/sharmat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CreativeWolfies/sharmat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCreativeWolfies%2Fsharmat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCreativeWolfies%2Fsharmat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 81b743adfbbc54c83d68c794005675b3be1a6c50 [INFO] checking CreativeWolfies/sharmat against try#894d32a5432c6a6461bb2aac7c3d5f2e87dce83f for pr-77015 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCreativeWolfies%2Fsharmat" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CreativeWolfies/sharmat on toolchain 894d32a5432c6a6461bb2aac7c3d5f2e87dce83f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CreativeWolfies/sharmat [INFO] finished tweaking git repo https://github.com/CreativeWolfies/sharmat [INFO] tweaked toml for git repo https://github.com/CreativeWolfies/sharmat written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/CreativeWolfies/sharmat already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c8d8fa1882ea333cb2b8c9700ebe65da3ce54c76c47f6fe0e780aa6ba295959 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2c8d8fa1882ea333cb2b8c9700ebe65da3ce54c76c47f6fe0e780aa6ba295959", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c8d8fa1882ea333cb2b8c9700ebe65da3ce54c76c47f6fe0e780aa6ba295959", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c8d8fa1882ea333cb2b8c9700ebe65da3ce54c76c47f6fe0e780aa6ba295959", kill_on_drop: false }` [INFO] [stdout] 2c8d8fa1882ea333cb2b8c9700ebe65da3ce54c76c47f6fe0e780aa6ba295959 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 60f714862ecc7eecef9a12439b94953019b238eb2a4f71afba287c27af7755f0 [INFO] running `Command { std: "docker" "start" "-a" "60f714862ecc7eecef9a12439b94953019b238eb2a4f71afba287c27af7755f0", kill_on_drop: false }` [INFO] [stderr] Checking sharmat v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `sharmat::movement` [INFO] [stdout] --> tests/test.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use sharmat::movement::*; [INFO] [stdout] | ^^^^^^^^ could not find `movement` in `sharmat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementBuilder` [INFO] [stdout] --> tests/test.rs:210:25 [INFO] [stdout] | [INFO] [stdout] 210 | let _movement = MovementBuilder::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `MovementBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementBuilder` [INFO] [stdout] --> tests/test.rs:215:25 [INFO] [stdout] | [INFO] [stdout] 215 | let _movement = MovementBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `MovementBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:216:18 [INFO] [stdout] | [INFO] [stdout] 216 | .add(MovementType::Step(Direction::Up)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:216:37 [INFO] [stdout] | [INFO] [stdout] 216 | .add(MovementType::Step(Direction::Up)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementBuilder` [INFO] [stdout] --> tests/test.rs:222:25 [INFO] [stdout] | [INFO] [stdout] 222 | let _movement = MovementBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `MovementBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:223:18 [INFO] [stdout] | [INFO] [stdout] 223 | .add(MovementType::Step(Direction::Up)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:223:37 [INFO] [stdout] | [INFO] [stdout] 223 | .add(MovementType::Step(Direction::Up)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:224:18 [INFO] [stdout] | [INFO] [stdout] 224 | .add(MovementType::Step(Direction::Down)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:224:37 [INFO] [stdout] | [INFO] [stdout] 224 | .add(MovementType::Step(Direction::Down)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementBuilder` [INFO] [stdout] --> tests/test.rs:230:25 [INFO] [stdout] | [INFO] [stdout] 230 | let _movement = MovementBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `MovementBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:231:27 [INFO] [stdout] | [INFO] [stdout] 231 | .add_mul(vec![MovementType::Step(Direction::Up), MovementType::Step(Direction::Down)]) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:231:46 [INFO] [stdout] | [INFO] [stdout] 231 | .add_mul(vec![MovementType::Step(Direction::Up), MovementType::Step(Direction::Down)]) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:231:62 [INFO] [stdout] | [INFO] [stdout] 231 | .add_mul(vec![MovementType::Step(Direction::Up), MovementType::Step(Direction::Down)]) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:231:81 [INFO] [stdout] | [INFO] [stdout] 231 | .add_mul(vec![MovementType::Step(Direction::Up), MovementType::Step(Direction::Down)]) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementBuilder` [INFO] [stdout] --> tests/test.rs:237:25 [INFO] [stdout] | [INFO] [stdout] 237 | let _movement = MovementBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `MovementBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:238:27 [INFO] [stdout] | [INFO] [stdout] 238 | .add_mul(vec![MovementType::Step(Direction::Up), MovementType::Step(Direction::Down)]) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:238:46 [INFO] [stdout] | [INFO] [stdout] 238 | .add_mul(vec![MovementType::Step(Direction::Up), MovementType::Step(Direction::Down)]) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:238:62 [INFO] [stdout] | [INFO] [stdout] 238 | .add_mul(vec![MovementType::Step(Direction::Up), MovementType::Step(Direction::Down)]) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:238:81 [INFO] [stdout] | [INFO] [stdout] 238 | .add_mul(vec![MovementType::Step(Direction::Up), MovementType::Step(Direction::Down)]) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:239:18 [INFO] [stdout] | [INFO] [stdout] 239 | .add(MovementType::Step(Direction::UpRight)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:239:37 [INFO] [stdout] | [INFO] [stdout] 239 | .add(MovementType::Step(Direction::UpRight)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementBuilder` [INFO] [stdout] --> tests/test.rs:245:25 [INFO] [stdout] | [INFO] [stdout] 245 | let _movement = MovementBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `MovementBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:246:19 [INFO] [stdout] | [INFO] [stdout] 246 | .step(Direction::Up) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementBuilder` [INFO] [stdout] --> tests/test.rs:252:25 [INFO] [stdout] | [INFO] [stdout] 252 | let _movement = MovementBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `MovementBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:253:19 [INFO] [stdout] | [INFO] [stdout] 253 | .step(Direction::Up) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:254:19 [INFO] [stdout] | [INFO] [stdout] 254 | .step(Direction::Down) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementBuilder` [INFO] [stdout] --> tests/test.rs:260:25 [INFO] [stdout] | [INFO] [stdout] 260 | let _movement = MovementBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `MovementBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:261:25 [INFO] [stdout] | [INFO] [stdout] 261 | .steps(vec![Direction::Up, Direction::Down]) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:261:40 [INFO] [stdout] | [INFO] [stdout] 261 | .steps(vec![Direction::Up, Direction::Down]) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementBuilder` [INFO] [stdout] --> tests/test.rs:267:24 [INFO] [stdout] | [INFO] [stdout] 267 | let movement = MovementBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `MovementBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:268:18 [INFO] [stdout] | [INFO] [stdout] 268 | .add(MovementType::Step(Direction::Up)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:268:37 [INFO] [stdout] | [INFO] [stdout] 268 | .add(MovementType::Step(Direction::Up)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:270:45 [INFO] [stdout] | [INFO] [stdout] 270 | assert_eq!(movement.get_all(), vec![MovementType::Step(Direction::Up)]); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:270:64 [INFO] [stdout] | [INFO] [stdout] 270 | assert_eq!(movement.get_all(), vec![MovementType::Step(Direction::Up)]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementBuilder` [INFO] [stdout] --> tests/test.rs:275:24 [INFO] [stdout] | [INFO] [stdout] 275 | let movement = MovementBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `MovementBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:276:18 [INFO] [stdout] | [INFO] [stdout] 276 | .add(MovementType::Step(Direction::Up)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:276:37 [INFO] [stdout] | [INFO] [stdout] 276 | .add(MovementType::Step(Direction::Up)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:277:18 [INFO] [stdout] | [INFO] [stdout] 277 | .add(MovementType::Step(Direction::Down)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:277:37 [INFO] [stdout] | [INFO] [stdout] 277 | .add(MovementType::Step(Direction::Down)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:279:45 [INFO] [stdout] | [INFO] [stdout] 279 | assert_eq!(movement.get_all(), vec![MovementType::Step(Direction::Up), MovementType::Step(Direction::Down)]); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:279:64 [INFO] [stdout] | [INFO] [stdout] 279 | assert_eq!(movement.get_all(), vec![MovementType::Step(Direction::Up), MovementType::Step(Direction::Down)]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:279:80 [INFO] [stdout] | [INFO] [stdout] 279 | assert_eq!(movement.get_all(), vec![MovementType::Step(Direction::Up), MovementType::Step(Direction::Down)]); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:279:99 [INFO] [stdout] | [INFO] [stdout] 279 | assert_eq!(movement.get_all(), vec![MovementType::Step(Direction::Up), MovementType::Step(Direction::Down)]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementBuilder` [INFO] [stdout] --> tests/test.rs:284:24 [INFO] [stdout] | [INFO] [stdout] 284 | let movement = MovementBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `MovementBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:285:27 [INFO] [stdout] | [INFO] [stdout] 285 | .add_mul(vec![MovementType::Step(Direction::Up), MovementType::Step(Direction::Down)]) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:285:46 [INFO] [stdout] | [INFO] [stdout] 285 | .add_mul(vec![MovementType::Step(Direction::Up), MovementType::Step(Direction::Down)]) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:285:62 [INFO] [stdout] | [INFO] [stdout] 285 | .add_mul(vec![MovementType::Step(Direction::Up), MovementType::Step(Direction::Down)]) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:285:81 [INFO] [stdout] | [INFO] [stdout] 285 | .add_mul(vec![MovementType::Step(Direction::Up), MovementType::Step(Direction::Down)]) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:287:45 [INFO] [stdout] | [INFO] [stdout] 287 | assert_eq!(movement.get_all(), vec![MovementType::Step(Direction::Up), MovementType::Step(Direction::Down)]); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:287:64 [INFO] [stdout] | [INFO] [stdout] 287 | assert_eq!(movement.get_all(), vec![MovementType::Step(Direction::Up), MovementType::Step(Direction::Down)]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:287:80 [INFO] [stdout] | [INFO] [stdout] 287 | assert_eq!(movement.get_all(), vec![MovementType::Step(Direction::Up), MovementType::Step(Direction::Down)]); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:287:99 [INFO] [stdout] | [INFO] [stdout] 287 | assert_eq!(movement.get_all(), vec![MovementType::Step(Direction::Up), MovementType::Step(Direction::Down)]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementBuilder` [INFO] [stdout] --> tests/test.rs:292:24 [INFO] [stdout] | [INFO] [stdout] 292 | let movement = MovementBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `MovementBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:293:27 [INFO] [stdout] | [INFO] [stdout] 293 | .add_mul(vec![MovementType::Step(Direction::Up), MovementType::Step(Direction::Down)]) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:293:46 [INFO] [stdout] | [INFO] [stdout] 293 | .add_mul(vec![MovementType::Step(Direction::Up), MovementType::Step(Direction::Down)]) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:293:62 [INFO] [stdout] | [INFO] [stdout] 293 | .add_mul(vec![MovementType::Step(Direction::Up), MovementType::Step(Direction::Down)]) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:293:81 [INFO] [stdout] | [INFO] [stdout] 293 | .add_mul(vec![MovementType::Step(Direction::Up), MovementType::Step(Direction::Down)]) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:294:18 [INFO] [stdout] | [INFO] [stdout] 294 | .add(MovementType::Step(Direction::UpRight)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:294:37 [INFO] [stdout] | [INFO] [stdout] 294 | .add(MovementType::Step(Direction::UpRight)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:296:45 [INFO] [stdout] | [INFO] [stdout] 296 | ... assert_eq!(movement.get_all(), vec![MovementType::Step(Direction::Up), MovementType::Step(Direction::Down), MovementType::Step(1, 1... [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:296:64 [INFO] [stdout] | [INFO] [stdout] 296 | ... assert_eq!(movement.get_all(), vec![MovementType::Step(Direction::Up), MovementType::Step(Direction::Down), MovementType::Step(1, 1... [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:296:80 [INFO] [stdout] | [INFO] [stdout] 296 | ... assert_eq!(movement.get_all(), vec![MovementType::Step(Direction::Up), MovementType::Step(Direction::Down), MovementType::Step(1, 1... [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:296:99 [INFO] [stdout] | [INFO] [stdout] 296 | ...ype::Step(Direction::Up), MovementType::Step(Direction::Down), MovementType::Step(1, 1)]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:296:117 [INFO] [stdout] | [INFO] [stdout] 296 | ...Up), MovementType::Step(Direction::Down), MovementType::Step(1, 1)]); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementBuilder` [INFO] [stdout] --> tests/test.rs:301:24 [INFO] [stdout] | [INFO] [stdout] 301 | let movement = MovementBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `MovementBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:302:19 [INFO] [stdout] | [INFO] [stdout] 302 | .step(Direction::Up) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:304:45 [INFO] [stdout] | [INFO] [stdout] 304 | assert_eq!(movement.get_all(), vec![MovementType::Step(Direction::Up)]); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:304:64 [INFO] [stdout] | [INFO] [stdout] 304 | assert_eq!(movement.get_all(), vec![MovementType::Step(Direction::Up)]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementBuilder` [INFO] [stdout] --> tests/test.rs:309:24 [INFO] [stdout] | [INFO] [stdout] 309 | let movement = MovementBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `MovementBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:310:19 [INFO] [stdout] | [INFO] [stdout] 310 | .step(Direction::Up) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:311:19 [INFO] [stdout] | [INFO] [stdout] 311 | .step(Direction::Down) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:313:45 [INFO] [stdout] | [INFO] [stdout] 313 | assert_eq!(movement.get_all(), vec![MovementType::Step(Direction::Up), MovementType::Step(Direction::Down)]); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:313:64 [INFO] [stdout] | [INFO] [stdout] 313 | assert_eq!(movement.get_all(), vec![MovementType::Step(Direction::Up), MovementType::Step(Direction::Down)]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:313:80 [INFO] [stdout] | [INFO] [stdout] 313 | assert_eq!(movement.get_all(), vec![MovementType::Step(Direction::Up), MovementType::Step(Direction::Down)]); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:313:99 [INFO] [stdout] | [INFO] [stdout] 313 | assert_eq!(movement.get_all(), vec![MovementType::Step(Direction::Up), MovementType::Step(Direction::Down)]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementBuilder` [INFO] [stdout] --> tests/test.rs:318:24 [INFO] [stdout] | [INFO] [stdout] 318 | let movement = MovementBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `MovementBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:319:25 [INFO] [stdout] | [INFO] [stdout] 319 | .steps(vec![Direction::Up, Direction::Down]) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:319:40 [INFO] [stdout] | [INFO] [stdout] 319 | .steps(vec![Direction::Up, Direction::Down]) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:321:45 [INFO] [stdout] | [INFO] [stdout] 321 | assert_eq!(movement.get_all(), vec![MovementType::Step(Direction::Up), MovementType::Step(Direction::Down)]); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:321:64 [INFO] [stdout] | [INFO] [stdout] 321 | assert_eq!(movement.get_all(), vec![MovementType::Step(Direction::Up), MovementType::Step(Direction::Down)]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:321:80 [INFO] [stdout] | [INFO] [stdout] 321 | assert_eq!(movement.get_all(), vec![MovementType::Step(Direction::Up), MovementType::Step(Direction::Down)]); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:321:99 [INFO] [stdout] | [INFO] [stdout] 321 | assert_eq!(movement.get_all(), vec![MovementType::Step(Direction::Up), MovementType::Step(Direction::Down)]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementBuilder` [INFO] [stdout] --> tests/test.rs:326:24 [INFO] [stdout] | [INFO] [stdout] 326 | let movement = MovementBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `MovementBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:327:18 [INFO] [stdout] | [INFO] [stdout] 327 | .add(MovementType::Stay) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:328:18 [INFO] [stdout] | [INFO] [stdout] 328 | .add(MovementType::Step(Direction::Up)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:328:37 [INFO] [stdout] | [INFO] [stdout] 328 | .add(MovementType::Step(Direction::Up)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:329:18 [INFO] [stdout] | [INFO] [stdout] 329 | .add(MovementType::Jump(1, 2)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:330:18 [INFO] [stdout] | [INFO] [stdout] 330 | .add(MovementType::Jump(-1, -2)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:331:18 [INFO] [stdout] | [INFO] [stdout] 331 | .add(MovementType::Range(DirectionAndRange::Direction(Direction::Up))) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DirectionAndRange` [INFO] [stdout] --> tests/test.rs:331:38 [INFO] [stdout] | [INFO] [stdout] 331 | .add(MovementType::Range(DirectionAndRange::Direction(Direction::Up))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `DirectionAndRange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:331:67 [INFO] [stdout] | [INFO] [stdout] 331 | .add(MovementType::Range(DirectionAndRange::Direction(Direction::Up))) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:332:18 [INFO] [stdout] | [INFO] [stdout] 332 | .add(MovementType::Range(DirectionAndRange::Range(Range::Diagonal))) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DirectionAndRange` [INFO] [stdout] --> tests/test.rs:332:38 [INFO] [stdout] | [INFO] [stdout] 332 | .add(MovementType::Range(DirectionAndRange::Range(Range::Diagonal))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `DirectionAndRange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Range` [INFO] [stdout] --> tests/test.rs:332:63 [INFO] [stdout] | [INFO] [stdout] 332 | .add(MovementType::Range(DirectionAndRange::Range(Range::Diagonal))) [INFO] [stdout] | ^^^^^ use of undeclared type `Range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:333:18 [INFO] [stdout] | [INFO] [stdout] 333 | .add(MovementType::Range(DirectionAndRange::Range(Range::Straight))) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DirectionAndRange` [INFO] [stdout] --> tests/test.rs:333:38 [INFO] [stdout] | [INFO] [stdout] 333 | .add(MovementType::Range(DirectionAndRange::Range(Range::Straight))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `DirectionAndRange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Range` [INFO] [stdout] --> tests/test.rs:333:63 [INFO] [stdout] | [INFO] [stdout] 333 | .add(MovementType::Range(DirectionAndRange::Range(Range::Straight))) [INFO] [stdout] | ^^^^^ use of undeclared type `Range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:334:18 [INFO] [stdout] | [INFO] [stdout] 334 | .add(MovementType::LimitRange(DirectionAndRange::Direction(Direction::Down), 3)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DirectionAndRange` [INFO] [stdout] --> tests/test.rs:334:43 [INFO] [stdout] | [INFO] [stdout] 334 | .add(MovementType::LimitRange(DirectionAndRange::Direction(Direction::Down), 3)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `DirectionAndRange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:334:72 [INFO] [stdout] | [INFO] [stdout] 334 | .add(MovementType::LimitRange(DirectionAndRange::Direction(Direction::Down), 3)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:337:13 [INFO] [stdout] | [INFO] [stdout] 337 | MovementType::Stay, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:338:13 [INFO] [stdout] | [INFO] [stdout] 338 | MovementType::Step(Direction::Up), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:338:32 [INFO] [stdout] | [INFO] [stdout] 338 | MovementType::Step(Direction::Up), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:339:13 [INFO] [stdout] | [INFO] [stdout] 339 | MovementType::Jump(1, 2), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:340:13 [INFO] [stdout] | [INFO] [stdout] 340 | MovementType::Jump(-1, -2), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | MovementType::Range(DirectionAndRange::Direction(Direction::Up)), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DirectionAndRange` [INFO] [stdout] --> tests/test.rs:341:33 [INFO] [stdout] | [INFO] [stdout] 341 | MovementType::Range(DirectionAndRange::Direction(Direction::Up)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `DirectionAndRange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:341:62 [INFO] [stdout] | [INFO] [stdout] 341 | MovementType::Range(DirectionAndRange::Direction(Direction::Up)), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:342:13 [INFO] [stdout] | [INFO] [stdout] 342 | MovementType::Range(DirectionAndRange::Range(Range::Diagonal)), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DirectionAndRange` [INFO] [stdout] --> tests/test.rs:342:33 [INFO] [stdout] | [INFO] [stdout] 342 | MovementType::Range(DirectionAndRange::Range(Range::Diagonal)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `DirectionAndRange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Range` [INFO] [stdout] --> tests/test.rs:342:58 [INFO] [stdout] | [INFO] [stdout] 342 | MovementType::Range(DirectionAndRange::Range(Range::Diagonal)), [INFO] [stdout] | ^^^^^ use of undeclared type `Range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | MovementType::Range(DirectionAndRange::Range(Range::Straight)), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DirectionAndRange` [INFO] [stdout] --> tests/test.rs:343:33 [INFO] [stdout] | [INFO] [stdout] 343 | MovementType::Range(DirectionAndRange::Range(Range::Straight)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `DirectionAndRange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Range` [INFO] [stdout] --> tests/test.rs:343:58 [INFO] [stdout] | [INFO] [stdout] 343 | MovementType::Range(DirectionAndRange::Range(Range::Straight)), [INFO] [stdout] | ^^^^^ use of undeclared type `Range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:344:13 [INFO] [stdout] | [INFO] [stdout] 344 | MovementType::LimitRange(DirectionAndRange::Direction(Direction::Down), 3) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DirectionAndRange` [INFO] [stdout] --> tests/test.rs:344:38 [INFO] [stdout] | [INFO] [stdout] 344 | MovementType::LimitRange(DirectionAndRange::Direction(Direction::Down), 3) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `DirectionAndRange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:344:67 [INFO] [stdout] | [INFO] [stdout] 344 | MovementType::LimitRange(DirectionAndRange::Direction(Direction::Down), 3) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementBuilder` [INFO] [stdout] --> tests/test.rs:350:24 [INFO] [stdout] | [INFO] [stdout] 350 | let movement = MovementBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `MovementBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:352:19 [INFO] [stdout] | [INFO] [stdout] 352 | .step(Direction::Up) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DirectionAndRange` [INFO] [stdout] --> tests/test.rs:355:20 [INFO] [stdout] | [INFO] [stdout] 355 | .range(DirectionAndRange::Direction(Direction::Up)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `DirectionAndRange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:355:49 [INFO] [stdout] | [INFO] [stdout] 355 | .range(DirectionAndRange::Direction(Direction::Up)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DirectionAndRange` [INFO] [stdout] --> tests/test.rs:356:20 [INFO] [stdout] | [INFO] [stdout] 356 | .range(DirectionAndRange::Direction(Range::Diagonal)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `DirectionAndRange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Range` [INFO] [stdout] --> tests/test.rs:356:49 [INFO] [stdout] | [INFO] [stdout] 356 | .range(DirectionAndRange::Direction(Range::Diagonal)) [INFO] [stdout] | ^^^^^ use of undeclared type `Range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DirectionAndRange` [INFO] [stdout] --> tests/test.rs:357:20 [INFO] [stdout] | [INFO] [stdout] 357 | .range(DirectionAndRange::Direction(Range::Straight)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `DirectionAndRange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Range` [INFO] [stdout] --> tests/test.rs:357:49 [INFO] [stdout] | [INFO] [stdout] 357 | .range(DirectionAndRange::Direction(Range::Straight)) [INFO] [stdout] | ^^^^^ use of undeclared type `Range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DirectionAndRange` [INFO] [stdout] --> tests/test.rs:358:26 [INFO] [stdout] | [INFO] [stdout] 358 | .limit_range(DirectionAndRange::Direction(Direction::Down), 3) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `DirectionAndRange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:358:55 [INFO] [stdout] | [INFO] [stdout] 358 | .limit_range(DirectionAndRange::Direction(Direction::Down), 3) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:361:13 [INFO] [stdout] | [INFO] [stdout] 361 | MovementType::Stay, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:362:13 [INFO] [stdout] | [INFO] [stdout] 362 | MovementType::Step(Direction::Up), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:362:32 [INFO] [stdout] | [INFO] [stdout] 362 | MovementType::Step(Direction::Up), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 363 | MovementType::Jump(1, 2), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:364:13 [INFO] [stdout] | [INFO] [stdout] 364 | MovementType::Jump(-1, -2), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:365:13 [INFO] [stdout] | [INFO] [stdout] 365 | MovementType::Range(DirectionAndRange::Direction(Direction::Up)), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DirectionAndRange` [INFO] [stdout] --> tests/test.rs:365:33 [INFO] [stdout] | [INFO] [stdout] 365 | MovementType::Range(DirectionAndRange::Direction(Direction::Up)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `DirectionAndRange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:365:62 [INFO] [stdout] | [INFO] [stdout] 365 | MovementType::Range(DirectionAndRange::Direction(Direction::Up)), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:366:13 [INFO] [stdout] | [INFO] [stdout] 366 | MovementType::Range(DirectionAndRange::Range(Range::Diagonal)), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DirectionAndRange` [INFO] [stdout] --> tests/test.rs:366:33 [INFO] [stdout] | [INFO] [stdout] 366 | MovementType::Range(DirectionAndRange::Range(Range::Diagonal)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `DirectionAndRange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Range` [INFO] [stdout] --> tests/test.rs:366:58 [INFO] [stdout] | [INFO] [stdout] 366 | MovementType::Range(DirectionAndRange::Range(Range::Diagonal)), [INFO] [stdout] | ^^^^^ use of undeclared type `Range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | MovementType::Range(DirectionAndRange::Range(Range::Straight)), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DirectionAndRange` [INFO] [stdout] --> tests/test.rs:367:33 [INFO] [stdout] | [INFO] [stdout] 367 | MovementType::Range(DirectionAndRange::Range(Range::Straight)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `DirectionAndRange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Range` [INFO] [stdout] --> tests/test.rs:367:58 [INFO] [stdout] | [INFO] [stdout] 367 | MovementType::Range(DirectionAndRange::Range(Range::Straight)), [INFO] [stdout] | ^^^^^ use of undeclared type `Range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:368:13 [INFO] [stdout] | [INFO] [stdout] 368 | MovementType::LimitRange(DirectionAndRange::Direction(Direction::Down), 3) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DirectionAndRange` [INFO] [stdout] --> tests/test.rs:368:38 [INFO] [stdout] | [INFO] [stdout] 368 | MovementType::LimitRange(DirectionAndRange::Direction(Direction::Down), 3) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `DirectionAndRange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/test.rs:368:67 [INFO] [stdout] | [INFO] [stdout] 368 | MovementType::LimitRange(DirectionAndRange::Direction(Direction::Down), 3) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementBuilder` [INFO] [stdout] --> tests/test.rs:374:24 [INFO] [stdout] | [INFO] [stdout] 374 | let movement = MovementBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `MovementBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:375:18 [INFO] [stdout] | [INFO] [stdout] 375 | .add(MovementType::Repeat(MovementType::Jump(1, 2), 3)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:375:39 [INFO] [stdout] | [INFO] [stdout] 375 | .add(MovementType::Repeat(MovementType::Jump(1, 2), 3)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:376:18 [INFO] [stdout] | [INFO] [stdout] 376 | .add(MovementType::CustomRange(MovementType::Jump(0, 3))) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:376:44 [INFO] [stdout] | [INFO] [stdout] 376 | .add(MovementType::CustomRange(MovementType::Jump(0, 3))) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:377:18 [INFO] [stdout] | [INFO] [stdout] 377 | .add(MovementType::Composition(vec![MovementType::Jump(2, 2), MovementType::Range(DirectionAndRange::Range(Range::Straight))])) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:377:49 [INFO] [stdout] | [INFO] [stdout] 377 | .add(MovementType::Composition(vec![MovementType::Jump(2, 2), MovementType::Range(DirectionAndRange::Range(Range::Straight))])) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:377:75 [INFO] [stdout] | [INFO] [stdout] 377 | .add(MovementType::Composition(vec![MovementType::Jump(2, 2), MovementType::Range(DirectionAndRange::Range(Range::Straight))])) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DirectionAndRange` [INFO] [stdout] --> tests/test.rs:377:95 [INFO] [stdout] | [INFO] [stdout] 377 | .add(MovementType::Composition(vec![MovementType::Jump(2, 2), MovementType::Range(DirectionAndRange::Range(Range::Straight))])) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `DirectionAndRange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Range` [INFO] [stdout] --> tests/test.rs:377:120 [INFO] [stdout] | [INFO] [stdout] 377 | .add(MovementType::Composition(vec![MovementType::Jump(2, 2), MovementType::Range(DirectionAndRange::Range(Range::Straight))])) [INFO] [stdout] | ^^^^^ use of undeclared type `Range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:378:18 [INFO] [stdout] | [INFO] [stdout] 378 | .add(MovementType::ConditionalMove(MovementType::Jump(0, 3), Box::new(|piece, _| piece.id() == "silver_general"))) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:378:48 [INFO] [stdout] | [INFO] [stdout] 378 | .add(MovementType::ConditionalMove(MovementType::Jump(0, 3), Box::new(|piece, _| piece.id() == "silver_general"))) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:379:18 [INFO] [stdout] | [INFO] [stdout] 379 | .add(MovementType::OnlyCapture(MovementType::Jump(-2, 2))) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:379:44 [INFO] [stdout] | [INFO] [stdout] 379 | .add(MovementType::OnlyCapture(MovementType::Jump(-2, 2))) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:380:18 [INFO] [stdout] | [INFO] [stdout] 380 | .add(MovementType::CaptureAndMove(MovementType::Jump(2, 2))) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:380:47 [INFO] [stdout] | [INFO] [stdout] 380 | .add(MovementType::CaptureAndMove(MovementType::Jump(2, 2))) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:381:18 [INFO] [stdout] | [INFO] [stdout] 381 | .add(MovementType::CaptureWithoutMoving(MovementType::Jump(3, 3))) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:381:53 [INFO] [stdout] | [INFO] [stdout] 381 | .add(MovementType::CaptureWithoutMoving(MovementType::Jump(3, 3))) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:384:13 [INFO] [stdout] | [INFO] [stdout] 384 | MovementType::Repeat(MovementType::Jump(1, 2), 3), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:384:34 [INFO] [stdout] | [INFO] [stdout] 384 | MovementType::Repeat(MovementType::Jump(1, 2), 3), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:385:13 [INFO] [stdout] | [INFO] [stdout] 385 | MovementType::CustomRange(MovementType::Jump(0, 3)), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:385:39 [INFO] [stdout] | [INFO] [stdout] 385 | MovementType::CustomRange(MovementType::Jump(0, 3)), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:386:13 [INFO] [stdout] | [INFO] [stdout] 386 | MovementType::Composition(vec![MovementType::Jump(2, 2), MovementType::Range(DirectionAndRange::Range(Range::Straight))]), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:386:44 [INFO] [stdout] | [INFO] [stdout] 386 | MovementType::Composition(vec![MovementType::Jump(2, 2), MovementType::Range(DirectionAndRange::Range(Range::Straight))]), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:386:70 [INFO] [stdout] | [INFO] [stdout] 386 | MovementType::Composition(vec![MovementType::Jump(2, 2), MovementType::Range(DirectionAndRange::Range(Range::Straight))]), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DirectionAndRange` [INFO] [stdout] --> tests/test.rs:386:90 [INFO] [stdout] | [INFO] [stdout] 386 | MovementType::Composition(vec![MovementType::Jump(2, 2), MovementType::Range(DirectionAndRange::Range(Range::Straight))]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `DirectionAndRange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Range` [INFO] [stdout] --> tests/test.rs:386:115 [INFO] [stdout] | [INFO] [stdout] 386 | MovementType::Composition(vec![MovementType::Jump(2, 2), MovementType::Range(DirectionAndRange::Range(Range::Straight))]), [INFO] [stdout] | ^^^^^ use of undeclared type `Range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:387:13 [INFO] [stdout] | [INFO] [stdout] 387 | MovementType::ConditionalMove(MovementType::Jump(0, 3), Box::new(|piece, _| piece.id() == "silver_general")), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:387:43 [INFO] [stdout] | [INFO] [stdout] 387 | MovementType::ConditionalMove(MovementType::Jump(0, 3), Box::new(|piece, _| piece.id() == "silver_general")), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:388:13 [INFO] [stdout] | [INFO] [stdout] 388 | MovementType::OnlyCapture(MovementType::Jump(-2, 2)), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:388:39 [INFO] [stdout] | [INFO] [stdout] 388 | MovementType::OnlyCapture(MovementType::Jump(-2, 2)), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:389:13 [INFO] [stdout] | [INFO] [stdout] 389 | MovementType::CaptureAndMove(MovementType::Jump(2, 2)), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:389:42 [INFO] [stdout] | [INFO] [stdout] 389 | MovementType::CaptureAndMove(MovementType::Jump(2, 2)), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:390:13 [INFO] [stdout] | [INFO] [stdout] 390 | MovementType::CaptureWithoutMoving(MovementType::Jump(3, 3)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:390:48 [INFO] [stdout] | [INFO] [stdout] 390 | MovementType::CaptureWithoutMoving(MovementType::Jump(3, 3)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementBuilder` [INFO] [stdout] --> tests/test.rs:396:24 [INFO] [stdout] | [INFO] [stdout] 396 | let movement = MovementBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `MovementBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:397:21 [INFO] [stdout] | [INFO] [stdout] 397 | .repeat(MovementType::Jump(1, 2), 3) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:398:27 [INFO] [stdout] | [INFO] [stdout] 398 | .custom_range(MovementType::Jump(0, 3)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:399:31 [INFO] [stdout] | [INFO] [stdout] 399 | .composition(vec![MovementType::Jump(2, 2), MovementType::Range(DirectionAndRange::Range(Range::Straight))]) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:399:57 [INFO] [stdout] | [INFO] [stdout] 399 | .composition(vec![MovementType::Jump(2, 2), MovementType::Range(DirectionAndRange::Range(Range::Straight))]) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DirectionAndRange` [INFO] [stdout] --> tests/test.rs:399:77 [INFO] [stdout] | [INFO] [stdout] 399 | .composition(vec![MovementType::Jump(2, 2), MovementType::Range(DirectionAndRange::Range(Range::Straight))]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `DirectionAndRange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Range` [INFO] [stdout] --> tests/test.rs:399:102 [INFO] [stdout] | [INFO] [stdout] 399 | .composition(vec![MovementType::Jump(2, 2), MovementType::Range(DirectionAndRange::Range(Range::Straight))]) [INFO] [stdout] | ^^^^^ use of undeclared type `Range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:400:31 [INFO] [stdout] | [INFO] [stdout] 400 | .conditional_move(MovementType::Jump(0, 3), Box::new(|piece, _| piece.id() == "silver_general")) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:401:27 [INFO] [stdout] | [INFO] [stdout] 401 | .only_capture(MovementType::Jump(-2, 2)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:402:31 [INFO] [stdout] | [INFO] [stdout] 402 | .capture_and_move(MovementType::Jump(2, 2)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:403:37 [INFO] [stdout] | [INFO] [stdout] 403 | .capture_without_moving(MovementType::Jump(3, 3)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:406:13 [INFO] [stdout] | [INFO] [stdout] 406 | MovementType::Repeat(MovementType::Jump(1, 2), 3), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:406:34 [INFO] [stdout] | [INFO] [stdout] 406 | MovementType::Repeat(MovementType::Jump(1, 2), 3), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:407:13 [INFO] [stdout] | [INFO] [stdout] 407 | MovementType::CustomRange(MovementType::Jump(0, 3)), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:407:39 [INFO] [stdout] | [INFO] [stdout] 407 | MovementType::CustomRange(MovementType::Jump(0, 3)), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:408:13 [INFO] [stdout] | [INFO] [stdout] 408 | MovementType::Composition(vec![MovementType::Jump(2, 2), MovementType::Range(DirectionAndRange::Range(Range::Straight))]), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:408:44 [INFO] [stdout] | [INFO] [stdout] 408 | MovementType::Composition(vec![MovementType::Jump(2, 2), MovementType::Range(DirectionAndRange::Range(Range::Straight))]), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:408:70 [INFO] [stdout] | [INFO] [stdout] 408 | MovementType::Composition(vec![MovementType::Jump(2, 2), MovementType::Range(DirectionAndRange::Range(Range::Straight))]), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DirectionAndRange` [INFO] [stdout] --> tests/test.rs:408:90 [INFO] [stdout] | [INFO] [stdout] 408 | MovementType::Composition(vec![MovementType::Jump(2, 2), MovementType::Range(DirectionAndRange::Range(Range::Straight))]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `DirectionAndRange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Range` [INFO] [stdout] --> tests/test.rs:408:115 [INFO] [stdout] | [INFO] [stdout] 408 | MovementType::Composition(vec![MovementType::Jump(2, 2), MovementType::Range(DirectionAndRange::Range(Range::Straight))]), [INFO] [stdout] | ^^^^^ use of undeclared type `Range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:409:13 [INFO] [stdout] | [INFO] [stdout] 409 | MovementType::ConditionalMove(MovementType::Jump(0, 3), Box::new(|piece, _| piece.id() == "silver_general")), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:409:43 [INFO] [stdout] | [INFO] [stdout] 409 | MovementType::ConditionalMove(MovementType::Jump(0, 3), Box::new(|piece, _| piece.id() == "silver_general")), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:410:13 [INFO] [stdout] | [INFO] [stdout] 410 | MovementType::OnlyCapture(MovementType::Jump(-2, 2)), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:410:39 [INFO] [stdout] | [INFO] [stdout] 410 | MovementType::OnlyCapture(MovementType::Jump(-2, 2)), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:411:13 [INFO] [stdout] | [INFO] [stdout] 411 | MovementType::CaptureAndMove(MovementType::Jump(2, 2)), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:411:42 [INFO] [stdout] | [INFO] [stdout] 411 | MovementType::CaptureAndMove(MovementType::Jump(2, 2)), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:412:13 [INFO] [stdout] | [INFO] [stdout] 412 | MovementType::CaptureWithoutMoving(MovementType::Jump(3, 3)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:412:48 [INFO] [stdout] | [INFO] [stdout] 412 | MovementType::CaptureWithoutMoving(MovementType::Jump(3, 3)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementBuilder` [INFO] [stdout] --> tests/test.rs:418:24 [INFO] [stdout] | [INFO] [stdout] 418 | let movement = MovementBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `MovementBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DirectionAndRange` [INFO] [stdout] --> tests/test.rs:424:20 [INFO] [stdout] | [INFO] [stdout] 424 | .range(DirectionAndRange::Range(Range::Straight)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `DirectionAndRange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Range` [INFO] [stdout] --> tests/test.rs:424:45 [INFO] [stdout] | [INFO] [stdout] 424 | .range(DirectionAndRange::Range(Range::Straight)) [INFO] [stdout] | ^^^^^ use of undeclared type `Range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:436:13 [INFO] [stdout] | [INFO] [stdout] 436 | MovementType::Repeat(MovementType::Jump(1, 2), 3), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:436:34 [INFO] [stdout] | [INFO] [stdout] 436 | MovementType::Repeat(MovementType::Jump(1, 2), 3), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:437:13 [INFO] [stdout] | [INFO] [stdout] 437 | MovementType::CustomRange(MovementType::Jump(0, 3)), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:437:39 [INFO] [stdout] | [INFO] [stdout] 437 | MovementType::CustomRange(MovementType::Jump(0, 3)), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:438:13 [INFO] [stdout] | [INFO] [stdout] 438 | MovementType::Composition(vec![MovementType::Jump(2, 2), MovementType::Range(DirectionAndRange::Range(Range::Straight))]), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:438:44 [INFO] [stdout] | [INFO] [stdout] 438 | MovementType::Composition(vec![MovementType::Jump(2, 2), MovementType::Range(DirectionAndRange::Range(Range::Straight))]), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:438:70 [INFO] [stdout] | [INFO] [stdout] 438 | MovementType::Composition(vec![MovementType::Jump(2, 2), MovementType::Range(DirectionAndRange::Range(Range::Straight))]), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DirectionAndRange` [INFO] [stdout] --> tests/test.rs:438:90 [INFO] [stdout] | [INFO] [stdout] 438 | MovementType::Composition(vec![MovementType::Jump(2, 2), MovementType::Range(DirectionAndRange::Range(Range::Straight))]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `DirectionAndRange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Range` [INFO] [stdout] --> tests/test.rs:438:115 [INFO] [stdout] | [INFO] [stdout] 438 | MovementType::Composition(vec![MovementType::Jump(2, 2), MovementType::Range(DirectionAndRange::Range(Range::Straight))]), [INFO] [stdout] | ^^^^^ use of undeclared type `Range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:439:13 [INFO] [stdout] | [INFO] [stdout] 439 | MovementType::ConditionalMove(MovementType::Jump(0, 3), Box::new(|piece, _| piece.id() == "silver_general")), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:439:43 [INFO] [stdout] | [INFO] [stdout] 439 | MovementType::ConditionalMove(MovementType::Jump(0, 3), Box::new(|piece, _| piece.id() == "silver_general")), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:440:13 [INFO] [stdout] | [INFO] [stdout] 440 | MovementType::OnlyCapture(MovementType::Jump(-2, 2)), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:440:39 [INFO] [stdout] | [INFO] [stdout] 440 | MovementType::OnlyCapture(MovementType::Jump(-2, 2)), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:441:13 [INFO] [stdout] | [INFO] [stdout] 441 | MovementType::CaptureAndMove(MovementType::Jump(2, 2)), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:441:42 [INFO] [stdout] | [INFO] [stdout] 441 | MovementType::CaptureAndMove(MovementType::Jump(2, 2)), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:442:13 [INFO] [stdout] | [INFO] [stdout] 442 | MovementType::CaptureWithoutMoving(MovementType::Jump(3, 3)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:442:48 [INFO] [stdout] | [INFO] [stdout] 442 | MovementType::CaptureWithoutMoving(MovementType::Jump(3, 3)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementBuilder` [INFO] [stdout] --> tests/test.rs:448:24 [INFO] [stdout] | [INFO] [stdout] 448 | let movement = MovementBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `MovementBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:452:32 [INFO] [stdout] | [INFO] [stdout] 452 | .compose_with(vec![MovementType::Jump(3, -1)]) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:456:45 [INFO] [stdout] | [INFO] [stdout] 456 | assert_eq!(movement.get_all(), vec![MovementType::CaptureWithoutMoving( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | MovementType::ConditionalMove( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MoveMovementType` [INFO] [stdout] --> tests/test.rs:458:17 [INFO] [stdout] | [INFO] [stdout] 458 | MoveMovementType::Composition( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `MoveMovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:460:25 [INFO] [stdout] | [INFO] [stdout] 460 | MovementType::CustomRange( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:461:29 [INFO] [stdout] | [INFO] [stdout] 461 | ... MovementType::Repeat( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:462:33 [INFO] [stdout] | [INFO] [stdout] 462 | ... MovementType::Jump(2, 2), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MovementType` [INFO] [stdout] --> tests/test.rs:466:25 [INFO] [stdout] | [INFO] [stdout] 466 | MovementType::Jump(3, -1) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MovementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Player` [INFO] [stdout] --> tests/test.rs:515:23 [INFO] [stdout] | [INFO] [stdout] 515 | let _player = Player::new(/* UNKNOWN */); [INFO] [stdout] | ^^^^^^ use of undeclared type `Player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> tests/test.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> tests/test.rs:511:9 [INFO] [stdout] | [INFO] [stdout] 511 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_name` found for struct `sharmat::board::Board<'_>` in the current scope [INFO] [stdout] --> tests/test.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | board.set_name("Hello"); [INFO] [stdout] | ^^^^^^^^ method not found in `sharmat::board::Board<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_name` found for struct `sharmat::board::Board<'_>` in the current scope [INFO] [stdout] --> tests/test.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | board.set_name("Hello"); [INFO] [stdout] | ^^^^^^^^ method not found in `sharmat::board::Board<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `name` found for struct `sharmat::board::Board<'_>` in the current scope [INFO] [stdout] --> tests/test.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | assert_eq!(board.name(), "Hello"); [INFO] [stdout] | ^^^^ method not found in `sharmat::board::Board<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `step_piece` found for struct `sharmat::board::Board<'_>` in the current scope [INFO] [stdout] --> tests/test.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | board.step_piece(0, 0, 3, 3); [INFO] [stdout] | ^^^^^^^^^^ method not found in `sharmat::board::Board<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `step_piece` found for struct `sharmat::board::Board<'_>` in the current scope [INFO] [stdout] --> tests/test.rs:77:26 [INFO] [stdout] | [INFO] [stdout] 77 | assert_eq!(board.step_piece(6, 6, 0, 0).unwrap_err(), BoardError::OutOfBounds); [INFO] [stdout] | ^^^^^^^^^^ method not found in `sharmat::board::Board<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `step_piece` found for struct `sharmat::board::Board<'_>` in the current scope [INFO] [stdout] --> tests/test.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 83 | assert_eq!(board.step_piece(0, 0, 6, 6).unwrap_err(), BoardError::OutOfBounds); [INFO] [stdout] | ^^^^^^^^^^ method not found in `sharmat::board::Board<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 244 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sharmat` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "60f714862ecc7eecef9a12439b94953019b238eb2a4f71afba287c27af7755f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60f714862ecc7eecef9a12439b94953019b238eb2a4f71afba287c27af7755f0", kill_on_drop: false }` [INFO] [stdout] 60f714862ecc7eecef9a12439b94953019b238eb2a4f71afba287c27af7755f0