[INFO] cloning repository https://github.com/pommeJedusor/ultimate-tic-tac-toe-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pommeJedusor/ultimate-tic-tac-toe-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FpommeJedusor%2Fultimate-tic-tac-toe-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FpommeJedusor%2Fultimate-tic-tac-toe-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b43d0adaa71a260d48452d32d655d10c3d1e961f [INFO] checking pommeJedusor/ultimate-tic-tac-toe-bot against try#c86ec274072509d26d0ee52682a0c94ed012ed89 for pr-153027 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FpommeJedusor%2Fultimate-tic-tac-toe-bot" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pommeJedusor/ultimate-tic-tac-toe-bot [INFO] finished tweaking git repo https://github.com/pommeJedusor/ultimate-tic-tac-toe-bot [INFO] tweaked toml for git repo https://github.com/pommeJedusor/ultimate-tic-tac-toe-bot written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pommeJedusor/ultimate-tic-tac-toe-bot on toolchain c86ec274072509d26d0ee52682a0c94ed012ed89 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pommeJedusor/ultimate-tic-tac-toe-bot 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" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd35c122bfad7056955f4400e4c896734f2fa930453017737ff20354a10926a4 [INFO] running `Command { std: "docker" "start" "-a" "fd35c122bfad7056955f4400e4c896734f2fa930453017737ff20354a10926a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd35c122bfad7056955f4400e4c896734f2fa930453017737ff20354a10926a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd35c122bfad7056955f4400e4c896734f2fa930453017737ff20354a10926a4", kill_on_drop: false }` [INFO] [stdout] fd35c122bfad7056955f4400e4c896734f2fa930453017737ff20354a10926a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 996e28320e772910ce01d4eda335727423ac172e909fe7acfa2777a71e3b6116 [INFO] running `Command { std: "docker" "start" "-a" "996e28320e772910ce01d4eda335727423ac172e909fe7acfa2777a71e3b6116", kill_on_drop: false }` [INFO] [stderr] Checking tictactoe_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `FULL_BOARD` is never used [INFO] [stdout] --> src/main.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const FULL_BOARD: u16 = 0b111111111; [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 `IS_BOARD_WINNING` is never used [INFO] [stdout] --> src/main.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const IS_BOARD_WINNING: [bool; 512] = are_boards_winning(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCORE_BY_SQUARE` is never used [INFO] [stdout] --> src/main.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const SCORE_BY_SQUARE: [i32; 9] = [3, 2, 3, 2, 4, 2, 3, 2, 3]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `are_boards_winning` is never used [INFO] [stdout] --> src/main.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | const fn are_boards_winning() -> [bool; 512] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `players_big_board`, `finished_played_boards`, and `player_turn` are never read [INFO] [stdout] --> src/main.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 80 | struct Board { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 81 | players_mini_boards: [[u16; 9]; 2], [INFO] [stdout] 82 | players_big_board: [u16; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 83 | mini_board_can_play: u16, [INFO] [stdout] 84 | finished_played_boards: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 85 | player_turn: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_mini_board_winning`, `is_losing`, `play_move`, `cancel_move`, `eval`, and `minimax` are never used [INFO] [stdout] --> src/main.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 88 | impl Board { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | fn is_mini_board_winning(&self, board_index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | fn is_losing(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | fn play_move(&mut self, r#move: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | fn cancel_move(&mut self, r#move: u8, mini_board_can_play: u16) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | fn eval(&self, scores_by_position: &[i32; 262144]) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | fn minimax( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `move_u16_to_row_col` is never used [INFO] [stdout] --> src/main.rs:234:4 [INFO] [stdout] | [INFO] [stdout] 234 | fn move_u16_to_row_col(r#move: u8) -> (u8, u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `row_col_move_to_u16` is never used [INFO] [stdout] --> src/main.rs:242:4 [INFO] [stdout] | [INFO] [stdout] 242 | fn row_col_move_to_u16(row: u8, col: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FULL_BOARD` is never used [INFO] [stdout] --> src/main.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const FULL_BOARD: u16 = 0b111111111; [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 `IS_BOARD_WINNING` is never used [INFO] [stdout] --> src/main.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const IS_BOARD_WINNING: [bool; 512] = are_boards_winning(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCORE_BY_SQUARE` is never used [INFO] [stdout] --> src/main.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const SCORE_BY_SQUARE: [i32; 9] = [3, 2, 3, 2, 4, 2, 3, 2, 3]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `are_boards_winning` is never used [INFO] [stdout] --> src/main.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | const fn are_boards_winning() -> [bool; 512] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `players_big_board`, `finished_played_boards`, and `player_turn` are never read [INFO] [stdout] --> src/main.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 80 | struct Board { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 81 | players_mini_boards: [[u16; 9]; 2], [INFO] [stdout] 82 | players_big_board: [u16; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 83 | mini_board_can_play: u16, [INFO] [stdout] 84 | finished_played_boards: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 85 | player_turn: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_mini_board_winning`, `is_losing`, `play_move`, `cancel_move`, `eval`, and `minimax` are never used [INFO] [stdout] --> src/main.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 88 | impl Board { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | fn is_mini_board_winning(&self, board_index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | fn is_losing(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | fn play_move(&mut self, r#move: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | fn cancel_move(&mut self, r#move: u8, mini_board_can_play: u16) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | fn eval(&self, scores_by_position: &[i32; 262144]) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | fn minimax( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `move_u16_to_row_col` is never used [INFO] [stdout] --> src/main.rs:234:4 [INFO] [stdout] | [INFO] [stdout] 234 | fn move_u16_to_row_col(r#move: u8) -> (u8, u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `row_col_move_to_u16` is never used [INFO] [stdout] --> src/main.rs:242:4 [INFO] [stdout] | [INFO] [stdout] 242 | fn row_col_move_to_u16(row: u8, col: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] running `Command { std: "docker" "inspect" "996e28320e772910ce01d4eda335727423ac172e909fe7acfa2777a71e3b6116", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "996e28320e772910ce01d4eda335727423ac172e909fe7acfa2777a71e3b6116", kill_on_drop: false }` [INFO] [stdout] 996e28320e772910ce01d4eda335727423ac172e909fe7acfa2777a71e3b6116