[INFO] cloning repository https://github.com/prestonmlangford/mcts [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/prestonmlangford/mcts" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprestonmlangford%2Fmcts", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprestonmlangford%2Fmcts'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 126f9463f2e47c5b7e75907563e26d361a0a26db [INFO] checking prestonmlangford/mcts against master#9503ea19edbf01b9435e80e17d60ce1b88390116 for pr-81782 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprestonmlangford%2Fmcts" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/prestonmlangford/mcts on toolchain 9503ea19edbf01b9435e80e17d60ce1b88390116 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9503ea19edbf01b9435e80e17d60ce1b88390116" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/prestonmlangford/mcts [INFO] finished tweaking git repo https://github.com/prestonmlangford/mcts [INFO] tweaked toml for git repo https://github.com/prestonmlangford/mcts written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/prestonmlangford/mcts already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9503ea19edbf01b9435e80e17d60ce1b88390116" "fetch" "--locked" "--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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+9503ea19edbf01b9435e80e17d60ce1b88390116" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e4dbaf5defc1b31a97a6d3c7f7988c15fa3c249e129028547ac024155e89547 [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" "0e4dbaf5defc1b31a97a6d3c7f7988c15fa3c249e129028547ac024155e89547", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e4dbaf5defc1b31a97a6d3c7f7988c15fa3c249e129028547ac024155e89547", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e4dbaf5defc1b31a97a6d3c7f7988c15fa3c249e129028547ac024155e89547", kill_on_drop: false }` [INFO] [stdout] 0e4dbaf5defc1b31a97a6d3c7f7988c15fa3c249e129028547ac024155e89547 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+9503ea19edbf01b9435e80e17d60ce1b88390116" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d0c2ee5d12000a59db4000f4e53ad9065e99c33b77949e290eefa71bcc2cdd0 [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" "6d0c2ee5d12000a59db4000f4e53ad9065e99c33b77949e290eefa71bcc2cdd0", kill_on_drop: false }` [INFO] [stderr] Checking mcts v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Connect4` [INFO] [stdout] --> reversi/main.rs:263:88 [INFO] [stdout] | [INFO] [stdout] 263 | let mut s = format!("--- StateManager Stack ---{}--------------------------\n",Connect4::new()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Connect4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Space` in this scope [INFO] [stdout] --> reversi/main.rs:221:30 [INFO] [stdout] | [INFO] [stdout] 178 | impl Reversi { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 221 | fn actions(&self) -> Vec { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Column` in this scope [INFO] [stdout] --> reversi/main.rs:258:17 [INFO] [stdout] | [INFO] [stdout] 257 | struct StateManager { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 258 | stack: Vec<(Column,Connect4)>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Connect4` in this scope [INFO] [stdout] --> reversi/main.rs:258:24 [INFO] [stdout] | [INFO] [stdout] 257 | struct StateManager { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 258 | stack: Vec<(Column,Connect4)>, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Connect4` in this scope [INFO] [stdout] --> reversi/main.rs:280:23 [INFO] [stdout] | [INFO] [stdout] 280 | fn cur(&self) -> &Connect4 { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Column` in this scope [INFO] [stdout] --> reversi/main.rs:289:22 [INFO] [stdout] | [INFO] [stdout] 289 | fn load(moves: &[Column]) -> StateManager { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Column` in this scope [INFO] [stdout] --> reversi/main.rs:301:23 [INFO] [stdout] | [INFO] [stdout] 301 | impl mcts::Action for Column {} [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Column` in this scope [INFO] [stdout] --> reversi/main.rs:303:22 [INFO] [stdout] | [INFO] [stdout] 303 | impl mcts::GameState for StateManager { [INFO] [stdout] | - ^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Column` in this scope [INFO] [stdout] --> reversi/main.rs:314:30 [INFO] [stdout] | [INFO] [stdout] 303 | impl mcts::GameState for StateManager { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 314 | fn actions(&self) -> Vec { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Column` in this scope [INFO] [stdout] --> reversi/main.rs:318:31 [INFO] [stdout] | [INFO] [stdout] 318 | fn make(&mut self,action: Column) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COL` in this scope [INFO] [stdout] --> reversi/main.rs:363:31 [INFO] [stdout] | [INFO] [stdout] 363 | let col = COL[c-1]; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Connect4` [INFO] [stdout] --> reversi/main.rs:263:88 [INFO] [stdout] | [INFO] [stdout] 263 | let mut s = format!("--- StateManager Stack ---{}--------------------------\n",Connect4::new()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Connect4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Space` in this scope [INFO] [stdout] --> reversi/main.rs:221:30 [INFO] [stdout] | [INFO] [stdout] 178 | impl Reversi { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 221 | fn actions(&self) -> Vec { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Column` in this scope [INFO] [stdout] --> reversi/main.rs:258:17 [INFO] [stdout] | [INFO] [stdout] 257 | struct StateManager { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 258 | stack: Vec<(Column,Connect4)>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Connect4` in this scope [INFO] [stdout] --> reversi/main.rs:258:24 [INFO] [stdout] | [INFO] [stdout] 257 | struct StateManager { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 258 | stack: Vec<(Column,Connect4)>, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Connect4` in this scope [INFO] [stdout] --> reversi/main.rs:280:23 [INFO] [stdout] | [INFO] [stdout] 280 | fn cur(&self) -> &Connect4 { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Column` in this scope [INFO] [stdout] --> reversi/main.rs:289:22 [INFO] [stdout] | [INFO] [stdout] 289 | fn load(moves: &[Column]) -> StateManager { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Column` in this scope [INFO] [stdout] --> reversi/main.rs:301:23 [INFO] [stdout] | [INFO] [stdout] 301 | impl mcts::Action for Column {} [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Column` in this scope [INFO] [stdout] --> reversi/main.rs:303:22 [INFO] [stdout] | [INFO] [stdout] 303 | impl mcts::GameState for StateManager { [INFO] [stdout] | - ^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Column` in this scope [INFO] [stdout] --> reversi/main.rs:314:30 [INFO] [stdout] | [INFO] [stdout] 303 | impl mcts::GameState for StateManager { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 314 | fn actions(&self) -> Vec { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Column` in this scope [INFO] [stdout] --> reversi/main.rs:318:31 [INFO] [stdout] | [INFO] [stdout] 318 | fn make(&mut self,action: Column) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COL` in this scope [INFO] [stdout] --> reversi/main.rs:363:31 [INFO] [stdout] | [INFO] [stdout] 363 | let col = COL[c-1]; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> reversi/main.rs:225:32 [INFO] [stdout] | [INFO] [stdout] 225 | if !self.white.has(space) && !self.black.has(space) { [INFO] [stdout] | ^^^^^ expected `u64`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 225 | if !self.white.has(space.try_into().unwrap()) && !self.black.has(space) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> reversi/main.rs:225:58 [INFO] [stdout] | [INFO] [stdout] 225 | if !self.white.has(space) && !self.black.has(space) { [INFO] [stdout] | ^^^^^ expected `u64`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 225 | if !self.white.has(space) && !self.black.has(space.try_into().unwrap()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> reversi/main.rs:225:32 [INFO] [stdout] | [INFO] [stdout] 225 | if !self.white.has(space) && !self.black.has(space) { [INFO] [stdout] | ^^^^^ expected `u64`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 225 | if !self.white.has(space.try_into().unwrap()) && !self.black.has(space) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> reversi/main.rs:225:58 [INFO] [stdout] | [INFO] [stdout] 225 | if !self.white.has(space) && !self.black.has(space) { [INFO] [stdout] | ^^^^^ expected `u64`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 225 | if !self.white.has(space) && !self.black.has(space.try_into().unwrap()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> reversi/main.rs:276:20 [INFO] [stdout] | [INFO] [stdout] 276 | stack: Vec::new() [INFO] [stdout] | ^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `R` found for enum `Disc` in the current scope [INFO] [stdout] --> reversi/main.rs:308:19 [INFO] [stdout] | [INFO] [stdout] 35 | enum Disc {N,W,B} [INFO] [stdout] | --------- variant or associated item `R` not found here [INFO] [stdout] ... [INFO] [stdout] 308 | Disc::R => side, [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item not found in `Disc` [INFO] [stdout] | help: there is a variant with a similar name: `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Y` found for enum `Disc` in the current scope [INFO] [stdout] --> reversi/main.rs:309:19 [INFO] [stdout] | [INFO] [stdout] 35 | enum Disc {N,W,B} [INFO] [stdout] | --------- variant or associated item `Y` not found here [INFO] [stdout] ... [INFO] [stdout] 309 | Disc::Y => 1.0 - side, [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item not found in `Disc` [INFO] [stdout] | help: there is a variant with a similar name: `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> reversi/main.rs:276:20 [INFO] [stdout] | [INFO] [stdout] 276 | stack: Vec::new() [INFO] [stdout] | ^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::SliceRandom` [INFO] [stdout] --> reversi/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0308, E0412, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mcts` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no variant or associated item named `R` found for enum `Disc` in the current scope [INFO] [stdout] --> reversi/main.rs:308:19 [INFO] [stdout] | [INFO] [stdout] 35 | enum Disc {N,W,B} [INFO] [stdout] | --------- variant or associated item `R` not found here [INFO] [stdout] ... [INFO] [stdout] 308 | Disc::R => side, [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item not found in `Disc` [INFO] [stdout] | help: there is a variant with a similar name: `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Y` found for enum `Disc` in the current scope [INFO] [stdout] --> reversi/main.rs:309:19 [INFO] [stdout] | [INFO] [stdout] 35 | enum Disc {N,W,B} [INFO] [stdout] | --------- variant or associated item `Y` not found here [INFO] [stdout] ... [INFO] [stdout] 309 | Disc::Y => 1.0 - side, [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item not found in `Disc` [INFO] [stdout] | help: there is a variant with a similar name: `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::SliceRandom` [INFO] [stdout] --> reversi/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0308, E0412, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "6d0c2ee5d12000a59db4000f4e53ad9065e99c33b77949e290eefa71bcc2cdd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d0c2ee5d12000a59db4000f4e53ad9065e99c33b77949e290eefa71bcc2cdd0", kill_on_drop: false }` [INFO] [stdout] 6d0c2ee5d12000a59db4000f4e53ad9065e99c33b77949e290eefa71bcc2cdd0