[INFO] cloning repository https://github.com/hakos/rustchess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hakos/rustchess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhakos%2Frustchess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhakos%2Frustchess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fd585f51df28bb67af99916b6f6cbb7444207b11 [INFO] building hakos/rustchess against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhakos%2Frustchess" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hakos/rustchess on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hakos/rustchess [INFO] finished tweaking git repo https://github.com/hakos/rustchess [INFO] tweaked toml for git repo https://github.com/hakos/rustchess written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hakos/rustchess 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21f4f62927f73dffc2c57d9076cadb57e64fd605e574efe10adfcb5aa5945b31 [INFO] running `Command { std: "docker" "start" "-a" "21f4f62927f73dffc2c57d9076cadb57e64fd605e574efe10adfcb5aa5945b31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21f4f62927f73dffc2c57d9076cadb57e64fd605e574efe10adfcb5aa5945b31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21f4f62927f73dffc2c57d9076cadb57e64fd605e574efe10adfcb5aa5945b31", kill_on_drop: false }` [INFO] [stdout] 21f4f62927f73dffc2c57d9076cadb57e64fd605e574efe10adfcb5aa5945b31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dtail-expr-drop-order" "-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7d80fa7c7a1ec0e47d34436900a4af86f841c307a52bba70fb582b67d334170 [INFO] running `Command { std: "docker" "start" "-a" "f7d80fa7c7a1ec0e47d34436900a4af86f841c307a52bba70fb582b67d334170", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling rustchess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/board.rs:814:12 [INFO] [stdout] | [INFO] [stdout] 814 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::large_digit_groups))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/board.rs:826:12 [INFO] [stdout] | [INFO] [stdout] 826 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::large_digit_groups))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/board.rs:950:20 [INFO] [stdout] | [INFO] [stdout] 950 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::large_digit_groups))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `debug` [INFO] [stdout] --> src/search.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | debug: bool, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_debug` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score` [INFO] [stdout] --> src/main.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | let (score, moves, depth) = [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/main.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | let (score, moves, depth) = [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `cleared` and `count_moves` are never used [INFO] [stdout] --> src/board.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 192 | impl Pieces { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 193 | fn cleared() -> Pieces { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | fn count_moves(&self, moves: &[BitBoard; 64], color: Color) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/board.rs:979:8 [INFO] [stdout] | [INFO] [stdout] 948 | impl Board { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 979 | fn cleared() -> Board { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 993 | pub fn from_fen(fen: &str) -> Board { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1066 | pub fn as_fen(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1105 | fn as_unicode(&self) -> [char; 64] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1125 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1228 | fn get_moves(&self) -> [BitBoard; 64] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1238 | pub fn count_moves(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1254 | pub fn is_check_mated(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1258 | pub fn is_stale_mate(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unicode_to_fen` is never used [INFO] [stdout] --> src/board.rs:1359:4 [INFO] [stdout] | [INFO] [stdout] 1359 | fn unicode_to_fen(c: char) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `merge_spaces` is never used [INFO] [stdout] --> src/board.rs:1378:4 [INFO] [stdout] | [INFO] [stdout] 1378 | fn merge_spaces(chars: impl Iterator) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.14s [INFO] running `Command { std: "docker" "inspect" "f7d80fa7c7a1ec0e47d34436900a4af86f841c307a52bba70fb582b67d334170", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7d80fa7c7a1ec0e47d34436900a4af86f841c307a52bba70fb582b67d334170", kill_on_drop: false }` [INFO] [stdout] f7d80fa7c7a1ec0e47d34436900a4af86f841c307a52bba70fb582b67d334170 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dtail-expr-drop-order" "-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56e79e8facd48bce2ec412c42aae730290722d1bb135fe122fc957bbbd9f8062 [INFO] running `Command { std: "docker" "start" "-a" "56e79e8facd48bce2ec412c42aae730290722d1bb135fe122fc957bbbd9f8062", kill_on_drop: false }` [INFO] [stderr] Compiling rustchess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/board.rs:814:12 [INFO] [stdout] | [INFO] [stdout] 814 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::large_digit_groups))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/board.rs:826:12 [INFO] [stdout] | [INFO] [stdout] 826 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::large_digit_groups))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/board.rs:950:20 [INFO] [stdout] | [INFO] [stdout] 950 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::large_digit_groups))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `debug` [INFO] [stdout] --> src/search.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | debug: bool, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_debug` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score` [INFO] [stdout] --> src/search.rs:353:14 [INFO] [stdout] | [INFO] [stdout] 353 | let (score, moves) = negamax(&board, 1, true, &[None]); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score` [INFO] [stdout] --> src/main.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | let (score, moves, depth) = [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/main.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | let (score, moves, depth) = [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.92s [INFO] running `Command { std: "docker" "inspect" "56e79e8facd48bce2ec412c42aae730290722d1bb135fe122fc957bbbd9f8062", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56e79e8facd48bce2ec412c42aae730290722d1bb135fe122fc957bbbd9f8062", kill_on_drop: false }` [INFO] [stdout] 56e79e8facd48bce2ec412c42aae730290722d1bb135fe122fc957bbbd9f8062