[INFO] cloning repository https://github.com/NougatRillettes/FourInARust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NougatRillettes/FourInARust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNougatRillettes%2FFourInARust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNougatRillettes%2FFourInARust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6748701ea3c1022bc70e459bfcf2f641433154af [INFO] building NougatRillettes/FourInARust against master#d59f06fc64844ec2073e5e888f7470989ef25ff9 for pr-119440 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNougatRillettes%2FFourInARust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/NougatRillettes/FourInARust on toolchain d59f06fc64844ec2073e5e888f7470989ef25ff9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/NougatRillettes/FourInARust [INFO] finished tweaking git repo https://github.com/NougatRillettes/FourInARust [INFO] tweaked toml for git repo https://github.com/NougatRillettes/FourInARust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/NougatRillettes/FourInARust 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" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] building NougatRillettes/FourInARust against try#fe8f664b41f030f307cfeb6cb8c3a1419292aeed for pr-119440 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNougatRillettes%2FFourInARust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/NougatRillettes/FourInARust on toolchain fe8f664b41f030f307cfeb6cb8c3a1419292aeed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/NougatRillettes/FourInARust [INFO] finished tweaking git repo https://github.com/NougatRillettes/FourInARust [INFO] tweaked toml for git repo https://github.com/NougatRillettes/FourInARust written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/NougatRillettes/FourInARust 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" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 769f59f537554bcd756b0f47ac38f17fe3ce75343c3449e6baf78e6dc3c6663b [INFO] running `Command { std: "docker" "start" "-a" "769f59f537554bcd756b0f47ac38f17fe3ce75343c3449e6baf78e6dc3c6663b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "769f59f537554bcd756b0f47ac38f17fe3ce75343c3449e6baf78e6dc3c6663b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "769f59f537554bcd756b0f47ac38f17fe3ce75343c3449e6baf78e6dc3c6663b", kill_on_drop: false }` [INFO] [stdout] 769f59f537554bcd756b0f47ac38f17fe3ce75343c3449e6baf78e6dc3c6663b [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 384ccf491ded520cfc26d0b215c9167fd7f2088b62233a9fcda74cbabb8767e3 [INFO] running `Command { std: "docker" "start" "-a" "384ccf491ded520cfc26d0b215c9167fd7f2088b62233a9fcda74cbabb8767e3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling array-init v2.0.0 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling ahash v0.7.2 [INFO] [stderr] Compiling four_in_a_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `bv::BitVec` [INFO] [stdout] --> src/board.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bv::BitVec; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::BufRead` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use io::BufRead; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ai.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | mut beta: Score, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PLAYER_COLOR` is never used [INFO] [stdout] --> src/ai.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const PLAYER_COLOR: NonEmptySqrState = NonEmptySqrState::Red; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Red` and `Yellow` are never constructed [INFO] [stdout] --> src/board.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum NonEmptySqrState { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 8 | Red, [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | Yellow, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NonEmptySqrState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `other` is never used [INFO] [stdout] --> src/board.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl NonEmptySqrState { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn other(self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NonEmpty` is never constructed [INFO] [stdout] --> src/board.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub enum SqrState { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 36 | Empty, [INFO] [stdout] 37 | NonEmpty(NonEmptySqrState), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SqrState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/board.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl SqrState { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn is_empty(self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ColumnFull` is never constructed [INFO] [stdout] --> src/board.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | enum ColumnError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 68 | ColumnFull, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ColumnError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `is_full`, `len`, `try_push`, and `get_mut` are never used [INFO] [stdout] --> src/board.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 87 | impl Column { [INFO] [stdout] | ------------------------------------ associated items in this implementation [INFO] [stdout] 88 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn is_full(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn len(&self) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | fn try_push(&mut self, x: NonEmptySqrState) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn get_mut(&mut self, i: usize) -> Option<&mut SqrState> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ColumnFull` is never constructed [INFO] [stdout] --> src/board.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 124 | pub enum BoardError { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 133 | ColumnFull { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BoardError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/board.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 177 | impl Board { [INFO] [stdout] | ------------------------------------------------------------ associated items in this implementation [INFO] [stdout] 178 | /// Creates a new board [INFO] [stdout] 179 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn col_is_full(&self, coli: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | fn get_col_mut(&mut self, coli: usize) -> BoardResult<&mut Column> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | fn get_cell_mut(&mut self, coli: usize, rowi: usize) -> BoardResult<&mut SqrState> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn try_add_to_col( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn add_to_col(&mut self, coli: usize, color: NonEmptySqrState) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | pub fn try_win_at(&self, col_i: usize, row_i: usize) -> BoardResult<(SqrState, bool)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | pub fn try_add_and_check(&mut self, coli: usize, color: NonEmptySqrState) -> BoardResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | pub fn columns(&self) -> &[Column; COLS] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 288 | pub fn to_packed_repr(&self) -> u128 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/packedboard.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl SqrState { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn is_empty(self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALL_ROW_IDXS` is never used [INFO] [stdout] --> src/packedboard.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 75 | pub const ALL_ROW_IDXS : [ColIdx; NROW as usize] = [ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RowIndexOutOfBounds` is never constructed [INFO] [stdout] --> src/packedboard.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub enum BoardError { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 91 | RowIndexOutOfBounds { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BoardError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `check_row_idx` and `col_is_full` are never used [INFO] [stdout] --> src/packedboard.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 187 | impl Board { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn check_row_idx(idx: u8) -> BoardResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn col_is_full(&self, coli: ColIdx) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.12s [INFO] running `Command { std: "docker" "inspect" "384ccf491ded520cfc26d0b215c9167fd7f2088b62233a9fcda74cbabb8767e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "384ccf491ded520cfc26d0b215c9167fd7f2088b62233a9fcda74cbabb8767e3", kill_on_drop: false }` [INFO] [stdout] 384ccf491ded520cfc26d0b215c9167fd7f2088b62233a9fcda74cbabb8767e3 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 626c4ba3bda1a065d94538eb4f3f9759ba0468f235d88c03c20ddb5290ec45fa [INFO] running `Command { std: "docker" "start" "-a" "626c4ba3bda1a065d94538eb4f3f9759ba0468f235d88c03c20ddb5290ec45fa", kill_on_drop: false }` [INFO] [stderr] Compiling four_in_a_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `bv::BitVec` [INFO] [stdout] --> src/board.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bv::BitVec; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::BufRead` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use io::BufRead; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ai.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | mut beta: Score, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PLAYER_COLOR` is never used [INFO] [stdout] --> src/ai.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const PLAYER_COLOR: NonEmptySqrState = NonEmptySqrState::Red; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `other` is never used [INFO] [stdout] --> src/board.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl NonEmptySqrState { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn other(self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/board.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl SqrState { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn is_empty(self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len` and `get_mut` are never used [INFO] [stdout] --> src/board.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 87 | impl Column { [INFO] [stdout] | ------------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn len(&self) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn get_mut(&mut self, i: usize) -> Option<&mut SqrState> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_cell_mut`, `try_win_at`, `try_add_and_check`, `columns`, and `to_packed_repr` are never used [INFO] [stdout] --> src/board.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 177 | impl Board { [INFO] [stdout] | ------------------------------------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 217 | fn get_cell_mut(&mut self, coli: usize, rowi: usize) -> BoardResult<&mut SqrState> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | pub fn try_win_at(&self, col_i: usize, row_i: usize) -> BoardResult<(SqrState, bool)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | pub fn try_add_and_check(&mut self, coli: usize, color: NonEmptySqrState) -> BoardResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | pub fn columns(&self) -> &[Column; COLS] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 288 | pub fn to_packed_repr(&self) -> u128 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/packedboard.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl SqrState { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn is_empty(self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALL_ROW_IDXS` is never used [INFO] [stdout] --> src/packedboard.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 75 | pub const ALL_ROW_IDXS : [ColIdx; NROW as usize] = [ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RowIndexOutOfBounds` is never constructed [INFO] [stdout] --> src/packedboard.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub enum BoardError { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 91 | RowIndexOutOfBounds { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BoardError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `check_row_idx` and `col_is_full` are never used [INFO] [stdout] --> src/packedboard.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 187 | impl Board { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn check_row_idx(idx: u8) -> BoardResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn col_is_full(&self, coli: ColIdx) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.67s [INFO] running `Command { std: "docker" "inspect" "626c4ba3bda1a065d94538eb4f3f9759ba0468f235d88c03c20ddb5290ec45fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "626c4ba3bda1a065d94538eb4f3f9759ba0468f235d88c03c20ddb5290ec45fa", kill_on_drop: false }` [INFO] [stdout] 626c4ba3bda1a065d94538eb4f3f9759ba0468f235d88c03c20ddb5290ec45fa