[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 760e1de835e253bf28bbcbfee38b5e8ed9ffe074 for pr-133502-26
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomc1998%2Frust-2d-game-engine" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[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-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tomc1998/rust-2d-game-engine on toolchain 760e1de835e253bf28bbcbfee38b5e8ed9ffe074
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+760e1de835e253bf28bbcbfee38b5e8ed9ffe074" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+760e1de835e253bf28bbcbfee38b5e8ed9ffe074" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `game_engine_1` (manifest) generated 1 warning
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded x11-dl v2.11.0
[INFO] [stderr]   Downloaded wayland-window v0.2.3
[INFO] [stderr]   Downloaded memmap v0.2.3
[INFO] [stderr]   Downloaded wayland-scanner v0.5.11
[INFO] [stderr]   Downloaded libc v0.2.18
[INFO] [stderr]   Downloaded wayland-sys v0.5.11
[INFO] [stderr]   Downloaded gleam v0.2.29
[INFO] [stderr]   Downloaded wayland-client v0.5.12
[INFO] [stderr]   Downloaded gcc v0.3.40
[INFO] [stderr]   Downloaded serde v0.8.19
[INFO] [stderr]   Downloaded crossbeam v0.2.10
[INFO] [stderr]   Downloaded wayland-kbd v0.3.6
[INFO] [stderr]   Downloaded glutin v0.6.2
[INFO] [stderr]   Downloaded lazy_static v0.1.16
[INFO] [stderr]   Downloaded glium v0.15.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:1fa6594d87c8fa7b311925a7a77a16f539833322d9dfba4ce891f211db2f90b1" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 3796dcae091b233a97aaca838b009a9d81534145f8cb1ca2743ba223480c8887
[INFO] running `Command { std: "docker" "start" "3796dcae091b233a97aaca838b009a9d81534145f8cb1ca2743ba223480c8887", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3796dcae091b233a97aaca838b009a9d81534145f8cb1ca2743ba223480c8887", 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" "3796dcae091b233a97aaca838b009a9d81534145f8cb1ca2743ba223480c8887" "/opt/rustwide/cargo-home/bin/cargo" "+760e1de835e253bf28bbcbfee38b5e8ed9ffe074" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3796dcae091b233a97aaca838b009a9d81534145f8cb1ca2743ba223480c8887", 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" "3796dcae091b233a97aaca838b009a9d81534145f8cb1ca2743ba223480c8887" "/opt/rustwide/cargo-home/bin/cargo" "+760e1de835e253bf28bbcbfee38b5e8ed9ffe074" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `game_engine_1` (manifest) generated 1 warning
[INFO] [stderr]    Compiling phf_shared v0.7.20
[INFO] [stderr]    Compiling libc v0.2.18
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]    Compiling bitflags v0.7.0
[INFO] [stderr]    Compiling serde v0.8.19
[INFO] [stderr]    Compiling num-traits v0.1.36
[INFO] [stderr]    Compiling itoa v0.1.1
[INFO] [stderr]    Compiling dtoa v0.2.2
[INFO] [stderr]     Checking lazy_static v0.2.2
[INFO] [stderr]     Checking winapi v0.2.8
[INFO] [stderr]    Compiling semver v0.1.20
[INFO] [stderr]    Compiling log v0.3.6
[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]     Checking crossbeam v0.2.10
[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]    Compiling backtrace v0.2.3
[INFO] [stderr]     Checking byteorder v0.5.3
[INFO] [stderr]     Checking rustc-demangle v0.1.3
[INFO] [stderr]     Checking cfg-if v0.1.0
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]    Compiling dbghelp-sys v0.2.0
[INFO] [stderr]     Checking smallvec v0.1.8
[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]    Compiling x11-dl v2.11.0
[INFO] [stderr]     Checking osmesa-sys v0.1.2
[INFO] [stderr]     Checking fs2 v0.2.5
[INFO] [stderr]    Compiling backtrace-sys v0.1.5
[INFO] [stderr]    Compiling tempfile v2.1.4
[INFO] [stderr]     Checking memmap v0.2.3
[INFO] [stderr]    Compiling phf_generator v0.7.20
[INFO] [stderr]    Compiling wayland-scanner v0.5.11
[INFO] [stderr]    Compiling gl_generator v0.5.2
[INFO] [stderr]    Compiling phf_codegen v0.7.20
[INFO] [stderr]    Compiling target_build_utils v0.1.2
[INFO] [stderr]    Compiling glutin v0.6.2
[INFO] [stderr]    Compiling glium v0.15.0
[INFO] [stderr]    Compiling wayland-client v0.5.12
[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-kbd v0.3.6
[INFO] [stderr]     Checking wayland-window v0.2.3
[INFO] [stderr]     Checking game_engine_1 v0.1.0 (/opt/rustwide/workdir)
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible 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: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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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<state::State> {
[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 removing this field
[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<core::ComponentAnimation>,
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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<state::State> {
[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 removing this field
[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<core::ComponentAnimation>,
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.18s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0, glutin v0.6.2
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5`
[INFO] running `Command { std: "docker" "inspect" "3796dcae091b233a97aaca838b009a9d81534145f8cb1ca2743ba223480c8887", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3796dcae091b233a97aaca838b009a9d81534145f8cb1ca2743ba223480c8887", kill_on_drop: false }`
[INFO] [stdout] 3796dcae091b233a97aaca838b009a9d81534145f8cb1ca2743ba223480c8887
