[INFO] cloning repository https://github.com/robinsonj/ruke-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/robinsonj/ruke-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobinsonj%2Fruke-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobinsonj%2Fruke-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4f70a38ae77b279d01fc9ed023a365abe0e7f619 [INFO] checking robinsonj/ruke-cli against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobinsonj%2Fruke-cli" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/robinsonj/ruke-cli on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/robinsonj/ruke-cli [INFO] finished tweaking git repo https://github.com/robinsonj/ruke-cli [INFO] tweaked toml for git repo https://github.com/robinsonj/ruke-cli written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/robinsonj/ruke-cli already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bde79fb5edb486517b7f7cbbfef275433ebffbdbe78387433207c687d5b8c76c [INFO] running `Command { std: "docker" "start" "-a" "bde79fb5edb486517b7f7cbbfef275433ebffbdbe78387433207c687d5b8c76c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bde79fb5edb486517b7f7cbbfef275433ebffbdbe78387433207c687d5b8c76c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bde79fb5edb486517b7f7cbbfef275433ebffbdbe78387433207c687d5b8c76c", kill_on_drop: false }` [INFO] [stdout] bde79fb5edb486517b7f7cbbfef275433ebffbdbe78387433207c687d5b8c76c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e4270bd397524cb141ff03137eb3ac9037edca08b28dbc5592be57c68419a953 [INFO] running `Command { std: "docker" "start" "-a" "e4270bd397524cb141ff03137eb3ac9037edca08b28dbc5592be57c68419a953", kill_on_drop: false }` [INFO] [stderr] Checking serde v1.0.8 [INFO] [stderr] Checking libc v0.2.23 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Compiling serde_derive_internals v0.15.1 [INFO] [stderr] Compiling serde_derive v1.0.8 [INFO] [stderr] Checking toml v0.4.1 [INFO] [stderr] Checking ruke v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `FULL` [INFO] [stdout] --> src/duke/board.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use bitboard::{BitBoard, EMPTY, FULL}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FULL` [INFO] [stdout] --> src/duke/board.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use bitboard::{BitBoard, EMPTY, FULL}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BitBoard` [INFO] [stdout] --> src/duke/board.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | use bitboard::{BitBoard, EMPTY}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Board` [INFO] [stdout] --> src/duke/player/ai_random.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | use duke::board::{Board}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pink_duke` [INFO] [stdout] --> src/duke/mod.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | let pink_duke: Option = self.pink.as_ref().unwrap().setup_duke(&(self.board)); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pink_duke` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `square` [INFO] [stdout] --> src/duke/player/ai_random.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | let square: Square = *(thread_rng().choose(&valid).take().unwrap()); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_square` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `summon` [INFO] [stdout] --> src/duke/player/ai_random.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | let summon = Summon::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_summon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/duke/board.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let mut board = String::new(); [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: variable does not need to be mutable [INFO] [stdout] --> src/duke/board.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let mut board = String::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FULL` [INFO] [stdout] --> src/bitboard.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub const FULL: BitBoard = BitBoard(0xFFFFFFFFFFFFFFFFu64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `GRAVEYARD` [INFO] [stdout] --> src/duke/board.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub const GRAVEYARD: u8 = 255; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BAG` [INFO] [stdout] --> src/duke/board.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub const BAG: u8 = 254; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NUM_COLORS` [INFO] [stdout] --> src/duke/color.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub const NUM_COLORS: usize = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ALL_COLORS` [INFO] [stdout] --> src/duke/color.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub const ALL_COLORS: [Color; NUM_COLORS] = [Color::Pink, Color::Blue]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `index` [INFO] [stdout] --> src/duke/color.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn index(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `opponent_backrank` [INFO] [stdout] --> src/duke/color.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn opponent_backrank(&self) -> Rank { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `A` [INFO] [stdout] --> src/duke/file.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | A, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `B` [INFO] [stdout] --> src/duke/file.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | B, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `C` [INFO] [stdout] --> src/duke/file.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | C, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `D` [INFO] [stdout] --> src/duke/file.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | D, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `E` [INFO] [stdout] --> src/duke/file.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | E, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `F` [INFO] [stdout] --> src/duke/file.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | F [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ALL_FILES` [INFO] [stdout] --> src/duke/file.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / pub const ALL_FILES: [File; NUM_FILES] = [ [INFO] [stdout] 17 | | File::A, [INFO] [stdout] 18 | | File::B, [INFO] [stdout] 19 | | File::C, [INFO] [stdout] ... | [INFO] [stdout] 22 | | File::F [INFO] [stdout] 23 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_index` [INFO] [stdout] --> src/duke/file.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_index(i: usize) -> File { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `index` [INFO] [stdout] --> src/duke/file.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn index(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `left` [INFO] [stdout] --> src/duke/file.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn left(&self) -> File { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `right` [INFO] [stdout] --> src/duke/file.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn right(&self) -> File { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Second` [INFO] [stdout] --> src/duke/rank.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | Second, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Third` [INFO] [stdout] --> src/duke/rank.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | Third, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Fourth` [INFO] [stdout] --> src/duke/rank.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | Fourth, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Fifth` [INFO] [stdout] --> src/duke/rank.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | Fifth, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ALL_RANKS` [INFO] [stdout] --> src/duke/rank.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / pub const ALL_RANKS: [Rank; NUM_RANKS] = [ [INFO] [stdout] 17 | | Rank::First, [INFO] [stdout] 18 | | Rank::Second, [INFO] [stdout] 19 | | Rank::Third, [INFO] [stdout] ... | [INFO] [stdout] 22 | | Rank::Sixth [INFO] [stdout] 23 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_index` [INFO] [stdout] --> src/duke/rank.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn from_index(i: usize) -> Rank { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `down` [INFO] [stdout] --> src/duke/rank.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn down(&self) -> Rank { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `up` [INFO] [stdout] --> src/duke/rank.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn up (&self) -> Rank { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NUM_SQUARES` [INFO] [stdout] --> src/duke/square.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub const NUM_SQUARES: usize = 36; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make` [INFO] [stdout] --> src/duke/square.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn make(r: Rank, f: File) -> Square { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rank` [INFO] [stdout] --> src/duke/square.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn rank(&self) -> Rank { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `file` [INFO] [stdout] --> src/duke/square.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn file(&self) -> File { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `up` [INFO] [stdout] --> src/duke/square.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn up(&self) -> Option { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `down` [INFO] [stdout] --> src/duke/square.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn down(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `right` [INFO] [stdout] --> src/duke/square.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn right(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `left` [INFO] [stdout] --> src/duke/square.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn left(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `player_forward` [INFO] [stdout] --> src/duke/square.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn player_forward(&self, color: Color) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `player_backward` [INFO] [stdout] --> src/duke/square.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn player_backward(&self, color: Color) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `player_left` [INFO] [stdout] --> src/duke/square.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn player_left(&self, color: Color) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `player_right` [INFO] [stdout] --> src/duke/square.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn player_right(&self, color: Color) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OpenError` [INFO] [stdout] --> src/duke/tile/config.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | OpenError(std::io::Error), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ReadError` [INFO] [stdout] --> src/duke/tile/config.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | ReadError(std::io::Error), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ParseError` [INFO] [stdout] --> src/duke/tile/config.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | ParseError(toml::de::Error) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Result` [INFO] [stdout] --> src/duke/tile/config.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | type Result = std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/duke/tile/config.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | fn parse(filename: &str) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tile` [INFO] [stdout] --> src/duke/tile/config.rs:39:6 [INFO] [stdout] | [INFO] [stdout] 39 | fn tile(&self) -> Tile { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/duke/tile/side.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new(x: u8, y: u8) -> Side { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `x` [INFO] [stdout] --> src/duke/tile/side.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn x(&self) -> u8 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `y` [INFO] [stdout] --> src/duke/tile/side.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn y(&self) -> u8 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/duke/tile/mod.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(name: String, a: Side, b: Side) -> Tile { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pink_duke` [INFO] [stdout] --> src/duke/mod.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | let pink_duke: Option = self.pink.as_ref().unwrap().setup_duke(&(self.board)); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pink_duke` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `square` [INFO] [stdout] --> src/duke/player/ai_random.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | let square: Square = *(thread_rng().choose(&valid).take().unwrap()); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_square` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `summon` [INFO] [stdout] --> src/duke/player/ai_random.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | let summon = Summon::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_summon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/duke/board.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let mut board = String::new(); [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: variable does not need to be mutable [INFO] [stdout] --> src/duke/board.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let mut board = String::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `tile` [INFO] [stdout] --> src/duke/tile/config.rs:63:6 [INFO] [stdout] | [INFO] [stdout] 63 | fn tile() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.09s [INFO] running `Command { std: "docker" "inspect" "e4270bd397524cb141ff03137eb3ac9037edca08b28dbc5592be57c68419a953", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4270bd397524cb141ff03137eb3ac9037edca08b28dbc5592be57c68419a953", kill_on_drop: false }` [INFO] [stdout] e4270bd397524cb141ff03137eb3ac9037edca08b28dbc5592be57c68419a953