[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] building thooton/starlight against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthooton%2Fstarlight" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thooton/starlight on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "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-0-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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "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 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mcts v0.3.0 [INFO] [stderr] Downloaded varlen v0.1.2 [INFO] [stderr] Downloaded varlen_macro v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a3ebe7b516ba5e308fcb04fcacbec4965e4f45503d9cd60b08b278c0b949b10 [INFO] running `Command { std: "docker" "start" "-a" "0a3ebe7b516ba5e308fcb04fcacbec4965e4f45503d9cd60b08b278c0b949b10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a3ebe7b516ba5e308fcb04fcacbec4965e4f45503d9cd60b08b278c0b949b10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a3ebe7b516ba5e308fcb04fcacbec4965e4f45503d9cd60b08b278c0b949b10", kill_on_drop: false }` [INFO] [stdout] 0a3ebe7b516ba5e308fcb04fcacbec4965e4f45503d9cd60b08b278c0b949b10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98bc85b6e9731c3e52bb46fe35d64d170a97e7eed9568c384120d77ddbe15f68 [INFO] running `Command { std: "docker" "start" "-a" "98bc85b6e9731c3e52bb46fe35d64d170a97e7eed9568c384120d77ddbe15f68", 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 syn v1.0.109 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling convert_case v0.5.0 [INFO] [stderr] Compiling crossbeam v0.3.2 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling quote v1.0.34 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling mcts v0.3.0 [INFO] [stderr] Compiling varlen_macro v0.1.3 [INFO] [stderr] Compiling varlen v0.1.2 [INFO] [stderr] Compiling 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: `Size` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] = note: `Color` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] = help: consider removing this field [INFO] [stdout] = note: `Bank` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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] = note: `Role` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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] = note: `MoveData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.06s [INFO] running `Command { std: "docker" "inspect" "98bc85b6e9731c3e52bb46fe35d64d170a97e7eed9568c384120d77ddbe15f68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98bc85b6e9731c3e52bb46fe35d64d170a97e7eed9568c384120d77ddbe15f68", kill_on_drop: false }` [INFO] [stdout] 98bc85b6e9731c3e52bb46fe35d64d170a97e7eed9568c384120d77ddbe15f68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70b2e144345f5cefb69f9c410736d8cadb9cdd90bf6370cbd69df63c1ce0e5f7 [INFO] running `Command { std: "docker" "start" "-a" "70b2e144345f5cefb69f9c410736d8cadb9cdd90bf6370cbd69df63c1ce0e5f7", kill_on_drop: false }` [INFO] [stderr] Compiling starlight_engine v0.1.0 (/opt/rustwide/workdir) [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: `Role` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] running `Command { std: "docker" "inspect" "70b2e144345f5cefb69f9c410736d8cadb9cdd90bf6370cbd69df63c1ce0e5f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70b2e144345f5cefb69f9c410736d8cadb9cdd90bf6370cbd69df63c1ce0e5f7", kill_on_drop: false }` [INFO] [stdout] 70b2e144345f5cefb69f9c410736d8cadb9cdd90bf6370cbd69df63c1ce0e5f7