[INFO] cloning repository https://github.com/SicariusNoctis/rs-chess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SicariusNoctis/rs-chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSicariusNoctis%2Frs-chess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSicariusNoctis%2Frs-chess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4076e092273e29743302a0a659f5f9c45eb1785d [INFO] checking SicariusNoctis/rs-chess/4076e092273e29743302a0a659f5f9c45eb1785d against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSicariusNoctis%2Frs-chess" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SicariusNoctis/rs-chess on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SicariusNoctis/rs-chess [INFO] finished tweaking git repo https://github.com/SicariusNoctis/rs-chess [INFO] tweaked toml for git repo https://github.com/SicariusNoctis/rs-chess written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/SicariusNoctis/rs-chess 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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 serde_json v1.0.24 [INFO] [stderr] Downloaded flamer v0.3.0 [INFO] [stderr] Downloaded syn v0.14.4 [INFO] [stderr] Downloaded itoa v0.4.2 [INFO] [stderr] Downloaded serde_derive v1.0.70 [INFO] [stderr] Downloaded serde v1.0.70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd4aeb5a63dd0dd9719dcece50894e264ae94af07155d46717f9ade22ef12a7b [INFO] running `Command { std: "docker" "start" "-a" "fd4aeb5a63dd0dd9719dcece50894e264ae94af07155d46717f9ade22ef12a7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd4aeb5a63dd0dd9719dcece50894e264ae94af07155d46717f9ade22ef12a7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd4aeb5a63dd0dd9719dcece50894e264ae94af07155d46717f9ade22ef12a7b", kill_on_drop: false }` [INFO] [stdout] fd4aeb5a63dd0dd9719dcece50894e264ae94af07155d46717f9ade22ef12a7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 172bdcb661b5e1702792827eb6da2bedc8794b26a0e8884cd21ed4693d54a701 [INFO] running `Command { std: "docker" "start" "-a" "172bdcb661b5e1702792827eb6da2bedc8794b26a0e8884cd21ed4693d54a701", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.70 [INFO] [stderr] Compiling libc v0.2.42 [INFO] [stderr] Compiling dtoa v0.4.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling itoa v0.4.2 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Compiling syn v0.14.4 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling serde_derive v1.0.70 [INFO] [stderr] Checking serde_json v1.0.24 [INFO] [stderr] Compiling flame v0.2.2 [INFO] [stderr] Compiling flamer v0.3.0 [INFO] [stderr] Checking rs-chess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(plugin, custom_attribute)] [INFO] [stdout] | ^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: plugins are no longer supported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(plugin, custom_attribute)] [INFO] [stdout] | ^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: plugins are no longer supported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(plugin, custom_attribute)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in favor of `#![register_tool]` and `#![register_attr]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(plugin, custom_attribute)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in favor of `#![register_tool]` and `#![register_attr]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `flame` in this scope [INFO] [stdout] --> src/search.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[flame] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `flame` is imported here, but it is a crate, not an attribute [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate flame; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use flamer::flame; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `flame` in this scope [INFO] [stdout] --> src/search.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[flame] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `flame` is imported here, but it is a crate, not an attribute [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate flame; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use flamer::flame; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/evaluate.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | (self.evaluate_center(game_phase) + self.evaluate_material(game_phase)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 15 - (self.evaluate_center(game_phase) + self.evaluate_material(game_phase)) [INFO] [stdout] 15 + self.evaluate_center(game_phase) + self.evaluate_material(game_phase) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/evaluate.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | (self.evaluate_center(game_phase) + self.evaluate_material(game_phase)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 15 - (self.evaluate_center(game_phase) + self.evaluate_material(game_phase)) [INFO] [stdout] 15 + self.evaluate_center(game_phase) + self.evaluate_material(game_phase) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_phase` [INFO] [stdout] --> src/evaluate.rs:33:33 [INFO] [stdout] | [INFO] [stdout] 33 | fn evaluate_material(&self, game_phase: u8) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_phase` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_phase` [INFO] [stdout] --> src/evaluate.rs:33:33 [INFO] [stdout] | [INFO] [stdout] 33 | fn evaluate_material(&self, game_phase: u8) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_phase` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_phase` [INFO] [stdout] --> src/evaluate.rs:66:31 [INFO] [stdout] | [INFO] [stdout] 66 | fn evaluate_center(&self, game_phase: u8) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_phase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_phase` [INFO] [stdout] --> src/evaluate.rs:66:31 [INFO] [stdout] | [INFO] [stdout] 66 | fn evaluate_center(&self, game_phase: u8) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_phase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `square` [INFO] [stdout] --> src/movegen.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | square: Square, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_square` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `square` [INFO] [stdout] --> src/movegen.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | square: Square, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_square` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `square` [INFO] [stdout] --> src/movegen.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | square: Square, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_square` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `square` [INFO] [stdout] --> src/movegen.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | square: Square, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_square` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `turn` [INFO] [stdout] --> src/movegen.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | let turn = position.turn; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_turn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `turn` [INFO] [stdout] --> src/movegen.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | let turn = position.turn; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_turn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sq_bb` [INFO] [stdout] --> src/movegen.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | let sq_bb = Bitboard::from(square); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_sq_bb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sq_bb` [INFO] [stdout] --> src/movegen.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | let sq_bb = Bitboard::from(square); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_sq_bb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `captures` [INFO] [stdout] --> src/movegen.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | let captures = Bitboard(attacks.0 & position.get_bb_enemy().0); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_captures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `captures` [INFO] [stdout] --> src/movegen.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | let captures = Bitboard(attacks.0 & position.get_bb_enemy().0); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_captures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rs-chess` (bin "rs-chess") due to 4 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rs-chess` (bin "rs-chess" test) due to 4 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "172bdcb661b5e1702792827eb6da2bedc8794b26a0e8884cd21ed4693d54a701", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "172bdcb661b5e1702792827eb6da2bedc8794b26a0e8884cd21ed4693d54a701", kill_on_drop: false }` [INFO] [stdout] 172bdcb661b5e1702792827eb6da2bedc8794b26a0e8884cd21ed4693d54a701