[INFO] cloning repository https://github.com/0Hal0/rust-bg-ai
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0Hal0/rust-bg-ai" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0Hal0%2Frust-bg-ai", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0Hal0%2Frust-bg-ai'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e51a56d1297e56835ddbf16b18d3255b3a71f229
[INFO] checking 0Hal0/rust-bg-ai against try#0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9 for pr-147185
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0Hal0%2Frust-bg-ai" "/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/0Hal0/rust-bg-ai
[INFO] finished tweaking git repo https://github.com/0Hal0/rust-bg-ai
[INFO] tweaked toml for git repo https://github.com/0Hal0/rust-bg-ai written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/0Hal0/rust-bg-ai on toolchain 0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/0Hal0/rust-bg-ai 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" "+0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9" "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-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c2f24aac60cebbc4f8176930c03e9a11e0e25efc5babaedac3c2a4e8d225dadf
[INFO] running `Command { std: "docker" "start" "-a" "c2f24aac60cebbc4f8176930c03e9a11e0e25efc5babaedac3c2a4e8d225dadf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c2f24aac60cebbc4f8176930c03e9a11e0e25efc5babaedac3c2a4e8d225dadf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c2f24aac60cebbc4f8176930c03e9a11e0e25efc5babaedac3c2a4e8d225dadf", kill_on_drop: false }`
[INFO] [stdout] c2f24aac60cebbc4f8176930c03e9a11e0e25efc5babaedac3c2a4e8d225dadf
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fc1175fda97434a538f8c22d387bcec014e040e64f206467c3b772497ec05543
[INFO] running `Command { std: "docker" "start" "-a" "fc1175fda97434a538f8c22d387bcec014e040e64f206467c3b772497ec05543", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling zerocopy v0.8.24
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.0
[INFO] [stderr]     Checking rust-bg-ai v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found keyword `self`
[INFO] [stdout]    --> src/game/backgammon.rs:108:43
[INFO] [stdout]     |
[INFO] [stdout] 108 |         self.board[sequence[0][0]].push() self.board[sequence[0][0]].pop();
[INFO] [stdout]     |                                           ^^^^ expected one of `.`, `;`, `?`, `}`, or an operator
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found keyword `self`
[INFO] [stdout]    --> src/game/backgammon.rs:108:43
[INFO] [stdout]     |
[INFO] [stdout] 108 |         self.board[sequence[0][0]].push() self.board[sequence[0][0]].pop();
[INFO] [stdout]     |                                           ^^^^ expected one of `.`, `;`, `?`, `}`, or an operator
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  9 |     return;
[INFO] [stdout]    |     ------ any code following this expression is unreachable
[INFO] [stdout] 10 |     let mut game_state = backgammon::GameState::new();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  9 |     return;
[INFO] [stdout]    |     ------ any code following this expression is unreachable
[INFO] [stdout] 10 |     let mut game_state = backgammon::GameState::new();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/game/backgammon.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |         for i in 0..6{
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/game/backgammon.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |         for i in 0..3{
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/game/backgammon.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |         for i in 0..6{
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/game/backgammon.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |         for i in 0..3{
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/game/backgammon.rs:188:13
[INFO] [stdout]     |
[INFO] [stdout] 188 |         for i in 1..25{
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/game/backgammon.rs:166:74
[INFO] [stdout]     |
[INFO] [stdout] 166 |     pub fn get_possible_moves_reccursive(&self, mut dice_roll : Vec<i8>, mut moves : &Vec<[Option<[usize; 2]>; 4]>, turns: [[usize; 2]; 4...
[INFO] [stdout]     |                                                                          ----^^^^^
[INFO] [stdout]     |                                                                          |
[INFO] [stdout]     |                                                                          help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `*self` as mutable, as it is behind a `&` reference
[INFO] [stdout]    --> src/game/backgammon.rs:178:17
[INFO] [stdout]     |
[INFO] [stdout] 178 |                 self.apply_turn(turn);
[INFO] [stdout]     |                 ^^^^ `self` is a `&` reference, so the data it refers to cannot be borrowed as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be a mutable reference
[INFO] [stdout]     |
[INFO] [stdout] 166 |     pub fn get_possible_moves_reccursive(&mut self, mut dice_roll : Vec<i8>, mut moves : &Vec<[Option<[usize; 2]>; 4]>, turns: [[usize; 2]; 4], turn_index: usize) {
[INFO] [stdout]     |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/game/backgammon.rs:188:13
[INFO] [stdout]     |
[INFO] [stdout] 188 |         for i in 1..25{
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/game/backgammon.rs:166:74
[INFO] [stdout]     |
[INFO] [stdout] 166 |     pub fn get_possible_moves_reccursive(&self, mut dice_roll : Vec<i8>, mut moves : &Vec<[Option<[usize; 2]>; 4]>, turns: [[usize; 2]; 4...
[INFO] [stdout]     |                                                                          ----^^^^^
[INFO] [stdout]     |                                                                          |
[INFO] [stdout]     |                                                                          help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `*self` as mutable, as it is behind a `&` reference
[INFO] [stdout]    --> src/game/backgammon.rs:178:17
[INFO] [stdout]     |
[INFO] [stdout] 178 |                 self.apply_turn(turn);
[INFO] [stdout]     |                 ^^^^ `self` is a `&` reference, so the data it refers to cannot be borrowed as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be a mutable reference
[INFO] [stdout]     |
[INFO] [stdout] 166 |     pub fn get_possible_moves_reccursive(&mut self, mut dice_roll : Vec<i8>, mut moves : &Vec<[Option<[usize; 2]>; 4]>, turns: [[usize; 2]; 4], turn_index: usize) {
[INFO] [stdout]     |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let mut moves = game_state.get_possible_moves(dice_roll);
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let mut moves = game_state.get_possible_moves(dice_roll);
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0596`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0596`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-bg-ai` (bin "rust-bg-ai") due to 2 previous errors; 6 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rust-bg-ai` (bin "rust-bg-ai" test) due to 2 previous errors; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "fc1175fda97434a538f8c22d387bcec014e040e64f206467c3b772497ec05543", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fc1175fda97434a538f8c22d387bcec014e040e64f206467c3b772497ec05543", kill_on_drop: false }`
[INFO] [stdout] fc1175fda97434a538f8c22d387bcec014e040e64f206467c3b772497ec05543
