[INFO] updating cached repository https://github.com/andysalerno/reversi_rust [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] a2b8241ec63ce1269e50052094f6ad6af4bd305f [INFO] checking andysalerno/reversi_rust against beta-2019-10-27 for pr-65897 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandysalerno%2Freversi_rust" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andysalerno/reversi_rust on toolchain beta-2019-10-27 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "read-manifest" "--manifest-path" "Cargo.toml"` [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-2/source/Cargo.toml [INFO] crate git repo https://github.com/andysalerno/reversi_rust already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-10-27" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 70c7d785bc6d4e4f7b87b7490dc6e3136539f9f4b63b25e0cbafffc1600f3863 [INFO] running `"docker" "start" "-a" "70c7d785bc6d4e4f7b87b7490dc6e3136539f9f4b63b25e0cbafffc1600f3863"` [INFO] [stderr] Checking reversi_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `RandomAgent` [INFO] [stderr] --> src/game/runner.rs:36:21 [INFO] [stderr] | [INFO] [stderr] 36 | let white = RandomAgent::new(); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `RandomAgent` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `RandomAgent` [INFO] [stderr] --> src/game/runner.rs:37:21 [INFO] [stderr] | [INFO] [stderr] 37 | let black = RandomAgent::new(); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `RandomAgent` [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `GameMove` in this scope [INFO] [stderr] --> src/game/game_rules.rs:51:25 [INFO] [stderr] | [INFO] [stderr] 51 | let game_move = GameMove {}; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 36 | use game::game_rules::GameMove; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of type arguments: expected 3, found 1 [INFO] [stderr] --> src/game/runner.rs:38:20 [INFO] [stderr] | [INFO] [stderr] 38 | let game = BoardGame::::new(black, white); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 type arguments [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `tictactoe::tictactoe::TicTacToe: std::default::Default` is not satisfied [INFO] [stderr] --> src/game/runner.rs:38:20 [INFO] [stderr] | [INFO] [stderr] 38 | let game = BoardGame::::new(black, white); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::default::Default` is not implemented for `tictactoe::tictactoe::TicTacToe` [INFO] [stderr] | [INFO] [stderr] ::: src/game/boardgame.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | fn new(black_player: B, white_player: W) -> Self { [INFO] [stderr] | ------------------------------------------------ required by `game::boardgame::BoardGame::::new` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `tictactoe::tictactoe::TicTacToe: std::default::Default` is not satisfied [INFO] [stderr] --> src/game/runner.rs:38:20 [INFO] [stderr] | [INFO] [stderr] 38 | let game = BoardGame::::new(black, white); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::default::Default` is not implemented for `tictactoe::tictactoe::TicTacToe` [INFO] [stderr] | [INFO] [stderr] ::: src/game/boardgame.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct BoardGame { [INFO] [stderr] | -------------------------------------------------------------------------------- required by `game::boardgame::BoardGame` [INFO] [stderr] [INFO] [stderr] error[E0223]: ambiguous associated type [INFO] [stderr] --> src/game/runner.rs:47:17 [INFO] [stderr] | [INFO] [stderr] 47 | BoardGame::PlayerColor::Black => &black, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use fully-qualified syntax: ` as Trait>::PlayerColor` [INFO] [stderr] [INFO] [stderr] error[E0223]: ambiguous associated type [INFO] [stderr] --> src/game/runner.rs:48:17 [INFO] [stderr] | [INFO] [stderr] 48 | BoardGame::PlayerColor::White => &white, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use fully-qualified syntax: ` as Trait>::PlayerColor` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `is_game_over` found for type `tictactoe::tictactoe::TicTacToe` in the current scope [INFO] [stderr] --> src/game/game_rules.rs:45:34 [INFO] [stderr] | [INFO] [stderr] 45 | let is_game_over = rules.is_game_over(&board); [INFO] [stderr] | ^^^^^^^^^^^^ method not found in `tictactoe::tictactoe::TicTacToe` [INFO] [stderr] | [INFO] [stderr] ::: src/tictactoe/tictactoe.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct TicTacToe; [INFO] [stderr] | --------------------- method `is_game_over` not found for this [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `is_game_over`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `game::game_rules::GameRules` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `winner` found for type `tictactoe::tictactoe::TicTacToe` in the current scope [INFO] [stderr] --> src/game/game_rules.rs:47:28 [INFO] [stderr] | [INFO] [stderr] 47 | let winner = rules.winner(&board); [INFO] [stderr] | ^^^^^^ method not found in `tictactoe::tictactoe::TicTacToe` [INFO] [stderr] | [INFO] [stderr] ::: src/tictactoe/tictactoe.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct TicTacToe; [INFO] [stderr] | --------------------- method `winner` not found for this [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `winner`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `game::game_rules::GameRules` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `legal_moves` found for type `tictactoe::tictactoe::TicTacToe` in the current scope [INFO] [stderr] --> src/game/game_rules.rs:49:33 [INFO] [stderr] | [INFO] [stderr] 49 | let legal_moves = rules.legal_moves(&board, PlayerColor::Black); [INFO] [stderr] | ^^^^^^^^^^^ method not found in `tictactoe::tictactoe::TicTacToe` [INFO] [stderr] | [INFO] [stderr] ::: src/tictactoe/tictactoe.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct TicTacToe; [INFO] [stderr] | --------------------- method `legal_moves` not found for this [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `legal_moves`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `game::game_rules::GameRules` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `next_state` found for type `tictactoe::tictactoe::TicTacToe` in the current scope [INFO] [stderr] --> src/game/game_rules.rs:52:32 [INFO] [stderr] | [INFO] [stderr] 52 | let next_state = rules.next_state(&board, game_move); [INFO] [stderr] | ^^^^^^^^^^ method not found in `tictactoe::tictactoe::TicTacToe` [INFO] [stderr] | [INFO] [stderr] ::: src/tictactoe/tictactoe.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct TicTacToe; [INFO] [stderr] | --------------------- method `next_state` not found for this [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `next_state`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `game::game_rules::GameRules` [INFO] [stderr] [INFO] [stderr] error: aborting due to 12 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0107, E0223, E0277, E0422, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0107`. [INFO] [stderr] error: could not compile `reversi_rust`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "70c7d785bc6d4e4f7b87b7490dc6e3136539f9f4b63b25e0cbafffc1600f3863"` [INFO] running `"docker" "rm" "-f" "70c7d785bc6d4e4f7b87b7490dc6e3136539f9f4b63b25e0cbafffc1600f3863"` [INFO] [stdout] 70c7d785bc6d4e4f7b87b7490dc6e3136539f9f4b63b25e0cbafffc1600f3863