[INFO] fetching crate l19_terminal_tictactoe 0.1.2... [INFO] testing l19_terminal_tictactoe-0.1.2 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate l19_terminal_tictactoe 0.1.2 into /workspace/builds/worker-67/source [INFO] validating manifest of crates.io crate l19_terminal_tictactoe 0.1.2 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate l19_terminal_tictactoe 0.1.2 [INFO] finished tweaking crates.io crate l19_terminal_tictactoe 0.1.2 [INFO] tweaked toml for crates.io crate l19_terminal_tictactoe 0.1.2 written to /workspace/builds/worker-67/source/Cargo.toml [INFO] crate crates.io crate l19_terminal_tictactoe 0.1.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e36bf5d21561f9a10f252d1375401d272d77e562ccc0b81f1f948270ccd4b446 [INFO] running `Command { std: "docker" "start" "-a" "e36bf5d21561f9a10f252d1375401d272d77e562ccc0b81f1f948270ccd4b446", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e36bf5d21561f9a10f252d1375401d272d77e562ccc0b81f1f948270ccd4b446", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e36bf5d21561f9a10f252d1375401d272d77e562ccc0b81f1f948270ccd4b446", kill_on_drop: false }` [INFO] [stdout] e36bf5d21561f9a10f252d1375401d272d77e562ccc0b81f1f948270ccd4b446 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b784642af80020e07c7011bca8e24a0be934171bf925f82d208af968736eb3c [INFO] running `Command { std: "docker" "start" "-a" "2b784642af80020e07c7011bca8e24a0be934171bf925f82d208af968736eb3c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling l19_terminal_tictactoe v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.43s [INFO] running `Command { std: "docker" "inspect" "2b784642af80020e07c7011bca8e24a0be934171bf925f82d208af968736eb3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b784642af80020e07c7011bca8e24a0be934171bf925f82d208af968736eb3c", kill_on_drop: false }` [INFO] [stdout] 2b784642af80020e07c7011bca8e24a0be934171bf925f82d208af968736eb3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 906da52ab3903c4c63c54d04c56671cf1e80a63d2b245bf675fee0bf89a68139 [INFO] running `Command { std: "docker" "start" "-a" "906da52ab3903c4c63c54d04c56671cf1e80a63d2b245bf675fee0bf89a68139", kill_on_drop: false }` [INFO] [stderr] Compiling l19_terminal_tictactoe v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.71s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/l19_terminal_tictactoe-96a5691134b678c5) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/l19_terminal_tictactoe-84cca88d56f55d13) [INFO] [stderr] Executable tests/unit_tests.rs (/opt/rustwide/target/debug/deps/unit_tests-680cf7f708fbd823) [INFO] running `Command { std: "docker" "inspect" "906da52ab3903c4c63c54d04c56671cf1e80a63d2b245bf675fee0bf89a68139", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "906da52ab3903c4c63c54d04c56671cf1e80a63d2b245bf675fee0bf89a68139", kill_on_drop: false }` [INFO] [stdout] 906da52ab3903c4c63c54d04c56671cf1e80a63d2b245bf675fee0bf89a68139 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 93a3ca855c9215571ff51680ca9ed7c7f89dcbcb3f983d6306c0899054112019 [INFO] running `Command { std: "docker" "start" "-a" "93a3ca855c9215571ff51680ca9ed7c7f89dcbcb3f983d6306c0899054112019", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/l19_terminal_tictactoe-96a5691134b678c5) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/l19_terminal_tictactoe-84cca88d56f55d13) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/unit_tests.rs (/opt/rustwide/target/debug/deps/unit_tests-680cf7f708fbd823) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test check_some_non_win ... ok [INFO] [stdout] test check_all_wins ... ok [INFO] [stdout] test check_legal_placement ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests l19_terminal_tictactoe [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/lib.rs - Piece::opposite (line 52) ... FAILED [INFO] [stdout] test src/lib.rs - TableState::is_win (line 270) ... FAILED [INFO] [stdout] test src/lib.rs - GameMaster::next_mover_w_prompt (line 341) ... FAILED [INFO] [stdout] test src/lib.rs - Piece::select_with_int (line 74) ... FAILED [INFO] [stdout] test src/lib.rs - TableState::duplicate_with_new (line 233) ... FAILED [INFO] [stdout] test src/lib.rs - WinOptions::options (line 179) ... FAILED [INFO] [stdout] test src/lib.rs - Piece::as_str (line 32) ... FAILED [INFO] [stdout] test src/lib.rs - GameMaster::add_move (line 414) ... FAILED [INFO] [stdout] test src/lib.rs - GameMaster::print_table (line 486) ... FAILED [INFO] [stdout] test src/lib.rs - Piece::fmt (line 119) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Piece::opposite (line 52) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Piece` [INFO] [stdout] --> src/lib.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 6 | let peice : Piece = Piece::User; [INFO] [stdout] | ^^^^^ use of undeclared type `Piece` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Piece` in this scope [INFO] [stdout] --> src/lib.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 6 | let peice : Piece = Piece::User; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use l19_terminal_tictactoe::Piece; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TableState::is_win (line 270) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TableState` [INFO] [stdout] --> src/lib.rs:273:34 [INFO] [stdout] | [INFO] [stdout] 6 | let game_progression = Vec::from(TableState::new()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `TableState` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlaySelector` [INFO] [stdout] --> src/lib.rs:274:16 [INFO] [stdout] | [INFO] [stdout] 7 | let new_move = PlaySelector::new(Piece::User, 3); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `PlaySelector` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Piece` [INFO] [stdout] --> src/lib.rs:274:34 [INFO] [stdout] | [INFO] [stdout] 7 | let new_move = PlaySelector::new(Piece::User, 3); [INFO] [stdout] | ^^^^^ use of undeclared type `Piece` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TableState` [INFO] [stdout] --> src/lib.rs:275:23 [INFO] [stdout] | [INFO] [stdout] 8 | game_progression.push(TableState::duplicate_with_new(new_move)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `TableState` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_win` found for enum `Option` in the current scope [INFO] [stdout] --> src/lib.rs:276:38 [INFO] [stdout] | [INFO] [stdout] 9 | let is_win = game_progression.last().is_win(); [INFO] [stdout] | ^^^^^^ method not found in `Option<&_>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - GameMaster::next_mover_w_prompt (line 341) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `key_bindings` [INFO] [stdout] --> src/lib.rs:344:16 [INFO] [stdout] | [INFO] [stdout] 6 | let bindings = key_bindings::default_bindings(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `key_bindings` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Piece` [INFO] [stdout] --> src/lib.rs:346:13 [INFO] [stdout] | [INFO] [stdout] 8 | gm.add_move(Piece::Npc, 2); [INFO] [stdout] | ^^^^^ use of undeclared type `Piece` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Piece` [INFO] [stdout] --> src/lib.rs:347:24 [INFO] [stdout] | [INFO] [stdout] 9 | gm.next_mover_w_prompt(Piece::Npc); [INFO] [stdout] | ^^^^^ use of undeclared type `Piece` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameMaster` [INFO] [stdout] --> src/lib.rs:345:10 [INFO] [stdout] | [INFO] [stdout] 7 | let gm = GameMaster::new(&bindings); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use l19_terminal_tictactoe::GameMaster; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Piece::select_with_int (line 74) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Piece` in this scope [INFO] [stdout] --> src/lib.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 6 | let a_piece: Piece = select_with_int(1); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use l19_terminal_tictactoe::Piece; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `select_with_int` in this scope [INFO] [stdout] --> src/lib.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 6 | let a_piece: Piece = select_with_int(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TableState::duplicate_with_new (line 233) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TableState` [INFO] [stdout] --> src/lib.rs:236:34 [INFO] [stdout] | [INFO] [stdout] 6 | let game_progression = Vec::from(TableState::new()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `TableState` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlaySelector` [INFO] [stdout] --> src/lib.rs:237:16 [INFO] [stdout] | [INFO] [stdout] 7 | let new_move = PlaySelector::new(Piece::User, 1); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `PlaySelector` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Piece` [INFO] [stdout] --> src/lib.rs:237:34 [INFO] [stdout] | [INFO] [stdout] 7 | let new_move = PlaySelector::new(Piece::User, 1); [INFO] [stdout] | ^^^^^ use of undeclared type `Piece` [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `position` on type `Option<&_>` [INFO] [stdout] --> src/lib.rs:241:29 [INFO] [stdout] | [INFO] [stdout] 11 | game_progression.last().position[1].as_str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0609. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - WinOptions::options (line 179) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WinOptions` [INFO] [stdout] --> src/lib.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 6 | let w_pos = WinOptions::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `WinOptions` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Piece::as_str (line 32) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Piece` [INFO] [stdout] --> src/lib.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 3 | let player_one = Piece::Npc; [INFO] [stdout] | ^^^^^ use of undeclared type `Piece` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - GameMaster::add_move (line 414) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `key_bindings` [INFO] [stdout] --> src/lib.rs:417:16 [INFO] [stdout] | [INFO] [stdout] 6 | let bindings = key_bindings::default_bindings(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `key_bindings` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Piece` [INFO] [stdout] --> src/lib.rs:419:13 [INFO] [stdout] | [INFO] [stdout] 8 | gm.add_move(Piece::Npc, 5); [INFO] [stdout] | ^^^^^ use of undeclared type `Piece` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameMaster` [INFO] [stdout] --> src/lib.rs:418:10 [INFO] [stdout] | [INFO] [stdout] 7 | let gm = GameMaster::new(&bindings); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use l19_terminal_tictactoe::GameMaster; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - GameMaster::print_table (line 486) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `key_bindings` [INFO] [stdout] --> src/lib.rs:489:16 [INFO] [stdout] | [INFO] [stdout] 6 | let bindings = key_bindings::default_bindings(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `key_bindings` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Piece` [INFO] [stdout] --> src/lib.rs:491:13 [INFO] [stdout] | [INFO] [stdout] 8 | gm.add_move(Piece::Npc, 1); [INFO] [stdout] | ^^^^^ use of undeclared type `Piece` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Piece` [INFO] [stdout] --> src/lib.rs:492:13 [INFO] [stdout] | [INFO] [stdout] 9 | gm.add_move(Piece::User, 4); [INFO] [stdout] | ^^^^^ use of undeclared type `Piece` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameMaster` [INFO] [stdout] --> src/lib.rs:490:10 [INFO] [stdout] | [INFO] [stdout] 7 | let gm = GameMaster::new(&bindings); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use l19_terminal_tictactoe::GameMaster; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Piece::fmt (line 119) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Piece` [INFO] [stdout] --> src/lib.rs:122:25 [INFO] [stdout] | [INFO] [stdout] 6 | let user_piece: Piece = Piece::User; [INFO] [stdout] | ^^^^^ use of undeclared type `Piece` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Piece` in this scope [INFO] [stdout] --> src/lib.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 6 | let user_piece: Piece = Piece::User; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use l19_terminal_tictactoe::Piece; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - GameMaster::add_move (line 414) [INFO] [stdout] src/lib.rs - GameMaster::next_mover_w_prompt (line 341) [INFO] [stdout] src/lib.rs - GameMaster::print_table (line 486) [INFO] [stdout] src/lib.rs - Piece::as_str (line 32) [INFO] [stdout] src/lib.rs - Piece::fmt (line 119) [INFO] [stdout] src/lib.rs - Piece::opposite (line 52) [INFO] [stdout] src/lib.rs - Piece::select_with_int (line 74) [INFO] [stdout] src/lib.rs - TableState::duplicate_with_new (line 233) [INFO] [stdout] src/lib.rs - TableState::is_win (line 270) [INFO] [stdout] src/lib.rs - WinOptions::options (line 179) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 10 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.78s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "93a3ca855c9215571ff51680ca9ed7c7f89dcbcb3f983d6306c0899054112019", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93a3ca855c9215571ff51680ca9ed7c7f89dcbcb3f983d6306c0899054112019", kill_on_drop: false }` [INFO] [stdout] 93a3ca855c9215571ff51680ca9ed7c7f89dcbcb3f983d6306c0899054112019