[INFO] cloning repository https://github.com/pavacicp/foo-chess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pavacicp/foo-chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpavacicp%2Ffoo-chess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpavacicp%2Ffoo-chess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4a261953ba6f68cc75b1772da323963021cbb816 [INFO] checking pavacicp/foo-chess against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpavacicp%2Ffoo-chess" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pavacicp/foo-chess on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pavacicp/foo-chess [INFO] finished tweaking git repo https://github.com/pavacicp/foo-chess [INFO] tweaked toml for git repo https://github.com/pavacicp/foo-chess written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/pavacicp/foo-chess already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crunchy v0.1.6 [INFO] [stderr] Downloaded tiny-keccak v1.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 389fe90521bc16c11fd787d27fb63cc2b6e85527eaeed216967e51165318010f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "389fe90521bc16c11fd787d27fb63cc2b6e85527eaeed216967e51165318010f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "389fe90521bc16c11fd787d27fb63cc2b6e85527eaeed216967e51165318010f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "389fe90521bc16c11fd787d27fb63cc2b6e85527eaeed216967e51165318010f", kill_on_drop: false }` [INFO] [stdout] 389fe90521bc16c11fd787d27fb63cc2b6e85527eaeed216967e51165318010f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a91cbdd39eae74fa98563bd3a0beda1a044846e0e22eb29fa675613e3674efa5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a91cbdd39eae74fa98563bd3a0beda1a044846e0e22eb29fa675613e3674efa5", kill_on_drop: false }` [INFO] [stderr] Compiling crunchy v0.1.6 [INFO] [stderr] Checking tiny-keccak v1.4.2 [INFO] [stderr] Checking foo-chess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/figure.rs:34:56 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn move_figure(board: &mut Board, movement_input: &Fn() -> ValidMovement, swap_figure_input: &Fn(i32) -> char, current_pos: (i32, i32... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> ValidMovement` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/figure.rs:34:99 [INFO] [stdout] | [INFO] [stdout] 34 | ...) -> ValidMovement, swap_figure_input: &Fn(i32) -> char, current_pos: (i32, i32)) -> ValidMovement { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(i32) -> char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/figure.rs:85:51 [INFO] [stdout] | [INFO] [stdout] 85 | if current_pos.0 == 2 && icon == WHITE_PAWN { (2 as i32) } [INFO] [stdout] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/figure.rs:86:56 [INFO] [stdout] | [INFO] [stdout] 86 | else if current_pos.0 == 7 && icon == BLACK_PAWN { (2 as i32) } [INFO] [stdout] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/figure.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | else { (1 as i32) } [INFO] [stdout] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/board.rs:63:3 [INFO] [stdout] | [INFO] [stdout] 63 | (self.get_field_content(pos) == WHITE_FIELD || self.get_field_content(pos) == BLACK_FIELD) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/figure.rs:34:56 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn move_figure(board: &mut Board, movement_input: &Fn() -> ValidMovement, swap_figure_input: &Fn(i32) -> char, current_pos: (i32, i32... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> ValidMovement` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/figure.rs:34:99 [INFO] [stdout] | [INFO] [stdout] 34 | ...) -> ValidMovement, swap_figure_input: &Fn(i32) -> char, current_pos: (i32, i32)) -> ValidMovement { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(i32) -> char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/figure.rs:85:51 [INFO] [stdout] | [INFO] [stdout] 85 | if current_pos.0 == 2 && icon == WHITE_PAWN { (2 as i32) } [INFO] [stdout] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/figure.rs:86:56 [INFO] [stdout] | [INFO] [stdout] 86 | else if current_pos.0 == 7 && icon == BLACK_PAWN { (2 as i32) } [INFO] [stdout] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/figure.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | else { (1 as i32) } [INFO] [stdout] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/board.rs:63:3 [INFO] [stdout] | [INFO] [stdout] 63 | (self.get_field_content(pos) == WHITE_FIELD || self.get_field_content(pos) == BLACK_FIELD) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `movement_input` [INFO] [stdout] --> src/input_console.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn movement_input() -> ValidMovement { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `swap_figure_input` [INFO] [stdout] --> src/input_console.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn swap_figure_input(color: i32) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/board.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | for row in self.board.into_iter().rev() { [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `movement_input` [INFO] [stdout] --> src/input_console.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn movement_input() -> ValidMovement { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `swap_figure_input` [INFO] [stdout] --> src/input_console.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn swap_figure_input(color: i32) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/board.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | for row in self.board.into_iter().rev() { [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.12s [INFO] running `Command { std: "docker" "inspect" "a91cbdd39eae74fa98563bd3a0beda1a044846e0e22eb29fa675613e3674efa5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a91cbdd39eae74fa98563bd3a0beda1a044846e0e22eb29fa675613e3674efa5", kill_on_drop: false }` [INFO] [stdout] a91cbdd39eae74fa98563bd3a0beda1a044846e0e22eb29fa675613e3674efa5