[INFO] cloning repository https://github.com/andysalerno/reversi_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andysalerno/reversi_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandysalerno%2Freversi_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandysalerno%2Freversi_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a2b8241ec63ce1269e50052094f6ad6af4bd305f [INFO] checking andysalerno/reversi_rust/a2b8241ec63ce1269e50052094f6ad6af4bd305f against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandysalerno%2Freversi_rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andysalerno/reversi_rust on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/andysalerno/reversi_rust [INFO] finished tweaking git repo https://github.com/andysalerno/reversi_rust [INFO] tweaked toml for git repo https://github.com/andysalerno/reversi_rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/andysalerno/reversi_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c91de0f55f291cc750f7099806eaf7a575307089a792fae37173048ed430b47f [INFO] running `Command { std: "docker" "start" "-a" "c91de0f55f291cc750f7099806eaf7a575307089a792fae37173048ed430b47f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c91de0f55f291cc750f7099806eaf7a575307089a792fae37173048ed430b47f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c91de0f55f291cc750f7099806eaf7a575307089a792fae37173048ed430b47f", kill_on_drop: false }` [INFO] [stdout] c91de0f55f291cc750f7099806eaf7a575307089a792fae37173048ed430b47f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 497a3b8766903df58ffcc8440f1878e049e8d3233d10be641feab98b83b43adf [INFO] running `Command { std: "docker" "start" "-a" "497a3b8766903df58ffcc8440f1878e049e8d3233d10be641feab98b83b43adf", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking reversi_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RandomAgent` [INFO] [stdout] --> src/game/runner.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | let white = RandomAgent::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `RandomAgent` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 30 + use RandomAgent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RandomAgent` [INFO] [stdout] --> src/game/runner.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | let black = RandomAgent::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `RandomAgent` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 30 + use RandomAgent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `GameMove` in this scope [INFO] [stdout] --> src/game/game_rules.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | let game_move = GameMove {}; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 36 + use game::game_rules::GameMove; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 3 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/game/runner.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | let game = BoardGame::::new(black, white); [INFO] [stdout] | ^^^^^^^^^ --------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 3 generic arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 3 generic parameters: `T`, `B`, `W` [INFO] [stdout] --> src/game/boardgame.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct BoardGame { [INFO] [stdout] | ^^^^^^^^^ - - - [INFO] [stdout] help: add missing generic arguments [INFO] [stdout] | [INFO] [stdout] 38 | let game = BoardGame::::new(black, white); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TicTacToe: Default` is not satisfied [INFO] [stdout] --> src/game/runner.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | let game = BoardGame::::new(black, white); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `TicTacToe` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `BoardGame` [INFO] [stdout] --> src/game/boardgame.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct BoardGame { [INFO] [stdout] | ^^^^^^^ required by this bound in `BoardGame` [INFO] [stdout] help: consider annotating `TicTacToe` with `#[derive(Default)]` [INFO] [stdout] --> src/tictactoe/tictactoe.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 + #[derive(Default)] [INFO] [stdout] 6 | pub struct TicTacToe; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/game/runner.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | BoardGame::PlayerColor::Black => &black, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `PlayerColor` implemented for `BoardGame<_, _, _>`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 47 | as Example>::PlayerColor::Black => &black, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/game/runner.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | BoardGame::PlayerColor::White => &white, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `PlayerColor` implemented for `BoardGame<_, _, _>`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 48 | as Example>::PlayerColor::White => &white, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_game_over` found for struct `TicTacToe` in the current scope [INFO] [stdout] --> src/game/game_rules.rs:45:34 [INFO] [stdout] | [INFO] [stdout] 45 | let is_game_over = rules.is_game_over(&board); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `TicTacToe` [INFO] [stdout] | [INFO] [stdout] ::: src/tictactoe/tictactoe.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TicTacToe; [INFO] [stdout] | -------------------- method `is_game_over` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] help: trait `GameRules` which provides `is_game_over` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 36 + use game::game_rules::GameRules; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `winner` found for struct `TicTacToe` in the current scope [INFO] [stdout] --> src/game/game_rules.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | let winner = rules.winner(&board); [INFO] [stdout] | ^^^^^^ method not found in `TicTacToe` [INFO] [stdout] | [INFO] [stdout] ::: src/tictactoe/tictactoe.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TicTacToe; [INFO] [stdout] | -------------------- method `winner` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] help: trait `GameRules` which provides `winner` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 36 + use game::game_rules::GameRules; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `legal_moves` found for struct `TicTacToe` in the current scope [INFO] [stdout] --> src/game/game_rules.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | let legal_moves = rules.legal_moves(&board, PlayerColor::Black); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `TicTacToe` [INFO] [stdout] | [INFO] [stdout] ::: src/tictactoe/tictactoe.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TicTacToe; [INFO] [stdout] | -------------------- method `legal_moves` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] help: trait `GameRules` which provides `legal_moves` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 36 + use game::game_rules::GameRules; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `next_state` found for struct `TicTacToe` in the current scope [INFO] [stdout] --> src/game/game_rules.rs:52:32 [INFO] [stdout] | [INFO] [stdout] 52 | let next_state = rules.next_state(&board, game_move); [INFO] [stdout] | ^^^^^^^^^^ method not found in `TicTacToe` [INFO] [stdout] | [INFO] [stdout] ::: src/tictactoe/tictactoe.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TicTacToe; [INFO] [stdout] | -------------------- method `next_state` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] help: trait `GameRules` which provides `next_state` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 36 + use game::game_rules::GameRules; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0223, E0277, E0422, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `reversi_rust` (bin "reversi_rust" test) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "497a3b8766903df58ffcc8440f1878e049e8d3233d10be641feab98b83b43adf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "497a3b8766903df58ffcc8440f1878e049e8d3233d10be641feab98b83b43adf", kill_on_drop: false }` [INFO] [stdout] 497a3b8766903df58ffcc8440f1878e049e8d3233d10be641feab98b83b43adf