[INFO] cloning repository https://github.com/kanavj/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/kanavj/rust_chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkanavj%2Frust_chess", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkanavj%2Frust_chess'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a2286cbb875be5ec2a32a3a07e90c0e783d3926f
[INFO] checking kanavj/rust_chess against eca445e5ae4a6679cc27d3a09106ce245e13a5a6 for pr-162478
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkanavj%2Frust_chess" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/kanavj/rust_chess
[INFO] finished tweaking git repo https://github.com/kanavj/rust_chess
[INFO] tweaked toml for git repo https://github.com/kanavj/rust_chess written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kanavj/rust_chess on toolchain eca445e5ae4a6679cc27d3a09106ce245e13a5a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kanavj/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" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded version-compare v0.1.1
[INFO] [stderr]   Downloaded sdl2 v0.38.0
[INFO] [stderr]   Downloaded sdl2-sys v0.38.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] dc0a53a2299429f915470cdbbacfb076f268d046b44a388c33337067555a2822
[INFO] running `Command { std: "docker" "start" "dc0a53a2299429f915470cdbbacfb076f268d046b44a388c33337067555a2822", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dc0a53a2299429f915470cdbbacfb076f268d046b44a388c33337067555a2822", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "dc0a53a2299429f915470cdbbacfb076f268d046b44a388c33337067555a2822" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dc0a53a2299429f915470cdbbacfb076f268d046b44a388c33337067555a2822", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "dc0a53a2299429f915470cdbbacfb076f268d046b44a388c33337067555a2822" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.182
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling version-compare v0.1.1
[INFO] [stderr]    Compiling sdl2 v0.38.0
[INFO] [stderr]     Checking fontdue v0.9.3
[INFO] [stderr]     Checking flate2 v1.1.9
[INFO] [stderr]    Compiling sdl2-sys v0.38.0
[INFO] [stderr]     Checking png v0.17.16
[INFO] [stderr]     Checking image v0.24.9
[INFO] [stderr]     Checking miniquad v0.4.8
[INFO] [stderr]     Checking macroquad v0.4.14
[INFO] [stderr]     Checking chess v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `cmp`
[INFO] [stdout]  --> src/display/gui.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::{cmp, collections::HashMap};
[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: `cmp`
[INFO] [stdout]  --> src/display/gui.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::{cmp, collections::HashMap};
[INFO] [stdout]   |           ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]    --> src/display/gui.rs:208:61
[INFO] [stdout]     |
[INFO] [stdout] 208 |         self.square_size = (self.sw / self.cols as f32).min((self.sh / self.rows as f32));
[INFO] [stdout]     |                                                             ^                          ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 208 -         self.square_size = (self.sw / self.cols as f32).min((self.sh / self.rows as f32));
[INFO] [stdout] 208 +         self.square_size = (self.sw / self.cols as f32).min(self.sh / self.rows as f32);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]    --> src/display/gui.rs:208:61
[INFO] [stdout]     |
[INFO] [stdout] 208 |         self.square_size = (self.sw / self.cols as f32).min((self.sh / self.rows as f32));
[INFO] [stdout]     |                                                             ^                          ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 208 -         self.square_size = (self.sw / self.cols as f32).min((self.sh / self.rows as f32));
[INFO] [stdout] 208 +         self.square_size = (self.sw / self.cols as f32).min(self.sh / self.rows as f32);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `message`
[INFO] [stdout]   --> src/display/gui.rs:45:31
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn display_message(&self, message: String) {}
[INFO] [stdout]    |                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `message`
[INFO] [stdout]   --> src/display/gui.rs:45:31
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn display_message(&self, message: String) {}
[INFO] [stdout]    |                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `pixels_to_board_coords` and `board_coords_to_pixels` are never used
[INFO] [stdout]    --> src/display/gui.rs:254:8
[INFO] [stdout]     |
[INFO] [stdout]  92 | impl GUIDisplayer {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 254 |     fn pixels_to_board_coords(&self, x: f32, y: f32) -> (f32, f32) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 261 |     fn board_coords_to_pixels(&self, x: f32, y: f32) -> (f32, f32) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `pixels_to_board_coords` and `board_coords_to_pixels` are never used
[INFO] [stdout]    --> src/display/gui.rs:254:8
[INFO] [stdout]     |
[INFO] [stdout]  92 | impl GUIDisplayer {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 254 |     fn pixels_to_board_coords(&self, x: f32, y: f32) -> (f32, f32) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 261 |     fn board_coords_to_pixels(&self, x: f32, y: f32) -> (f32, f32) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]  --> src/display/mod.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     async fn display(&mut self, game: &Game);
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout]   = note: `#[warn(async_fn_in_trait)]` on by default
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]   |
[INFO] [stdout] 7 -     async fn display(&mut self, game: &Game);
[INFO] [stdout] 7 +     fn display(&mut self, game: &Game) -> impl std::future::Future<Output = ()> + Send;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]  --> src/display/mod.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     async fn display(&mut self, game: &Game);
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout]   = note: `#[warn(async_fn_in_trait)]` on by default
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]   |
[INFO] [stdout] 7 -     async fn display(&mut self, game: &Game);
[INFO] [stdout] 7 +     fn display(&mut self, game: &Game) -> impl std::future::Future<Output = ()> + Send;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: unused dependency `sdl2`
[INFO] [stderr]  --> Cargo.toml:8:1
[INFO] [stderr]   |
[INFO] [stderr] 8 | sdl2 = "0.38.0"
[INFO] [stderr]   | ^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `sdl2`
[INFO] [stderr] warning: `chess` (manifest) generated 1 warning
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.16s
[INFO] running `Command { std: "docker" "inspect" "dc0a53a2299429f915470cdbbacfb076f268d046b44a388c33337067555a2822", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dc0a53a2299429f915470cdbbacfb076f268d046b44a388c33337067555a2822", kill_on_drop: false }`
[INFO] [stdout] dc0a53a2299429f915470cdbbacfb076f268d046b44a388c33337067555a2822
