[INFO] cloning repository https://github.com/byusti/tictactoe-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/byusti/tictactoe-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbyusti%2Ftictactoe-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbyusti%2Ftictactoe-rs'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/post-update.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbyusti%2Ftictactoe-rs/hooks/post-update.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/byusti/tictactoe-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/byusti/tictactoe-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbyusti%2Ftictactoe-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbyusti%2Ftictactoe-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9de332a56e01b7eee8e675cd1b7432e860bd6ef1 [INFO] checking byusti/tictactoe-rs against master#249cb84316401daf040832cdbb8a45e0f5ab6af8 for pr-138438 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbyusti%2Ftictactoe-rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/byusti/tictactoe-rs on toolchain 249cb84316401daf040832cdbb8a45e0f5ab6af8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+249cb84316401daf040832cdbb8a45e0f5ab6af8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/byusti/tictactoe-rs [INFO] finished tweaking git repo https://github.com/byusti/tictactoe-rs [INFO] tweaked toml for git repo https://github.com/byusti/tictactoe-rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/byusti/tictactoe-rs 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" "+249cb84316401daf040832cdbb8a45e0f5ab6af8" "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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+249cb84316401daf040832cdbb8a45e0f5ab6af8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ea4b0f338d2f8e90253094aaa04dbe0d00e1a3cf63bbe76ecb358bdf0a9f771 [INFO] running `Command { std: "docker" "start" "-a" "5ea4b0f338d2f8e90253094aaa04dbe0d00e1a3cf63bbe76ecb358bdf0a9f771", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ea4b0f338d2f8e90253094aaa04dbe0d00e1a3cf63bbe76ecb358bdf0a9f771", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ea4b0f338d2f8e90253094aaa04dbe0d00e1a3cf63bbe76ecb358bdf0a9f771", kill_on_drop: false }` [INFO] [stdout] 5ea4b0f338d2f8e90253094aaa04dbe0d00e1a3cf63bbe76ecb358bdf0a9f771 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+249cb84316401daf040832cdbb8a45e0f5ab6af8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1699ca12919c54cae70bef3d51ff4ba9ae2e89bd489df784e27692e3ebb89a91 [INFO] running `Command { std: "docker" "start" "-a" "1699ca12919c54cae70bef3d51ff4ba9ae2e89bd489df784e27692e3ebb89a91", kill_on_drop: false }` [INFO] [stderr] Checking tictactoe-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `from_bitboard` is never used [INFO] [stdout] --> src/main.rs:235:8 [INFO] [stdout] | [INFO] [stdout] 205 | impl Move { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 235 | fn from_bitboard(bitboard: Bitboard) -> Move { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Player` is never used [INFO] [stdout] --> src/main.rs:259:6 [INFO] [stdout] | [INFO] [stdout] 259 | enum Player { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GameState` is never constructed [INFO] [stdout] --> src/main.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct GameState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NUMBER_OF_POSITIONS` is never used [INFO] [stdout] --> src/main.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const NUMBER_OF_POSITIONS: u8 = 9; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LAST_BIT_CHECKER` is never used [INFO] [stdout] --> src/main.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const LAST_BIT_CHECKER: Bitboard = 0b000000001; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `all_legal_moves`, `unmake_move`, and `make_move` are never used [INFO] [stdout] --> src/main.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl GameState { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 21 | fn all_legal_moves(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn unmake_move(&self) -> GameState { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn make_move(&self, move_: Move) -> GameState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `detect_full_board_condition` is never used [INFO] [stdout] --> src/main.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | fn detect_full_board_condition(bitboard: Bitboard) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WIN_CONDITION_1` is never used [INFO] [stdout] --> src/main.rs:146:7 [INFO] [stdout] | [INFO] [stdout] 146 | const WIN_CONDITION_1: Bitboard = 0b111000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WIN_CONDITION_2` is never used [INFO] [stdout] --> src/main.rs:147:7 [INFO] [stdout] | [INFO] [stdout] 147 | const WIN_CONDITION_2: Bitboard = 0b000111000; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WIN_CONDITION_3` is never used [INFO] [stdout] --> src/main.rs:148:7 [INFO] [stdout] | [INFO] [stdout] 148 | const WIN_CONDITION_3: Bitboard = 0b000000111; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WIN_CONDITION_4` is never used [INFO] [stdout] --> src/main.rs:149:7 [INFO] [stdout] | [INFO] [stdout] 149 | const WIN_CONDITION_4: Bitboard = 0b100100100; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WIN_CONDITION_5` is never used [INFO] [stdout] --> src/main.rs:150:7 [INFO] [stdout] | [INFO] [stdout] 150 | const WIN_CONDITION_5: Bitboard = 0b010010010; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WIN_CONDITION_6` is never used [INFO] [stdout] --> src/main.rs:151:7 [INFO] [stdout] | [INFO] [stdout] 151 | const WIN_CONDITION_6: Bitboard = 0b001001001; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WIN_CONDITION_7` is never used [INFO] [stdout] --> src/main.rs:152:7 [INFO] [stdout] | [INFO] [stdout] 152 | const WIN_CONDITION_7: Bitboard = 0b100010001; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WIN_CONDITION_8` is never used [INFO] [stdout] --> src/main.rs:153:7 [INFO] [stdout] | [INFO] [stdout] 153 | const WIN_CONDITION_8: Bitboard = 0b001010100; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `detect_win_condition` is never used [INFO] [stdout] --> src/main.rs:155:4 [INFO] [stdout] | [INFO] [stdout] 155 | fn detect_win_condition(bitboard: Bitboard) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Move` is never used [INFO] [stdout] --> src/main.rs:193:6 [INFO] [stdout] | [INFO] [stdout] 193 | enum Move { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_int`, `to_bitboard`, and `from_bitboard` are never used [INFO] [stdout] --> src/main.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 205 | impl Move { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 206 | fn from_int(int: u8) -> Move { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | fn to_bitboard(&self) -> Bitboard { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | fn from_bitboard(bitboard: Bitboard) -> Move { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Turn` is never used [INFO] [stdout] --> src/main.rs:252:6 [INFO] [stdout] | [INFO] [stdout] 252 | enum Turn { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Bitboard` is never used [INFO] [stdout] --> src/main.rs:257:6 [INFO] [stdout] | [INFO] [stdout] 257 | type Bitboard = u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Player` is never used [INFO] [stdout] --> src/main.rs:259:6 [INFO] [stdout] | [INFO] [stdout] 259 | enum Player { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GameStatus` is never used [INFO] [stdout] --> src/main.rs:265:6 [INFO] [stdout] | [INFO] [stdout] 265 | enum GameStatus { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] running `Command { std: "docker" "inspect" "1699ca12919c54cae70bef3d51ff4ba9ae2e89bd489df784e27692e3ebb89a91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1699ca12919c54cae70bef3d51ff4ba9ae2e89bd489df784e27692e3ebb89a91", kill_on_drop: false }` [INFO] [stdout] 1699ca12919c54cae70bef3d51ff4ba9ae2e89bd489df784e27692e3ebb89a91