[INFO] cloning repository https://github.com/lerina/wasm_shooting_game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lerina/wasm_shooting_game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flerina%2Fwasm_shooting_game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flerina%2Fwasm_shooting_game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ddf53ac4d836fefe1b44fcf3f708f58a14306c4a [INFO] checking lerina/wasm_shooting_game against master#11d2046fe9962720558cb15f72541f7fd170dec9 for pr-139493-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flerina%2Fwasm_shooting_game" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lerina/wasm_shooting_game [INFO] finished tweaking git repo https://github.com/lerina/wasm_shooting_game [INFO] tweaked toml for git repo https://github.com/lerina/wasm_shooting_game written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lerina/wasm_shooting_game on toolchain 11d2046fe9962720558cb15f72541f7fd170dec9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11d2046fe9962720558cb15f72541f7fd170dec9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lerina/wasm_shooting_game 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" "+11d2046fe9962720558cb15f72541f7fd170dec9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+11d2046fe9962720558cb15f72541f7fd170dec9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f9f1826c4f3d9904767ce338033f3f13df7d85ca66e64b93311bc94a9e474fe [INFO] running `Command { std: "docker" "start" "-a" "1f9f1826c4f3d9904767ce338033f3f13df7d85ca66e64b93311bc94a9e474fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f9f1826c4f3d9904767ce338033f3f13df7d85ca66e64b93311bc94a9e474fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f9f1826c4f3d9904767ce338033f3f13df7d85ca66e64b93311bc94a9e474fe", kill_on_drop: false }` [INFO] [stdout] 1f9f1826c4f3d9904767ce338033f3f13df7d85ca66e64b93311bc94a9e474fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+11d2046fe9962720558cb15f72541f7fd170dec9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65d6b77f767904f11b99adfc6dd07838467e6f4af97d39dc41d4443234db6af9 [INFO] running `Command { std: "docker" "start" "-a" "65d6b77f767904f11b99adfc6dd07838467e6f4af97d39dc41d4443234db6af9", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.51 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.91 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.91 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.91 [INFO] [stderr] Checking wasm-bindgen v0.2.91 [INFO] [stderr] Checking js-sys v0.3.68 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking web-sys v0.3.68 [INFO] [stderr] Checking wasm_shooting_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `GAME_HEIGHT` [INFO] [stdout] --> src/enemy.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::engine::{GAME_HEIGHT, GAME_WIDTH}; [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: `GAME_HEIGHT` [INFO] [stdout] --> src/enemy.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::engine::{GAME_HEIGHT, GAME_WIDTH}; [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 variable: `width` [INFO] [stdout] --> src/enemy.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn move_enemies(&mut self, width: f32, height: f32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/enemy.rs:22:48 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn move_enemies(&mut self, width: f32, height: f32) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mid_length` [INFO] [stdout] --> src/view.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | let mid_length = (msg.len() / 2) as f32; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mid_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mid_length` [INFO] [stdout] --> src/view.rs:215:17 [INFO] [stdout] | [INFO] [stdout] 215 | let mid_length = (msg.len() / 2) as f32; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mid_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timer_til_next_move` is never read [INFO] [stdout] --> src/enemy.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct EnemyController { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 9 | timer_til_next_move: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `speed` is never read [INFO] [stdout] --> src/player.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Player { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | speed: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `speed_incr` and `speed_decr` are never used [INFO] [stdout] --> src/player.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Player { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn speed_incr(&mut self, val: f32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn speed_decr(&mut self, val: f32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `delay` is never read [INFO] [stdout] --> src/weapon.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Bullet { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | delay: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `delay` and `damage` are never used [INFO] [stdout] --> src/weapon.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 60 | impl Bullet { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn delay(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn damage(&self) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/enemy.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn move_enemies(&mut self, width: f32, height: f32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/enemy.rs:22:48 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn move_enemies(&mut self, width: f32, height: f32) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mid_length` [INFO] [stdout] --> src/view.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | let mid_length = (msg.len() / 2) as f32; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mid_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mid_length` [INFO] [stdout] --> src/view.rs:215:17 [INFO] [stdout] | [INFO] [stdout] 215 | let mid_length = (msg.len() / 2) as f32; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mid_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timer_til_next_move` is never read [INFO] [stdout] --> src/enemy.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct EnemyController { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 9 | timer_til_next_move: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `speed` is never read [INFO] [stdout] --> src/player.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Player { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | speed: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `speed_incr` and `speed_decr` are never used [INFO] [stdout] --> src/player.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Player { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn speed_incr(&mut self, val: f32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn speed_decr(&mut self, val: f32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `delay` is never read [INFO] [stdout] --> src/weapon.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Bullet { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | delay: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `delay` and `damage` are never used [INFO] [stdout] --> src/weapon.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 60 | impl Bullet { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn delay(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn damage(&self) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.79s [INFO] running `Command { std: "docker" "inspect" "65d6b77f767904f11b99adfc6dd07838467e6f4af97d39dc41d4443234db6af9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65d6b77f767904f11b99adfc6dd07838467e6f4af97d39dc41d4443234db6af9", kill_on_drop: false }` [INFO] [stdout] 65d6b77f767904f11b99adfc6dd07838467e6f4af97d39dc41d4443234db6af9