[INFO] cloning repository https://github.com/tomc1998/rust-2d-game-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tomc1998/rust-2d-game-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomc1998%2Frust-2d-game-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomc1998%2Frust-2d-game-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0546c06fa636da5a4dbe9ea3eb087c65f69c125e [INFO] checking tomc1998/rust-2d-game-engine against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomc1998%2Frust-2d-game-engine" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tomc1998/rust-2d-game-engine on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tomc1998/rust-2d-game-engine [INFO] finished tweaking git repo https://github.com/tomc1998/rust-2d-game-engine [INFO] tweaked toml for git repo https://github.com/tomc1998/rust-2d-game-engine written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tomc1998/rust-2d-game-engine 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lazy_static v0.2.2 [INFO] [stderr] Downloaded pkg-config v0.3.8 [INFO] [stderr] Downloaded smallvec v0.1.8 [INFO] [stderr] Downloaded wayland-window v0.2.3 [INFO] [stderr] Downloaded x11-dl v2.11.0 [INFO] [stderr] Downloaded core-foundation v0.2.2 [INFO] [stderr] Downloaded gleam v0.2.29 [INFO] [stderr] Downloaded shared_library v0.1.5 [INFO] [stderr] Downloaded objc v0.2.2 [INFO] [stderr] Downloaded cgl v0.1.5 [INFO] [stderr] Downloaded android_glue v0.2.1 [INFO] [stderr] Downloaded gcc v0.3.40 [INFO] [stderr] Downloaded rustc-demangle v0.1.3 [INFO] [stderr] Downloaded cocoa v0.3.3 [INFO] [stderr] Downloaded backtrace-sys v0.1.5 [INFO] [stderr] Downloaded phf_generator v0.7.20 [INFO] [stderr] Downloaded khronos_api v1.0.0 [INFO] [stderr] Downloaded glium v0.15.0 [INFO] [stderr] Downloaded core-foundation-sys v0.2.2 [INFO] [stderr] Downloaded wayland-scanner v0.5.11 [INFO] [stderr] Downloaded dtoa v0.2.2 [INFO] [stderr] Downloaded libloading v0.3.1 [INFO] [stderr] Downloaded wayland-client v0.5.12 [INFO] [stderr] Downloaded core-graphics v0.3.2 [INFO] [stderr] Downloaded gdi32-sys v0.1.1 [INFO] [stderr] Downloaded log v0.3.6 [INFO] [stderr] Downloaded gl_generator v0.5.2 [INFO] [stderr] Downloaded fs2 v0.2.5 [INFO] [stderr] Downloaded tempfile v2.1.4 [INFO] [stderr] Downloaded crossbeam v0.2.10 [INFO] [stderr] Downloaded phf v0.7.20 [INFO] [stderr] Downloaded serde v0.8.19 [INFO] [stderr] Downloaded target_build_utils v0.1.2 [INFO] [stderr] Downloaded dlib v0.3.1 [INFO] [stderr] Downloaded dwmapi-sys v0.1.0 [INFO] [stderr] Downloaded xml-rs v0.3.5 [INFO] [stderr] Downloaded phf_shared v0.7.20 [INFO] [stderr] Downloaded num-traits v0.1.36 [INFO] [stderr] Downloaded wayland-sys v0.5.11 [INFO] [stderr] Downloaded glutin v0.6.2 [INFO] [stderr] Downloaded user32-sys v0.1.2 [INFO] [stderr] Downloaded memmap v0.2.3 [INFO] [stderr] Downloaded wayland-kbd v0.3.6 [INFO] [stderr] Downloaded serde_json v0.8.4 [INFO] [stderr] Downloaded phf_codegen v0.7.20 [INFO] [stderr] Downloaded libc v0.2.18 [INFO] [stderr] Downloaded shell32-sys v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c7954d14fb2e9e83ad69e1075a51eb8c376b07cd7605796c170c7f818245ce7 [INFO] running `Command { std: "docker" "start" "-a" "8c7954d14fb2e9e83ad69e1075a51eb8c376b07cd7605796c170c7f818245ce7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c7954d14fb2e9e83ad69e1075a51eb8c376b07cd7605796c170c7f818245ce7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c7954d14fb2e9e83ad69e1075a51eb8c376b07cd7605796c170c7f818245ce7", kill_on_drop: false }` [INFO] [stdout] 8c7954d14fb2e9e83ad69e1075a51eb8c376b07cd7605796c170c7f818245ce7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d356fdb92b263e8c67de200e979fd3affc58d3cfa97d042f8ab80d7416652cc9 [INFO] running `Command { std: "docker" "start" "-a" "d356fdb92b263e8c67de200e979fd3affc58d3cfa97d042f8ab80d7416652cc9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.18 [INFO] [stderr] Compiling phf_shared v0.7.20 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling num-traits v0.1.36 [INFO] [stderr] Compiling dtoa v0.2.2 [INFO] [stderr] Compiling serde v0.8.19 [INFO] [stderr] Compiling itoa v0.1.1 [INFO] [stderr] Checking lazy_static v0.2.2 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling log v0.3.6 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling khronos_api v1.0.0 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Compiling gcc v0.3.40 [INFO] [stderr] Compiling xml-rs v0.3.5 [INFO] [stderr] Compiling phf v0.7.20 [INFO] [stderr] Compiling pkg-config v0.3.8 [INFO] [stderr] Checking crossbeam v0.2.10 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking shared_library v0.1.5 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking cfg-if v0.1.0 [INFO] [stderr] Checking rustc-demangle v0.1.3 [INFO] [stderr] Checking smallvec v0.1.8 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Compiling tempfile v2.1.4 [INFO] [stderr] Compiling x11-dl v2.11.0 [INFO] [stderr] Checking memmap v0.2.3 [INFO] [stderr] Compiling wayland-scanner v0.5.11 [INFO] [stderr] Compiling gl_generator v0.5.2 [INFO] [stderr] Compiling backtrace-sys v0.1.5 [INFO] [stderr] Compiling phf_generator v0.7.20 [INFO] [stderr] Compiling phf_codegen v0.7.20 [INFO] [stderr] Compiling wayland-client v0.5.12 [INFO] [stderr] Compiling glutin v0.6.2 [INFO] [stderr] Compiling glium v0.15.0 [INFO] [stderr] Compiling target_build_utils v0.1.2 [INFO] [stderr] Compiling serde_json v0.8.4 [INFO] [stderr] Compiling libloading v0.3.1 [INFO] [stderr] Checking dlib v0.3.1 [INFO] [stderr] Checking wayland-sys v0.5.11 [INFO] [stderr] Checking wayland-window v0.2.3 [INFO] [stderr] Checking wayland-kbd v0.3.6 [INFO] [stderr] Checking game_engine_1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `PartialEq` is imported redundantly [INFO] [stdout] --> src/engine/entity/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::cmp::PartialEq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialEq` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/engine/state.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialEq` is imported redundantly [INFO] [stdout] --> src/engine/entity/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::cmp::PartialEq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialEq` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/engine/state.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/mod.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | screen_stack: vec::Vec<&'a screen::Screen>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | screen_stack: vec::Vec<&'a dyn screen::Screen>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/mod.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | screen_stack: vec::Vec<&'a screen::Screen>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | screen_stack: vec::Vec<&'a dyn screen::Screen>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/mod.rs:65:45 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn swap_screen(&mut self, screen: &'a screen::Screen) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 | pub fn swap_screen(&mut self, screen: &'a dyn screen::Screen) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/mod.rs:74:45 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn push_screen(&mut self, screen: &'a screen::Screen) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 | pub fn push_screen(&mut self, screen: &'a dyn screen::Screen) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/mod.rs:65:45 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn swap_screen(&mut self, screen: &'a screen::Screen) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 | pub fn swap_screen(&mut self, screen: &'a dyn screen::Screen) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/mod.rs:74:45 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn push_screen(&mut self, screen: &'a screen::Screen) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 | pub fn push_screen(&mut self, screen: &'a dyn screen::Screen) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/mod.rs:80:46 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn pop_screen(&mut self) -> Option<&'a screen::Screen> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 80 | pub fn pop_screen(&mut self) -> Option<&'a dyn screen::Screen> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/mod.rs:80:46 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn pop_screen(&mut self) -> Option<&'a screen::Screen> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 80 | pub fn pop_screen(&mut self) -> Option<&'a dyn screen::Screen> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/engine/renderer/mod.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn render(engine: engine::Engine) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/engine/renderer/mod.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn render(engine: engine::Engine) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/screen/main_menu/mod.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | fn update(&self, engine: &mut engine::Engine) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/screen/main_menu/mod.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | fn on_hide(&self, engine: &mut engine::Engine) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `renderer` is never read [INFO] [stdout] --> src/engine/mod.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Engine<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub renderer : renderer::Renderer, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_component_animation_position`, `get_curr_state`, `push_screen`, `pop_screen`, and `pop_state` are never used [INFO] [stdout] --> src/engine/mod.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 28 | impl<'a> Engine<'a> { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn add_component_animation_position(&mut self, c: core::ComponentAnimation) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn get_curr_state(&self) -> &state::State { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn push_screen(&mut self, screen: &'a screen::Screen) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn pop_screen(&mut self) -> Option<&'a screen::Screen> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn pop_state(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Renderable` is never used [INFO] [stdout] --> src/engine/renderer/mod.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Renderable { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `render` is never used [INFO] [stdout] --> src/engine/renderer/mod.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 13 | impl Renderer { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn render(engine: engine::Engine) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `entity_id`, `x`, and `y` are never read [INFO] [stdout] --> src/engine/entity/core.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ComponentPosition { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 6 | pub entity_id: entity::EntityID, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | pub x: f32, [INFO] [stdout] | ^ [INFO] [stdout] 8 | pub y: f32, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/engine/entity/core.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ComponentAnimation { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 16 | pub entity_id: entity::EntityID, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | pub animation_handle: engine::resource::animation::AnimationHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub does_render: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 21 | [INFO] [stdout] 22 | pub x_offset: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | pub y_offset: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub width: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub height: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `entity_id`, `x_offset`, `y_offset`, `width`, `height`, and `color` are never read [INFO] [stdout] --> src/engine/entity/core.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct ComponentDebugDraw { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 38 | pub entity_id: entity::EntityID, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 39 | pub x_offset: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 40 | pub y_offset: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 41 | pub width: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 42 | pub height: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 43 | pub color: engine::common::color::RGBf32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/engine/resource/animation.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct AnimationHandle (u16); [INFO] [stdout] | --------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 1 | pub struct AnimationHandle (()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpriteAnimation` is never constructed [INFO] [stdout] --> src/engine/resource/animation.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct SpriteAnimation { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update` is never used [INFO] [stdout] --> src/engine/screen.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Screen { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn update(&self, engine: &mut Engine); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `r`, `g`, and `b` are never read [INFO] [stdout] --> src/engine/common/color.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct RGBf32 { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 2 | r: f32, [INFO] [stdout] | ^ [INFO] [stdout] 3 | g: f32, [INFO] [stdout] | ^ [INFO] [stdout] 4 | b: f32, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RGBAf32` is never constructed [INFO] [stdout] --> src/engine/common/color.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct RGBAf32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `component_animation_list` is never read [INFO] [stdout] --> src/engine/state.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub component_animation_list: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/screen/main_menu/mod.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | fn update(&self, engine: &mut engine::Engine) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/screen/main_menu/mod.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | fn on_hide(&self, engine: &mut engine::Engine) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `renderer` is never read [INFO] [stdout] --> src/engine/mod.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Engine<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub renderer : renderer::Renderer, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_component_animation_position`, `get_curr_state`, `push_screen`, `pop_screen`, and `pop_state` are never used [INFO] [stdout] --> src/engine/mod.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 28 | impl<'a> Engine<'a> { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn add_component_animation_position(&mut self, c: core::ComponentAnimation) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn get_curr_state(&self) -> &state::State { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn push_screen(&mut self, screen: &'a screen::Screen) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn pop_screen(&mut self) -> Option<&'a screen::Screen> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn pop_state(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Renderable` is never used [INFO] [stdout] --> src/engine/renderer/mod.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Renderable { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `render` is never used [INFO] [stdout] --> src/engine/renderer/mod.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 13 | impl Renderer { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn render(engine: engine::Engine) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `entity_id`, `x`, and `y` are never read [INFO] [stdout] --> src/engine/entity/core.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ComponentPosition { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 6 | pub entity_id: entity::EntityID, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | pub x: f32, [INFO] [stdout] | ^ [INFO] [stdout] 8 | pub y: f32, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/engine/entity/core.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ComponentAnimation { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 16 | pub entity_id: entity::EntityID, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | pub animation_handle: engine::resource::animation::AnimationHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub does_render: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 21 | [INFO] [stdout] 22 | pub x_offset: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | pub y_offset: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub width: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub height: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `entity_id`, `x_offset`, `y_offset`, `width`, `height`, and `color` are never read [INFO] [stdout] --> src/engine/entity/core.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct ComponentDebugDraw { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 38 | pub entity_id: entity::EntityID, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 39 | pub x_offset: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 40 | pub y_offset: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 41 | pub width: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 42 | pub height: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 43 | pub color: engine::common::color::RGBf32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/engine/resource/animation.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct AnimationHandle (u16); [INFO] [stdout] | --------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 1 | pub struct AnimationHandle (()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpriteAnimation` is never constructed [INFO] [stdout] --> src/engine/resource/animation.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct SpriteAnimation { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update` is never used [INFO] [stdout] --> src/engine/screen.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Screen { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn update(&self, engine: &mut Engine); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `r`, `g`, and `b` are never read [INFO] [stdout] --> src/engine/common/color.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct RGBf32 { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 2 | r: f32, [INFO] [stdout] | ^ [INFO] [stdout] 3 | g: f32, [INFO] [stdout] | ^ [INFO] [stdout] 4 | b: f32, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RGBAf32` is never constructed [INFO] [stdout] --> src/engine/common/color.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct RGBAf32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `component_animation_list` is never read [INFO] [stdout] --> src/engine/state.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub component_animation_list: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.47s [INFO] running `Command { std: "docker" "inspect" "d356fdb92b263e8c67de200e979fd3affc58d3cfa97d042f8ab80d7416652cc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d356fdb92b263e8c67de200e979fd3affc58d3cfa97d042f8ab80d7416652cc9", kill_on_drop: false }` [INFO] [stdout] d356fdb92b263e8c67de200e979fd3affc58d3cfa97d042f8ab80d7416652cc9