[INFO] cloning repository https://github.com/AshtonCoates/cnct4game
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AshtonCoates/cnct4game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAshtonCoates%2Fcnct4game", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAshtonCoates%2Fcnct4game'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 70b395da69482caf42bdde99944d1bc02c5790d4
[INFO] checking AshtonCoates/cnct4game against master#3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0 for pr-143164
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAshtonCoates%2Fcnct4game" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/AshtonCoates/cnct4game
[INFO] finished tweaking git repo https://github.com/AshtonCoates/cnct4game
[INFO] tweaked toml for git repo https://github.com/AshtonCoates/cnct4game written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AshtonCoates/cnct4game 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/AshtonCoates/cnct4game 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]     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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] dcfd1a08334e51372ec6f89f053814928983dd1dbacf5f503683b62d93f04502
[INFO] running `Command { std: "docker" "start" "-a" "dcfd1a08334e51372ec6f89f053814928983dd1dbacf5f503683b62d93f04502", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dcfd1a08334e51372ec6f89f053814928983dd1dbacf5f503683b62d93f04502", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dcfd1a08334e51372ec6f89f053814928983dd1dbacf5f503683b62d93f04502", kill_on_drop: false }`
[INFO] [stdout] dcfd1a08334e51372ec6f89f053814928983dd1dbacf5f503683b62d93f04502
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 247803a180aac4c61041d85ff952de0cff55d7f614c05e83a1f5a1a038e99df3
[INFO] running `Command { std: "docker" "start" "-a" "247803a180aac4c61041d85ff952de0cff55d7f614c05e83a1f5a1a038e99df3", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.70
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]     Checking utf8parse v0.2.1
[INFO] [stderr]     Checking anstyle v1.0.4
[INFO] [stderr]     Checking anstyle-query v1.0.2
[INFO] [stderr]     Checking colorchoice v1.0.0
[INFO] [stderr]     Checking strsim v0.10.0
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking clap_lex v0.6.0
[INFO] [stderr]     Checking anstyle-parse v0.2.3
[INFO] [stderr]     Checking anstream v0.6.5
[INFO] [stderr]     Checking clap_builder v4.4.11
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling syn v2.0.40
[INFO] [stderr]    Compiling clap_derive v4.4.7
[INFO] [stderr]     Checking clap v4.4.11
[INFO] [stderr]     Checking cnct4game v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::PlayerNumber`
[INFO] [stdout]  --> src/board.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::PlayerNumber;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::player::Player`
[INFO] [stdout]  --> src/board.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::player::Player;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::PlayerNumber`
[INFO] [stdout]  --> src/player.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::PlayerNumber;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::PlayerNumber`
[INFO] [stdout]  --> src/board.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::PlayerNumber;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::player::Player`
[INFO] [stdout]  --> src/board.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::player::Player;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::PlayerNumber`
[INFO] [stdout]  --> src/player.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::PlayerNumber;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `board`
[INFO] [stdout]   --> src/player.rs:21:19
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn eval_board(board:Vec<Vec<i32>>) -> i32 {
[INFO] [stdout]    |                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_board`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `board`
[INFO] [stdout]   --> src/player.rs:25:22
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn simulate_move(board: Vec<Vec<i32>>, col:usize) -> Vec<Vec<i32>> {
[INFO] [stdout]    |                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_board`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `col`
[INFO] [stdout]   --> src/player.rs:25:44
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn simulate_move(board: Vec<Vec<i32>>, col:usize) -> Vec<Vec<i32>> {
[INFO] [stdout]    |                                            ^^^ help: if this is intentional, prefix it with an underscore: `_col`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PlayerNumber` is never used
[INFO] [stdout]   --> src/main.rs:28:6
[INFO] [stdout]    |
[INFO] [stdout] 28 | enum PlayerNumber {
[INFO] [stdout]    |      ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `INFINITY` is never used
[INFO] [stdout]  --> src/player.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | const INFINITY: f64 = std::f64::INFINITY;
[INFO] [stdout]   |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NEG_INFINITY` is never used
[INFO] [stdout]  --> src/player.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const NEG_INFINITY: f64 = std::f64::NEG_INFINITY;
[INFO] [stdout]   |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Player` is never used
[INFO] [stdout]  --> src/player.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub enum Player {
[INFO] [stdout]   |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `make_move`, `eval_board`, and `simulate_move` are never used
[INFO] [stdout]   --> src/player.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Player { // using the minimax algorithm with alpha-beta pruning
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 17 |     fn make_move(&self) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     fn eval_board(board:Vec<Vec<i32>>) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     fn simulate_move(board: Vec<Vec<i32>>, col:usize) -> Vec<Vec<i32>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `board`
[INFO] [stdout]   --> src/player.rs:21:19
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn eval_board(board:Vec<Vec<i32>>) -> i32 {
[INFO] [stdout]    |                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_board`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `board`
[INFO] [stdout]   --> src/player.rs:25:22
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn simulate_move(board: Vec<Vec<i32>>, col:usize) -> Vec<Vec<i32>> {
[INFO] [stdout]    |                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_board`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `col`
[INFO] [stdout]   --> src/player.rs:25:44
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn simulate_move(board: Vec<Vec<i32>>, col:usize) -> Vec<Vec<i32>> {
[INFO] [stdout]    |                                            ^^^ help: if this is intentional, prefix it with an underscore: `_col`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PlayerNumber` is never used
[INFO] [stdout]   --> src/main.rs:28:6
[INFO] [stdout]    |
[INFO] [stdout] 28 | enum PlayerNumber {
[INFO] [stdout]    |      ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `INFINITY` is never used
[INFO] [stdout]  --> src/player.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | const INFINITY: f64 = std::f64::INFINITY;
[INFO] [stdout]   |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NEG_INFINITY` is never used
[INFO] [stdout]  --> src/player.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const NEG_INFINITY: f64 = std::f64::NEG_INFINITY;
[INFO] [stdout]   |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Player` is never used
[INFO] [stdout]  --> src/player.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub enum Player {
[INFO] [stdout]   |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `make_move`, `eval_board`, and `simulate_move` are never used
[INFO] [stdout]   --> src/player.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Player { // using the minimax algorithm with alpha-beta pruning
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 17 |     fn make_move(&self) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     fn eval_board(board:Vec<Vec<i32>>) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     fn simulate_move(board: Vec<Vec<i32>>, col:usize) -> Vec<Vec<i32>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.42s
[INFO] running `Command { std: "docker" "inspect" "247803a180aac4c61041d85ff952de0cff55d7f614c05e83a1f5a1a038e99df3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "247803a180aac4c61041d85ff952de0cff55d7f614c05e83a1f5a1a038e99df3", kill_on_drop: false }`
[INFO] [stdout] 247803a180aac4c61041d85ff952de0cff55d7f614c05e83a1f5a1a038e99df3
