[INFO] cloning repository https://github.com/glitch4347/chess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/glitch4347/chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fglitch4347%2Fchess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fglitch4347%2Fchess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e82027a6808a02d24e042492fdbdf5754daa0f73 [INFO] checking glitch4347/chess against try#cac44d9528e3bbbdaa1537d187bd489ccc5de18c for pr-91141 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fglitch4347%2Fchess" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/glitch4347/chess on toolchain cac44d9528e3bbbdaa1537d187bd489ccc5de18c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/glitch4347/chess [INFO] finished tweaking git repo https://github.com/glitch4347/chess [INFO] tweaked toml for git repo https://github.com/glitch4347/chess written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/glitch4347/chess already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tuple-conv v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 52790a427346a903e30f878e575f4680a946996bcc6020bf03d3251a41299201 [INFO] running `Command { std: "docker" "start" "-a" "52790a427346a903e30f878e575f4680a946996bcc6020bf03d3251a41299201", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52790a427346a903e30f878e575f4680a946996bcc6020bf03d3251a41299201", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52790a427346a903e30f878e575f4680a946996bcc6020bf03d3251a41299201", kill_on_drop: false }` [INFO] [stdout] 52790a427346a903e30f878e575f4680a946996bcc6020bf03d3251a41299201 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78a4db50349a8ce0da0ef5a3c2b93c473be83f393fea72455163cac09fab9f9a [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" "78a4db50349a8ce0da0ef5a3c2b93c473be83f393fea72455163cac09fab9f9a", kill_on_drop: false }` [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling quad-alsa-sys v0.3.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling sapp-linux v0.1.13 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Compiling quad-snd v0.2.2 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking ttf-parser v0.12.3 [INFO] [stderr] Checking bumpalo v3.7.1 [INFO] [stderr] Checking quad-rand v0.2.1 [INFO] [stderr] Checking glam v0.14.0 [INFO] [stderr] Compiling macroquad_macro v0.1.7 [INFO] [stderr] Checking tuple-conv v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking ogg v0.7.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking dasp_frame v0.11.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking lewton v0.9.4 [INFO] [stderr] Checking fontdue v0.5.2 [INFO] [stderr] Checking audrey v0.3.0 [INFO] [stderr] Checking miniquad v0.3.0-alpha.37 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking macroquad v0.3.10 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking chess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/game.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::field::{self, Field}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::piece::PieceType` [INFO] [stdout] --> src/types.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::piece::PieceType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/game.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::field::{self, Field}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::piece::PieceType` [INFO] [stdout] --> src/types.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::piece::PieceType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `King` is named the same as one of the variants of the type `PieceType` [INFO] [stdout] --> src/piece.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | King => vec![ [INFO] [stdout] | ^^^^ help: to match on the variant, qualify the path: `PieceType::King` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/piece.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 35 | King => vec![ [INFO] [stdout] | ---- matches any value [INFO] [stdout] ... [INFO] [stdout] 38 | _ => vec![(x - 1, y)] [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `King` [INFO] [stdout] --> src/piece.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | King => vec![ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_King` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `try_to_select_for_move` [INFO] [stdout] --> src/state.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | fn try_to_select_for_move(&mut self, i: usize, j: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/state.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | if i < 0 || j < 0 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/state.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | if i < 0 || j < 0 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `King` should have a snake case name [INFO] [stdout] --> src/piece.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | King => vec![ [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `king` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `King` is named the same as one of the variants of the type `PieceType` [INFO] [stdout] --> src/piece.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | King => vec![ [INFO] [stdout] | ^^^^ help: to match on the variant, qualify the path: `PieceType::King` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/piece.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 35 | King => vec![ [INFO] [stdout] | ---- matches any value [INFO] [stdout] ... [INFO] [stdout] 38 | _ => vec![(x - 1, y)] [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `King` [INFO] [stdout] --> src/piece.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | King => vec![ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_King` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `try_to_select_for_move` [INFO] [stdout] --> src/state.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | fn try_to_select_for_move(&mut self, i: usize, j: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/state.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | if i < 0 || j < 0 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/state.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | if i < 0 || j < 0 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `King` should have a snake case name [INFO] [stdout] --> src/piece.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | King => vec![ [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `king` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let mut game_over = false; [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let mut game_over = false; [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 54.08s [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "78a4db50349a8ce0da0ef5a3c2b93c473be83f393fea72455163cac09fab9f9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78a4db50349a8ce0da0ef5a3c2b93c473be83f393fea72455163cac09fab9f9a", kill_on_drop: false }` [INFO] [stdout] 78a4db50349a8ce0da0ef5a3c2b93c473be83f393fea72455163cac09fab9f9a