[INFO] cloning repository https://github.com/thooton/starlight [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thooton/starlight" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthooton%2Fstarlight", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthooton%2Fstarlight'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 664fc493805b1bda76f6084442154a27c4714da0 [INFO] checking thooton/starlight against master#aa067fb984d36462548bb785da221bfaf38253f0 for pr-122470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthooton%2Fstarlight" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thooton/starlight on toolchain aa067fb984d36462548bb785da221bfaf38253f0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+aa067fb984d36462548bb785da221bfaf38253f0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thooton/starlight [INFO] finished tweaking git repo https://github.com/thooton/starlight [INFO] tweaked toml for git repo https://github.com/thooton/starlight written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/thooton/starlight 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" "+aa067fb984d36462548bb785da221bfaf38253f0" "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] checking thooton/starlight against try#707d6562f55b55a7aab4ab3a904997116b358314 for pr-122470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthooton%2Fstarlight" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thooton/starlight on toolchain 707d6562f55b55a7aab4ab3a904997116b358314 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+707d6562f55b55a7aab4ab3a904997116b358314" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thooton/starlight [INFO] finished tweaking git repo https://github.com/thooton/starlight [INFO] tweaked toml for git repo https://github.com/thooton/starlight written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/thooton/starlight 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" "+707d6562f55b55a7aab4ab3a904997116b358314" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking thooton/starlight against try#707d6562f55b55a7aab4ab3a904997116b358314 for pr-122470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthooton%2Fstarlight" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thooton/starlight on toolchain 707d6562f55b55a7aab4ab3a904997116b358314 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+707d6562f55b55a7aab4ab3a904997116b358314" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thooton/starlight [INFO] finished tweaking git repo https://github.com/thooton/starlight [INFO] tweaked toml for git repo https://github.com/thooton/starlight written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/thooton/starlight 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" "+707d6562f55b55a7aab4ab3a904997116b358314" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded varlen v0.1.2 [INFO] [stderr] Downloaded varlen_macro v0.1.3 [INFO] [stderr] Downloaded mcts v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+707d6562f55b55a7aab4ab3a904997116b358314" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 491f74750b8ac092a7d035bd90566ff23b47862fb13498d84f43578f414afc10 [INFO] running `Command { std: "docker" "start" "-a" "491f74750b8ac092a7d035bd90566ff23b47862fb13498d84f43578f414afc10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "491f74750b8ac092a7d035bd90566ff23b47862fb13498d84f43578f414afc10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "491f74750b8ac092a7d035bd90566ff23b47862fb13498d84f43578f414afc10", kill_on_drop: false }` [INFO] [stdout] 491f74750b8ac092a7d035bd90566ff23b47862fb13498d84f43578f414afc10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+707d6562f55b55a7aab4ab3a904997116b358314" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7492d7a5e96412db2f83ea886ae37f1e339229f1bed271cbd91d1db2f1971543 [INFO] running `Command { std: "docker" "start" "-a" "7492d7a5e96412db2f83ea886ae37f1e339229f1bed271cbd91d1db2f1971543", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.73 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling convert_case v0.5.0 [INFO] [stderr] Checking crossbeam v0.3.2 [INFO] [stderr] Checking bumpalo v3.14.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling quote v1.0.34 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking mcts v0.3.0 [INFO] [stderr] Compiling varlen_macro v0.1.3 [INFO] [stderr] Checking varlen v0.1.2 [INFO] [stderr] Checking starlight_engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `Size` is never used [INFO] [stdout] --> src/board.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | enum Size { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Color` is never used [INFO] [stdout] --> src/board.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | enum Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/board.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | struct Bank(u32); [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `Bank` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 21 | struct Bank(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `index`, `available`, `get`, and `put` are never used [INFO] [stdout] --> src/board.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl Bank { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | fn index(&self, size: Size, color: Color) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn available(&self, size: Size, color: Color) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn get(&mut self, size: Size, color: Color) -> Option<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn put(&mut self, size: Size, color: Color) -> Result<(), ()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Role` is never used [INFO] [stdout] --> src/board.rs:83:6 [INFO] [stdout] | [INFO] [stdout] 83 | enum Role { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Attack`, `Move`, `Construct`, and `Transform` are never constructed [INFO] [stdout] --> src/board.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 92 | enum Ability { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 93 | Attack = 0 << 4, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 94 | Move = 1 << 4, [INFO] [stdout] | ^^^^ [INFO] [stdout] 95 | Construct = 2 << 4, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 96 | Transform = 3 << 4, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `for_color` is never used [INFO] [stdout] --> src/board.rs:100:14 [INFO] [stdout] | [INFO] [stdout] 99 | impl Ability { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 100 | const fn for_color(color: Color) -> Ability { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `One`, `Two`, and `Three` are never constructed [INFO] [stdout] --> src/board.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 107 | enum Count { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 108 | One = 1, [INFO] [stdout] | ^^^ [INFO] [stdout] 109 | Two = 2, [INFO] [stdout] | ^^^ [INFO] [stdout] 110 | Three = 3, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Count` has a derived impl for the trait `Clone`, 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:141:11 [INFO] [stdout] | [INFO] [stdout] 140 | impl Piece { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 141 | const SIZE_MASK: u8 = 0b0000_0011; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 142 | const ROLE_MASK: u8 = 0b0000_1100; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 143 | const COLOR_MASK: u8 = 0b0011_0000; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 144 | const COUNT_MASK: u8 = 0b1100_0000; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | const fn new(size: Size, role: Role, color: Color, count: Count) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | const fn size(self) -> Size { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | const fn role(self) -> Role { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | const fn color(self) -> Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | const fn count(self) -> Count { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Key` is never used [INFO] [stdout] --> src/board.rs:168:6 [INFO] [stdout] | [INFO] [stdout] 168 | type Key = u8; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MoveData` is never used [INFO] [stdout] --> src/board.rs:171:6 [INFO] [stdout] | [INFO] [stdout] 171 | enum MoveData { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Move` is never constructed [INFO] [stdout] --> src/board.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub struct Move(u16); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/board.rs:185:11 [INFO] [stdout] | [INFO] [stdout] 184 | impl Move { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 185 | const B3_MASK: u16 = 0b1110_0000_0000_0000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 186 | const B6_MASK: u16 = 0b0001_1111_1000_0000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 187 | const B7_MASK: u16 = 0b0000_0000_0111_1111; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 188 | [INFO] [stdout] 189 | const B3_SHIFT: u16 = 13; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 190 | const B6_SHIFT: u16 = 7; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 191 | [INFO] [stdout] 192 | fn new(data: MoveData) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | fn data(self) -> MoveData { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Black` is never constructed [INFO] [stdout] --> src/board.rs:333:5 [INFO] [stdout] | [INFO] [stdout] 331 | pub enum Player { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 332 | White = 0, [INFO] [stdout] 333 | Black = 1, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Player` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `inv` is never used [INFO] [stdout] --> src/board.rs:339:8 [INFO] [stdout] | [INFO] [stdout] 337 | impl Player { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 338 | // Function to get the inverse of a player (White -> Black, Black -> White) [INFO] [stdout] 339 | fn inv(self) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `None`, `Star2`, `Ship`, and `Sacrifice` are never constructed [INFO] [stdout] --> src/board.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 346 | enum Special { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 347 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] 348 | Star1, [INFO] [stdout] 349 | Star2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 350 | Ship, [INFO] [stdout] | ^^^^ [INFO] [stdout] 351 | Sacrifice(u8, Ability), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Special` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `player` and `special` are never read [INFO] [stdout] --> src/board.rs:357:5 [INFO] [stdout] | [INFO] [stdout] 356 | struct Turn { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 357 | player: Player, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 358 | special: Special, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Turn` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next` is never used [INFO] [stdout] --> src/board.rs:372:8 [INFO] [stdout] | [INFO] [stdout] 362 | impl Turn { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 372 | fn next(self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wymum` is never used [INFO] [stdout] --> src/board.rs:387:4 [INFO] [stdout] | [INFO] [stdout] 387 | fn wymum(a: u64, b: u64) -> (u64, u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wymix` is never used [INFO] [stdout] --> src/board.rs:393:4 [INFO] [stdout] | [INFO] [stdout] 393 | fn wymix(a: u64, b: u64) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wyhash64` is never used [INFO] [stdout] --> src/board.rs:399:4 [INFO] [stdout] | [INFO] [stdout] 399 | fn wyhash64(a: u64, b: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hash`, `bank`, and `turn` are never read [INFO] [stdout] --> src/board.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 406 | pub struct BoardInner { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 407 | hash: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 408 | bank: Bank, [INFO] [stdout] | ^^^^ [INFO] [stdout] 409 | turn: Turn, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `debug` is never used [INFO] [stdout] --> src/board.rs:427:8 [INFO] [stdout] | [INFO] [stdout] 426 | impl Board { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 427 | fn debug(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Role` is never used [INFO] [stdout] --> src/board.rs:83:6 [INFO] [stdout] | [INFO] [stdout] 83 | enum Role { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Attack`, `Move`, `Construct`, and `Transform` are never constructed [INFO] [stdout] --> src/board.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 92 | enum Ability { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 93 | Attack = 0 << 4, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 94 | Move = 1 << 4, [INFO] [stdout] | ^^^^ [INFO] [stdout] 95 | Construct = 2 << 4, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 96 | Transform = 3 << 4, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `for_color` is never used [INFO] [stdout] --> src/board.rs:100:14 [INFO] [stdout] | [INFO] [stdout] 99 | impl Ability { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 100 | const fn for_color(color: Color) -> Ability { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `One`, `Two`, and `Three` are never constructed [INFO] [stdout] --> src/board.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 107 | enum Count { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 108 | One = 1, [INFO] [stdout] | ^^^ [INFO] [stdout] 109 | Two = 2, [INFO] [stdout] | ^^^ [INFO] [stdout] 110 | Three = 3, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Count` has a derived impl for the trait `Clone`, 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:141:11 [INFO] [stdout] | [INFO] [stdout] 140 | impl Piece { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 141 | const SIZE_MASK: u8 = 0b0000_0011; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 142 | const ROLE_MASK: u8 = 0b0000_1100; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 143 | const COLOR_MASK: u8 = 0b0011_0000; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 144 | const COUNT_MASK: u8 = 0b1100_0000; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | const fn new(size: Size, role: Role, color: Color, count: Count) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | const fn size(self) -> Size { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | const fn role(self) -> Role { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | const fn color(self) -> Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | const fn count(self) -> Count { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Black` is never constructed [INFO] [stdout] --> src/board.rs:333:5 [INFO] [stdout] | [INFO] [stdout] 331 | pub enum Player { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 332 | White = 0, [INFO] [stdout] 333 | Black = 1, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Player` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `inv` is never used [INFO] [stdout] --> src/board.rs:339:8 [INFO] [stdout] | [INFO] [stdout] 337 | impl Player { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 338 | // Function to get the inverse of a player (White -> Black, Black -> White) [INFO] [stdout] 339 | fn inv(self) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `None`, `Star2`, `Ship`, and `Sacrifice` are never constructed [INFO] [stdout] --> src/board.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 346 | enum Special { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 347 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] 348 | Star1, [INFO] [stdout] 349 | Star2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 350 | Ship, [INFO] [stdout] | ^^^^ [INFO] [stdout] 351 | Sacrifice(u8, Ability), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Special` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `player` and `special` are never read [INFO] [stdout] --> src/board.rs:357:5 [INFO] [stdout] | [INFO] [stdout] 356 | struct Turn { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 357 | player: Player, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 358 | special: Special, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Turn` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next` is never used [INFO] [stdout] --> src/board.rs:372:8 [INFO] [stdout] | [INFO] [stdout] 362 | impl Turn { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 372 | fn next(self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wymum` is never used [INFO] [stdout] --> src/board.rs:387:4 [INFO] [stdout] | [INFO] [stdout] 387 | fn wymum(a: u64, b: u64) -> (u64, u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wymix` is never used [INFO] [stdout] --> src/board.rs:393:4 [INFO] [stdout] | [INFO] [stdout] 393 | fn wymix(a: u64, b: u64) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wyhash64` is never used [INFO] [stdout] --> src/board.rs:399:4 [INFO] [stdout] | [INFO] [stdout] 399 | fn wyhash64(a: u64, b: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hash`, `bank`, and `turn` are never read [INFO] [stdout] --> src/board.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 406 | pub struct BoardInner { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 407 | hash: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 408 | bank: Bank, [INFO] [stdout] | ^^^^ [INFO] [stdout] 409 | turn: Turn, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `debug` is never used [INFO] [stdout] --> src/board.rs:427:8 [INFO] [stdout] | [INFO] [stdout] 426 | impl Board { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 427 | fn debug(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.31s [INFO] running `Command { std: "docker" "inspect" "7492d7a5e96412db2f83ea886ae37f1e339229f1bed271cbd91d1db2f1971543", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7492d7a5e96412db2f83ea886ae37f1e339229f1bed271cbd91d1db2f1971543", kill_on_drop: false }` [INFO] [stdout] 7492d7a5e96412db2f83ea886ae37f1e339229f1bed271cbd91d1db2f1971543