[INFO] cloning repository https://github.com/diego-velope/cosmic-climber-wasm-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/diego-velope/cosmic-climber-wasm-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiego-velope%2Fcosmic-climber-wasm-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiego-velope%2Fcosmic-climber-wasm-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c761d6331420644c2b1d86bf871f681c69dea719 [INFO] checking diego-velope/cosmic-climber-wasm-rust against try#f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2 for pr-156992 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiego-velope%2Fcosmic-climber-wasm-rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/diego-velope/cosmic-climber-wasm-rust [INFO] finished tweaking git repo https://github.com/diego-velope/cosmic-climber-wasm-rust [INFO] tweaked toml for git repo https://github.com/diego-velope/cosmic-climber-wasm-rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/diego-velope/cosmic-climber-wasm-rust on toolchain f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/diego-velope/cosmic-climber-wasm-rust 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" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 51ab974ef6552f9987e026df6dfaa1201255050bf0e34ec6a3ad3fa20f3924f1 [INFO] running `Command { std: "docker" "start" "-a" "51ab974ef6552f9987e026df6dfaa1201255050bf0e34ec6a3ad3fa20f3924f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51ab974ef6552f9987e026df6dfaa1201255050bf0e34ec6a3ad3fa20f3924f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51ab974ef6552f9987e026df6dfaa1201255050bf0e34ec6a3ad3fa20f3924f1", kill_on_drop: false }` [INFO] [stdout] 51ab974ef6552f9987e026df6dfaa1201255050bf0e34ec6a3ad3fa20f3924f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df5e8f6c92905932b96bece33ccf4e27d14880b74a31f4895af75d431538c4ea [INFO] running `Command { std: "docker" "start" "-a" "df5e8f6c92905932b96bece33ccf4e27d14880b74a31f4895af75d431538c4ea", kill_on_drop: false }` [INFO] [stderr] Checking simd-adler32 v0.3.8 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Checking ttf-parser v0.21.1 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Checking glam v0.27.0 [INFO] [stderr] Checking quad-rand v0.2.3 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking fontdue v0.9.3 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking macroquad v0.4.14 [INFO] [stderr] Checking cosmic-climber-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `LevelTrans` and `Win` are never constructed [INFO] [stdout] --> src/game.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub enum GameState { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 69 | LevelTrans, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 70 | Win, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vel` is never read [INFO] [stdout] --> src/game.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct Platform { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 141 | pub vel: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Platform` 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 `vy` is never read [INFO] [stdout] --> src/game.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct Enemy { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 162 | pub vy: f32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Enemy` 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 `x`, `y`, `active`, `pu_type`, and `bob` are never read [INFO] [stdout] --> src/game.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 199 | pub struct Powerup { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 200 | pub x: f32, [INFO] [stdout] | ^ [INFO] [stdout] 201 | pub y: f32, [INFO] [stdout] | ^ [INFO] [stdout] 202 | pub active: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 203 | pub pu_type: PowerupType, // 'type' is a reserved keyword [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 204 | pub bob: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Powerup` 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 `name`, `desc`, `scroll_spd`, and `sky_top` are never read [INFO] [stdout] --> src/game.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 217 | pub struct LevelCfg { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 218 | pub name: &'static str, // Replaces char name[24] [INFO] [stdout] | ^^^^ [INFO] [stdout] 219 | pub desc: &'static str, // ADDED: For the transition subtitle [INFO] [stdout] | ^^^^ [INFO] [stdout] 220 | pub scroll_spd: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub sky_top: Color, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LevelCfg` 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 `world_top`, `menu_sel`, `menu_t`, `trans_t`, and `trans_a` are never read [INFO] [stdout] --> src/game.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 236 | pub struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 261 | pub world_top: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | pub menu_sel: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 276 | pub menu_t: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 277 | pub trans_t: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 278 | pub trans_a: f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TvAction` is never used [INFO] [stdout] --> src/input/tv_input_manager.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum TvAction { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_action`, `is_action_held`, and `sync_prev_from_current` are never used [INFO] [stdout] --> src/input/tv_input_manager.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl TvInputManager { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 38 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn set_action(&mut self, action: TvAction, pressed: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn is_action_held(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn sync_prev_from_current(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_tv_input_manager` is never used [INFO] [stdout] --> src/input/tv_input_manager.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn init_tv_input_manager() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_tv_input_manager_mut` is never used [INFO] [stdout] --> src/input/tv_input_manager.rs:198:8 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn get_tv_input_manager_mut() -> Option<&'static mut TvInputManager> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `LevelTrans` and `Win` are never constructed [INFO] [stdout] --> src/game.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub enum GameState { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 69 | LevelTrans, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 70 | Win, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vel` is never read [INFO] [stdout] --> src/game.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct Platform { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 141 | pub vel: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Platform` 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 `vy` is never read [INFO] [stdout] --> src/game.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct Enemy { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 162 | pub vy: f32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Enemy` 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 `x`, `y`, `active`, `pu_type`, and `bob` are never read [INFO] [stdout] --> src/game.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 199 | pub struct Powerup { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 200 | pub x: f32, [INFO] [stdout] | ^ [INFO] [stdout] 201 | pub y: f32, [INFO] [stdout] | ^ [INFO] [stdout] 202 | pub active: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 203 | pub pu_type: PowerupType, // 'type' is a reserved keyword [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 204 | pub bob: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Powerup` 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 `name`, `desc`, `scroll_spd`, and `sky_top` are never read [INFO] [stdout] --> src/game.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 217 | pub struct LevelCfg { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 218 | pub name: &'static str, // Replaces char name[24] [INFO] [stdout] | ^^^^ [INFO] [stdout] 219 | pub desc: &'static str, // ADDED: For the transition subtitle [INFO] [stdout] | ^^^^ [INFO] [stdout] 220 | pub scroll_spd: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub sky_top: Color, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LevelCfg` 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 `world_top`, `menu_sel`, `menu_t`, `trans_t`, and `trans_a` are never read [INFO] [stdout] --> src/game.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 236 | pub struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 261 | pub world_top: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | pub menu_sel: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 276 | pub menu_t: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 277 | pub trans_t: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 278 | pub trans_a: f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TvAction` is never used [INFO] [stdout] --> src/input/tv_input_manager.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum TvAction { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_action`, `is_action_held`, and `sync_prev_from_current` are never used [INFO] [stdout] --> src/input/tv_input_manager.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl TvInputManager { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 38 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn set_action(&mut self, action: TvAction, pressed: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn is_action_held(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn sync_prev_from_current(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_tv_input_manager` is never used [INFO] [stdout] --> src/input/tv_input_manager.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn init_tv_input_manager() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_tv_input_manager_mut` is never used [INFO] [stdout] --> src/input/tv_input_manager.rs:198:8 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn get_tv_input_manager_mut() -> Option<&'static mut TvInputManager> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.73s [INFO] running `Command { std: "docker" "inspect" "df5e8f6c92905932b96bece33ccf4e27d14880b74a31f4895af75d431538c4ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df5e8f6c92905932b96bece33ccf4e27d14880b74a31f4895af75d431538c4ea", kill_on_drop: false }` [INFO] [stdout] df5e8f6c92905932b96bece33ccf4e27d14880b74a31f4895af75d431538c4ea