[INFO] cloning repository https://github.com/nybblesio/rusty-kong
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nybblesio/rusty-kong" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnybblesio%2Frusty-kong", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnybblesio%2Frusty-kong'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 265a2d3ddf443063ae59c21060ba61c37b363a3e
[INFO] checking nybblesio/rusty-kong against master#8a65ee08296b36342bf7c3cdc15312ccbc357227 for pr-142704
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnybblesio%2Frusty-kong" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/nybblesio/rusty-kong on toolchain 8a65ee08296b36342bf7c3cdc15312ccbc357227
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a65ee08296b36342bf7c3cdc15312ccbc357227" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/nybblesio/rusty-kong
[INFO] finished tweaking git repo https://github.com/nybblesio/rusty-kong
[INFO] tweaked toml for git repo https://github.com/nybblesio/rusty-kong written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/nybblesio/rusty-kong 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" "+8a65ee08296b36342bf7c3cdc15312ccbc357227" "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 simple_logger v0.5.0
[INFO] [stderr]   Downloaded c_vec v1.3.0
[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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8a65ee08296b36342bf7c3cdc15312ccbc357227" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0998594f6464b15bf0c763613bb948aa63cb7fee20859e9612913a0894788660
[INFO] running `Command { std: "docker" "start" "-a" "0998594f6464b15bf0c763613bb948aa63cb7fee20859e9612913a0894788660", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0998594f6464b15bf0c763613bb948aa63cb7fee20859e9612913a0894788660", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0998594f6464b15bf0c763613bb948aa63cb7fee20859e9612913a0894788660", kill_on_drop: false }`
[INFO] [stdout] 0998594f6464b15bf0c763613bb948aa63cb7fee20859e9612913a0894788660
[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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8a65ee08296b36342bf7c3cdc15312ccbc357227" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b18da05f5251561b46ec2f586800b5b4ab019c09af20f3b67cc52b883a9faacc
[INFO] running `Command { std: "docker" "start" "-a" "b18da05f5251561b46ec2f586800b5b4ab019c09af20f3b67cc52b883a9faacc", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Checking libc v0.2.40
[INFO] [stderr]     Checking num-traits v0.2.2
[INFO] [stderr]    Compiling cfg-if v0.1.2
[INFO] [stderr]     Checking bitflags v0.7.0
[INFO] [stderr]     Checking lazy_static v0.2.11
[INFO] [stderr]     Checking c_vec v1.3.0
[INFO] [stderr]     Checking lazy_static v1.0.0
[INFO] [stderr]    Compiling sdl2-sys v0.31.0
[INFO] [stderr]     Checking log v0.4.1
[INFO] [stderr]     Checking rand v0.4.2
[INFO] [stderr]     Checking time v0.1.39
[INFO] [stderr]     Checking num-integer v0.1.36
[INFO] [stderr]     Checking simple_logger v0.5.0
[INFO] [stderr]     Checking num-iter v0.1.35
[INFO] [stderr]     Checking num v0.1.42
[INFO] [stderr]     Checking rand v0.3.22
[INFO] [stderr]     Checking sdl2 v0.31.0
[INFO] [stderr]     Checking rusty-kong v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `self::common::F_SPR_ENABLED`
[INFO] [stdout]   --> src/game/rusty_kong/video/mod.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub use self::common::F_SPR_ENABLED;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::palettes::get_palette`
[INFO] [stdout]   --> src/game/rusty_kong/video/mod.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use self::palettes::get_palette;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::sprites::get_sprite_bitmap`
[INFO] [stdout]   --> src/game/rusty_kong/video/mod.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use self::sprites::get_sprite_bitmap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::tiles::get_tile_bitmap`
[INFO] [stdout]   --> src/game/rusty_kong/video/mod.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use self::tiles::get_tile_bitmap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::timer::Timer`
[INFO] [stdout]   --> src/game/rusty_kong/video/actor.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use sdl2::timer::Timer;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]   --> src/game/rusty_kong/video/mod.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | use std::rc::Rc;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]     --> src/ripper/main.rs:449:1
[INFO] [stdout]      |
[INFO] [stdout] 449  | / lazy_static! {
[INFO] [stdout] 450  | |     static ref PAL_CNTL:Vec<Palette> = vec![
[INFO] [stdout] 451  | |         // #0
[INFO] [stdout] 452  | |         Palette {
[INFO] [stdout] ...    |
[INFO] [stdout] 1027 | |     ];
[INFO] [stdout] 1028 | | }
[INFO] [stdout]      | |_^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]      = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/game/rusty_kong/video/palettes.rs:30:1
[INFO] [stdout]     |
[INFO] [stdout] 30  | / lazy_static! {
[INFO] [stdout] 31  | |     static ref PAL_CNTL:Vec<Palette> = vec![
[INFO] [stdout] 32  | |         // #0
[INFO] [stdout] 33  | |         Palette {
[INFO] [stdout] ...   |
[INFO] [stdout] 608 | |     ];
[INFO] [stdout] 609 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/game/rusty_kong/state_machine/mod.rs:118:31
[INFO] [stdout]     |
[INFO] [stdout] 118 |     commands: RefCell<Vec<Box<GameCommand>>>
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 118 |     commands: RefCell<Vec<Box<dyn GameCommand>>>
[INFO] [stdout]     |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]     --> src/ripper/main.rs:449:1
[INFO] [stdout]      |
[INFO] [stdout] 449  | / lazy_static! {
[INFO] [stdout] 450  | |     static ref PAL_CNTL:Vec<Palette> = vec![
[INFO] [stdout] 451  | |         // #0
[INFO] [stdout] 452  | |         Palette {
[INFO] [stdout] ...    |
[INFO] [stdout] 1027 | |     ];
[INFO] [stdout] 1028 | | }
[INFO] [stdout]      | |_^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]      = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/ripper/main.rs:286:17
[INFO] [stdout]     |
[INFO] [stdout] 286 |             let mut match_palette: Palette = Palette {entries: [
[INFO] [stdout]     |                 ----^^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/ripper/main.rs:351:17
[INFO] [stdout]     |
[INFO] [stdout] 351 |             let mut match_palette: Palette = Palette {entries: [
[INFO] [stdout]     |                 ----^^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::common::F_SPR_ENABLED`
[INFO] [stdout]   --> src/game/rusty_kong/video/mod.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub use self::common::F_SPR_ENABLED;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::palettes::get_palette`
[INFO] [stdout]   --> src/game/rusty_kong/video/mod.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use self::palettes::get_palette;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::sprites::get_sprite_bitmap`
[INFO] [stdout]   --> src/game/rusty_kong/video/mod.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use self::sprites::get_sprite_bitmap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::tiles::get_tile_bitmap`
[INFO] [stdout]   --> src/game/rusty_kong/video/mod.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use self::tiles::get_tile_bitmap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::timer::Timer`
[INFO] [stdout]   --> src/game/rusty_kong/video/actor.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use sdl2::timer::Timer;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]   --> src/game/rusty_kong/video/mod.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | use std::rc::Rc;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/ripper/main.rs:286:17
[INFO] [stdout]     |
[INFO] [stdout] 286 |             let mut match_palette: Palette = Palette {entries: [
[INFO] [stdout]     |                 ----^^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/ripper/main.rs:351:17
[INFO] [stdout]     |
[INFO] [stdout] 351 |             let mut match_palette: Palette = Palette {entries: [
[INFO] [stdout]     |                 ----^^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/game/rusty_kong/video/common.rs:370:25
[INFO] [stdout]     |
[INFO] [stdout] 370 |                     let mut block = &mut self.table[index];
[INFO] [stdout]     |                         ----^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `timer`
[INFO] [stdout]   --> src/game/rusty_kong/video/actor.rs:75:13
[INFO] [stdout]    |
[INFO] [stdout] 75 |         let timer = match anim_frame.timer {
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_timer`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/game/rusty_kong/video/actor.rs:82:22
[INFO] [stdout]    |
[INFO] [stdout] 82 |             Some(ref t) => return
[INFO] [stdout]    |                      ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sprite_control`
[INFO] [stdout]   --> src/game/rusty_kong/video/actor.rs:69:13
[INFO] [stdout]    |
[INFO] [stdout] 69 |             sprite_control:&mut SpriteControlTable,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sprite_control`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/boot.rs:20:19
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn boot_leave(context:&GameStateContext) {
[INFO] [stdout]    |                   ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/boot.rs:23:20
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn boot_update(context:&GameStateContext) {
[INFO] [stdout]    |                    ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/attract.rs:15:22
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn attract_enter(context:&GameStateContext) {
[INFO] [stdout]    |                      ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/attract.rs:18:22
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn attract_leave(context:&GameStateContext) {
[INFO] [stdout]    |                      ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/attract.rs:21:23
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn attract_update(context:&GameStateContext) {
[INFO] [stdout]    |                       ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/long_introduction.rs:25:25
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn long_intro_leave(context:&GameStateContext) {
[INFO] [stdout]    |                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/long_introduction.rs:29:26
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn long_intro_update(context:&GameStateContext) {
[INFO] [stdout]    |                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/how_high.rs:15:23
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn how_high_enter(context:&GameStateContext) {
[INFO] [stdout]    |                       ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/how_high.rs:19:23
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn how_high_leave(context:&GameStateContext) {
[INFO] [stdout]    |                       ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/how_high.rs:23:24
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn how_high_update(context:&GameStateContext) {
[INFO] [stdout]    |                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/game_play.rs:15:24
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn game_play_enter(context:&GameStateContext) {
[INFO] [stdout]    |                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/game_play.rs:19:24
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn game_play_leave(context:&GameStateContext) {
[INFO] [stdout]    |                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/game_play.rs:23:25
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn game_play_update(context:&GameStateContext) {
[INFO] [stdout]    |                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/player_dies.rs:15:26
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn player_dies_enter(context:&GameStateContext) {
[INFO] [stdout]    |                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/player_dies.rs:19:26
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn player_dies_leave(context:&GameStateContext) {
[INFO] [stdout]    |                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/player_dies.rs:23:27
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn player_dies_update(context:&GameStateContext) {
[INFO] [stdout]    |                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/player_wins.rs:15:26
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn player_wins_enter(context:&GameStateContext) {
[INFO] [stdout]    |                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/player_wins.rs:19:26
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn player_wins_leave(context:&GameStateContext) {
[INFO] [stdout]    |                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/player_wins.rs:23:27
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn player_wins_update(context:&GameStateContext) {
[INFO] [stdout]    |                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/kong_retreats.rs:15:28
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn kong_retreats_enter(context:&GameStateContext) {
[INFO] [stdout]    |                            ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/kong_retreats.rs:19:28
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn kong_retreats_leave(context:&GameStateContext) {
[INFO] [stdout]    |                            ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/kong_retreats.rs:23:29
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn kong_retreats_update(context:&GameStateContext) {
[INFO] [stdout]    |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `system`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/commands.rs:38:50
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn execute(&self, game_state:&mut GameState, system:&mut SystemInterfaces) {
[INFO] [stdout]    |                                                  ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `game_state`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/commands.rs:59:23
[INFO] [stdout]    |
[INFO] [stdout] 59 |     fn execute(&self, game_state:&mut GameState, system:&mut SystemInterfaces) {
[INFO] [stdout]    |                       ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `game_state`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/commands.rs:88:23
[INFO] [stdout]    |
[INFO] [stdout] 88 |     fn execute(&self, game_state:&mut GameState, system:&mut SystemInterfaces) {
[INFO] [stdout]    |                       ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `F_SPR_COLLIDED` is never used
[INFO] [stdout]   --> src/game/rusty_kong/video/common.rs:42:11
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub const F_SPR_COLLIDED:u8 = 0b00000010;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Level1` is never constructed
[INFO] [stdout]   --> src/game/rusty_kong/video/common.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub enum TileMaps {
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] 55 |     LongIntroduction,
[INFO] [stdout] 56 |     Level1,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TileMaps` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TileMap` is never constructed
[INFO] [stdout]   --> src/game/rusty_kong/video/common.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub struct TileMap {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TileMap` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `user_data1` and `user_data2` are never read
[INFO] [stdout]   --> src/game/rusty_kong/video/common.rs:87:5
[INFO] [stdout]    |
[INFO] [stdout] 81 | pub struct SpriteControlBlock {
[INFO] [stdout]    |            ------------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 87 |     user_data1: u32,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 88 |     user_data2: u32
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SpriteControlBlock` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/game/rusty_kong/video/common.rs:213:12
[INFO] [stdout]     |
[INFO] [stdout] 200 | impl<'a> SpriteControlBlock {
[INFO] [stdout]     | --------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 213 |     pub fn tile(&mut self, number:u16) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 225 |     pub fn is_collided(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 229 |     pub fn enable(&mut self, flag:bool) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 245 |     pub fn collided(&mut self, flag:bool) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 253 |     pub fn palette(&mut self, number:u8) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 257 |     pub fn get_position(&self) -> (u16, u16) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 261 |     pub fn position(&mut self, x:u16, y:u16) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 266 |     pub fn vertical_flip(&mut self, flag:bool) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 278 |     pub fn horizontal_flip(&mut self, flag:bool) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `user_data1` and `user_data2` are never read
[INFO] [stdout]    --> src/game/rusty_kong/video/common.rs:296:5
[INFO] [stdout]     |
[INFO] [stdout] 292 | pub struct BackgroundControlBlock {
[INFO] [stdout]     |            ---------------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 296 |     user_data1: u32,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 297 |     user_data2: u32
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `BackgroundControlBlock` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_palette` is never used
[INFO] [stdout]   --> src/game/rusty_kong/video/palettes.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn get_palette(number:u8) -> &'static Palette {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `F_ACTOR_NONE` is never used
[INFO] [stdout]   --> src/game/rusty_kong/video/actor.rs:24:11
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub const F_ACTOR_NONE:u8       = 0b00000000;
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `F_ACTOR_ENABLED` is never used
[INFO] [stdout]   --> src/game/rusty_kong/video/actor.rs:25:11
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub const F_ACTOR_ENABLED:u8    = 0b00000001;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `F_ACTOR_COLLIDED` is never used
[INFO] [stdout]   --> src/game/rusty_kong/video/actor.rs:26:11
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub const F_ACTOR_COLLIDED:u8   = 0b00000010;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `F_ACTOR_HFLIP` is never used
[INFO] [stdout]   --> src/game/rusty_kong/video/actor.rs:27:11
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub const F_ACTOR_HFLIP:u8      = 0b00000100;
[INFO] [stdout]    |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `F_ACTOR_VFLIP` is never used
[INFO] [stdout]   --> src/game/rusty_kong/video/actor.rs:28:11
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub const F_ACTOR_VFLIP:u8      = 0b00001000;
[INFO] [stdout]    |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `tile`, `flags`, `palette`, `x_offset`, and `y_offset` are never read
[INFO] [stdout]   --> src/game/rusty_kong/video/actor.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct AnimationFrameSprite {
[INFO] [stdout]    |            -------------------- fields in this struct
[INFO] [stdout] 32 |     tile: u16,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 33 |     flags: u8,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 34 |     palette: u8,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 35 |     x_offset: u16,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 36 |     y_offset: u16,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AnimationFrameSprite` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `sprites` is never read
[INFO] [stdout]   --> src/game/rusty_kong/video/actor.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub struct AnimationFrame {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 40 |     duration: u32,
[INFO] [stdout] 41 |     sprites: Vec<AnimationFrameSprite>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `reset` are never used
[INFO] [stdout]   --> src/game/rusty_kong/video/actor.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | impl Animation {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 54 |     pub fn new(frames:Vec<AnimationFrame>) -> Animation {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub fn reset(&mut self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `y`, `x`, and `flags` are never read
[INFO] [stdout]    --> src/game/rusty_kong/video/actor.rs:98:5
[INFO] [stdout]     |
[INFO] [stdout] 97  | pub struct Actor {
[INFO] [stdout]     |            ----- fields in this struct
[INFO] [stdout] 98  |     y: u16,
[INFO] [stdout]     |     ^
[INFO] [stdout] 99  |     x: u16,
[INFO] [stdout]     |     ^
[INFO] [stdout] 100 |     flags: u8,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `animation`, and `position` are never used
[INFO] [stdout]    --> src/game/rusty_kong/video/actor.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 104 | impl Actor {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout] 105 |     pub fn new(x: u16, y: u16, flags: u8) -> Actor {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn animation(&mut self, anim:Animation) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub fn position(&mut self, x: u16, y: u16) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `level` and `player` are never read
[INFO] [stdout]    --> src/game/rusty_kong/state_machine/mod.rs:150:5
[INFO] [stdout]     |
[INFO] [stdout] 149 | pub struct GameState {
[INFO] [stdout]     |            --------- fields in this struct
[INFO] [stdout] 150 |     level: Level,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 151 |     player: JumpMan,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/game/rusty_kong/video/palettes.rs:30:1
[INFO] [stdout]     |
[INFO] [stdout] 30  | / lazy_static! {
[INFO] [stdout] 31  | |     static ref PAL_CNTL:Vec<Palette> = vec![
[INFO] [stdout] 32  | |         // #0
[INFO] [stdout] 33  | |         Palette {
[INFO] [stdout] ...   |
[INFO] [stdout] 608 | |     ];
[INFO] [stdout] 609 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/game/rusty_kong/state_machine/mod.rs:118:31
[INFO] [stdout]     |
[INFO] [stdout] 118 |     commands: RefCell<Vec<Box<GameCommand>>>
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 118 |     commands: RefCell<Vec<Box<dyn GameCommand>>>
[INFO] [stdout]     |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/game/rusty_kong/video/common.rs:370:25
[INFO] [stdout]     |
[INFO] [stdout] 370 |                     let mut block = &mut self.table[index];
[INFO] [stdout]     |                         ----^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `timer`
[INFO] [stdout]   --> src/game/rusty_kong/video/actor.rs:75:13
[INFO] [stdout]    |
[INFO] [stdout] 75 |         let timer = match anim_frame.timer {
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_timer`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/game/rusty_kong/video/actor.rs:82:22
[INFO] [stdout]    |
[INFO] [stdout] 82 |             Some(ref t) => return
[INFO] [stdout]    |                      ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sprite_control`
[INFO] [stdout]   --> src/game/rusty_kong/video/actor.rs:69:13
[INFO] [stdout]    |
[INFO] [stdout] 69 |             sprite_control:&mut SpriteControlTable,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sprite_control`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/boot.rs:20:19
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn boot_leave(context:&GameStateContext) {
[INFO] [stdout]    |                   ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/boot.rs:23:20
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn boot_update(context:&GameStateContext) {
[INFO] [stdout]    |                    ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/attract.rs:15:22
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn attract_enter(context:&GameStateContext) {
[INFO] [stdout]    |                      ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/attract.rs:18:22
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn attract_leave(context:&GameStateContext) {
[INFO] [stdout]    |                      ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/attract.rs:21:23
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn attract_update(context:&GameStateContext) {
[INFO] [stdout]    |                       ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/long_introduction.rs:25:25
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn long_intro_leave(context:&GameStateContext) {
[INFO] [stdout]    |                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/long_introduction.rs:29:26
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn long_intro_update(context:&GameStateContext) {
[INFO] [stdout]    |                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/how_high.rs:15:23
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn how_high_enter(context:&GameStateContext) {
[INFO] [stdout]    |                       ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/how_high.rs:19:23
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn how_high_leave(context:&GameStateContext) {
[INFO] [stdout]    |                       ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/how_high.rs:23:24
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn how_high_update(context:&GameStateContext) {
[INFO] [stdout]    |                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/game_play.rs:15:24
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn game_play_enter(context:&GameStateContext) {
[INFO] [stdout]    |                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/game_play.rs:19:24
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn game_play_leave(context:&GameStateContext) {
[INFO] [stdout]    |                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/game_play.rs:23:25
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn game_play_update(context:&GameStateContext) {
[INFO] [stdout]    |                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/player_dies.rs:15:26
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn player_dies_enter(context:&GameStateContext) {
[INFO] [stdout]    |                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/player_dies.rs:19:26
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn player_dies_leave(context:&GameStateContext) {
[INFO] [stdout]    |                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/player_dies.rs:23:27
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn player_dies_update(context:&GameStateContext) {
[INFO] [stdout]    |                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/player_wins.rs:15:26
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn player_wins_enter(context:&GameStateContext) {
[INFO] [stdout]    |                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/player_wins.rs:19:26
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn player_wins_leave(context:&GameStateContext) {
[INFO] [stdout]    |                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/player_wins.rs:23:27
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn player_wins_update(context:&GameStateContext) {
[INFO] [stdout]    |                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/kong_retreats.rs:15:28
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn kong_retreats_enter(context:&GameStateContext) {
[INFO] [stdout]    |                            ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/kong_retreats.rs:19:28
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn kong_retreats_leave(context:&GameStateContext) {
[INFO] [stdout]    |                            ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/kong_retreats.rs:23:29
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn kong_retreats_update(context:&GameStateContext) {
[INFO] [stdout]    |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `system`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/commands.rs:38:50
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn execute(&self, game_state:&mut GameState, system:&mut SystemInterfaces) {
[INFO] [stdout]    |                                                  ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `game_state`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/commands.rs:59:23
[INFO] [stdout]    |
[INFO] [stdout] 59 |     fn execute(&self, game_state:&mut GameState, system:&mut SystemInterfaces) {
[INFO] [stdout]    |                       ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `game_state`
[INFO] [stdout]   --> src/game/rusty_kong/state_machine/commands.rs:88:23
[INFO] [stdout]    |
[INFO] [stdout] 88 |     fn execute(&self, game_state:&mut GameState, system:&mut SystemInterfaces) {
[INFO] [stdout]    |                       ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `F_SPR_COLLIDED` is never used
[INFO] [stdout]   --> src/game/rusty_kong/video/common.rs:42:11
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub const F_SPR_COLLIDED:u8 = 0b00000010;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Level1` is never constructed
[INFO] [stdout]   --> src/game/rusty_kong/video/common.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub enum TileMaps {
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] 55 |     LongIntroduction,
[INFO] [stdout] 56 |     Level1,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TileMaps` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TileMap` is never constructed
[INFO] [stdout]   --> src/game/rusty_kong/video/common.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub struct TileMap {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TileMap` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `user_data1` and `user_data2` are never read
[INFO] [stdout]   --> src/game/rusty_kong/video/common.rs:87:5
[INFO] [stdout]    |
[INFO] [stdout] 81 | pub struct SpriteControlBlock {
[INFO] [stdout]    |            ------------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 87 |     user_data1: u32,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 88 |     user_data2: u32
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SpriteControlBlock` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/game/rusty_kong/video/common.rs:213:12
[INFO] [stdout]     |
[INFO] [stdout] 200 | impl<'a> SpriteControlBlock {
[INFO] [stdout]     | --------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 213 |     pub fn tile(&mut self, number:u16) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 225 |     pub fn is_collided(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 229 |     pub fn enable(&mut self, flag:bool) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 245 |     pub fn collided(&mut self, flag:bool) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 253 |     pub fn palette(&mut self, number:u8) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 257 |     pub fn get_position(&self) -> (u16, u16) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 261 |     pub fn position(&mut self, x:u16, y:u16) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 266 |     pub fn vertical_flip(&mut self, flag:bool) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 278 |     pub fn horizontal_flip(&mut self, flag:bool) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `user_data1` and `user_data2` are never read
[INFO] [stdout]    --> src/game/rusty_kong/video/common.rs:296:5
[INFO] [stdout]     |
[INFO] [stdout] 292 | pub struct BackgroundControlBlock {
[INFO] [stdout]     |            ---------------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 296 |     user_data1: u32,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 297 |     user_data2: u32
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `BackgroundControlBlock` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_palette` is never used
[INFO] [stdout]   --> src/game/rusty_kong/video/palettes.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn get_palette(number:u8) -> &'static Palette {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `F_ACTOR_NONE` is never used
[INFO] [stdout]   --> src/game/rusty_kong/video/actor.rs:24:11
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub const F_ACTOR_NONE:u8       = 0b00000000;
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `F_ACTOR_ENABLED` is never used
[INFO] [stdout]   --> src/game/rusty_kong/video/actor.rs:25:11
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub const F_ACTOR_ENABLED:u8    = 0b00000001;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `F_ACTOR_COLLIDED` is never used
[INFO] [stdout]   --> src/game/rusty_kong/video/actor.rs:26:11
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub const F_ACTOR_COLLIDED:u8   = 0b00000010;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `F_ACTOR_HFLIP` is never used
[INFO] [stdout]   --> src/game/rusty_kong/video/actor.rs:27:11
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub const F_ACTOR_HFLIP:u8      = 0b00000100;
[INFO] [stdout]    |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `F_ACTOR_VFLIP` is never used
[INFO] [stdout]   --> src/game/rusty_kong/video/actor.rs:28:11
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub const F_ACTOR_VFLIP:u8      = 0b00001000;
[INFO] [stdout]    |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `tile`, `flags`, `palette`, `x_offset`, and `y_offset` are never read
[INFO] [stdout]   --> src/game/rusty_kong/video/actor.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct AnimationFrameSprite {
[INFO] [stdout]    |            -------------------- fields in this struct
[INFO] [stdout] 32 |     tile: u16,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 33 |     flags: u8,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 34 |     palette: u8,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 35 |     x_offset: u16,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 36 |     y_offset: u16,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AnimationFrameSprite` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `sprites` is never read
[INFO] [stdout]   --> src/game/rusty_kong/video/actor.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub struct AnimationFrame {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 40 |     duration: u32,
[INFO] [stdout] 41 |     sprites: Vec<AnimationFrameSprite>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `reset` are never used
[INFO] [stdout]   --> src/game/rusty_kong/video/actor.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | impl Animation {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 54 |     pub fn new(frames:Vec<AnimationFrame>) -> Animation {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub fn reset(&mut self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `y`, `x`, and `flags` are never read
[INFO] [stdout]    --> src/game/rusty_kong/video/actor.rs:98:5
[INFO] [stdout]     |
[INFO] [stdout] 97  | pub struct Actor {
[INFO] [stdout]     |            ----- fields in this struct
[INFO] [stdout] 98  |     y: u16,
[INFO] [stdout]     |     ^
[INFO] [stdout] 99  |     x: u16,
[INFO] [stdout]     |     ^
[INFO] [stdout] 100 |     flags: u8,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `animation`, and `position` are never used
[INFO] [stdout]    --> src/game/rusty_kong/video/actor.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 104 | impl Actor {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout] 105 |     pub fn new(x: u16, y: u16, flags: u8) -> Actor {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn animation(&mut self, anim:Animation) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub fn position(&mut self, x: u16, y: u16) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `level` and `player` are never read
[INFO] [stdout]    --> src/game/rusty_kong/state_machine/mod.rs:150:5
[INFO] [stdout]     |
[INFO] [stdout] 149 | pub struct GameState {
[INFO] [stdout]     |            --------- fields in this struct
[INFO] [stdout] 150 |     level: Level,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 151 |     player: JumpMan,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.17s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "b18da05f5251561b46ec2f586800b5b4ab019c09af20f3b67cc52b883a9faacc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b18da05f5251561b46ec2f586800b5b4ab019c09af20f3b67cc52b883a9faacc", kill_on_drop: false }`
[INFO] [stdout] b18da05f5251561b46ec2f586800b5b4ab019c09af20f3b67cc52b883a9faacc
