[INFO] cloning repository https://github.com/drgomesp/slotcars [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/drgomesp/slotcars" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrgomesp%2Fslotcars", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrgomesp%2Fslotcars'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 11290541e5b686c02740ed990c2f60e75165537b [INFO] building drgomesp/slotcars against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrgomesp%2Fslotcars" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/drgomesp/slotcars [INFO] finished tweaking git repo https://github.com/drgomesp/slotcars [INFO] tweaked toml for git repo https://github.com/drgomesp/slotcars written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/drgomesp/slotcars 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/drgomesp/slotcars 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xcursor v0.3.8 [INFO] [stderr] Downloaded bytemuck v1.21.0 [INFO] [stderr] Downloaded gpu-alloc-types v0.2.0 [INFO] [stderr] Downloaded bytemuck_derive v1.8.1 [INFO] [stderr] Downloaded profiling v1.0.16 [INFO] [stderr] Downloaded approx v0.4.0 [INFO] [stderr] Downloaded wgpu-types v0.16.1 [INFO] [stderr] Downloaded cgmath v0.18.0 [INFO] [stderr] Downloaded xml-rs v0.8.24 [INFO] [stderr] Downloaded cc v1.2.6 [INFO] [stderr] Downloaded wgpu v0.16.3 [INFO] [stderr] Downloaded pollster v0.3.0 [INFO] [stderr] Downloaded d3d12 v0.6.0 [INFO] [stderr] Downloaded wgpu-hal v0.16.2 [INFO] [stderr] Downloaded gpu-alloc v0.5.4 [INFO] [stderr] Downloaded wgpu-core v0.16.1 [INFO] [stderr] Downloaded metal v0.24.0 [INFO] [stderr] Downloaded naga v0.12.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 368f1df683196e8796b317adfc12eaea0b9a9c1d236c5022c33a4898d96260d6 [INFO] running `Command { std: "docker" "start" "-a" "368f1df683196e8796b317adfc12eaea0b9a9c1d236c5022c33a4898d96260d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "368f1df683196e8796b317adfc12eaea0b9a9c1d236c5022c33a4898d96260d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "368f1df683196e8796b317adfc12eaea0b9a9c1d236c5022c33a4898d96260d6", kill_on_drop: false }` [INFO] [stdout] 368f1df683196e8796b317adfc12eaea0b9a9c1d236c5022c33a4898d96260d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] eedae8bb97764a4008f8ce6fed3861f66f8499a72469d45020287950783caa83 [INFO] running `Command { std: "docker" "start" "-a" "eedae8bb97764a4008f8ce6fed3861f66f8499a72469d45020287950783caa83", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling xml-rs v0.8.24 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling miniz_oxide v0.8.2 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling xcursor v0.3.8 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling gpu-alloc v0.5.4 [INFO] [stderr] Compiling wgpu-types v0.16.1 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling syn v2.0.94 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling renderdoc-sys v1.1.0 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling pollster v0.3.0 [INFO] [stderr] Compiling gpu-descriptor v0.2.4 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling ab_glyph v0.2.29 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling bytemuck_derive v1.8.1 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling bytemuck v1.21.0 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling tiny-skia-path v0.8.4 [INFO] [stderr] Compiling naga v0.12.3 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling tiny-skia v0.8.4 [INFO] [stderr] Compiling wgpu-hal v0.16.2 [INFO] [stderr] Compiling wgpu-core v0.16.1 [INFO] [stderr] Compiling wgpu v0.16.3 [INFO] [stderr] Compiling sctk-adwaita v0.5.4 [INFO] [stderr] Compiling slotcars v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:299:6 [INFO] [stdout] | [INFO] [stdout] 299 | ) -> ((Vec, Vec)) { [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] 299 - ) -> ((Vec, Vec)) { [INFO] [stdout] 299 + ) -> (Vec, Vec) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `selection_box_raw_vertices` is never read [INFO] [stdout] --> src/main.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | selection_box_raw_vertices = vertices.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grid_render_pipeline` [INFO] [stdout] --> src/main.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let grid_render_pipeline = device.create_render_pipeline(&wgpu::RenderPipelineDescriptor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grid_render_pipeline` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | let mut grid_index_buffer = device.create_buffer_init(&wgpu::util::BufferInitDescriptor { [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/grid.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let mut vertices = vec![ [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/grid.rs:165:35 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn get_cell_at(&mut self, x: f32, y: f32) -> Option<&Cell> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/grid.rs:165:43 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn get_cell_at(&mut self, x: f32, y: f32) -> Option<&Cell> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/main.rs:306:14 [INFO] [stdout] | [INFO] [stdout] 306 | Some(pos) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x`, `y`, and `is_hovered` are never read [INFO] [stdout] --> src/grid.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Cell { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 5 | x: i32, [INFO] [stdout] | ^ [INFO] [stdout] 6 | y: i32, [INFO] [stdout] | ^ [INFO] [stdout] 7 | is_hovered: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cells` is never read [INFO] [stdout] --> src/grid.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Grid { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub cells: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Grid` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_cell_at` is never used [INFO] [stdout] --> src/grid.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Grid { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn get_cell_at(&mut self, x: f32, y: f32) -> Option<&Cell> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 31s [INFO] running `Command { std: "docker" "inspect" "eedae8bb97764a4008f8ce6fed3861f66f8499a72469d45020287950783caa83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eedae8bb97764a4008f8ce6fed3861f66f8499a72469d45020287950783caa83", kill_on_drop: false }` [INFO] [stdout] eedae8bb97764a4008f8ce6fed3861f66f8499a72469d45020287950783caa83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] d1c60d28400ef03535f24f9acf0e94639c58f5505791c543ea692ea9feb67c24 [INFO] running `Command { std: "docker" "start" "-a" "d1c60d28400ef03535f24f9acf0e94639c58f5505791c543ea692ea9feb67c24", kill_on_drop: false }` [INFO] [stderr] Compiling slotcars v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:299:6 [INFO] [stdout] | [INFO] [stdout] 299 | ) -> ((Vec, Vec)) { [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] 299 - ) -> ((Vec, Vec)) { [INFO] [stdout] 299 + ) -> (Vec, Vec) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `selection_box_raw_vertices` is never read [INFO] [stdout] --> src/main.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | selection_box_raw_vertices = vertices.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grid_render_pipeline` [INFO] [stdout] --> src/main.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let grid_render_pipeline = device.create_render_pipeline(&wgpu::RenderPipelineDescriptor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grid_render_pipeline` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | let mut grid_index_buffer = device.create_buffer_init(&wgpu::util::BufferInitDescriptor { [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/grid.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let mut vertices = vec![ [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/grid.rs:165:35 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn get_cell_at(&mut self, x: f32, y: f32) -> Option<&Cell> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/grid.rs:165:43 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn get_cell_at(&mut self, x: f32, y: f32) -> Option<&Cell> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/main.rs:306:14 [INFO] [stdout] | [INFO] [stdout] 306 | Some(pos) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x`, `y`, and `is_hovered` are never read [INFO] [stdout] --> src/grid.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Cell { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 5 | x: i32, [INFO] [stdout] | ^ [INFO] [stdout] 6 | y: i32, [INFO] [stdout] | ^ [INFO] [stdout] 7 | is_hovered: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cells` is never read [INFO] [stdout] --> src/grid.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Grid { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub cells: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Grid` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_cell_at` is never used [INFO] [stdout] --> src/grid.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Grid { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn get_cell_at(&mut self, x: f32, y: f32) -> Option<&Cell> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.20s [INFO] running `Command { std: "docker" "inspect" "d1c60d28400ef03535f24f9acf0e94639c58f5505791c543ea692ea9feb67c24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1c60d28400ef03535f24f9acf0e94639c58f5505791c543ea692ea9feb67c24", kill_on_drop: false }` [INFO] [stdout] d1c60d28400ef03535f24f9acf0e94639c58f5505791c543ea692ea9feb67c24