[INFO] cloning repository https://github.com/ieiriyuki/my-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/ieiriyuki/my-rust-reversi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fieiriyuki%2Fmy-rust-reversi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fieiriyuki%2Fmy-rust-reversi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8cb601080df78b26dc586f1645d4830f5cb663b3 [INFO] building ieiriyuki/my-rust-reversi against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fieiriyuki%2Fmy-rust-reversi" "/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/ieiriyuki/my-rust-reversi on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ieiriyuki/my-rust-reversi [INFO] finished tweaking git repo https://github.com/ieiriyuki/my-rust-reversi [INFO] tweaked toml for git repo https://github.com/ieiriyuki/my-rust-reversi written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ieiriyuki/my-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 096b8cdc864c796fa51df34f0d55419319722faa91e25061d69b69fee119c1a4 [INFO] running `Command { std: "docker" "start" "-a" "096b8cdc864c796fa51df34f0d55419319722faa91e25061d69b69fee119c1a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "096b8cdc864c796fa51df34f0d55419319722faa91e25061d69b69fee119c1a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "096b8cdc864c796fa51df34f0d55419319722faa91e25061d69b69fee119c1a4", kill_on_drop: false }` [INFO] [stdout] 096b8cdc864c796fa51df34f0d55419319722faa91e25061d69b69fee119c1a4 [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 329df25927a2616a1aea07b58f579006507fc0742e52786ab60cb21fc662b727 [INFO] running `Command { std: "docker" "start" "-a" "329df25927a2616a1aea07b58f579006507fc0742e52786ab60cb21fc662b727", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling libc v0.2.37 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling either v1.4.0 [INFO] [stderr] Compiling smallvec v0.6.0 [INFO] [stderr] Compiling crossbeam-epoch v0.3.0 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling rayon v1.0.0 [INFO] [stderr] Compiling 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 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.91s [INFO] running `Command { std: "docker" "inspect" "329df25927a2616a1aea07b58f579006507fc0742e52786ab60cb21fc662b727", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "329df25927a2616a1aea07b58f579006507fc0742e52786ab60cb21fc662b727", kill_on_drop: false }` [INFO] [stdout] 329df25927a2616a1aea07b58f579006507fc0742e52786ab60cb21fc662b727 [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c1757a5a73163ce186282b362795a4266767c7b907c8ae9bbd5df48747e0cb1 [INFO] running `Command { std: "docker" "start" "-a" "9c1757a5a73163ce186282b362795a4266767c7b907c8ae9bbd5df48747e0cb1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling 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 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] running `Command { std: "docker" "inspect" "9c1757a5a73163ce186282b362795a4266767c7b907c8ae9bbd5df48747e0cb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c1757a5a73163ce186282b362795a4266767c7b907c8ae9bbd5df48747e0cb1", kill_on_drop: false }` [INFO] [stdout] 9c1757a5a73163ce186282b362795a4266767c7b907c8ae9bbd5df48747e0cb1