[INFO] cloning repository https://github.com/edgarcoime/rust_space_invaders [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/edgarcoime/rust_space_invaders" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedgarcoime%2Frust_space_invaders", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedgarcoime%2Frust_space_invaders'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b53c3d04f90b496f89e7c2665016b2fcda65b2c9 [INFO] testing edgarcoime/rust_space_invaders against master#10dccdc7fcbdc64ee9efe2c1ed975ab8c1d61287 for pr-94775 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedgarcoime%2Frust_space_invaders" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/edgarcoime/rust_space_invaders on toolchain 10dccdc7fcbdc64ee9efe2c1ed975ab8c1d61287 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+10dccdc7fcbdc64ee9efe2c1ed975ab8c1d61287" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/edgarcoime/rust_space_invaders [INFO] finished tweaking git repo https://github.com/edgarcoime/rust_space_invaders [INFO] tweaked toml for git repo https://github.com/edgarcoime/rust_space_invaders written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/edgarcoime/rust_space_invaders already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+10dccdc7fcbdc64ee9efe2c1ed975ab8c1d61287" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+10dccdc7fcbdc64ee9efe2c1ed975ab8c1d61287" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4cf75a9cd7dbc577ec4fdb533c180f76d14aed1452419852b5570a61e31fbe0f [INFO] running `Command { std: "docker" "start" "-a" "4cf75a9cd7dbc577ec4fdb533c180f76d14aed1452419852b5570a61e31fbe0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4cf75a9cd7dbc577ec4fdb533c180f76d14aed1452419852b5570a61e31fbe0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cf75a9cd7dbc577ec4fdb533c180f76d14aed1452419852b5570a61e31fbe0f", kill_on_drop: false }` [INFO] [stdout] 4cf75a9cd7dbc577ec4fdb533c180f76d14aed1452419852b5570a61e31fbe0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+10dccdc7fcbdc64ee9efe2c1ed975ab8c1d61287" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d5ba5d2f85fc8568aa4515dfb4306a2e092bcd7c6ae26a1b274f4d912c24d8b8 [INFO] running `Command { std: "docker" "start" "-a" "d5ba5d2f85fc8568aa4515dfb4306a2e092bcd7c6ae26a1b274f4d912c24d8b8", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling mint v0.5.9 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling erased-serde v0.3.18 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling async-task v4.2.0 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling ash v0.34.0+1.2.203 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling renderdoc-sys v0.7.1 [INFO] [stderr] Compiling glow v0.11.2 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling profiling v1.0.5 [INFO] [stderr] Compiling inplace_it v0.3.3 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling ttf-parser v0.15.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling svg_fmt v0.4.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling cpal v0.13.5 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Compiling xi-unicode v0.3.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling rectangle-pack v0.4.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.1 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling wgpu-types v0.12.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling pp-rs v0.2.1 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling raw-window-handle v0.4.2 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling wgpu-core v0.12.2 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling gpu-alloc v0.5.3 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling owned_ttf_parser v0.15.0 [INFO] [stderr] Compiling stretch v0.3.2 [INFO] [stderr] Compiling ab_glyph v0.2.15 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling euclid v0.22.6 [INFO] [stderr] Compiling glyph_brush_layout v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling filetime v0.2.15 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling nix v0.23.1 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling bevy_tasks v0.6.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling notify v5.0.0-pre.11 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling guillotiere v0.6.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling gpu-descriptor v0.2.2 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling alsa v0.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling bytemuck_derive v1.0.1 [INFO] [stderr] Compiling tracing-attributes v0.1.19 [INFO] [stderr] Compiling gltf-derive v0.16.0 [INFO] [stderr] Compiling bytemuck v1.8.0 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling tracing v0.1.31 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling naga v0.8.5 [INFO] [stderr] Compiling cargo-manifest v0.2.6 [INFO] [stderr] Compiling bevy_macro_utils v0.6.0 [INFO] [stderr] Compiling bevy_derive v0.6.0 [INFO] [stderr] Compiling bevy_reflect_derive v0.6.0 [INFO] [stderr] Compiling bevy_ecs_macros v0.6.0 [INFO] [stderr] Compiling bevy-crevice-derive v0.6.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling glam v0.20.2 [INFO] [stderr] Compiling ron v0.7.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.9 [INFO] [stderr] Compiling gilrs-core v0.3.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling gilrs v0.8.2 [INFO] [stderr] Compiling rodio v0.14.0 [INFO] [stderr] Compiling gltf-json v0.16.0 [INFO] [stderr] Compiling bevy_utils v0.6.0 [INFO] [stderr] Compiling wgpu-hal v0.12.4 [INFO] [stderr] Compiling bevy_reflect v0.6.0 [INFO] [stderr] Compiling bevy_crevice v0.6.1 [INFO] [stderr] Compiling hexasphere v6.1.0 [INFO] [stderr] Compiling gltf v0.16.0 [INFO] [stderr] Compiling bevy_ecs v0.6.1 [INFO] [stderr] Compiling bevy_math v0.6.0 [INFO] [stderr] Compiling bevy_app v0.6.0 [INFO] [stderr] Compiling wgpu v0.12.0 [INFO] [stderr] Compiling bevy_core v0.6.0 [INFO] [stderr] Compiling bevy_log v0.6.0 [INFO] [stderr] Compiling bevy_window v0.6.0 [INFO] [stderr] Compiling bevy_transform v0.6.0 [INFO] [stderr] Compiling bevy_input v0.6.0 [INFO] [stderr] Compiling bevy_diagnostic v0.6.0 [INFO] [stderr] Compiling bevy_gilrs v0.6.0 [INFO] [stderr] Compiling bevy_winit v0.6.1 [INFO] [stderr] Compiling bevy_asset v0.6.0 [INFO] [stderr] Compiling bevy_render v0.6.1 [INFO] [stderr] Compiling bevy_scene v0.6.0 [INFO] [stderr] Compiling bevy_audio v0.6.0 [INFO] [stderr] Compiling bevy_core_pipeline v0.6.0 [INFO] [stderr] Compiling bevy_sprite v0.6.0 [INFO] [stderr] Compiling bevy_pbr v0.6.1 [INFO] [stderr] Compiling bevy_gltf v0.6.0 [INFO] [stderr] Compiling bevy_text v0.6.0 [INFO] [stderr] Compiling bevy_ui v0.6.1 [INFO] [stderr] Compiling bevy_internal v0.6.0 [INFO] [stderr] Compiling bevy v0.6.1 [INFO] [stderr] Compiling space_invaders_classic v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `LogDiagnosticsPlugin` [INFO] [stdout] --> src/diagnostics.rs:1:90 [INFO] [stdout] | [INFO] [stdout] 1 | use bevy::{prelude::*, app::PluginGroupBuilder, diagnostic::{FrameTimeDiagnosticsPlugin, LogDiagnosticsPlugin}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/entities/enemy.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use bevy::{prelude::*, sprite::{self, collide_aabb::collide}, core::FixedTimestep}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Game` [INFO] [stdout] --> src/entities/enemy.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{Game, WinSize, SpriteInfos, shared::{Health, RenderedAssetInfo, WeaponState, Velocity, MovementSpeed, Projectile}, AssetScali... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ecs::bundle`, `utils::HashSet` [INFO] [stdout] --> src/entities/obstacles.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use bevy::{prelude::*, ecs::bundle, utils::HashSet}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Collision` [INFO] [stdout] --> src/shared/weapons.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | use bevy::{prelude::*, sprite::collide_aabb::{Collision, collide}, reflect::List}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AssetScaling`, `SpriteInfos` [INFO] [stdout] --> src/shared/weapons.rs:4:79 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{Game, entities::{FromPlayer, Enemy, Obstacle, FromEnemy, Player}, SpriteInfos, AssetScaling}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reflect::List` [INFO] [stdout] --> src/shared/weapons.rs:3:68 [INFO] [stdout] | [INFO] [stdout] 3 | use bevy::{prelude::*, sprite::collide_aabb::{Collision, collide}, reflect::List}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/entities.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | fn build(&self, app: &mut App) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/entities/enemy.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | mut commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sprite_infos` [INFO] [stdout] --> src/entities/enemy.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | sprite_infos: Res<SpriteInfos> [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sprite_infos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/entities/enemy.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | time: Res<Time>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `en_en` [INFO] [stdout] --> src/entities/player.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | for (en_en, en_tf, en_rai) in enemy_q.iter() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_en_en` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entities_despawned` [INFO] [stdout] --> src/shared/weapons.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let mut entities_despawned: HashSet<Entity> = HashSet::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entities_despawned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> src/shared/weapons.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | mut game: ResMut<Game>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/shared/attributes.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | fn build(&self, app: &mut App) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/entities/enemy.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | mut commands: Commands, [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/entities/enemy.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 202 | mut q: Query<(&mut WeaponState, &Transform), With<Enemy>>, [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/entities/enemy.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | mut alien_state: ResMut<AlienState>, [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/entities/enemy.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 249 | mut alien_state: ResMut<AlienState> [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/shared/weapons.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | mut game: ResMut<Game>, [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/shared/weapons.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let mut entities_despawned: HashSet<Entity> = HashSet::new(); [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/shared/weapons.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | let mut entities_despawned: HashSet<Entity> = HashSet::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `AUDIO_DIR` [INFO] [stdout] --> src/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | const AUDIO_DIR: &str = "assets/audio"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FONT_DIR` [INFO] [stdout] --> src/main.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | const FONT_DIR: &str = "assets/font"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MainMenu` [INFO] [stdout] --> src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | MainMenu, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GameState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Clone, Eq, PartialEq, Debug, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Paused` [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | Paused, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GameState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Clone, Eq, PartialEq, Debug, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GameOver` [INFO] [stdout] --> src/main.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | GameOver, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GameState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Clone, Eq, PartialEq, Debug, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `player_projectile` [INFO] [stdout] --> src/main.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | player_projectile: Vec3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `top_alien` [INFO] [stdout] --> src/main.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | top_alien: (Handle<Image>, Vec2), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SpriteInfos` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/entities/enemy.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | fn new(x: f32, y: f32, sprite_infos: &Res<SpriteInfos>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `setup_top_alien` [INFO] [stdout] --> src/entities/enemy.rs:168:4 [INFO] [stdout] | [INFO] [stdout] 168 | fn setup_top_alien( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/entities/player.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | name: String [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/shared/attributes.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn from(hp: u32) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8m 08s [INFO] running `Command { std: "docker" "inspect" "d5ba5d2f85fc8568aa4515dfb4306a2e092bcd7c6ae26a1b274f4d912c24d8b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5ba5d2f85fc8568aa4515dfb4306a2e092bcd7c6ae26a1b274f4d912c24d8b8", kill_on_drop: false }` [INFO] [stdout] d5ba5d2f85fc8568aa4515dfb4306a2e092bcd7c6ae26a1b274f4d912c24d8b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+10dccdc7fcbdc64ee9efe2c1ed975ab8c1d61287" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 179efee5a06dec4b7d4fe490de070056a9c6d8560716a13152d957979df6aaeb [INFO] running `Command { std: "docker" "start" "-a" "179efee5a06dec4b7d4fe490de070056a9c6d8560716a13152d957979df6aaeb", kill_on_drop: false }` [INFO] [stderr] Compiling space_invaders_classic v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `LogDiagnosticsPlugin` [INFO] [stdout] --> src/diagnostics.rs:1:90 [INFO] [stdout] | [INFO] [stdout] 1 | use bevy::{prelude::*, app::PluginGroupBuilder, diagnostic::{FrameTimeDiagnosticsPlugin, LogDiagnosticsPlugin}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/entities/enemy.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use bevy::{prelude::*, sprite::{self, collide_aabb::collide}, core::FixedTimestep}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Game` [INFO] [stdout] --> src/entities/enemy.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{Game, WinSize, SpriteInfos, shared::{Health, RenderedAssetInfo, WeaponState, Velocity, MovementSpeed, Projectile}, AssetScali... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ecs::bundle`, `utils::HashSet` [INFO] [stdout] --> src/entities/obstacles.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use bevy::{prelude::*, ecs::bundle, utils::HashSet}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Collision` [INFO] [stdout] --> src/shared/weapons.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | use bevy::{prelude::*, sprite::collide_aabb::{Collision, collide}, reflect::List}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AssetScaling`, `SpriteInfos` [INFO] [stdout] --> src/shared/weapons.rs:4:79 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{Game, entities::{FromPlayer, Enemy, Obstacle, FromEnemy, Player}, SpriteInfos, AssetScaling}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reflect::List` [INFO] [stdout] --> src/shared/weapons.rs:3:68 [INFO] [stdout] | [INFO] [stdout] 3 | use bevy::{prelude::*, sprite::collide_aabb::{Collision, collide}, reflect::List}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/entities.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | fn build(&self, app: &mut App) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/entities/enemy.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | mut commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sprite_infos` [INFO] [stdout] --> src/entities/enemy.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | sprite_infos: Res<SpriteInfos> [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sprite_infos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/entities/enemy.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | time: Res<Time>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `en_en` [INFO] [stdout] --> src/entities/player.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | for (en_en, en_tf, en_rai) in enemy_q.iter() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_en_en` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entities_despawned` [INFO] [stdout] --> src/shared/weapons.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let mut entities_despawned: HashSet<Entity> = HashSet::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entities_despawned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> src/shared/weapons.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | mut game: ResMut<Game>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/shared/attributes.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | fn build(&self, app: &mut App) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/entities/enemy.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | mut commands: Commands, [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/entities/enemy.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 202 | mut q: Query<(&mut WeaponState, &Transform), With<Enemy>>, [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/entities/enemy.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | mut alien_state: ResMut<AlienState>, [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/entities/enemy.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 249 | mut alien_state: ResMut<AlienState> [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/shared/weapons.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | mut game: ResMut<Game>, [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/shared/weapons.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let mut entities_despawned: HashSet<Entity> = HashSet::new(); [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/shared/weapons.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | let mut entities_despawned: HashSet<Entity> = HashSet::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `AUDIO_DIR` [INFO] [stdout] --> src/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | const AUDIO_DIR: &str = "assets/audio"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FONT_DIR` [INFO] [stdout] --> src/main.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | const FONT_DIR: &str = "assets/font"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MainMenu` [INFO] [stdout] --> src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | MainMenu, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GameState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Clone, Eq, PartialEq, Debug, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Paused` [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | Paused, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GameState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Clone, Eq, PartialEq, Debug, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GameOver` [INFO] [stdout] --> src/main.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | GameOver, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GameState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Clone, Eq, PartialEq, Debug, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `player_projectile` [INFO] [stdout] --> src/main.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | player_projectile: Vec3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `top_alien` [INFO] [stdout] --> src/main.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | top_alien: (Handle<Image>, Vec2), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SpriteInfos` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/entities/enemy.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | fn new(x: f32, y: f32, sprite_infos: &Res<SpriteInfos>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `setup_top_alien` [INFO] [stdout] --> src/entities/enemy.rs:168:4 [INFO] [stdout] | [INFO] [stdout] 168 | fn setup_top_alien( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/entities/player.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | name: String [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/shared/attributes.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn from(hp: u32) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.81s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/space_invaders_classic-d3e3ae15fb714ae2) [INFO] running `Command { std: "docker" "inspect" "179efee5a06dec4b7d4fe490de070056a9c6d8560716a13152d957979df6aaeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "179efee5a06dec4b7d4fe490de070056a9c6d8560716a13152d957979df6aaeb", kill_on_drop: false }` [INFO] [stdout] 179efee5a06dec4b7d4fe490de070056a9c6d8560716a13152d957979df6aaeb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+10dccdc7fcbdc64ee9efe2c1ed975ab8c1d61287" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 77ea4262fdc561a0b74c91f35f3836c668960dc18396cd2d61aeb2f2c43b80cb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "77ea4262fdc561a0b74c91f35f3836c668960dc18396cd2d61aeb2f2c43b80cb", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `LogDiagnosticsPlugin` [INFO] [stderr] --> src/diagnostics.rs:1:90 [INFO] [stderr] | [INFO] [stderr] 1 | use bevy::{prelude::*, app::PluginGroupBuilder, diagnostic::{FrameTimeDiagnosticsPlugin, LogDiagnosticsPlugin}}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/entities/enemy.rs:3:33 [INFO] [stderr] | [INFO] [stderr] 3 | use bevy::{prelude::*, sprite::{self, collide_aabb::collide}, core::FixedTimestep}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Game` [INFO] [stderr] --> src/entities/enemy.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::{Game, WinSize, SpriteInfos, shared::{Health, RenderedAssetInfo, WeaponState, Velocity, MovementSpeed, Projectile}, AssetScali... [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ecs::bundle`, `utils::HashSet` [INFO] [stderr] --> src/entities/obstacles.rs:1:24 [INFO] [stderr] | [INFO] [stderr] 1 | use bevy::{prelude::*, ecs::bundle, utils::HashSet}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Collision` [INFO] [stderr] --> src/shared/weapons.rs:3:47 [INFO] [stderr] | [INFO] [stderr] 3 | use bevy::{prelude::*, sprite::collide_aabb::{Collision, collide}, reflect::List}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `AssetScaling`, `SpriteInfos` [INFO] [stderr] --> src/shared/weapons.rs:4:79 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::{Game, entities::{FromPlayer, Enemy, Obstacle, FromEnemy, Player}, SpriteInfos, AssetScaling}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `reflect::List` [INFO] [stderr] --> src/shared/weapons.rs:3:68 [INFO] [stderr] | [INFO] [stderr] 3 | use bevy::{prelude::*, sprite::collide_aabb::{Collision, collide}, reflect::List}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> src/entities.rs:24:21 [INFO] [stderr] | [INFO] [stderr] 24 | fn build(&self, app: &mut App) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `commands` [INFO] [stderr] --> src/entities/enemy.rs:169:9 [INFO] [stderr] | [INFO] [stderr] 169 | mut commands: Commands, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sprite_infos` [INFO] [stderr] --> src/entities/enemy.rs:170:5 [INFO] [stderr] | [INFO] [stderr] 170 | sprite_infos: Res<SpriteInfos> [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sprite_infos` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `time` [INFO] [stderr] --> src/entities/enemy.rs:204:5 [INFO] [stderr] | [INFO] [stderr] 204 | time: Res<Time>, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `en_en` [INFO] [stderr] --> src/entities/player.rs:97:14 [INFO] [stderr] | [INFO] [stderr] 97 | for (en_en, en_tf, en_rai) in enemy_q.iter() { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_en_en` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `entities_despawned` [INFO] [stderr] --> src/shared/weapons.rs:82:13 [INFO] [stderr] | [INFO] [stderr] 82 | let mut entities_despawned: HashSet<Entity> = HashSet::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entities_despawned` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `game` [INFO] [stderr] --> src/shared/weapons.rs:75:9 [INFO] [stderr] | [INFO] [stderr] 75 | mut game: ResMut<Game>, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> src/shared/attributes.rs:32:21 [INFO] [stderr] | [INFO] [stderr] 32 | fn build(&self, app: &mut App) {} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/entities/enemy.rs:169:5 [INFO] [stderr] | [INFO] [stderr] 169 | mut commands: Commands, [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/entities/enemy.rs:202:5 [INFO] [stderr] | [INFO] [stderr] 202 | mut q: Query<(&mut WeaponState, &Transform), With<Enemy>>, [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/entities/enemy.rs:203:5 [INFO] [stderr] | [INFO] [stderr] 203 | mut alien_state: ResMut<AlienState>, [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/entities/enemy.rs:249:5 [INFO] [stderr] | [INFO] [stderr] 249 | mut alien_state: ResMut<AlienState> [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/shared/weapons.rs:75:5 [INFO] [stderr] | [INFO] [stderr] 75 | mut game: ResMut<Game>, [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/shared/weapons.rs:82:9 [INFO] [stderr] | [INFO] [stderr] 82 | let mut entities_despawned: HashSet<Entity> = HashSet::new(); [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/shared/weapons.rs:113:9 [INFO] [stderr] | [INFO] [stderr] 113 | let mut entities_despawned: HashSet<Entity> = HashSet::new(); [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `AUDIO_DIR` [INFO] [stderr] --> src/main.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | const AUDIO_DIR: &str = "assets/audio"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `FONT_DIR` [INFO] [stderr] --> src/main.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | const FONT_DIR: &str = "assets/font"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `MainMenu` [INFO] [stderr] --> src/main.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | MainMenu, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GameState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:37:10 [INFO] [stderr] | [INFO] [stderr] 37 | #[derive(Clone, Eq, PartialEq, Debug, Hash)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Paused` [INFO] [stderr] --> src/main.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | Paused, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GameState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:37:10 [INFO] [stderr] | [INFO] [stderr] 37 | #[derive(Clone, Eq, PartialEq, Debug, Hash)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `GameOver` [INFO] [stderr] --> src/main.rs:42:5 [INFO] [stderr] | [INFO] [stderr] 42 | GameOver, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GameState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:37:10 [INFO] [stderr] | [INFO] [stderr] 37 | #[derive(Clone, Eq, PartialEq, Debug, Hash)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `player_projectile` [INFO] [stderr] --> src/main.rs:67:5 [INFO] [stderr] | [INFO] [stderr] 67 | player_projectile: Vec3, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `top_alien` [INFO] [stderr] --> src/main.rs:87:5 [INFO] [stderr] | [INFO] [stderr] 87 | top_alien: (Handle<Image>, Vec2), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SpriteInfos` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:79:10 [INFO] [stderr] | [INFO] [stderr] 79 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/entities/enemy.rs:74:8 [INFO] [stderr] | [INFO] [stderr] 74 | fn new(x: f32, y: f32, sprite_infos: &Res<SpriteInfos>) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `setup_top_alien` [INFO] [stderr] --> src/entities/enemy.rs:168:4 [INFO] [stderr] | [INFO] [stderr] 168 | fn setup_top_alien( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `name` [INFO] [stderr] --> src/entities/player.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | name: String [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `from` [INFO] [stderr] --> src/shared/attributes.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn from(hp: u32) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `space_invaders_classic` (bin "space_invaders_classic" test) generated 33 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.35s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/space_invaders_classic-d3e3ae15fb714ae2) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "77ea4262fdc561a0b74c91f35f3836c668960dc18396cd2d61aeb2f2c43b80cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77ea4262fdc561a0b74c91f35f3836c668960dc18396cd2d61aeb2f2c43b80cb", kill_on_drop: false }` [INFO] [stdout] 77ea4262fdc561a0b74c91f35f3836c668960dc18396cd2d61aeb2f2c43b80cb