[INFO] cloning repository https://github.com/Sh1uhoo/3games [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Sh1uhoo/3games" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSh1uhoo%2F3games", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSh1uhoo%2F3games'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 63d4226a47139831e2ca60aa7c9e812643edfc8a [INFO] checking Sh1uhoo/3games against eca445e5ae4a6679cc27d3a09106ce245e13a5a6 for pr-162478 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSh1uhoo%2F3games" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Sh1uhoo/3games [INFO] finished tweaking git repo https://github.com/Sh1uhoo/3games [INFO] tweaked toml for git repo https://github.com/Sh1uhoo/3games written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Sh1uhoo/3games 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/Sh1uhoo/3games 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] warning: binary `mini_games` should have a kebab-case name [INFO] [stderr] | [INFO] [stderr] 1 | /workspace/builds/worker-5-tc1/source/target/.../mini_games [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::non_kebab_case_bins` is set to `warn` by default [INFO] [stderr] help: to change the binary name to `mini-games`, convert `package.name` [INFO] [stderr] --> Cargo.toml:12:8 [INFO] [stderr] | [INFO] [stderr] 12 - name = "mini_games" [INFO] [stderr] 12 + name = "mini-games" [INFO] [stderr] | [INFO] [stderr] help: to change the binary name to `mini-games`, specify `bin.name` [INFO] [stderr] --> Cargo.toml:20:14 [INFO] [stderr] | [INFO] [stderr] 20 ~ strip = true [INFO] [stderr] 21 + [[bin]] [INFO] [stderr] 22 + name = "mini-games" [INFO] [stderr] 23 + path = "src/main.rs" [INFO] [stderr] | [INFO] [stderr] warning: `mini_games` (manifest) generated 1 warning [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded objc-rs v0.2.8 [INFO] [stderr] Downloaded macroquad_macro v0.1.8 [INFO] [stderr] Downloaded quad-rand v0.2.3 [INFO] [stderr] Downloaded miniquad v0.4.8 [INFO] [stderr] Downloaded fontdue v0.9.3 [INFO] [stderr] Downloaded macroquad v0.4.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 3245bcf5e36012645fc06645ee351d2737d59499b5e2fce440667e0f677c2ec1 [INFO] running `Command { std: "docker" "start" "3245bcf5e36012645fc06645ee351d2737d59499b5e2fce440667e0f677c2ec1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3245bcf5e36012645fc06645ee351d2737d59499b5e2fce440667e0f677c2ec1", 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" "3245bcf5e36012645fc06645ee351d2737d59499b5e2fce440667e0f677c2ec1" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3245bcf5e36012645fc06645ee351d2737d59499b5e2fce440667e0f677c2ec1", 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" "3245bcf5e36012645fc06645ee351d2737d59499b5e2fce440667e0f677c2ec1" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: binary `mini_games` should have a kebab-case name [INFO] [stderr] | [INFO] [stderr] 1 | /opt/rustwide/target/.../mini_games [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::non_kebab_case_bins` is set to `warn` by default [INFO] [stderr] help: to change the binary name to `mini-games`, convert `package.name` [INFO] [stderr] --> Cargo.toml:12:8 [INFO] [stderr] | [INFO] [stderr] 12 - name = "mini_games" [INFO] [stderr] 12 + name = "mini-games" [INFO] [stderr] | [INFO] [stderr] help: to change the binary name to `mini-games`, specify `bin.name` [INFO] [stderr] --> Cargo.toml:20:14 [INFO] [stderr] | [INFO] [stderr] 20 ~ strip = true [INFO] [stderr] 21 + [[bin]] [INFO] [stderr] 22 + name = "mini-games" [INFO] [stderr] 23 + path = "src/main.rs" [INFO] [stderr] | [INFO] [stderr] warning: `mini_games` (manifest) generated 1 warning [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking ttf-parser v0.21.1 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Checking glam v0.27.0 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Checking quad-rand v0.2.3 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking fontdue v0.9.3 [INFO] [stderr] Checking macroquad v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking mini_games v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::core::render::draw_text_centered` [INFO] [stdout] --> src/scenes/snake/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::core::render::draw_text_centered; [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: `crate::core::render::draw_text_centered` [INFO] [stdout] --> src/scenes/snake/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::core::render::draw_text_centered; [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 variable: `base_pos` [INFO] [stdout] --> src/scenes/tank/game.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let base_pos = level.base_pos; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_pos` [INFO] [stdout] --> src/scenes/tank/game.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let base_pos = level.base_pos; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Replace` and `Quit` are never constructed [INFO] [stdout] --> src/core/scene.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Transition { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | Replace(Box), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | Quit, [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 `draw_progress_bar` is never used [INFO] [stdout] --> src/core/render.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn draw_progress_bar(x: f32, y: f32, w: f32, h: f32, progress: f32, bg: Color, fill: Color) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AudioManager` is never constructed [INFO] [stdout] --> src/core/audio.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct AudioManager { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/core/audio.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl AudioManager { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub async fn load_sound(&self, path: &str) -> Sound { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn play_bgm(&mut self, sound: &Sound) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn stop_bgm(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn play_sfx(&self, sound: &Sound) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn set_bgm_volume(&mut self, vol: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn set_sfx_volume(&mut self, vol: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AssetManager` is never constructed [INFO] [stdout] --> src/core/assets.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AssetManager { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_texture`, `get_sound`, `add_texture`, and `add_sound` are never used [INFO] [stdout] --> src/core/assets.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl AssetManager { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn get_texture(&self, name: &str) -> Option<&Texture2D> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn get_sound(&self, name: &str) -> Option<&Sound> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn add_texture(&mut self, name: &str, tex: Texture2D) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn add_sound(&mut self, name: &str, sound: Sound) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/core/particle.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl ParticleSystem { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `show_scores` is never read [INFO] [stdout] --> src/scenes/snake/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct SnakeScene { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | show_scores: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `anim_timer` is never read [INFO] [stdout] --> src/scenes/puzzle/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct PuzzleScene { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | anim_timer: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `new_tile` and `score_gained` are never read [INFO] [stdout] --> src/scenes/puzzle/board.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct MoveResult { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 27 | pub tile_moves: Vec, [INFO] [stdout] 28 | pub new_tile: ((usize, usize), u32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 29 | pub score_gained: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `from` is never read [INFO] [stdout] --> src/scenes/puzzle/effects.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TileAnimation { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 6 | pub from: (usize, usize), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `particles` is never read [INFO] [stdout] --> src/scenes/tank/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct TankScene { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | particles: ParticleSystem, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ACCENT_PURPLE` is never used [INFO] [stdout] --> src/utils/color.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const ACCENT_PURPLE: Color = Color::new(0.6, 0.3, 0.9, 1.0); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SNAKE_BODY` is never used [INFO] [stdout] --> src/utils/color.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const SNAKE_BODY: Color = Color::new(0.3, 0.8, 0.4, 1.0); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BULLET_COLOR` is never used [INFO] [stdout] --> src/utils/color.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | pub const BULLET_COLOR: Color = Color::new(1.0, 1.0, 0.8, 1.0); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WATER_COLOR` is never used [INFO] [stdout] --> src/utils/color.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | pub const WATER_COLOR: Color = Color::new(0.2, 0.4, 0.8, 1.0); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Replace` and `Quit` are never constructed [INFO] [stdout] --> src/core/scene.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Transition { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | Replace(Box), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | Quit, [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 `draw_progress_bar` is never used [INFO] [stdout] --> src/core/render.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn draw_progress_bar(x: f32, y: f32, w: f32, h: f32, progress: f32, bg: Color, fill: Color) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AudioManager` is never constructed [INFO] [stdout] --> src/core/audio.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct AudioManager { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/core/audio.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl AudioManager { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub async fn load_sound(&self, path: &str) -> Sound { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn play_bgm(&mut self, sound: &Sound) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn stop_bgm(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn play_sfx(&self, sound: &Sound) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn set_bgm_volume(&mut self, vol: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn set_sfx_volume(&mut self, vol: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AssetManager` is never constructed [INFO] [stdout] --> src/core/assets.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AssetManager { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_texture`, `get_sound`, `add_texture`, and `add_sound` are never used [INFO] [stdout] --> src/core/assets.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl AssetManager { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn get_texture(&self, name: &str) -> Option<&Texture2D> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn get_sound(&self, name: &str) -> Option<&Sound> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn add_texture(&mut self, name: &str, tex: Texture2D) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn add_sound(&mut self, name: &str, sound: Sound) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/core/particle.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl ParticleSystem { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `show_scores` is never read [INFO] [stdout] --> src/scenes/snake/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct SnakeScene { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | show_scores: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `anim_timer` is never read [INFO] [stdout] --> src/scenes/puzzle/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct PuzzleScene { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | anim_timer: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `new_tile` and `score_gained` are never read [INFO] [stdout] --> src/scenes/puzzle/board.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct MoveResult { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 27 | pub tile_moves: Vec, [INFO] [stdout] 28 | pub new_tile: ((usize, usize), u32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 29 | pub score_gained: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `from` is never read [INFO] [stdout] --> src/scenes/puzzle/effects.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TileAnimation { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 6 | pub from: (usize, usize), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `particles` is never read [INFO] [stdout] --> src/scenes/tank/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct TankScene { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | particles: ParticleSystem, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ACCENT_PURPLE` is never used [INFO] [stdout] --> src/utils/color.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const ACCENT_PURPLE: Color = Color::new(0.6, 0.3, 0.9, 1.0); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SNAKE_BODY` is never used [INFO] [stdout] --> src/utils/color.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const SNAKE_BODY: Color = Color::new(0.3, 0.8, 0.4, 1.0); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BULLET_COLOR` is never used [INFO] [stdout] --> src/utils/color.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | pub const BULLET_COLOR: Color = Color::new(1.0, 1.0, 0.8, 1.0); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WATER_COLOR` is never used [INFO] [stdout] --> src/utils/color.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | pub const WATER_COLOR: Color = Color::new(0.2, 0.4, 0.8, 1.0); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.48s [INFO] running `Command { std: "docker" "inspect" "3245bcf5e36012645fc06645ee351d2737d59499b5e2fce440667e0f677c2ec1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3245bcf5e36012645fc06645ee351d2737d59499b5e2fce440667e0f677c2ec1", kill_on_drop: false }` [INFO] [stdout] 3245bcf5e36012645fc06645ee351d2737d59499b5e2fce440667e0f677c2ec1