[INFO] cloning repository https://github.com/DanielMowitz/U4x
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DanielMowitz/U4x" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielMowitz%2FU4x", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielMowitz%2FU4x'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b924d38cd88178ce05b1de5c6d5ea0b64aaf12b0
[INFO] checking DanielMowitz/U4x against master#04ff05c9c0cfbca33115c5f1b8bb20a66a54b799 for pr-147834
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielMowitz%2FU4x" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/DanielMowitz/U4x
[INFO] finished tweaking git repo https://github.com/DanielMowitz/U4x
[INFO] tweaked toml for git repo https://github.com/DanielMowitz/U4x written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/DanielMowitz/U4x on toolchain 04ff05c9c0cfbca33115c5f1b8bb20a66a54b799
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/DanielMowitz/U4x 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" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded sdl2 v0.32.1
[INFO] [stderr]   Downloaded sdl2-sys v0.32.5
[INFO] [stderr]   Downloaded rand_os v0.1.2
[INFO] [stderr]   Downloaded libc v0.2.49
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6f3812885fb90d3266443956eb6b9cf43e12f67d47f04b95750848c980119a3a
[INFO] running `Command { std: "docker" "start" "-a" "6f3812885fb90d3266443956eb6b9cf43e12f67d47f04b95750848c980119a3a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6f3812885fb90d3266443956eb6b9cf43e12f67d47f04b95750848c980119a3a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6f3812885fb90d3266443956eb6b9cf43e12f67d47f04b95750848c980119a3a", kill_on_drop: false }`
[INFO] [stdout] 6f3812885fb90d3266443956eb6b9cf43e12f67d47f04b95750848c980119a3a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b6ef0ffbd58ab389711de421e5b80c8549df5b240859bd3a16c7fb61c094be9c
[INFO] running `Command { std: "docker" "start" "-a" "b6ef0ffbd58ab389711de421e5b80c8549df5b240859bd3a16c7fb61c094be9c", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling autocfg v0.1.2
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]    Compiling libc v0.2.49
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]    Compiling num-iter v0.1.37
[INFO] [stderr]     Checking rand_jitter v0.1.3
[INFO] [stderr]    Compiling sdl2-sys v0.32.5
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking rand_os v0.1.2
[INFO] [stderr]     Checking rand v0.5.6
[INFO] [stderr]     Checking num v0.1.42
[INFO] [stderr]     Checking sdl2 v0.32.1
[INFO] [stderr]     Checking frame v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: the `#[test]` attribute may only be used on a non-associated function
[INFO] [stdout]   --> src/renderer.rs:83:2
[INFO] [stdout]    |
[INFO] [stdout] 83 |     #[test]
[INFO] [stdout]    |     ^^^^^^^ the `#[test]` macro causes a function to be run as a test and has no effect on non-functions
[INFO] [stdout]    |
[INFO] [stdout] help: replace with conditional compilation to make the item only exist when tests are being run
[INFO] [stdout]    |
[INFO] [stdout] 83 -     #[test]
[INFO] [stdout] 83 +     #[cfg(test)]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::sleep`
[INFO] [stdout]  --> src/renderer.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::thread::sleep;
[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: `std::time::Duration`
[INFO] [stdout]  --> src/renderer.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/img.rs:75:14
[INFO] [stdout]    |
[INFO] [stdout] 75 |     type Item = (Vec<u8>);
[INFO] [stdout]    |                 ^       ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 75 -     type Item = (Vec<u8>);
[INFO] [stdout] 75 +     type Item = Vec<u8> ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `duration_float` has been stable since 1.38.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(duration_float)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/dispatcher.rs:23:44
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub store_refs: Option<Vec<Option<&'a mut Store<'a>>>>,
[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] 23 |     pub store_refs: Option<Vec<Option<&'a mut dyn Store<'a>>>>,
[INFO] [stdout]    |                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/store.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 |     NoNewAction(&'a mut Store<'a>),
[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] 5 |     NoNewAction(&'a mut dyn Store<'a>),
[INFO] [stdout]   |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/store.rs:6:60
[INFO] [stdout]   |
[INFO] [stdout] 6 |     NewAction(Vec<Action>, /*add to secondary*/ bool, &'a mut Store<'a>),
[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] 6 |     NewAction(Vec<Action>, /*add to secondary*/ bool, &'a mut dyn Store<'a>),
[INFO] [stdout]   |                                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/store.rs:10:22
[INFO] [stdout]    |
[INFO] [stdout] 10 |     NoNewAction(&'a mut super::scene_manager::Scene<'a>),
[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] 10 |     NoNewAction(&'a mut dyn super::scene_manager::Scene<'a>),
[INFO] [stdout]    |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/store.rs:11:40
[INFO] [stdout]    |
[INFO] [stdout] 11 |     NewAction(Vec<MenuSubAction>, &'a mut super::scene_manager::Scene<'a>),
[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] 11 |     NewAction(Vec<MenuSubAction>, &'a mut dyn super::scene_manager::Scene<'a>),
[INFO] [stdout]    |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/button.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 |     click_fn: Box<Fn() -> MenuSubAction>,
[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] 7 |     click_fn: Box<dyn Fn() -> MenuSubAction>,
[INFO] [stdout]   |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/scene_manager.rs:55:36
[INFO] [stdout]    |
[INFO] [stdout] 55 |     scenes: Option<Vec<Option<&'a mut Scene<'a>>>>,
[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] 55 |     scenes: Option<Vec<Option<&'a mut dyn Scene<'a>>>>,
[INFO] [stdout]    |                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/dispatcher.rs:216:55
[INFO] [stdout]     |
[INFO] [stdout] 216 |     pub fn enter_refs(&mut self, references: Vec<&'a mut Store<'a>>) {
[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] 216 |     pub fn enter_refs(&mut self, references: Vec<&'a mut dyn Store<'a>>) {
[INFO] [stdout]     |                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/scene_manager.rs:68:55
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn add_scenes(&mut self, references: Vec<&'a mut Scene<'a>>) {
[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] 68 |     pub fn add_scenes(&mut self, references: Vec<&'a mut dyn Scene<'a>>) {
[INFO] [stdout]    |                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:20:86
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn game_loop<'a>(disp: & mut dispatcher::Dispatcher<'a>, store_refs: Vec<&'a mut store::Store<'a>>) {
[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] 20 | pub fn game_loop<'a>(disp: & mut dispatcher::Dispatcher<'a>, store_refs: Vec<&'a mut dyn store::Store<'a>>) {
[INFO] [stdout]    |                                                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/button.rs:20:41
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn set_onclick(&mut self, fun: Box<Fn() -> MenuSubAction>) {
[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] 20 |     pub fn set_onclick(&mut self, fun: Box<dyn Fn() -> MenuSubAction>) {
[INFO] [stdout]    |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/button.rs:42:43
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub fn new(sprite: Sprite, click_fn: Box<Fn() -> MenuSubAction>) -> Self {
[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] 42 |     pub fn new(sprite: Sprite, click_fn: Box<dyn Fn() -> MenuSubAction>) -> Self {
[INFO] [stdout]    |                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/dispatcher.rs:217:48
[INFO] [stdout]     |
[INFO] [stdout] 217 |         let mut local_store_refs: Vec<Option<&'a mut Store<'a>>>;
[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] 217 |         let mut local_store_refs: Vec<Option<&'a mut dyn Store<'a>>>;
[INFO] [stdout]     |                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `test_object::TestObj`
[INFO] [stdout]   --> src/tests.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use test_object::TestObj;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^ no `TestObj` in `test_object`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/img.rs:75:14
[INFO] [stdout]    |
[INFO] [stdout] 75 |     type Item = (Vec<u8>);
[INFO] [stdout]    |                 ^       ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 75 -     type Item = (Vec<u8>);
[INFO] [stdout] 75 +     type Item = Vec<u8> ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::VecDeque`
[INFO] [stdout]  --> src/tests.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::VecDeque;
[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: `std::io::Read`
[INFO] [stdout]  --> src/tests.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::sleep`
[INFO] [stdout]  --> src/tests.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::thread::sleep;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/tests.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::video::Window`
[INFO] [stdout]   --> src/tests.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use sdl2::video::Window;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `duration_float` has been stable since 1.38.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(duration_float)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/dispatcher.rs:23:44
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub store_refs: Option<Vec<Option<&'a mut Store<'a>>>>,
[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] 23 |     pub store_refs: Option<Vec<Option<&'a mut dyn Store<'a>>>>,
[INFO] [stdout]    |                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/store.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 |     NoNewAction(&'a mut Store<'a>),
[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] 5 |     NoNewAction(&'a mut dyn Store<'a>),
[INFO] [stdout]   |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/store.rs:6:60
[INFO] [stdout]   |
[INFO] [stdout] 6 |     NewAction(Vec<Action>, /*add to secondary*/ bool, &'a mut Store<'a>),
[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] 6 |     NewAction(Vec<Action>, /*add to secondary*/ bool, &'a mut dyn Store<'a>),
[INFO] [stdout]   |                                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/store.rs:10:22
[INFO] [stdout]    |
[INFO] [stdout] 10 |     NoNewAction(&'a mut super::scene_manager::Scene<'a>),
[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] 10 |     NoNewAction(&'a mut dyn super::scene_manager::Scene<'a>),
[INFO] [stdout]    |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/store.rs:11:40
[INFO] [stdout]    |
[INFO] [stdout] 11 |     NewAction(Vec<MenuSubAction>, &'a mut super::scene_manager::Scene<'a>),
[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] 11 |     NewAction(Vec<MenuSubAction>, &'a mut dyn super::scene_manager::Scene<'a>),
[INFO] [stdout]    |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/button.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 |     click_fn: Box<Fn() -> MenuSubAction>,
[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] 7 |     click_fn: Box<dyn Fn() -> MenuSubAction>,
[INFO] [stdout]   |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/scene_manager.rs:55:36
[INFO] [stdout]    |
[INFO] [stdout] 55 |     scenes: Option<Vec<Option<&'a mut Scene<'a>>>>,
[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] 55 |     scenes: Option<Vec<Option<&'a mut dyn Scene<'a>>>>,
[INFO] [stdout]    |                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/dispatcher.rs:216:55
[INFO] [stdout]     |
[INFO] [stdout] 216 |     pub fn enter_refs(&mut self, references: Vec<&'a mut Store<'a>>) {
[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] 216 |     pub fn enter_refs(&mut self, references: Vec<&'a mut dyn Store<'a>>) {
[INFO] [stdout]     |                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/scene_manager.rs:68:55
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn add_scenes(&mut self, references: Vec<&'a mut Scene<'a>>) {
[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] 68 |     pub fn add_scenes(&mut self, references: Vec<&'a mut dyn Scene<'a>>) {
[INFO] [stdout]    |                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:20:86
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn game_loop<'a>(disp: & mut dispatcher::Dispatcher<'a>, store_refs: Vec<&'a mut store::Store<'a>>) {
[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] 20 | pub fn game_loop<'a>(disp: & mut dispatcher::Dispatcher<'a>, store_refs: Vec<&'a mut dyn store::Store<'a>>) {
[INFO] [stdout]    |                                                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/scene_manager.rs:69:44
[INFO] [stdout]    |
[INFO] [stdout] 69 |         let mut local_scenes: Vec<Option<&'a mut Scene<'a>>>;
[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] 69 |         let mut local_scenes: Vec<Option<&'a mut dyn Scene<'a>>>;
[INFO] [stdout]    |                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/button.rs:20:41
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn set_onclick(&mut self, fun: Box<Fn() -> MenuSubAction>) {
[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] 20 |     pub fn set_onclick(&mut self, fun: Box<dyn Fn() -> MenuSubAction>) {
[INFO] [stdout]    |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/button.rs:42:43
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub fn new(sprite: Sprite, click_fn: Box<Fn() -> MenuSubAction>) -> Self {
[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] 42 |     pub fn new(sprite: Sprite, click_fn: Box<dyn Fn() -> MenuSubAction>) -> Self {
[INFO] [stdout]    |                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/dispatcher.rs:217:48
[INFO] [stdout]     |
[INFO] [stdout] 217 |         let mut local_store_refs: Vec<Option<&'a mut Store<'a>>>;
[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] 217 |         let mut local_store_refs: Vec<Option<&'a mut dyn Store<'a>>>;
[INFO] [stdout]     |                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout]    --> src/dispatcher.rs:180:23
[INFO] [stdout]     |
[INFO] [stdout] 180 |                 MenuState::InMenu(time) => {
[INFO] [stdout]     |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sub`
[INFO] [stdout]    --> src/dispatcher.rs:184:27
[INFO] [stdout]     |
[INFO] [stdout] 184 |                             Action::MenuAction(ref sub) => {
[INFO] [stdout]     |                                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/scene_manager.rs:69:44
[INFO] [stdout]    |
[INFO] [stdout] 69 |         let mut local_scenes: Vec<Option<&'a mut Scene<'a>>>;
[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] 69 |         let mut local_scenes: Vec<Option<&'a mut dyn Scene<'a>>>;
[INFO] [stdout]    |                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `timestamp`
[INFO] [stdout]    --> src/renderer.rs:200:11
[INFO] [stdout]     |
[INFO] [stdout] 200 |                 x, y, timestamp,
[INFO] [stdout]     |                       ^^^^^^^^^ help: try ignoring the field: `timestamp: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `window_id`
[INFO] [stdout]    --> src/renderer.rs:201:5
[INFO] [stdout]     |
[INFO] [stdout] 201 |                 window_id, which, mouse_btn, clicks
[INFO] [stdout]     |                 ^^^^^^^^^ help: try ignoring the field: `window_id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `which`
[INFO] [stdout]    --> src/renderer.rs:201:16
[INFO] [stdout]     |
[INFO] [stdout] 201 |                 window_id, which, mouse_btn, clicks
[INFO] [stdout]     |                            ^^^^^ help: try ignoring the field: `which: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `clicks`
[INFO] [stdout]    --> src/renderer.rs:201:34
[INFO] [stdout]     |
[INFO] [stdout] 201 |                 window_id, which, mouse_btn, clicks
[INFO] [stdout]     |                                              ^^^^^^ help: try ignoring the field: `clicks: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dt`
[INFO] [stdout]    --> src/renderer.rs:212:51
[INFO] [stdout]     |
[INFO] [stdout] 212 |     fn receive_action(&'a mut self, action: &Action, dt: &f64) -> ReceiveActionReturnOption {
[INFO] [stdout]     |                                                      ^^ help: if this is intentional, prefix it with an underscore: `_dt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `w`
[INFO] [stdout]   --> src/test_object.rs:40:29
[INFO] [stdout]    |
[INFO] [stdout] 40 |             &Action::SendFrameAction(w, h, p) => {
[INFO] [stdout]    |                                      ^ help: if this is intentional, prefix it with an underscore: `_w`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `h`
[INFO] [stdout]   --> src/test_object.rs:40:32
[INFO] [stdout]    |
[INFO] [stdout] 40 |             &Action::SendFrameAction(w, h, p) => {
[INFO] [stdout]    |                                         ^ help: if this is intentional, prefix it with an underscore: `_h`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]   --> src/test_object.rs:40:35
[INFO] [stdout]    |
[INFO] [stdout] 40 |             &Action::SendFrameAction(w, h, p) => {
[INFO] [stdout]    |                                            ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied
[INFO] [stdout]    --> src/tests.rs:137:24
[INFO] [stdout]     |
[INFO] [stdout] 137 |     let mut test_button = Button::new(
[INFO] [stdout]     |                           ^^^^^^^^^^^
[INFO] [stdout] 138 |         button_sprite,
[INFO] [stdout] 139 |         (0, 0),
[INFO] [stdout]     |         ------ unexpected argument #2 of type `({integer}, {integer})`
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/button.rs:42:9
[INFO] [stdout]     |
[INFO] [stdout]  42 |     pub fn new(sprite: Sprite, click_fn: Box<Fn() -> MenuSubAction>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 138 -         button_sprite,
[INFO] [stdout] 139 -         (0, 0),
[INFO] [stdout] 138 +         button_sprite,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dt`
[INFO] [stdout]   --> src/scene_manager.rs:89:66
[INFO] [stdout]    |
[INFO] [stdout] 89 |     fn receive_action(&'a mut self, action: &super::action::Action, dt: &f64) -> super::store::ReceiveActionReturnOption {
[INFO] [stdout]    |                                                                     ^^ help: if this is intentional, prefix it with an underscore: `_dt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `video_subsystem` is never read
[INFO] [stdout]   --> src/renderer.rs:28:2
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct Renderer {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 28 |     video_subsystem: VideoSubsystem,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout]    --> src/dispatcher.rs:180:23
[INFO] [stdout]     |
[INFO] [stdout] 180 |                 MenuState::InMenu(time) => {
[INFO] [stdout]     |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `current_scene` is never read
[INFO] [stdout]   --> src/scene_manager.rs:57:2
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub struct SceneManager<'a> {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 57 |     current_scene: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sub`
[INFO] [stdout]    --> src/dispatcher.rs:184:27
[INFO] [stdout]     |
[INFO] [stdout] 184 |                             Action::MenuAction(ref sub) => {
[INFO] [stdout]     |                                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/renderer.rs:212:64
[INFO] [stdout]     |
[INFO] [stdout] 212 |     fn receive_action(&'a mut self, action: &Action, dt: &f64) -> ReceiveActionReturnOption {
[INFO] [stdout]     |                        -- the lifetime is named here              ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 212 |     fn receive_action(&'a mut self, action: &Action, dt: &f64) -> ReceiveActionReturnOption<'a> {
[INFO] [stdout]     |                                                                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]  --> src/scene_manager.rs:9:29
[INFO] [stdout]   |
[INFO] [stdout] 9 |     fn receive_menu_sub_action(&mut self, sub_action: &super::action::MenuSubAction) -> super::store::ReceiveMSAReturnOption;
[INFO] [stdout]   |                                ^^^^^^^^^ the lifetime is elided here                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]   |
[INFO] [stdout]   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]   |
[INFO] [stdout] 9 |     fn receive_menu_sub_action(&mut self, sub_action: &super::action::MenuSubAction) -> super::store::ReceiveMSAReturnOption<'_>;
[INFO] [stdout]   |                                                                                                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/scene_manager.rs:25:29
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn receive_menu_sub_action(&mut self, sub_action: &super::action::MenuSubAction) -> super::store::ReceiveMSAReturnOption {
[INFO] [stdout]    |                                ^^^^^^^^^ the lifetime is elided here                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn receive_menu_sub_action(&mut self, sub_action: &super::action::MenuSubAction) -> super::store::ReceiveMSAReturnOption<'_> {
[INFO] [stdout]    |                                                                                                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/scene_manager.rs:89:79
[INFO] [stdout]    |
[INFO] [stdout] 89 |     fn receive_action(&'a mut self, action: &super::action::Action, dt: &f64) -> super::store::ReceiveActionReturnOption {
[INFO] [stdout]    |                        -- the lifetime is named here                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 89 |     fn receive_action(&'a mut self, action: &super::action::Action, dt: &f64) -> super::store::ReceiveActionReturnOption<'a> {
[INFO] [stdout]    |                                                                                                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `timestamp`
[INFO] [stdout]    --> src/renderer.rs:200:11
[INFO] [stdout]     |
[INFO] [stdout] 200 |                 x, y, timestamp,
[INFO] [stdout]     |                       ^^^^^^^^^ help: try ignoring the field: `timestamp: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `window_id`
[INFO] [stdout]    --> src/renderer.rs:201:5
[INFO] [stdout]     |
[INFO] [stdout] 201 |                 window_id, which, mouse_btn, clicks
[INFO] [stdout]     |                 ^^^^^^^^^ help: try ignoring the field: `window_id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `which`
[INFO] [stdout]    --> src/renderer.rs:201:16
[INFO] [stdout]     |
[INFO] [stdout] 201 |                 window_id, which, mouse_btn, clicks
[INFO] [stdout]     |                            ^^^^^ help: try ignoring the field: `which: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `clicks`
[INFO] [stdout]    --> src/renderer.rs:201:34
[INFO] [stdout]     |
[INFO] [stdout] 201 |                 window_id, which, mouse_btn, clicks
[INFO] [stdout]     |                                              ^^^^^^ help: try ignoring the field: `clicks: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dt`
[INFO] [stdout]    --> src/renderer.rs:212:51
[INFO] [stdout]     |
[INFO] [stdout] 212 |     fn receive_action(&'a mut self, action: &Action, dt: &f64) -> ReceiveActionReturnOption {
[INFO] [stdout]     |                                                      ^^ help: if this is intentional, prefix it with an underscore: `_dt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `w`
[INFO] [stdout]   --> src/test_object.rs:40:29
[INFO] [stdout]    |
[INFO] [stdout] 40 |             &Action::SendFrameAction(w, h, p) => {
[INFO] [stdout]    |                                      ^ help: if this is intentional, prefix it with an underscore: `_w`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `h`
[INFO] [stdout]   --> src/test_object.rs:40:32
[INFO] [stdout]    |
[INFO] [stdout] 40 |             &Action::SendFrameAction(w, h, p) => {
[INFO] [stdout]    |                                         ^ help: if this is intentional, prefix it with an underscore: `_h`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]   --> src/test_object.rs:40:35
[INFO] [stdout]    |
[INFO] [stdout] 40 |             &Action::SendFrameAction(w, h, p) => {
[INFO] [stdout]    |                                            ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dt`
[INFO] [stdout]   --> src/scene_manager.rs:89:66
[INFO] [stdout]    |
[INFO] [stdout] 89 |     fn receive_action(&'a mut self, action: &super::action::Action, dt: &f64) -> super::store::ReceiveActionReturnOption {
[INFO] [stdout]    |                                                                     ^^ help: if this is intentional, prefix it with an underscore: `_dt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dt`
[INFO] [stdout]   --> src/tests.rs:33:51
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fn receive_action(&'a mut self, action: &Action, dt: &f64) -> ReceiveActionReturnOption<'a> {
[INFO] [stdout]    |                                                      ^^ help: if this is intentional, prefix it with an underscore: `_dt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/tests.rs:71:7
[INFO] [stdout]    |
[INFO] [stdout] 71 |         for i in 1..10 {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `frame` (lib test) due to 3 previous errors; 34 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0583]: file not found for module `main_menu`
[INFO] [stdout]  --> src/bin.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | mod main_menu;
[INFO] [stdout]   | ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `main_menu`, create file "src/main_menu.rs" or "src/main_menu/mod.rs"
[INFO] [stdout]   = note: if there is a `mod main_menu` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `space_ship`
[INFO] [stdout]  --> src/bin.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | mod space_ship;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `space_ship`, create file "src/space_ship.rs" or "src/space_ship/mod.rs"
[INFO] [stdout]   = note: if there is a `mod space_ship` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `light_path`
[INFO] [stdout]  --> src/bin.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | mod light_path;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `light_path`, create file "src/light_path.rs" or "src/light_path/mod.rs"
[INFO] [stdout]   = note: if there is a `mod light_path` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0583`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `frame` (bin "viewer") due to 3 previous errors
[INFO] [stdout] error[E0583]: file not found for module `main_menu`
[INFO] [stdout]  --> src/bin.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | mod main_menu;
[INFO] [stdout]   | ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `main_menu`, create file "src/main_menu.rs" or "src/main_menu/mod.rs"
[INFO] [stdout]   = note: if there is a `mod main_menu` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `space_ship`
[INFO] [stdout]  --> src/bin.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | mod space_ship;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `space_ship`, create file "src/space_ship.rs" or "src/space_ship/mod.rs"
[INFO] [stdout]   = note: if there is a `mod space_ship` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `frame` (bin "viewer" test) due to 3 previous errors
[INFO] [stdout] error[E0583]: file not found for module `light_path`
[INFO] [stdout]  --> src/bin.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | mod light_path;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `light_path`, create file "src/light_path.rs" or "src/light_path/mod.rs"
[INFO] [stdout]   = note: if there is a `mod light_path` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0583`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "b6ef0ffbd58ab389711de421e5b80c8549df5b240859bd3a16c7fb61c094be9c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b6ef0ffbd58ab389711de421e5b80c8549df5b240859bd3a16c7fb61c094be9c", kill_on_drop: false }`
[INFO] [stdout] b6ef0ffbd58ab389711de421e5b80c8549df5b240859bd3a16c7fb61c094be9c
