[INFO] cloning repository https://github.com/jayaram-karthik/reversi-minimax
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jayaram-karthik/reversi-minimax" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjayaram-karthik%2Freversi-minimax", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjayaram-karthik%2Freversi-minimax'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0f663abb751abf49bc145d0c1aa56826e311ea65
[INFO] checking jayaram-karthik/reversi-minimax against 615014f15745532730b9ce7a1d9309f8b4756f93 for pr-160491
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjayaram-karthik%2Freversi-minimax" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jayaram-karthik/reversi-minimax
[INFO] finished tweaking git repo https://github.com/jayaram-karthik/reversi-minimax
[INFO] tweaked toml for git repo https://github.com/jayaram-karthik/reversi-minimax written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jayaram-karthik/reversi-minimax on toolchain 615014f15745532730b9ce7a1d9309f8b4756f93
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jayaram-karthik/reversi-minimax 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" "+615014f15745532730b9ce7a1d9309f8b4756f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] checking jayaram-karthik/reversi-minimax against 615014f15745532730b9ce7a1d9309f8b4756f93 for pr-160491
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjayaram-karthik%2Freversi-minimax" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jayaram-karthik/reversi-minimax
[INFO] finished tweaking git repo https://github.com/jayaram-karthik/reversi-minimax
[INFO] tweaked toml for git repo https://github.com/jayaram-karthik/reversi-minimax written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jayaram-karthik/reversi-minimax on toolchain 615014f15745532730b9ce7a1d9309f8b4756f93
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jayaram-karthik/reversi-minimax 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" "+615014f15745532730b9ce7a1d9309f8b4756f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a605a06997e64fc401b0b1f55ad4490e708b70edca47f0ff07d5319735ac6610
[INFO] running `Command { std: "docker" "start" "a605a06997e64fc401b0b1f55ad4490e708b70edca47f0ff07d5319735ac6610", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a605a06997e64fc401b0b1f55ad4490e708b70edca47f0ff07d5319735ac6610", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a605a06997e64fc401b0b1f55ad4490e708b70edca47f0ff07d5319735ac6610" "/opt/rustwide/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a605a06997e64fc401b0b1f55ad4490e708b70edca47f0ff07d5319735ac6610", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a605a06997e64fc401b0b1f55ad4490e708b70edca47f0ff07d5319735ac6610" "/opt/rustwide/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking reversi-minimax v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `CellState`
[INFO] [stdout]  --> src/ai.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::reversi::{ReversiBoard, CellState};
[INFO] [stdout]   |                                    ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CellState`
[INFO] [stdout]  --> src/ai.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::reversi::{ReversiBoard, CellState};
[INFO] [stdout]   |                                    ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `max` and `min`
[INFO] [stdout]  --> src/ai.rs:2:16
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::cmp::{max, min};
[INFO] [stdout]   |                ^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `max` and `min`
[INFO] [stdout]  --> src/ai.rs:2:16
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::cmp::{max, min};
[INFO] [stdout]   |                ^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]    --> src/reversi.rs:178:23
[INFO] [stdout]     |
[INFO] [stdout] 178 |                 while (i <= 7) {
[INFO] [stdout]     |                       ^      ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 178 -                 while (i <= 7) {
[INFO] [stdout] 178 +                 while i <= 7 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]    --> src/reversi.rs:178:23
[INFO] [stdout]     |
[INFO] [stdout] 178 |                 while (i <= 7) {
[INFO] [stdout]     |                       ^      ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 178 -                 while (i <= 7) {
[INFO] [stdout] 178 +                 while i <= 7 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/reversi.rs:179:24
[INFO] [stdout]     |
[INFO] [stdout] 179 |                     if (tmp_x + i * dx < 0 || tmp_x + i * dx > 7 || tmp_y + i * dy < 0 || tmp_y + i * dy > 7) {
[INFO] [stdout]     |                        ^                                                                                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 179 -                     if (tmp_x + i * dx < 0 || tmp_x + i * dx > 7 || tmp_y + i * dy < 0 || tmp_y + i * dy > 7) {
[INFO] [stdout] 179 +                     if tmp_x + i * dx < 0 || tmp_x + i * dx > 7 || tmp_y + i * dy < 0 || tmp_y + i * dy > 7 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/reversi.rs:179:24
[INFO] [stdout]     |
[INFO] [stdout] 179 |                     if (tmp_x + i * dx < 0 || tmp_x + i * dx > 7 || tmp_y + i * dy < 0 || tmp_y + i * dy > 7) {
[INFO] [stdout]     |                        ^                                                                                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 179 -                     if (tmp_x + i * dx < 0 || tmp_x + i * dx > 7 || tmp_y + i * dy < 0 || tmp_y + i * dy > 7) {
[INFO] [stdout] 179 +                     if tmp_x + i * dx < 0 || tmp_x + i * dx > 7 || tmp_y + i * dy < 0 || tmp_y + i * dy > 7 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DIRECTIONS` is never used
[INFO] [stdout]   --> src/reversi.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const DIRECTIONS: [(i8, i8); 8] = [
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DIRECTIONS` is never used
[INFO] [stdout]   --> src/reversi.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const DIRECTIONS: [(i8, i8); 8] = [
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_cell` is never used
[INFO] [stdout]   --> src/reversi.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | impl ReversiBoard {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 68 |     pub fn get_cell(&self, x: usize, y: usize) -> CellState {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_cell` is never used
[INFO] [stdout]   --> src/reversi.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | impl ReversiBoard {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 68 |     pub fn get_cell(&self, x: usize, y: usize) -> CellState {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `maximizingPlayer` should have a snake case name
[INFO] [stdout]   --> src/ai.rs:23:84
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn alpha_beta(node: ReversiBoard, depth: usize, mut alpha: f32, mut beta: f32, maximizingPlayer: bool) -> f32 {
[INFO] [stdout]    |                                                                                    ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `maximizing_player`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `maximizingPlayer` should have a snake case name
[INFO] [stdout]   --> src/ai.rs:23:84
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn alpha_beta(node: ReversiBoard, depth: usize, mut alpha: f32, mut beta: f32, maximizingPlayer: bool) -> f32 {
[INFO] [stdout]    |                                                                                    ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `maximizing_player`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] running `Command { std: "docker" "inspect" "a605a06997e64fc401b0b1f55ad4490e708b70edca47f0ff07d5319735ac6610", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a605a06997e64fc401b0b1f55ad4490e708b70edca47f0ff07d5319735ac6610", kill_on_drop: false }`
[INFO] [stdout] a605a06997e64fc401b0b1f55ad4490e708b70edca47f0ff07d5319735ac6610
