[INFO] cloning repository https://github.com/NakhodaAmir/rust_chess
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NakhodaAmir/rust_chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNakhodaAmir%2Frust_chess", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNakhodaAmir%2Frust_chess'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6ce79876a840c2f646239f6fa45dc905f32a6310
[INFO] testing NakhodaAmir/rust_chess against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNakhodaAmir%2Frust_chess" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/NakhodaAmir/rust_chess
[INFO] finished tweaking git repo https://github.com/NakhodaAmir/rust_chess
[INFO] tweaked toml for git repo https://github.com/NakhodaAmir/rust_chess written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/NakhodaAmir/rust_chess on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/NakhodaAmir/rust_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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0b0c86046f6267a9f90faff92b91efde96a99e9aae17e41347f3caa6114947cd
[INFO] running `Command { std: "docker" "start" "-a" "0b0c86046f6267a9f90faff92b91efde96a99e9aae17e41347f3caa6114947cd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0b0c86046f6267a9f90faff92b91efde96a99e9aae17e41347f3caa6114947cd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0b0c86046f6267a9f90faff92b91efde96a99e9aae17e41347f3caa6114947cd", kill_on_drop: false }`
[INFO] [stdout] 0b0c86046f6267a9f90faff92b91efde96a99e9aae17e41347f3caa6114947cd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 584e359ba134690a7867fa9bba9a1961c0697db8fb0864a280169068d7014275
[INFO] running `Command { std: "docker" "start" "-a" "584e359ba134690a7867fa9bba9a1961c0697db8fb0864a280169068d7014275", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.167
[INFO] [stderr]    Compiling rustix v0.38.41
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling cc v1.2.2
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling bytemuck v1.20.0
[INFO] [stderr]    Compiling wayland-sys v0.31.5
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]    Compiling wayland-scanner v0.31.5
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling anyhow v1.0.93
[INFO] [stderr]    Compiling khronos-egl v4.1.0
[INFO] [stderr]    Compiling miniz_oxide v0.8.0
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling spirv v0.2.0+1.5.4
[INFO] [stderr]    Compiling gpu-alloc-types v0.3.0
[INFO] [stderr]    Compiling gpu-descriptor-types v0.1.2
[INFO] [stderr]    Compiling raw-window-handle v0.5.2
[INFO] [stderr]    Compiling built v0.7.5
[INFO] [stderr]    Compiling aligned-vec v0.5.0
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling gpu-alloc v0.6.0
[INFO] [stderr]    Compiling ash v0.37.3+1.3.251
[INFO] [stderr]    Compiling wgpu-types v0.17.0
[INFO] [stderr]    Compiling glow v0.12.3
[INFO] [stderr]    Compiling v_frame v0.3.8
[INFO] [stderr]    Compiling rav1e v0.7.1
[INFO] [stderr]    Compiling tiny-skia-path v0.11.4
[INFO] [stderr]    Compiling owned_ttf_parser v0.25.0
[INFO] [stderr]    Compiling flate2 v1.0.35
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling memmap2 v0.9.5
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling wayland-backend v0.3.7
[INFO] [stderr]    Compiling safe_arch v0.7.2
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling imgref v1.11.0
[INFO] [stderr]    Compiling gpu-descriptor v0.2.4
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling noop_proc_macro v0.3.0
[INFO] [stderr]    Compiling bitstream-io v2.6.0
[INFO] [stderr]    Compiling ab_glyph v0.2.29
[INFO] [stderr]    Compiling wide v0.7.30
[INFO] [stderr]    Compiling av1-grain v0.2.3
[INFO] [stderr]    Compiling winit v0.30.5
[INFO] [stderr]    Compiling tiny-skia v0.11.4
[INFO] [stderr]    Compiling fdeflate v0.3.6
[INFO] [stderr]    Compiling loop9 v0.1.5
[INFO] [stderr]    Compiling avif-serialize v0.8.2
[INFO] [stderr]    Compiling half v2.4.1
[INFO] [stderr]    Compiling zune-core v0.4.12
[INFO] [stderr]    Compiling rgb v0.8.50
[INFO] [stderr]    Compiling gif v0.13.1
[INFO] [stderr]    Compiling png v0.17.14
[INFO] [stderr]    Compiling tiff v0.9.1
[INFO] [stderr]    Compiling exr v1.73.0
[INFO] [stderr]    Compiling zune-jpeg v0.4.13
[INFO] [stderr]    Compiling image-webp v0.2.0
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]    Compiling xkbcommon-dl v0.4.2
[INFO] [stderr]    Compiling qoi v0.4.1
[INFO] [stderr]    Compiling ultraviolet v0.9.2
[INFO] [stderr]    Compiling map-macro v0.3.0
[INFO] [stderr]    Compiling maybe-rayon v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling profiling-procmacros v1.0.16
[INFO] [stderr]    Compiling arg_enum_proc_macro v0.3.4
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling polling v3.7.4
[INFO] [stderr]    Compiling x11rb v0.13.1
[INFO] [stderr]    Compiling profiling v1.0.16
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling calloop v0.13.0
[INFO] [stderr]    Compiling naga v0.13.0
[INFO] [stderr]    Compiling wayland-client v0.31.7
[INFO] [stderr]    Compiling wayland-csd-frame v0.3.0
[INFO] [stderr]    Compiling wayland-protocols v0.32.5
[INFO] [stderr]    Compiling wayland-cursor v0.31.7
[INFO] [stderr]    Compiling calloop-wayland-source v0.3.0
[INFO] [stderr]    Compiling wgpu-hal v0.17.2
[INFO] [stderr]    Compiling ravif v0.11.11
[INFO] [stderr]    Compiling wayland-protocols-wlr v0.3.5
[INFO] [stderr]    Compiling wayland-protocols-plasma v0.3.5
[INFO] [stderr]    Compiling smithay-client-toolkit v0.19.2
[INFO] [stderr]    Compiling image v0.25.5
[INFO] [stderr]    Compiling wgpu-core v0.17.1
[INFO] [stderr]    Compiling sctk-adwaita v0.10.1
[INFO] [stderr]    Compiling wgpu v0.17.2
[INFO] [stderr]    Compiling pixels v0.14.0
[INFO] [stderr]    Compiling rust_chess v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `core::error`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::error;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashMap`
[INFO] [stdout]  --> src/main.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Cursor`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::Cursor;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ops::Deref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `map_macro::hash_set`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use map_macro::hash_set;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ImageBuffer`, `Pixel`, and `Rgba`
[INFO] [stdout]  --> src/main.rs:9:31
[INFO] [stdout]   |
[INFO] [stdout] 9 | use image::{GenericImageView, ImageBuffer, Pixel, Rgba};
[INFO] [stdout]   |                               ^^^^^^^^^^^  ^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Size`
[INFO] [stdout]   --> src/main.rs:11:31
[INFO] [stdout]    |
[INFO] [stdout] 11 | use winit::dpi::{LogicalSize, Size};
[INFO] [stdout]    |                               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WindowAttributes`
[INFO] [stdout]   --> src/main.rs:15:41
[INFO] [stdout]    |
[INFO] [stdout] 15 | use winit::window::{CursorIcon, Window, WindowAttributes, WindowButtons, WindowId};
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `window_id`
[INFO] [stdout]    --> src/main.rs:125:9
[INFO] [stdout]     |
[INFO] [stdout] 125 |         window_id: WindowId,
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/main.rs:735:21
[INFO] [stdout]     |
[INFO] [stdout] 735 |                     _ => (HashSet::new(), HashSet::new()),
[INFO] [stdout]     |                     ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/main.rs:735:21
[INFO] [stdout]     |
[INFO] [stdout] 645 |                     Color::White => {
[INFO] [stdout]     |                     ------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 690 |                     Color::Black => {
[INFO] [stdout]     |                     ------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 735 |                     _ => (HashSet::new(), HashSet::new()),
[INFO] [stdout]     |                     ^ collectively making this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `None` is never constructed
[INFO] [stdout]   --> src/main.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | enum DrawImageType {
[INFO] [stdout]    |      ------------- variant in this enum
[INFO] [stdout] 43 |     None,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `CastlingRights` is never used
[INFO] [stdout]   --> src/main.rs:59:6
[INFO] [stdout]    |
[INFO] [stdout] 59 | enum CastlingRights {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FEN` is never constructed
[INFO] [stdout]   --> src/main.rs:69:8
[INFO] [stdout]    |
[INFO] [stdout] 69 | struct FEN {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `white_long_castle`, `white_short_castle`, `black_long_castle`, and `black_short_castle` are never read
[INFO] [stdout]    --> src/main.rs:98:5
[INFO] [stdout]     |
[INFO] [stdout]  85 | struct App<'a> {
[INFO] [stdout]     |        --- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout]  98 |     white_long_castle: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]  99 |     white_short_castle: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 100 |     black_long_castle: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 101 |     black_short_castle: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 49s
[INFO] running `Command { std: "docker" "inspect" "584e359ba134690a7867fa9bba9a1961c0697db8fb0864a280169068d7014275", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "584e359ba134690a7867fa9bba9a1961c0697db8fb0864a280169068d7014275", kill_on_drop: false }`
[INFO] [stdout] 584e359ba134690a7867fa9bba9a1961c0697db8fb0864a280169068d7014275
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 71966a7efa7872952a93dd809e2a5778069d42753c49df2d26e5536f4f982ed7
[INFO] running `Command { std: "docker" "start" "-a" "71966a7efa7872952a93dd809e2a5778069d42753c49df2d26e5536f4f982ed7", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust_chess v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `core::error`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::error;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashMap`
[INFO] [stdout]  --> src/main.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Cursor`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::Cursor;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ops::Deref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `map_macro::hash_set`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use map_macro::hash_set;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ImageBuffer`, `Pixel`, and `Rgba`
[INFO] [stdout]  --> src/main.rs:9:31
[INFO] [stdout]   |
[INFO] [stdout] 9 | use image::{GenericImageView, ImageBuffer, Pixel, Rgba};
[INFO] [stdout]   |                               ^^^^^^^^^^^  ^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Size`
[INFO] [stdout]   --> src/main.rs:11:31
[INFO] [stdout]    |
[INFO] [stdout] 11 | use winit::dpi::{LogicalSize, Size};
[INFO] [stdout]    |                               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WindowAttributes`
[INFO] [stdout]   --> src/main.rs:15:41
[INFO] [stdout]    |
[INFO] [stdout] 15 | use winit::window::{CursorIcon, Window, WindowAttributes, WindowButtons, WindowId};
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `window_id`
[INFO] [stdout]    --> src/main.rs:125:9
[INFO] [stdout]     |
[INFO] [stdout] 125 |         window_id: WindowId,
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/main.rs:735:21
[INFO] [stdout]     |
[INFO] [stdout] 735 |                     _ => (HashSet::new(), HashSet::new()),
[INFO] [stdout]     |                     ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/main.rs:735:21
[INFO] [stdout]     |
[INFO] [stdout] 645 |                     Color::White => {
[INFO] [stdout]     |                     ------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 690 |                     Color::Black => {
[INFO] [stdout]     |                     ------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 735 |                     _ => (HashSet::new(), HashSet::new()),
[INFO] [stdout]     |                     ^ collectively making this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `None` is never constructed
[INFO] [stdout]   --> src/main.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | enum DrawImageType {
[INFO] [stdout]    |      ------------- variant in this enum
[INFO] [stdout] 43 |     None,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `CastlingRights` is never used
[INFO] [stdout]   --> src/main.rs:59:6
[INFO] [stdout]    |
[INFO] [stdout] 59 | enum CastlingRights {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FEN` is never constructed
[INFO] [stdout]   --> src/main.rs:69:8
[INFO] [stdout]    |
[INFO] [stdout] 69 | struct FEN {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `white_long_castle`, `white_short_castle`, `black_long_castle`, and `black_short_castle` are never read
[INFO] [stdout]    --> src/main.rs:98:5
[INFO] [stdout]     |
[INFO] [stdout]  85 | struct App<'a> {
[INFO] [stdout]     |        --- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout]  98 |     white_long_castle: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]  99 |     white_short_castle: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 100 |     black_long_castle: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 101 |     black_short_castle: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.48s
[INFO] running `Command { std: "docker" "inspect" "71966a7efa7872952a93dd809e2a5778069d42753c49df2d26e5536f4f982ed7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "71966a7efa7872952a93dd809e2a5778069d42753c49df2d26e5536f4f982ed7", kill_on_drop: false }`
[INFO] [stdout] 71966a7efa7872952a93dd809e2a5778069d42753c49df2d26e5536f4f982ed7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 7328b1168c6afcdd5e8fc453c10418c9f036a527d248c1aa161e06783762acb3
[INFO] running `Command { std: "docker" "start" "-a" "7328b1168c6afcdd5e8fc453c10418c9f036a527d248c1aa161e06783762acb3", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `core::error`
[INFO] [stderr]  --> src/main.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use core::error;
[INFO] [stderr]   |     ^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `HashMap`
[INFO] [stderr]  --> src/main.rs:2:24
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::collections::{HashMap, HashSet};
[INFO] [stderr]   |                        ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::io::Cursor`
[INFO] [stderr]  --> src/main.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::io::Cursor;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::ops::Deref`
[INFO] [stderr]  --> src/main.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::ops::Deref;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `map_macro::hash_set`
[INFO] [stderr]  --> src/main.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use map_macro::hash_set;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `ImageBuffer`, `Pixel`, and `Rgba`
[INFO] [stderr]  --> src/main.rs:9:31
[INFO] [stderr]   |
[INFO] [stderr] 9 | use image::{GenericImageView, ImageBuffer, Pixel, Rgba};
[INFO] [stderr]   |                               ^^^^^^^^^^^  ^^^^^  ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Size`
[INFO] [stderr]   --> src/main.rs:11:31
[INFO] [stderr]    |
[INFO] [stderr] 11 | use winit::dpi::{LogicalSize, Size};
[INFO] [stderr]    |                               ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `WindowAttributes`
[INFO] [stderr]   --> src/main.rs:15:41
[INFO] [stderr]    |
[INFO] [stderr] 15 | use winit::window::{CursorIcon, Window, WindowAttributes, WindowButtons, WindowId};
[INFO] [stderr]    |                                         ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `window_id`
[INFO] [stderr]    --> src/main.rs:125:9
[INFO] [stderr]     |
[INFO] [stderr] 125 |         window_id: WindowId,
[INFO] [stderr]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_id`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]    --> src/main.rs:735:21
[INFO] [stderr]     |
[INFO] [stderr] 735 |                     _ => (HashSet::new(), HashSet::new()),
[INFO] [stderr]     |                     ^ no value can reach this
[INFO] [stderr]     |
[INFO] [stderr] note: multiple earlier patterns match some of the same values
[INFO] [stderr]    --> src/main.rs:735:21
[INFO] [stderr]     |
[INFO] [stderr] 645 |                     Color::White => {
[INFO] [stderr]     |                     ------------ matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 690 |                     Color::Black => {
[INFO] [stderr]     |                     ------------ matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 735 |                     _ => (HashSet::new(), HashSet::new()),
[INFO] [stderr]     |                     ^ collectively making this unreachable
[INFO] [stderr]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variant `None` is never constructed
[INFO] [stderr]   --> src/main.rs:43:5
[INFO] [stderr]    |
[INFO] [stderr] 42 | enum DrawImageType {
[INFO] [stderr]    |      ------------- variant in this enum
[INFO] [stderr] 43 |     None,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: enum `CastlingRights` is never used
[INFO] [stderr]   --> src/main.rs:59:6
[INFO] [stderr]    |
[INFO] [stderr] 59 | enum CastlingRights {
[INFO] [stderr]    |      ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `FEN` is never constructed
[INFO] [stderr]   --> src/main.rs:69:8
[INFO] [stderr]    |
[INFO] [stderr] 69 | struct FEN {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `white_long_castle`, `white_short_castle`, `black_long_castle`, and `black_short_castle` are never read
[INFO] [stderr]    --> src/main.rs:98:5
[INFO] [stderr]     |
[INFO] [stderr]  85 | struct App<'a> {
[INFO] [stderr]     |        --- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr]  98 |     white_long_castle: bool,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr]  99 |     white_short_castle: bool,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 100 |     black_long_castle: bool,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 101 |     black_short_castle: bool,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `rust_chess` (bin "rust_chess" test) generated 14 warnings (run `cargo fix --bin "rust_chess" -p rust_chess --tests` to apply 9 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_chess-5dc7144b24f10843)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "7328b1168c6afcdd5e8fc453c10418c9f036a527d248c1aa161e06783762acb3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7328b1168c6afcdd5e8fc453c10418c9f036a527d248c1aa161e06783762acb3", kill_on_drop: false }`
[INFO] [stdout] 7328b1168c6afcdd5e8fc453c10418c9f036a527d248c1aa161e06783762acb3
