[INFO] cloning repository https://github.com/GraydenH/chess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GraydenH/chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGraydenH%2Fchess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGraydenH%2Fchess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c09316c64f084d37a440876d7928ab33a9163f5d [INFO] testing GraydenH/chess against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGraydenH%2Fchess" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/GraydenH/chess [INFO] finished tweaking git repo https://github.com/GraydenH/chess [INFO] tweaked toml for git repo https://github.com/GraydenH/chess written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/GraydenH/chess on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/GraydenH/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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pistoncore-window v0.47.1 [INFO] [stderr] Downloaded piston-texture v0.8.0 [INFO] [stderr] Downloaded interpolation v0.2.0 [INFO] [stderr] Downloaded piston v0.53.1 [INFO] [stderr] Downloaded spin_sleep v1.1.1 [INFO] [stderr] Downloaded piston2d-graphics v0.42.0 [INFO] [stderr] Downloaded spin v0.9.3 [INFO] [stderr] Downloaded piston2d-opengl_graphics v0.81.0 [INFO] [stderr] Downloaded flume v0.10.12 [INFO] [stderr] Downloaded pistoncore-glutin_window v0.69.0 [INFO] [stderr] Downloaded rayon-core v1.9.2 [INFO] [stderr] Downloaded rayon v1.5.2 [INFO] [stderr] Downloaded exr v1.4.2 [INFO] [stderr] Downloaded ndarray v0.15.4 [INFO] [stderr] Downloaded libc v0.2.124 [INFO] [stderr] Downloaded jpeg-decoder v0.2.4 [INFO] [stderr] Downloaded pistoncore-event_loop v0.53.1 [INFO] [stderr] Downloaded tiff v0.7.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a663270112b35f64b19e99ab9cce634977254336143cf6e14fb70a98ccfd5c72 [INFO] running `Command { std: "docker" "start" "-a" "a663270112b35f64b19e99ab9cce634977254336143cf6e14fb70a98ccfd5c72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a663270112b35f64b19e99ab9cce634977254336143cf6e14fb70a98ccfd5c72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a663270112b35f64b19e99ab9cce634977254336143cf6e14fb70a98ccfd5c72", kill_on_drop: false }` [INFO] [stdout] a663270112b35f64b19e99ab9cce634977254336143cf6e14fb70a98ccfd5c72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f63fd3490149ea73adc735b2b14bf2c9fb51d7457a536d2a99054be097f784b [INFO] running `Command { std: "docker" "start" "-a" "1f63fd3490149ea73adc735b2b14bf2c9fb51d7457a536d2a99054be097f784b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling piston-float v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling rayon-core v1.9.2 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling piston-viewport v1.0.2 [INFO] [stderr] Compiling rayon v1.5.2 [INFO] [stderr] Compiling piston-graphics_api_version v1.0.1 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling spin v0.9.3 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling shader_version v0.7.0 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling bytemuck v1.9.1 [INFO] [stderr] Compiling spin_sleep v1.1.1 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling piston-texture v0.8.0 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling matrixmultiply v0.3.2 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling gl v0.13.0 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.4.0 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling ndarray v0.15.4 [INFO] [stderr] Compiling piston2d-graphics v0.42.0 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling xdg v2.4.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling flate2 v1.0.23 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling jpeg-decoder v0.2.4 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling tiff v0.7.2 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling flume v0.10.12 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling exr v1.4.2 [INFO] [stderr] Compiling pistoncore-input v1.0.1 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling wayland-egl v0.28.6 [INFO] [stderr] Compiling pistoncore-window v0.47.1 [INFO] [stderr] Compiling pistoncore-event_loop v0.53.1 [INFO] [stderr] Compiling piston v0.53.1 [INFO] [stderr] Compiling image v0.24.1 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.81.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling winit v0.24.0 [INFO] [stderr] Compiling glutin v0.26.0 [INFO] [stderr] Compiling pistoncore-glutin_window v0.69.0 [INFO] [stderr] Compiling chess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `UpdateArgs` and `UpdateEvent` [INFO] [stdout] --> src/main.rs:10:46 [INFO] [stdout] | [INFO] [stdout] 10 | use piston::input::{RenderArgs, RenderEvent, UpdateArgs, UpdateEvent}; [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: `Axis` [INFO] [stdout] --> src/main.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | use ndarray::{Array2, Axis}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Key`, `MouseRelativeEvent`, and `MouseScrollEvent` [INFO] [stdout] --> src/main.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | use piston::{MouseCursorEvent, MouseRelativeEvent, MouseScrollEvent, ButtonState, ButtonEvent, Button, Key, MouseButton, ButtonArgs}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_playing_white` is never read [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | is_playing_white: bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_coords` is never used [INFO] [stdout] --> src/main.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn get_coords(screenx: f64, screeny: f64, square_size: f64) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 24s [INFO] running `Command { std: "docker" "inspect" "1f63fd3490149ea73adc735b2b14bf2c9fb51d7457a536d2a99054be097f784b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f63fd3490149ea73adc735b2b14bf2c9fb51d7457a536d2a99054be097f784b", kill_on_drop: false }` [INFO] [stdout] 1f63fd3490149ea73adc735b2b14bf2c9fb51d7457a536d2a99054be097f784b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e4b53f7fbb26318be92e94f016e1a273a288a5dbcbf512881a8abbefdb4d947 [INFO] running `Command { std: "docker" "start" "-a" "3e4b53f7fbb26318be92e94f016e1a273a288a5dbcbf512881a8abbefdb4d947", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling chess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `UpdateArgs` and `UpdateEvent` [INFO] [stdout] --> src/main.rs:10:46 [INFO] [stdout] | [INFO] [stdout] 10 | use piston::input::{RenderArgs, RenderEvent, UpdateArgs, UpdateEvent}; [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: `Axis` [INFO] [stdout] --> src/main.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | use ndarray::{Array2, Axis}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Key`, `MouseRelativeEvent`, and `MouseScrollEvent` [INFO] [stdout] --> src/main.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | use piston::{MouseCursorEvent, MouseRelativeEvent, MouseScrollEvent, ButtonState, ButtonEvent, Button, Key, MouseButton, ButtonArgs}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_playing_white` is never read [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | is_playing_white: bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_coords` is never used [INFO] [stdout] --> src/main.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn get_coords(screenx: f64, screeny: f64, square_size: f64) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.91s [INFO] running `Command { std: "docker" "inspect" "3e4b53f7fbb26318be92e94f016e1a273a288a5dbcbf512881a8abbefdb4d947", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e4b53f7fbb26318be92e94f016e1a273a288a5dbcbf512881a8abbefdb4d947", kill_on_drop: false }` [INFO] [stdout] 3e4b53f7fbb26318be92e94f016e1a273a288a5dbcbf512881a8abbefdb4d947 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 74b5c136343e807761133f35b2e43788063b09f434f42398588e2e0fffcb3cce [INFO] running `Command { std: "docker" "start" "-a" "74b5c136343e807761133f35b2e43788063b09f434f42398588e2e0fffcb3cce", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unused imports: `UpdateArgs` and `UpdateEvent` [INFO] [stderr] --> src/main.rs:10:46 [INFO] [stderr] | [INFO] [stderr] 10 | use piston::input::{RenderArgs, RenderEvent, UpdateArgs, UpdateEvent}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Axis` [INFO] [stderr] --> src/main.rs:16:23 [INFO] [stderr] | [INFO] [stderr] 16 | use ndarray::{Array2, Axis}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::borrow::Borrow` [INFO] [stderr] --> src/main.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use std::borrow::Borrow; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Key`, `MouseRelativeEvent`, and `MouseScrollEvent` [INFO] [stderr] --> src/main.rs:18:32 [INFO] [stderr] | [INFO] [stderr] 18 | use piston::{MouseCursorEvent, MouseRelativeEvent, MouseScrollEvent, ButtonState, ButtonEvent, Button, Key, MouseButton, ButtonArgs}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ [INFO] [stderr] [INFO] [stderr] warning: field `is_playing_white` is never read [INFO] [stderr] --> src/main.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct App { [INFO] [stderr] | --- field in this struct [INFO] [stderr] ... [INFO] [stderr] 27 | is_playing_white: bool [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `get_coords` is never used [INFO] [stderr] --> src/main.rs:80:4 [INFO] [stderr] | [INFO] [stderr] 80 | fn get_coords(screenx: f64, screeny: f64, square_size: f64) -> (usize, usize) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `chess` (bin "chess" test) generated 6 warnings (run `cargo fix --bin "chess" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/chess-59a086f6eb9f3e3b) [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" "74b5c136343e807761133f35b2e43788063b09f434f42398588e2e0fffcb3cce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74b5c136343e807761133f35b2e43788063b09f434f42398588e2e0fffcb3cce", kill_on_drop: false }` [INFO] [stdout] 74b5c136343e807761133f35b2e43788063b09f434f42398588e2e0fffcb3cce