[INFO] cloning repository https://github.com/starrtnow/mcts-connect-four
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/starrtnow/mcts-connect-four" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstarrtnow%2Fmcts-connect-four", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstarrtnow%2Fmcts-connect-four'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 463ec5ceebff5936c0b2e77abf138dab9a80ab20
[INFO] checking starrtnow/mcts-connect-four against master#3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0 for pr-143164
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstarrtnow%2Fmcts-connect-four" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/starrtnow/mcts-connect-four
[INFO] finished tweaking git repo https://github.com/starrtnow/mcts-connect-four
[INFO] tweaked toml for git repo https://github.com/starrtnow/mcts-connect-four written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/starrtnow/mcts-connect-four on toolchain 3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/starrtnow/mcts-connect-four 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" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1ca62124442c5e7120d2e41403deb88eddecc68589c6c9a63048f664a89eed87
[INFO] running `Command { std: "docker" "start" "-a" "1ca62124442c5e7120d2e41403deb88eddecc68589c6c9a63048f664a89eed87", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1ca62124442c5e7120d2e41403deb88eddecc68589c6c9a63048f664a89eed87", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1ca62124442c5e7120d2e41403deb88eddecc68589c6c9a63048f664a89eed87", kill_on_drop: false }`
[INFO] [stdout] 1ca62124442c5e7120d2e41403deb88eddecc68589c6c9a63048f664a89eed87
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=forbid" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 97b740aafb60f8ef982bd2b0f98cfa0d67fa8b12b68e45b1fea359833cba9585
[INFO] running `Command { std: "docker" "start" "-a" "97b740aafb60f8ef982bd2b0f98cfa0d67fa8b12b68e45b1fea359833cba9585", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]     Checking winapi v0.2.8
[INFO] [stderr]     Checking libc v0.2.17
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]     Checking rand v0.3.14
[INFO] [stderr]     Checking time v0.1.35
[INFO] [stderr]     Checking connect_three v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]   --> src/game_state.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |         (self.x <= BOARD_WIDTH && self.x  >= 0)
[INFO] [stdout]    |         ^                                     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 47 -         (self.x <= BOARD_WIDTH && self.x  >= 0)
[INFO] [stdout] 47 +         self.x <= BOARD_WIDTH && self.x  >= 0
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/game_state.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 |         if (column[i] == Color::Empty){
[INFO] [stdout]    |            ^                         ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 53 -         if (column[i] == Color::Empty){
[INFO] [stdout] 53 +         if column[i] == Color::Empty {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]   --> src/monte_carlo.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |         (self.win_tie as f64 / self.num_plays as f64)
[INFO] [stdout]    |         ^                                           ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 27 -         (self.win_tie as f64 / self.num_plays as f64)
[INFO] [stdout] 27 +         self.win_tie as f64 / self.num_plays as f64
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/monte_carlo.rs:243:19
[INFO] [stdout]     |
[INFO] [stdout] 243 |                 if(uct > best_uct){
[INFO] [stdout]     |                   ^              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 243 -                 if(uct > best_uct){
[INFO] [stdout] 243 +                 if uct > best_uct {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]   --> src/game_state.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |         (self.x <= BOARD_WIDTH && self.x  >= 0)
[INFO] [stdout]    |         ^                                     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 47 -         (self.x <= BOARD_WIDTH && self.x  >= 0)
[INFO] [stdout] 47 +         self.x <= BOARD_WIDTH && self.x  >= 0
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/game_state.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 |         if (column[i] == Color::Empty){
[INFO] [stdout]    |            ^                         ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 53 -         if (column[i] == Color::Empty){
[INFO] [stdout] 53 +         if column[i] == Color::Empty {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]    --> src/game_state.rs:190:9
[INFO] [stdout]     |
[INFO] [stdout] 190 |     use super::*; 
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]   --> src/monte_carlo.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |         (self.win_tie as f64 / self.num_plays as f64)
[INFO] [stdout]    |         ^                                           ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 27 -         (self.win_tie as f64 / self.num_plays as f64)
[INFO] [stdout] 27 +         self.win_tie as f64 / self.num_plays as f64
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/monte_carlo.rs:243:19
[INFO] [stdout]     |
[INFO] [stdout] 243 |                 if(uct > best_uct){
[INFO] [stdout]     |                   ^              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 243 -                 if(uct > best_uct){
[INFO] [stdout] 243 +                 if uct > best_uct {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]   --> src/game_state.rs:51:14
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn push_back(item : Color, column : &mut [Color; 6]) -> usize{
[INFO] [stdout]    |              ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]   --> src/game_state.rs:51:14
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn push_back(item : Color, column : &mut [Color; 6]) -> usize{
[INFO] [stdout]    |              ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `player`
[INFO] [stdout]   --> src/monte_carlo.rs:66:54
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub fn run_simulation(state : game_state::GameState, player : game_state::Color) -> game_state::End{ 
[INFO] [stdout]    |                                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `player`
[INFO] [stdout]   --> src/monte_carlo.rs:66:54
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub fn run_simulation(state : game_state::GameState, player : game_state::Color) -> game_state::End{ 
[INFO] [stdout]    |                                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `optimal_move_highest_win` is never used
[INFO] [stdout]    --> src/monte_carlo.rs:161:4
[INFO] [stdout]     |
[INFO] [stdout] 161 | fn optimal_move_highest_win(possible_moves : &Vec<(game_state::Move, &UCTData)>) -> game_state::Move{
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> src/game_state.rs:47:35
[INFO] [stdout]    |
[INFO] [stdout] 47 |         (self.x <= BOARD_WIDTH && self.x  >= 0)
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `stepX` should have a snake case name
[INFO] [stdout]    --> src/game_state.rs:109:62
[INFO] [stdout]     |
[INFO] [stdout] 109 |     pub fn linear_match(&self, start_x : i32, start_y : i32, stepX : i32, stepY : i32, color : Color) -> bool{
[INFO] [stdout]     |                                                              ^^^^^ help: convert the identifier to snake case: `step_x`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `stepY` should have a snake case name
[INFO] [stdout]    --> src/game_state.rs:109:75
[INFO] [stdout]     |
[INFO] [stdout] 109 |     pub fn linear_match(&self, start_x : i32, start_y : i32, stepX : i32, stepY : i32, color : Color) -> bool{
[INFO] [stdout]     |                                                                           ^^^^^ help: convert the identifier to snake case: `step_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/game_state.rs:114:16
[INFO] [stdout]     |
[INFO] [stdout] 114 |             if x < 0 || x >= BOARD_HEIGHT || y < 0 || y >= BOARD_WIDTH{
[INFO] [stdout]     |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/game_state.rs:114:46
[INFO] [stdout]     |
[INFO] [stdout] 114 |             if x < 0 || x >= BOARD_HEIGHT || y < 0 || y >= BOARD_WIDTH{
[INFO] [stdout]     |                                              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `optimal_move_highest_win` is never used
[INFO] [stdout]    --> src/monte_carlo.rs:161:4
[INFO] [stdout]     |
[INFO] [stdout] 161 | fn optimal_move_highest_win(possible_moves : &Vec<(game_state::Move, &UCTData)>) -> game_state::Move{
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> src/game_state.rs:47:35
[INFO] [stdout]    |
[INFO] [stdout] 47 |         (self.x <= BOARD_WIDTH && self.x  >= 0)
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `stepX` should have a snake case name
[INFO] [stdout]    --> src/game_state.rs:109:62
[INFO] [stdout]     |
[INFO] [stdout] 109 |     pub fn linear_match(&self, start_x : i32, start_y : i32, stepX : i32, stepY : i32, color : Color) -> bool{
[INFO] [stdout]     |                                                              ^^^^^ help: convert the identifier to snake case: `step_x`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `stepY` should have a snake case name
[INFO] [stdout]    --> src/game_state.rs:109:75
[INFO] [stdout]     |
[INFO] [stdout] 109 |     pub fn linear_match(&self, start_x : i32, start_y : i32, stepX : i32, stepY : i32, color : Color) -> bool{
[INFO] [stdout]     |                                                                           ^^^^^ help: convert the identifier to snake case: `step_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/game_state.rs:114:16
[INFO] [stdout]     |
[INFO] [stdout] 114 |             if x < 0 || x >= BOARD_HEIGHT || y < 0 || y >= BOARD_WIDTH{
[INFO] [stdout]     |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/game_state.rs:114:46
[INFO] [stdout]     |
[INFO] [stdout] 114 |             if x < 0 || x >= BOARD_HEIGHT || y < 0 || y >= BOARD_WIDTH{
[INFO] [stdout]     |                                              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.52s
[INFO] running `Command { std: "docker" "inspect" "97b740aafb60f8ef982bd2b0f98cfa0d67fa8b12b68e45b1fea359833cba9585", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "97b740aafb60f8ef982bd2b0f98cfa0d67fa8b12b68e45b1fea359833cba9585", kill_on_drop: false }`
[INFO] [stdout] 97b740aafb60f8ef982bd2b0f98cfa0d67fa8b12b68e45b1fea359833cba9585
