[INFO] cloning repository https://github.com/KOBA789/rust-reversi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KOBA789/rust-reversi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKOBA789%2Frust-reversi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKOBA789%2Frust-reversi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8cb601080df78b26dc586f1645d4830f5cb663b3 [INFO] checking KOBA789/rust-reversi/8cb601080df78b26dc586f1645d4830f5cb663b3 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKOBA789%2Frust-reversi" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KOBA789/rust-reversi on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KOBA789/rust-reversi [INFO] finished tweaking git repo https://github.com/KOBA789/rust-reversi [INFO] tweaked toml for git repo https://github.com/KOBA789/rust-reversi written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/KOBA789/rust-reversi 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand v0.4.2 [INFO] [stderr] Downloaded either v1.4.0 [INFO] [stderr] Downloaded smallvec v0.6.0 [INFO] [stderr] Downloaded lazy_static v1.0.0 [INFO] [stderr] Downloaded crossbeam-epoch v0.3.0 [INFO] [stderr] Downloaded rayon-core v1.4.0 [INFO] [stderr] Downloaded rayon v1.0.0 [INFO] [stderr] Downloaded libc v0.2.37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 885808a8c1f86ba9f3d2f4c64e75306977788e3cd0275ed54e2edfba165ec93a [INFO] running `Command { std: "docker" "start" "-a" "885808a8c1f86ba9f3d2f4c64e75306977788e3cd0275ed54e2edfba165ec93a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "885808a8c1f86ba9f3d2f4c64e75306977788e3cd0275ed54e2edfba165ec93a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "885808a8c1f86ba9f3d2f4c64e75306977788e3cd0275ed54e2edfba165ec93a", kill_on_drop: false }` [INFO] [stdout] 885808a8c1f86ba9f3d2f4c64e75306977788e3cd0275ed54e2edfba165ec93a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53de2f649d9a76fad909c8510831d0bc09ac13756c4fad3f57ba1d017f01881d [INFO] running `Command { std: "docker" "start" "-a" "53de2f649d9a76fad909c8510831d0bc09ac13756c4fad3f57ba1d017f01881d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking libc v0.2.37 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking either v1.4.0 [INFO] [stderr] Checking smallvec v0.6.0 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking crossbeam-epoch v0.3.0 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking rayon v1.0.0 [INFO] [stderr] Checking reversi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self::dumb::DumbPlayer` [INFO] [stdout] --> src/players/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use self::dumb::DumbPlayer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::negamax::NegaMaxPlayer` [INFO] [stdout] --> src/players/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use self::negamax::NegaMaxPlayer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::dumb::DumbPlayer` [INFO] [stdout] --> src/players/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use self::dumb::DumbPlayer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::negamax::NegaMaxPlayer` [INFO] [stdout] --> src/players/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use self::negamax::NegaMaxPlayer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/coord.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | fn add(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/coord.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | fn add_assign(&mut self, rhs: Self) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/board.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | fn index(&self, index: Coord) -> &Self::Output { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/board.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 59 | fn index_mut(&mut self, index: Coord) -> &mut Self::Output { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `piece` [INFO] [stdout] --> src/board.rs:153:24 [INFO] [stdout] | [INFO] [stdout] 153 | fn get_flip(&self, piece: Piece, mut pos: Coord, dir: Coord) -> u8 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/board.rs:153:42 [INFO] [stdout] | [INFO] [stdout] 153 | fn get_flip(&self, piece: Piece, mut pos: Coord, dir: Coord) -> u8 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/board.rs:153:54 [INFO] [stdout] | [INFO] [stdout] 153 | fn get_flip(&self, piece: Piece, mut pos: Coord, dir: Coord) -> u8 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/board.rs:153:38 [INFO] [stdout] | [INFO] [stdout] 153 | fn get_flip(&self, piece: Piece, mut pos: Coord, dir: Coord) -> u8 { [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: unused variable: `piece` [INFO] [stdout] --> src/board.rs:160:24 [INFO] [stdout] | [INFO] [stdout] 160 | fn get_move(&self, piece: Piece, pos: Coord) -> Move { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/board.rs:160:38 [INFO] [stdout] | [INFO] [stdout] 160 | fn get_move(&self, piece: Piece, pos: Coord) -> Move { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `piece` [INFO] [stdout] --> src/board.rs:167:25 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn moves(&self, piece: Piece) -> Moves { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `piece` [INFO] [stdout] --> src/board.rs:172:29 [INFO] [stdout] | [INFO] [stdout] 172 | fn count_mut(&mut self, piece: Piece) -> &mut u8 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `piece` [INFO] [stdout] --> src/board.rs:184:27 [INFO] [stdout] | [INFO] [stdout] 184 | fn do_flip(&mut self, piece: Piece, mut pos: Coord, dir: Coord, flip: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/board.rs:184:45 [INFO] [stdout] | [INFO] [stdout] 184 | fn do_flip(&mut self, piece: Piece, mut pos: Coord, dir: Coord, flip: u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/board.rs:184:57 [INFO] [stdout] | [INFO] [stdout] 184 | fn do_flip(&mut self, piece: Piece, mut pos: Coord, dir: Coord, flip: u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flip` [INFO] [stdout] --> src/board.rs:184:69 [INFO] [stdout] | [INFO] [stdout] 184 | fn do_flip(&mut self, piece: Piece, mut pos: Coord, dir: Coord, flip: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_flip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/board.rs:184:41 [INFO] [stdout] | [INFO] [stdout] 184 | fn do_flip(&mut self, piece: Piece, mut pos: Coord, dir: Coord, flip: u8) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `piece` [INFO] [stdout] --> src/board.rs:189:31 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn do_move(&mut self, piece: Piece, mov: &Move) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mov` [INFO] [stdout] --> src/board.rs:189:45 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn do_move(&mut self, piece: Piece, mov: &Move) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mov` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_in_range` and `size` are never used [INFO] [stdout] --> src/board.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Matrix { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn is_in_range(&self, pos: Coord) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ZERO_FLIP` is never used [INFO] [stdout] --> src/board.rs:85:7 [INFO] [stdout] | [INFO] [stdout] 85 | const ZERO_FLIP: [u8; 8] = [0, 0, 0, 0, 0, 0, 0, 0]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_legal` is never used [INFO] [stdout] --> src/board.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 99 | impl Move { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 100 | /// その手が合法=1以上の石をひっくり返せるかどうかを返す [INFO] [stdout] 101 | pub fn is_legal(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIRECTIONS` is never used [INFO] [stdout] --> src/board.rs:120:7 [INFO] [stdout] | [INFO] [stdout] 120 | const DIRECTIONS: [Coord; 8] = [ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_flip`, `get_move`, `count_mut`, and `do_flip` are never used [INFO] [stdout] --> src/board.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 139 | impl Board { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 153 | fn get_flip(&self, piece: Piece, mut pos: Coord, dir: Coord) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | fn get_move(&self, piece: Piece, pos: Coord) -> Move { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | fn count_mut(&mut self, piece: Piece) -> &mut u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | fn do_flip(&mut self, piece: Piece, mut pos: Coord, dir: Coord, flip: u8) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/players/negamax.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl NegaMaxPlayer { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 10 | pub fn new(depth: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/coord.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | fn add(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/coord.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | fn add_assign(&mut self, rhs: Self) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/board.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | fn index(&self, index: Coord) -> &Self::Output { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/board.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 59 | fn index_mut(&mut self, index: Coord) -> &mut Self::Output { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `piece` [INFO] [stdout] --> src/board.rs:153:24 [INFO] [stdout] | [INFO] [stdout] 153 | fn get_flip(&self, piece: Piece, mut pos: Coord, dir: Coord) -> u8 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/board.rs:153:42 [INFO] [stdout] | [INFO] [stdout] 153 | fn get_flip(&self, piece: Piece, mut pos: Coord, dir: Coord) -> u8 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/board.rs:153:54 [INFO] [stdout] | [INFO] [stdout] 153 | fn get_flip(&self, piece: Piece, mut pos: Coord, dir: Coord) -> u8 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/board.rs:153:38 [INFO] [stdout] | [INFO] [stdout] 153 | fn get_flip(&self, piece: Piece, mut pos: Coord, dir: Coord) -> u8 { [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: unused variable: `piece` [INFO] [stdout] --> src/board.rs:160:24 [INFO] [stdout] | [INFO] [stdout] 160 | fn get_move(&self, piece: Piece, pos: Coord) -> Move { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/board.rs:160:38 [INFO] [stdout] | [INFO] [stdout] 160 | fn get_move(&self, piece: Piece, pos: Coord) -> Move { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `piece` [INFO] [stdout] --> src/board.rs:167:25 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn moves(&self, piece: Piece) -> Moves { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `piece` [INFO] [stdout] --> src/board.rs:172:29 [INFO] [stdout] | [INFO] [stdout] 172 | fn count_mut(&mut self, piece: Piece) -> &mut u8 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `piece` [INFO] [stdout] --> src/board.rs:184:27 [INFO] [stdout] | [INFO] [stdout] 184 | fn do_flip(&mut self, piece: Piece, mut pos: Coord, dir: Coord, flip: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/board.rs:184:45 [INFO] [stdout] | [INFO] [stdout] 184 | fn do_flip(&mut self, piece: Piece, mut pos: Coord, dir: Coord, flip: u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/board.rs:184:57 [INFO] [stdout] | [INFO] [stdout] 184 | fn do_flip(&mut self, piece: Piece, mut pos: Coord, dir: Coord, flip: u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flip` [INFO] [stdout] --> src/board.rs:184:69 [INFO] [stdout] | [INFO] [stdout] 184 | fn do_flip(&mut self, piece: Piece, mut pos: Coord, dir: Coord, flip: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_flip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/board.rs:184:41 [INFO] [stdout] | [INFO] [stdout] 184 | fn do_flip(&mut self, piece: Piece, mut pos: Coord, dir: Coord, flip: u8) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `piece` [INFO] [stdout] --> src/board.rs:189:31 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn do_move(&mut self, piece: Piece, mov: &Move) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mov` [INFO] [stdout] --> src/board.rs:189:45 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn do_move(&mut self, piece: Piece, mov: &Move) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mov` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIRECTIONS` is never used [INFO] [stdout] --> src/board.rs:120:7 [INFO] [stdout] | [INFO] [stdout] 120 | const DIRECTIONS: [Coord; 8] = [ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/players/negamax.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl NegaMaxPlayer { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 10 | pub fn new(depth: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.99s [INFO] running `Command { std: "docker" "inspect" "53de2f649d9a76fad909c8510831d0bc09ac13756c4fad3f57ba1d017f01881d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53de2f649d9a76fad909c8510831d0bc09ac13756c4fad3f57ba1d017f01881d", kill_on_drop: false }` [INFO] [stdout] 53de2f649d9a76fad909c8510831d0bc09ac13756c4fad3f57ba1d017f01881d