[INFO] cloning repository https://github.com/pedrokarim/tetris-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pedrokarim/tetris-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedrokarim%2Ftetris-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedrokarim%2Ftetris-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e69c32f076701a8e750d1fe91a58c1533c7cfa94 [INFO] building pedrokarim/tetris-rust against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedrokarim%2Ftetris-rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pedrokarim/tetris-rust [INFO] finished tweaking git repo https://github.com/pedrokarim/tetris-rust [INFO] tweaked toml for git repo https://github.com/pedrokarim/tetris-rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pedrokarim/tetris-rust on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pedrokarim/tetris-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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded objc-rs v0.2.8 [INFO] [stderr] Downloaded miniquad v0.4.8 [INFO] [stderr] Downloaded macroquad v0.4.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3eab2a4e77a08fc261b93b4d182e2ae7ae4b00380c65109628a281ef96cc8c3e [INFO] running `Command { std: "docker" "start" "-a" "3eab2a4e77a08fc261b93b4d182e2ae7ae4b00380c65109628a281ef96cc8c3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3eab2a4e77a08fc261b93b4d182e2ae7ae4b00380c65109628a281ef96cc8c3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3eab2a4e77a08fc261b93b4d182e2ae7ae4b00380c65109628a281ef96cc8c3e", kill_on_drop: false }` [INFO] [stdout] 3eab2a4e77a08fc261b93b4d182e2ae7ae4b00380c65109628a281ef96cc8c3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] f20c5313355b1608b7ad669244766a0bd47a5a6055bcacd0f261130a54c42a0a [INFO] running `Command { std: "docker" "start" "-a" "f20c5313355b1608b7ad669244766a0bd47a5a6055bcacd0f261130a54c42a0a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling quad-snd v0.2.8 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling quad-rand v0.2.3 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling fontdue v0.9.3 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling macroquad v0.4.14 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tetris-game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated items `any_key_pressed` and `get_help_text` are never used [INFO] [stdout] --> src/input.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl InputHandler { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn any_key_pressed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn get_help_text() -> Vec<&'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TetrisEffect` is never constructed [INFO] [stdout] --> src/animations.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum AnimationType { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 27 | TetrisEffect { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnimationType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_finished` is never used [INFO] [stdout] --> src/animations.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Animation { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn is_finished(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `music_volume` is never read [INFO] [stdout] --> src/audio.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct AudioManager { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | music_volume: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_music_volume`, `get_sound_enabled`, `get_music_enabled`, `get_volume`, and `get_music_volume` are never used [INFO] [stdout] --> src/audio.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl AudioManager { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn set_music_volume(&mut self, volume: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn get_sound_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn get_music_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn get_volume(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn get_music_volume(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.35s [INFO] running `Command { std: "docker" "inspect" "f20c5313355b1608b7ad669244766a0bd47a5a6055bcacd0f261130a54c42a0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f20c5313355b1608b7ad669244766a0bd47a5a6055bcacd0f261130a54c42a0a", kill_on_drop: false }` [INFO] [stdout] f20c5313355b1608b7ad669244766a0bd47a5a6055bcacd0f261130a54c42a0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 87162c7ce62c193b1b6737ddc4cc9c1f29e195dd30b519c2436f5552920414fb [INFO] running `Command { std: "docker" "start" "-a" "87162c7ce62c193b1b6737ddc4cc9c1f29e195dd30b519c2436f5552920414fb", kill_on_drop: false }` [INFO] [stderr] Compiling tetris-game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated items `any_key_pressed` and `get_help_text` are never used [INFO] [stdout] --> src/input.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl InputHandler { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn any_key_pressed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn get_help_text() -> Vec<&'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TetrisEffect` is never constructed [INFO] [stdout] --> src/animations.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum AnimationType { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 27 | TetrisEffect { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnimationType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_finished` is never used [INFO] [stdout] --> src/animations.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Animation { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn is_finished(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `music_volume` is never read [INFO] [stdout] --> src/audio.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct AudioManager { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | music_volume: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_music_volume`, `get_sound_enabled`, `get_music_enabled`, `get_volume`, and `get_music_volume` are never used [INFO] [stdout] --> src/audio.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl AudioManager { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn set_music_volume(&mut self, volume: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn get_sound_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn get_music_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn get_volume(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn get_music_volume(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.06s [INFO] running `Command { std: "docker" "inspect" "87162c7ce62c193b1b6737ddc4cc9c1f29e195dd30b519c2436f5552920414fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87162c7ce62c193b1b6737ddc4cc9c1f29e195dd30b519c2436f5552920414fb", kill_on_drop: false }` [INFO] [stdout] 87162c7ce62c193b1b6737ddc4cc9c1f29e195dd30b519c2436f5552920414fb