[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 69bccf03c4733f57482f9691456efcd80f86a5f6 for pr-164053 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkanavj%2Frust_chess" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kanavj/rust_chess on toolchain 69bccf03c4733f57482f9691456efcd80f86a5f6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "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" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [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-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 2ba6c38b61f629b5a012a59ccedf9b26d34bd791b5eb43a1c724f3d312502ce1 [INFO] running `Command { std: "docker" "start" "2ba6c38b61f629b5a012a59ccedf9b26d34bd791b5eb43a1c724f3d312502ce1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ba6c38b61f629b5a012a59ccedf9b26d34bd791b5eb43a1c724f3d312502ce1", 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" "2ba6c38b61f629b5a012a59ccedf9b26d34bd791b5eb43a1c724f3d312502ce1" "/opt/rustwide/cargo-home/bin/cargo" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ba6c38b61f629b5a012a59ccedf9b26d34bd791b5eb43a1c724f3d312502ce1", 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" "2ba6c38b61f629b5a012a59ccedf9b26d34bd791b5eb43a1c724f3d312502ce1" "/opt/rustwide/cargo-home/bin/cargo" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking simd-adler32 v0.3.8 [INFO] [stderr] Compiling sdl2-sys v0.38.0 [INFO] [stderr] Compiling sdl2 v0.38.0 [INFO] [stderr] Checking miniquad v0.4.8 [INFO] [stderr] Checking rayon-core v1.13.0 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking image v0.24.9 [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: 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 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: 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: 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 + Send; [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: 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 + 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 5.94s [INFO] running `Command { std: "docker" "inspect" "2ba6c38b61f629b5a012a59ccedf9b26d34bd791b5eb43a1c724f3d312502ce1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ba6c38b61f629b5a012a59ccedf9b26d34bd791b5eb43a1c724f3d312502ce1", kill_on_drop: false }` [INFO] [stdout] 2ba6c38b61f629b5a012a59ccedf9b26d34bd791b5eb43a1c724f3d312502ce1