[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 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandysalerno%2Freversi_rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andysalerno/reversi_rust on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-3-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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 598b78918413d8d138a01c77b93e1b0a3661b06a80eed6736448077ea7b2ac16 [INFO] running `Command { std: "docker" "start" "-a" "598b78918413d8d138a01c77b93e1b0a3661b06a80eed6736448077ea7b2ac16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "598b78918413d8d138a01c77b93e1b0a3661b06a80eed6736448077ea7b2ac16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "598b78918413d8d138a01c77b93e1b0a3661b06a80eed6736448077ea7b2ac16", kill_on_drop: false }` [INFO] [stdout] 598b78918413d8d138a01c77b93e1b0a3661b06a80eed6736448077ea7b2ac16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c6db8a23636ca5b5625f479b9e97080dfb23c57d25d8df426f743958a0d2cada [INFO] running `Command { std: "docker" "start" "-a" "c6db8a23636ca5b5625f479b9e97080dfb23c57d25d8df426f743958a0d2cada", kill_on_drop: false }` [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::::new` [INFO] [stdout] --> src/game/boardgame.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | impl BoardGame { [INFO] [stdout] | ^^^^^^^ required by this bound in `BoardGame::::new` [INFO] [stdout] 16 | fn new(black_player: B, white_player: W) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [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[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] error: aborting due to 12 previous errors [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 13 previous errors [INFO] running `Command { std: "docker" "inspect" "c6db8a23636ca5b5625f479b9e97080dfb23c57d25d8df426f743958a0d2cada", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6db8a23636ca5b5625f479b9e97080dfb23c57d25d8df426f743958a0d2cada", kill_on_drop: false }` [INFO] [stdout] c6db8a23636ca5b5625f479b9e97080dfb23c57d25d8df426f743958a0d2cada [INFO] checking andysalerno/reversi_rust against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandysalerno%2Freversi_rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andysalerno/reversi_rust on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "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-3-tc2/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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a4969d600f2c12255d9a5b762b2e586318d9328d59943593d9b073ae864e91c [INFO] running `Command { std: "docker" "start" "-a" "3a4969d600f2c12255d9a5b762b2e586318d9328d59943593d9b073ae864e91c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a4969d600f2c12255d9a5b762b2e586318d9328d59943593d9b073ae864e91c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a4969d600f2c12255d9a5b762b2e586318d9328d59943593d9b073ae864e91c", kill_on_drop: false }` [INFO] [stdout] 3a4969d600f2c12255d9a5b762b2e586318d9328d59943593d9b073ae864e91c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cee68b1ea1694e351640b2b63c5985268e397b03a94e915f9763fc50b18e5e13 [INFO] running `Command { std: "docker" "start" "-a" "cee68b1ea1694e351640b2b63c5985268e397b03a94e915f9763fc50b18e5e13", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "cee68b1ea1694e351640b2b63c5985268e397b03a94e915f9763fc50b18e5e13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cee68b1ea1694e351640b2b63c5985268e397b03a94e915f9763fc50b18e5e13", kill_on_drop: false }` [INFO] [stdout] cee68b1ea1694e351640b2b63c5985268e397b03a94e915f9763fc50b18e5e13