[INFO] cloning repository https://github.com/sgibson21/chess-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sgibson21/chess-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsgibson21%2Fchess-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsgibson21%2Fchess-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b759e967b3a668a306713ad10d647555112a5011 [INFO] testing sgibson21/chess-engine against master#ebf0cf75d368c035f4c7e7246d203bd469ee4a51 for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsgibson21%2Fchess-engine" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sgibson21/chess-engine on toolchain ebf0cf75d368c035f4c7e7246d203bd469ee4a51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sgibson21/chess-engine [INFO] finished tweaking git repo https://github.com/sgibson21/chess-engine [INFO] tweaked toml for git repo https://github.com/sgibson21/chess-engine written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sgibson21/chess-engine 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" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ab723aac549396c30d740f97e9c0bea658688bda88591c54edfa20f47615bb8 [INFO] running `Command { std: "docker" "start" "-a" "3ab723aac549396c30d740f97e9c0bea658688bda88591c54edfa20f47615bb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ab723aac549396c30d740f97e9c0bea658688bda88591c54edfa20f47615bb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ab723aac549396c30d740f97e9c0bea658688bda88591c54edfa20f47615bb8", kill_on_drop: false }` [INFO] [stdout] 3ab723aac549396c30d740f97e9c0bea658688bda88591c54edfa20f47615bb8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9fb6aaa87ba3d0b5e74e679be435786ec168e847551c26695f4aa5d06c22a580 [INFO] running `Command { std: "docker" "start" "-a" "9fb6aaa87ba3d0b5e74e679be435786ec168e847551c26695f4aa5d06c22a580", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling tempfile v3.13.0 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling chess-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/evaluator.rs:159:28 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn evaluate(fen: &str, depth: u8) -> f32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `half_move_clock` and `full_moves` are never read [INFO] [stdout] --> src/position.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Position { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub half_move_clock: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | [INFO] [stdout] 26 | pub full_moves: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Position` 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: method `count` is never used [INFO] [stdout] --> src/bitboard.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl BitBoard { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn count(self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/playground.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub enum SquareLabels { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 78 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] 79 | A1, B1, C1, D1, E1, F1, G1, H1, [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stdout] 80 | A2, B2, C2, D2, E2, F2, G2, H2, [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stdout] 81 | A3, B3, C3, D3, E3, F3, G3, H3, [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stdout] 82 | A4, B4, C4, D4, E4, F4, G4, H4, [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stdout] 83 | A5, B5, C5, D5, E5, F5, G5, H5, [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stdout] 84 | A6, B6, C6, D6, E6, F6, G6, H6, [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stdout] 85 | A7, B7, C7, D7, E7, F7, G7, H7, [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stdout] 86 | A8, B8, C8, D8, E8, F8, G8, H8, [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `SquareLabels` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `en_passant` is never read [INFO] [stdout] --> src/board_navigator/board_navigator.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 44 | struct Move { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 48 | en_passant: bool, // just a bool, as the Position holds the en_passant_target [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Move` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `s`, `se`, and `sw` are never used [INFO] [stdout] --> src/board_navigator/coord.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Coord { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn s(&self, direction: i32, count: i32) -> Option { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn se(&self, direction: i32, count: i32) -> Option { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn sw(&self, direction: i32, count: i32) -> Option { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 56s [INFO] running `Command { std: "docker" "inspect" "9fb6aaa87ba3d0b5e74e679be435786ec168e847551c26695f4aa5d06c22a580", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fb6aaa87ba3d0b5e74e679be435786ec168e847551c26695f4aa5d06c22a580", kill_on_drop: false }` [INFO] [stdout] 9fb6aaa87ba3d0b5e74e679be435786ec168e847551c26695f4aa5d06c22a580 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aba021f698bb53bdcd29c49f024a328c50272cf6f5b1776134a9351e22d1ee97 [INFO] running `Command { std: "docker" "start" "-a" "aba021f698bb53bdcd29c49f024a328c50272cf6f5b1776134a9351e22d1ee97", kill_on_drop: false }` [INFO] [stderr] Compiling chess-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/evaluator.rs:159:28 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn evaluate(fen: &str, depth: u8) -> f32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `half_move_clock` and `full_moves` are never read [INFO] [stdout] --> src/position.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Position { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub half_move_clock: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | [INFO] [stdout] 26 | pub full_moves: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Position` 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: method `count` is never used [INFO] [stdout] --> src/bitboard.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl BitBoard { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn count(self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/playground.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub enum SquareLabels { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 78 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] 79 | A1, B1, C1, D1, E1, F1, G1, H1, [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stdout] 80 | A2, B2, C2, D2, E2, F2, G2, H2, [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stdout] 81 | A3, B3, C3, D3, E3, F3, G3, H3, [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stdout] 82 | A4, B4, C4, D4, E4, F4, G4, H4, [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stdout] 83 | A5, B5, C5, D5, E5, F5, G5, H5, [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stdout] 84 | A6, B6, C6, D6, E6, F6, G6, H6, [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stdout] 85 | A7, B7, C7, D7, E7, F7, G7, H7, [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stdout] 86 | A8, B8, C8, D8, E8, F8, G8, H8, [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `SquareLabels` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `en_passant` is never read [INFO] [stdout] --> src/board_navigator/board_navigator.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 44 | struct Move { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 48 | en_passant: bool, // just a bool, as the Position holds the en_passant_target [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Move` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `s`, `se`, and `sw` are never used [INFO] [stdout] --> src/board_navigator/coord.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Coord { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn s(&self, direction: i32, count: i32) -> Option { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn se(&self, direction: i32, count: i32) -> Option { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn sw(&self, direction: i32, count: i32) -> Option { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.43s [INFO] running `Command { std: "docker" "inspect" "aba021f698bb53bdcd29c49f024a328c50272cf6f5b1776134a9351e22d1ee97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aba021f698bb53bdcd29c49f024a328c50272cf6f5b1776134a9351e22d1ee97", kill_on_drop: false }` [INFO] [stdout] aba021f698bb53bdcd29c49f024a328c50272cf6f5b1776134a9351e22d1ee97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ec370e1941d60aa8fba658abeae68a3c2fbcb87f962234b027718cd9d86cfa0f [INFO] running `Command { std: "docker" "start" "-a" "ec370e1941d60aa8fba658abeae68a3c2fbcb87f962234b027718cd9d86cfa0f", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `depth` [INFO] [stderr] --> src/evaluator.rs:159:28 [INFO] [stderr] | [INFO] [stderr] 159 | pub fn evaluate(fen: &str, depth: u8) -> f32 { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `half_move_clock` and `full_moves` are never read [INFO] [stderr] --> src/position.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct Position { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 24 | pub half_move_clock: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 25 | [INFO] [stderr] 26 | pub full_moves: usize, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Position` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `count` is never used [INFO] [stderr] --> src/bitboard.rs:52:12 [INFO] [stderr] | [INFO] [stderr] 23 | impl BitBoard { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 52 | pub fn count(self) -> u32 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple variants are never constructed [INFO] [stderr] --> src/playground.rs:78:5 [INFO] [stderr] | [INFO] [stderr] 77 | pub enum SquareLabels { [INFO] [stderr] | ------------ variants in this enum [INFO] [stderr] 78 | None, [INFO] [stderr] | ^^^^ [INFO] [stderr] 79 | A1, B1, C1, D1, E1, F1, G1, H1, [INFO] [stderr] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stderr] 80 | A2, B2, C2, D2, E2, F2, G2, H2, [INFO] [stderr] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stderr] 81 | A3, B3, C3, D3, E3, F3, G3, H3, [INFO] [stderr] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stderr] 82 | A4, B4, C4, D4, E4, F4, G4, H4, [INFO] [stderr] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stderr] 83 | A5, B5, C5, D5, E5, F5, G5, H5, [INFO] [stderr] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stderr] 84 | A6, B6, C6, D6, E6, F6, G6, H6, [INFO] [stderr] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stderr] 85 | A7, B7, C7, D7, E7, F7, G7, H7, [INFO] [stderr] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stderr] 86 | A8, B8, C8, D8, E8, F8, G8, H8, [INFO] [stderr] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stderr] | [INFO] [stderr] = note: `SquareLabels` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `en_passant` is never read [INFO] [stderr] --> src/board_navigator/board_navigator.rs:48:5 [INFO] [stderr] | [INFO] [stderr] 44 | struct Move { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] ... [INFO] [stderr] 48 | en_passant: bool, // just a bool, as the Position holds the en_passant_target [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Move` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `s`, `se`, and `sw` are never used [INFO] [stderr] --> src/board_navigator/coord.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 18 | impl Coord { [INFO] [stderr] | ---------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 32 | pub fn s(&self, direction: i32, count: i32) -> Option { [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 67 | pub fn se(&self, direction: i32, count: i32) -> Option { [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 74 | pub fn sw(&self, direction: i32, count: i32) -> Option { [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: `chess-engine` (bin "chess-engine" test) generated 6 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/chess_engine-ba05b54682484a5d) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test board_navigator::board_scout::tests::is_attacked_by_pawn ... ok [INFO] [stdout] test board_navigator::board_scout::tests::is_attacked_by_ranged_straight_n ... ok [INFO] [stdout] test board_navigator::board_scout::tests::is_attacked_by_ranged_diagonal_ne ... ok [INFO] [stdout] test board_navigator::board_scout::tests::is_not_attacked_by_pawn_out_of_range ... ok [INFO] [stdout] test board_navigator::board_scout::tests::is_not_attacked_by_ranged_straight_n_due_to_block ... ok [INFO] [stdout] test board_navigator::coord::to_index ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ec370e1941d60aa8fba658abeae68a3c2fbcb87f962234b027718cd9d86cfa0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec370e1941d60aa8fba658abeae68a3c2fbcb87f962234b027718cd9d86cfa0f", kill_on_drop: false }` [INFO] [stdout] ec370e1941d60aa8fba658abeae68a3c2fbcb87f962234b027718cd9d86cfa0f