[INFO] cloning repository https://github.com/mag535/buzzle_bobble [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mag535/buzzle_bobble" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmag535%2Fbuzzle_bobble", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmag535%2Fbuzzle_bobble'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e2201eced3b65ba5a5bc9d39f5ea4a94bed4ed99 [INFO] building mag535/buzzle_bobble against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmag535%2Fbuzzle_bobble" "/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/mag535/buzzle_bobble [INFO] finished tweaking git repo https://github.com/mag535/buzzle_bobble [INFO] tweaked toml for git repo https://github.com/mag535/buzzle_bobble written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mag535/buzzle_bobble 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/mag535/buzzle_bobble 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 xml-rs v0.8.26 [INFO] [stderr] Downloaded spin_sleep v1.3.1 [INFO] [stderr] Downloaded piston v1.0.0 [INFO] [stderr] Downloaded piston2d-opengl_graphics v0.85.1 [INFO] [stderr] Downloaded pistoncore-event_loop v1.0.0 [INFO] [stderr] Downloaded piston-ai_behavior v0.33.0 [INFO] [stderr] Downloaded piston2d-sprite v0.68.0 [INFO] [stderr] Downloaded khronos_api v2.2.0 [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] afdd53a98066cab4259d071b31c95669f63f127c4cd4bc0797da6d820bd35cdb [INFO] running `Command { std: "docker" "start" "-a" "afdd53a98066cab4259d071b31c95669f63f127c4cd4bc0797da6d820bd35cdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "afdd53a98066cab4259d071b31c95669f63f127c4cd4bc0797da6d820bd35cdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afdd53a98066cab4259d071b31c95669f63f127c4cd4bc0797da6d820bd35cdb", kill_on_drop: false }` [INFO] [stdout] afdd53a98066cab4259d071b31c95669f63f127c4cd4bc0797da6d820bd35cdb [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] 84e848879b33d0e520e48a7426b0d6c28cc7c64eec9a751e9a9a84c0b9d5f626 [INFO] running `Command { std: "docker" "start" "-a" "84e848879b33d0e520e48a7426b0d6c28cc7c64eec9a751e9a9a84c0b9d5f626", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling xml-rs v0.8.26 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling bytemuck v1.23.0 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling xcursor v0.3.8 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling spin_sleep v1.3.1 [INFO] [stderr] Compiling find_folder v0.3.0 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling tiny-skia-path v0.8.4 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling tiny-skia v0.8.4 [INFO] [stderr] Compiling gl v0.13.0 [INFO] [stderr] Compiling glutin_glx_sys v0.4.0 [INFO] [stderr] Compiling glutin_egl_sys v0.5.1 [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 num-rational v0.4.2 [INFO] [stderr] Compiling av1-grain v0.2.4 [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 getrandom v0.3.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling pistoncore-input v1.0.1 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling uuid v0.6.5 [INFO] [stderr] Compiling pistoncore-window v1.0.0 [INFO] [stderr] Compiling piston-ai_behavior v0.33.0 [INFO] [stderr] Compiling pistoncore-event_loop v1.0.0 [INFO] [stderr] Compiling piston v1.0.0 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling piston2d-sprite v0.68.0 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling glutin v0.30.10 [INFO] [stderr] Compiling ravif v0.11.12 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.85.1 [INFO] [stderr] Compiling sctk-adwaita v0.5.4 [INFO] [stderr] Compiling glutin-winit v0.3.0 [INFO] [stderr] Compiling pistoncore-glutin_window v0.72.0 [INFO] [stderr] Compiling puzzle_bobble v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `graphics::line` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use graphics::line; [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 imports: `RenderArgs` and `UpdateArgs` [INFO] [stdout] --> src/main.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | use piston::input::{self, RenderArgs, RenderEvent, UpdateArgs, UpdateEvent}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `c_shape` is assigned to, but never used [INFO] [stdout] --> src/main.rs:490:13 [INFO] [stdout] | [INFO] [stdout] 490 | let c_shape: RectCollider; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_c_shape` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `c_shape` is never read [INFO] [stdout] --> src/main.rs:498:9 [INFO] [stdout] | [INFO] [stdout] 498 | c_shape = ceiling.unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (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:542:13 [INFO] [stdout] | [INFO] [stdout] 542 | let mut new_rect_r: usize; [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: unused variable: `level` [INFO] [stdout] --> src/main.rs:773:63 [INFO] [stdout] | [INFO] [stdout] 773 | fn draw_grid(grid: & [Option; GRID_NCOLS*GRID_NROWS], level: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 773 | fn draw_grid(grid: & [Option; GRID_NCOLS*GRID_NROWS], _level: usize, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `GRID_NCOLS` [INFO] [stdout] | [INFO] [stdout] 773 - fn draw_grid(grid: & [Option; GRID_NCOLS*GRID_NROWS], level: usize, [INFO] [stdout] 773 + fn draw_grid(grid: & [Option; GRID_NCOLS*GRID_NROWS], GRID_NCOLS: usize, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:1191:9 [INFO] [stdout] | [INFO] [stdout] 1191 | for i in 0..GRID_NROWS { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 1191 | for _i in 0..GRID_NROWS { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `GRID_NCOLS` [INFO] [stdout] | [INFO] [stdout] 1191 - for i in 0..GRID_NROWS { [INFO] [stdout] 1191 + for GRID_NCOLS in 0..GRID_NROWS { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Entity` is never used [INFO] [stdout] --> src/main.rs:48:6 [INFO] [stdout] | [INFO] [stdout] 48 | enum Entity { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `move_to` are never used [INFO] [stdout] --> src/main.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 162 | impl Bobble { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 163 | pub fn new(position: &[f64; 2], fire_angle: &f64) -> Bobble { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | fn move_to(&mut self, new_position: [f64; 2]) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `level` and `next_level` are never read [INFO] [stdout] --> src/main.rs:459:5 [INFO] [stdout] | [INFO] [stdout] 453 | struct GameState { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 459 | level: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 463 | next_level: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hexa_to_rect` is never used [INFO] [stdout] --> src/main.rs:782:4 [INFO] [stdout] | [INFO] [stdout] 782 | fn hexa_to_rect(hexa_ind: &[usize; 2]) -> [usize; 2] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rect_to_hexa` is never used [INFO] [stdout] --> src/main.rs:795:4 [INFO] [stdout] | [INFO] [stdout] 795 | fn rect_to_hexa(rect_ind: &[usize; 2]) -> [usize; 2] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 26s [INFO] running `Command { std: "docker" "inspect" "84e848879b33d0e520e48a7426b0d6c28cc7c64eec9a751e9a9a84c0b9d5f626", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84e848879b33d0e520e48a7426b0d6c28cc7c64eec9a751e9a9a84c0b9d5f626", kill_on_drop: false }` [INFO] [stdout] 84e848879b33d0e520e48a7426b0d6c28cc7c64eec9a751e9a9a84c0b9d5f626 [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] 4ef7b8562f5916949b14876c7f4f0ba26287bf8f0eff4c5035ed93e792dff0c0 [INFO] running `Command { std: "docker" "start" "-a" "4ef7b8562f5916949b14876c7f4f0ba26287bf8f0eff4c5035ed93e792dff0c0", kill_on_drop: false }` [INFO] [stderr] Compiling puzzle_bobble v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `graphics::line` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use graphics::line; [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 imports: `RenderArgs` and `UpdateArgs` [INFO] [stdout] --> src/main.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | use piston::input::{self, RenderArgs, RenderEvent, UpdateArgs, UpdateEvent}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `c_shape` is assigned to, but never used [INFO] [stdout] --> src/main.rs:490:13 [INFO] [stdout] | [INFO] [stdout] 490 | let c_shape: RectCollider; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_c_shape` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `c_shape` is never read [INFO] [stdout] --> src/main.rs:498:9 [INFO] [stdout] | [INFO] [stdout] 498 | c_shape = ceiling.unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (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:542:13 [INFO] [stdout] | [INFO] [stdout] 542 | let mut new_rect_r: usize; [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: unused variable: `level` [INFO] [stdout] --> src/main.rs:773:63 [INFO] [stdout] | [INFO] [stdout] 773 | fn draw_grid(grid: & [Option; GRID_NCOLS*GRID_NROWS], level: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 773 | fn draw_grid(grid: & [Option; GRID_NCOLS*GRID_NROWS], _level: usize, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `GRID_NCOLS` [INFO] [stdout] | [INFO] [stdout] 773 - fn draw_grid(grid: & [Option; GRID_NCOLS*GRID_NROWS], level: usize, [INFO] [stdout] 773 + fn draw_grid(grid: & [Option; GRID_NCOLS*GRID_NROWS], GRID_NCOLS: usize, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:1191:9 [INFO] [stdout] | [INFO] [stdout] 1191 | for i in 0..GRID_NROWS { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 1191 | for _i in 0..GRID_NROWS { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `GRID_NCOLS` [INFO] [stdout] | [INFO] [stdout] 1191 - for i in 0..GRID_NROWS { [INFO] [stdout] 1191 + for GRID_NCOLS in 0..GRID_NROWS { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Entity` is never used [INFO] [stdout] --> src/main.rs:48:6 [INFO] [stdout] | [INFO] [stdout] 48 | enum Entity { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `move_to` are never used [INFO] [stdout] --> src/main.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 162 | impl Bobble { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 163 | pub fn new(position: &[f64; 2], fire_angle: &f64) -> Bobble { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | fn move_to(&mut self, new_position: [f64; 2]) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `level` and `next_level` are never read [INFO] [stdout] --> src/main.rs:459:5 [INFO] [stdout] | [INFO] [stdout] 453 | struct GameState { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 459 | level: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 463 | next_level: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hexa_to_rect` is never used [INFO] [stdout] --> src/main.rs:782:4 [INFO] [stdout] | [INFO] [stdout] 782 | fn hexa_to_rect(hexa_ind: &[usize; 2]) -> [usize; 2] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rect_to_hexa` is never used [INFO] [stdout] --> src/main.rs:795:4 [INFO] [stdout] | [INFO] [stdout] 795 | fn rect_to_hexa(rect_ind: &[usize; 2]) -> [usize; 2] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.01s [INFO] running `Command { std: "docker" "inspect" "4ef7b8562f5916949b14876c7f4f0ba26287bf8f0eff4c5035ed93e792dff0c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ef7b8562f5916949b14876c7f4f0ba26287bf8f0eff4c5035ed93e792dff0c0", kill_on_drop: false }` [INFO] [stdout] 4ef7b8562f5916949b14876c7f4f0ba26287bf8f0eff4c5035ed93e792dff0c0