[INFO] cloning repository https://github.com/shorinbonsai/simplechess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shorinbonsai/simplechess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshorinbonsai%2Fsimplechess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshorinbonsai%2Fsimplechess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fd8efef41b79853db527b3e0bd78e1445304fb06 [INFO] checking shorinbonsai/simplechess against master#336209eef13882bd1e211b24779584cb7ef911eb for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshorinbonsai%2Fsimplechess" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shorinbonsai/simplechess on toolchain 336209eef13882bd1e211b24779584cb7ef911eb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shorinbonsai/simplechess [INFO] finished tweaking git repo https://github.com/shorinbonsai/simplechess [INFO] tweaked toml for git repo https://github.com/shorinbonsai/simplechess written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/shorinbonsai/simplechess 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" "+336209eef13882bd1e211b24779584cb7ef911eb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+336209eef13882bd1e211b24779584cb7ef911eb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27a7387cdd745952e720ea4421aca43522c53bde33269c5bf89287c4c82e35c4 [INFO] running `Command { std: "docker" "start" "-a" "27a7387cdd745952e720ea4421aca43522c53bde33269c5bf89287c4c82e35c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27a7387cdd745952e720ea4421aca43522c53bde33269c5bf89287c4c82e35c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27a7387cdd745952e720ea4421aca43522c53bde33269c5bf89287c4c82e35c4", kill_on_drop: false }` [INFO] [stdout] 27a7387cdd745952e720ea4421aca43522c53bde33269c5bf89287c4c82e35c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 459ac2be2499889bf7fd49d9f5858ffaae7a25f959dc3af1d65b499e6d28cdf8 [INFO] running `Command { std: "docker" "start" "-a" "459ac2be2499889bf7fd49d9f5858ffaae7a25f959dc3af1d65b499e6d28cdf8", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.88 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling bindgen v0.69.5 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling cc v1.1.30 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking mopa v0.2.2 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Checking tuple_utils v0.3.0 [INFO] [stderr] Checking tynm v0.1.10 [INFO] [stderr] Checking shrev v1.1.3 [INFO] [stderr] Checking hibitset v0.6.4 [INFO] [stderr] Checking shred v0.10.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking specs v0.16.1 [INFO] [stderr] Compiling specs-derive v0.4.1 [INFO] [stderr] Compiling raylib-sys v5.0.2 [INFO] [stderr] Checking raylib v5.0.2 [INFO] [stderr] Checking simplechess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/main.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | fn make_move(&mut self, from: usize, to: usize) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/main.rs:48:42 [INFO] [stdout] | [INFO] [stdout] 48 | fn make_move(&mut self, from: usize, to: usize) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/main.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/main.rs:147:26 [INFO] [stdout] | [INFO] [stdout] 147 | fn search(&mut self, depth: u8) -> Option<(usize, usize)> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | let mut engine = ChessEngine::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: variants `Pawn`, `Knight`, `Bishop`, `Rook`, `Queen`, and `King` are never constructed [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | enum Piece { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 7 | Empty, [INFO] [stdout] 8 | Pawn(Color), [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | Knight(Color), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | Bishop(Color), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | Rook(Color), [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | Queen(Color), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | King(Color), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Piece` 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: variant `Black` is never constructed [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | enum Color { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 18 | White, [INFO] [stdout] 19 | Black, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Color` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `side_to_move` is never read [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct Board { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 24 | squares: [Piece; 120], [INFO] [stdout] 25 | side_to_move: Color, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `make_move`, `generate_moves`, and `evaluate` are never used [INFO] [stdout] --> src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl Board { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | fn make_move(&mut self, from: usize, to: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn generate_moves(&self) -> Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn evaluate(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `search` is never used [INFO] [stdout] --> src/main.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 140 | impl ChessEngine { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 147 | fn search(&mut self, depth: u8) -> Option<(usize, usize)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/main.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | fn make_move(&mut self, from: usize, to: usize) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/main.rs:48:42 [INFO] [stdout] | [INFO] [stdout] 48 | fn make_move(&mut self, from: usize, to: usize) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/main.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/main.rs:147:26 [INFO] [stdout] | [INFO] [stdout] 147 | fn search(&mut self, depth: u8) -> Option<(usize, usize)> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | let mut engine = ChessEngine::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: variants `Pawn`, `Knight`, `Bishop`, `Rook`, `Queen`, and `King` are never constructed [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | enum Piece { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 7 | Empty, [INFO] [stdout] 8 | Pawn(Color), [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | Knight(Color), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | Bishop(Color), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | Rook(Color), [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | Queen(Color), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | King(Color), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Piece` 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: variant `Black` is never constructed [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | enum Color { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 18 | White, [INFO] [stdout] 19 | Black, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Color` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `side_to_move` is never read [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct Board { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 24 | squares: [Piece; 120], [INFO] [stdout] 25 | side_to_move: Color, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `make_move`, `generate_moves`, and `evaluate` are never used [INFO] [stdout] --> src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl Board { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | fn make_move(&mut self, from: usize, to: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn generate_moves(&self) -> Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn evaluate(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `search` is never used [INFO] [stdout] --> src/main.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 140 | impl ChessEngine { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 147 | fn search(&mut self, depth: u8) -> Option<(usize, usize)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `Command { std: "docker" "inspect" "459ac2be2499889bf7fd49d9f5858ffaae7a25f959dc3af1d65b499e6d28cdf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "459ac2be2499889bf7fd49d9f5858ffaae7a25f959dc3af1d65b499e6d28cdf8", kill_on_drop: false }` [INFO] [stdout] 459ac2be2499889bf7fd49d9f5858ffaae7a25f959dc3af1d65b499e6d28cdf8