[INFO] cloning repository https://github.com/wookie98/adventure-escape [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wookie98/adventure-escape" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwookie98%2Fadventure-escape", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwookie98%2Fadventure-escape'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c7252f201885adca323a1133226bfaf7180a9b9e [INFO] building wookie98/adventure-escape against master#3266c36624e804f9f086ebd40db19039b55a4ec1 for pr-111698 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwookie98%2Fadventure-escape" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wookie98/adventure-escape on toolchain 3266c36624e804f9f086ebd40db19039b55a4ec1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3266c36624e804f9f086ebd40db19039b55a4ec1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wookie98/adventure-escape [INFO] finished tweaking git repo https://github.com/wookie98/adventure-escape [INFO] tweaked toml for git repo https://github.com/wookie98/adventure-escape written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/wookie98/adventure-escape 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" "+3266c36624e804f9f086ebd40db19039b55a4ec1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hexasphere v7.2.1 [INFO] [stderr] Downloaded bevy-debug-text-overlay v3.0.0 [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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+3266c36624e804f9f086ebd40db19039b55a4ec1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4506b0f481ab5abbe092f1f538a704df92685e90ce2aab615a4ab9d6f760d303 [INFO] running `Command { std: "docker" "start" "-a" "4506b0f481ab5abbe092f1f538a704df92685e90ce2aab615a4ab9d6f760d303", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4506b0f481ab5abbe092f1f538a704df92685e90ce2aab615a4ab9d6f760d303", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4506b0f481ab5abbe092f1f538a704df92685e90ce2aab615a4ab9d6f760d303", kill_on_drop: false }` [INFO] [stdout] 4506b0f481ab5abbe092f1f538a704df92685e90ce2aab615a4ab9d6f760d303 [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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+3266c36624e804f9f086ebd40db19039b55a4ec1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15b1159e6d4e6b6ceaa5bf5b17a42b52736e76e2893975eb33f3269350bc0255 [INFO] running `Command { std: "docker" "start" "-a" "15b1159e6d4e6b6ceaa5bf5b17a42b52736e76e2893975eb33f3269350bc0255", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.100 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.133 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling once_cell v1.14.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling thiserror v1.0.35 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling tracing-core v0.1.29 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling futures-io v0.3.24 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling concurrent-queue v1.2.4 [INFO] [stderr] Compiling erased-serde v0.3.23 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling async-task v4.3.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling tracing v0.1.36 [INFO] [stderr] Compiling async-channel v1.7.1 [INFO] [stderr] Compiling bevy_ptr v0.8.1 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling uuid v1.1.2 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling anyhow v1.0.65 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling ash v0.37.0+1.3.209 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling bevy_tasks v0.8.1 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling filetime v0.2.17 [INFO] [stderr] Compiling pp-rs v0.2.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling wgpu-core v0.13.2 [INFO] [stderr] Compiling notify v5.0.0-pre.15 [INFO] [stderr] Compiling miniz_oxide v0.5.4 [INFO] [stderr] Compiling gpu-alloc v0.5.3 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling wgpu-types v0.13.2 [INFO] [stderr] Compiling glow v0.11.2 [INFO] [stderr] Compiling renderdoc-sys v0.7.1 [INFO] [stderr] Compiling inplace_it v0.3.5 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling profiling v1.0.6 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling const_panic v0.2.4 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling png v0.17.6 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling radsort v0.1.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling encase_derive_impl v0.3.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling nix v0.23.1 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling euclid v0.22.7 [INFO] [stderr] Compiling x11-dl v2.20.0 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling cpal v0.13.5 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Compiling svg_fmt v0.4.1 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.7 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling nix v0.24.2 [INFO] [stderr] Compiling bevy_macro_utils v0.8.1 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling rectangle-pack v0.4.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling guillotiere v0.6.2 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling xi-unicode v0.3.0 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling owned_ttf_parser v0.15.2 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling ab_glyph v0.2.17 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling thiserror-impl v1.0.35 [INFO] [stderr] Compiling bytemuck_derive v1.2.1 [INFO] [stderr] Compiling bevy_reflect_derive v0.8.1 [INFO] [stderr] Compiling bevy_ecs_macros v0.8.1 [INFO] [stderr] Compiling bevy_derive v0.8.1 [INFO] [stderr] Compiling encase_derive v0.3.0 [INFO] [stderr] Compiling bevy_encase_derive v0.8.1 [INFO] [stderr] Compiling bevy_render_macros v0.8.1 [INFO] [stderr] Compiling gltf-derive v1.0.0 [INFO] [stderr] Compiling glyph_brush_layout v0.2.3 [INFO] [stderr] Compiling hash32-derive v0.1.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling alsa v0.6.0 [INFO] [stderr] Compiling bytemuck v1.12.1 [INFO] [stderr] Compiling image v0.24.3 [INFO] [stderr] Compiling taffy v0.1.0 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling glam v0.21.3 [INFO] [stderr] Compiling ron v0.7.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.15 [INFO] [stderr] Compiling gilrs-core v0.4.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling gilrs v0.9.0 [INFO] [stderr] Compiling bevy_utils v0.8.1 [INFO] [stderr] Compiling gpu-descriptor v0.2.3 [INFO] [stderr] Compiling rodio v0.15.0 [INFO] [stderr] Compiling gltf-json v1.0.0 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Compiling bevy_reflect v0.8.1 [INFO] [stderr] Compiling bevy_math v0.8.1 [INFO] [stderr] Compiling hexasphere v7.2.1 [INFO] [stderr] Compiling encase v0.3.0 [INFO] [stderr] Compiling bevy_mikktspace v0.8.1 [INFO] [stderr] Compiling naga v0.9.0 [INFO] [stderr] Compiling gltf v1.0.0 [INFO] [stderr] Compiling bevy_ecs v0.8.1 [INFO] [stderr] Compiling wgpu-hal v0.13.2 [INFO] [stderr] Compiling bevy_app v0.8.1 [INFO] [stderr] Compiling bevy_time v0.8.1 [INFO] [stderr] Compiling bevy_log v0.8.1 [INFO] [stderr] Compiling bevy_input v0.8.1 [INFO] [stderr] Compiling bevy_hierarchy v0.8.1 [INFO] [stderr] Compiling bevy_core v0.8.1 [INFO] [stderr] Compiling bevy_transform v0.8.1 [INFO] [stderr] Compiling bevy_diagnostic v0.8.1 [INFO] [stderr] Compiling bevy_window v0.8.1 [INFO] [stderr] Compiling bevy_gilrs v0.8.1 [INFO] [stderr] Compiling bevy_asset v0.8.1 [INFO] [stderr] Compiling bevy_winit v0.8.1 [INFO] [stderr] Compiling bevy_animation v0.8.1 [INFO] [stderr] Compiling bevy_audio v0.8.1 [INFO] [stderr] Compiling wgpu v0.13.1 [INFO] [stderr] Compiling bevy_render v0.8.1 [INFO] [stderr] Compiling bevy_core_pipeline v0.8.1 [INFO] [stderr] Compiling bevy_scene v0.8.1 [INFO] [stderr] Compiling bevy_sprite v0.8.1 [INFO] [stderr] Compiling bevy_pbr v0.8.1 [INFO] [stderr] Compiling bevy_gltf v0.8.1 [INFO] [stderr] Compiling bevy_text v0.8.1 [INFO] [stderr] Compiling bevy_ui v0.8.1 [INFO] [stderr] Compiling bevy_internal v0.8.1 [INFO] [stderr] Compiling bevy v0.8.1 [INFO] [stderr] Compiling bevy-debug-text-overlay v3.0.0 [INFO] [stderr] Compiling adventure-escape v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `screen_print` [INFO] [stdout] --> src/main.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use bevy_debug_text_overlay::{screen_print, OverlayPlugin}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::format` [INFO] [stdout] --> src/main.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{thread, time::Duration, fmt::format}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromEnemy` [INFO] [stdout] --> src/main.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | Enemy, FromEnemy, FromPlayer, Bullet, Movable, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vec3` [INFO] [stdout] --> src/components.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use bevy::math::{Vec2, Vec3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::time::Timer` [INFO] [stdout] --> src/components.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bevy::time::Timer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PLAYER_STATE` should have an upper camel case name [INFO] [stdout] --> src/components.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | pub enum PLAYER_STATE [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PlayerState` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ENEMY_TYPE` should have an upper camel case name [INFO] [stdout] --> src/components.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | pub enum ENEMY_TYPE [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnemyType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/enemy.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NINJA_SIZE`, `SAMURAI_SIZE` [INFO] [stdout] --> src/enemy.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | GameTextures, WinSize, SAMURAI_SIZE,NINJA_SIZE,BOTTOM,MIDDLE,ABOVE, SPRITE_SCALE, EnemyCount, ENEMY_MAX, ENEMY_SIZE, Chance [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/ammoDrop.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PlayerLevel` [INFO] [stdout] --> src/ammoDrop.rs:3:63 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::components::{ Movable, SpriteSize, Velocity, LEVEL,PlayerLevel, AmmoDrop}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:170:61 [INFO] [stdout] | [INFO] [stdout] 170 | fn teardown(mut commands: Commands, entities: Query)>) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 170 - fn teardown(mut commands: Commands, entities: Query)>) { [INFO] [stdout] 170 + fn teardown(mut commands: Commands, entities: Query>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:414:7 [INFO] [stdout] | [INFO] [stdout] 414 | if(playerLife.0<=0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 414 - if(playerLife.0<=0) [INFO] [stdout] 414 + if playerLife.0<=0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `win_size` [INFO] [stdout] --> src/player.rs:31:2 [INFO] [stdout] | [INFO] [stdout] 31 | win_size: Res, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_win_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_textures` [INFO] [stdout] --> src/player.rs:68:2 [INFO] [stdout] | [INFO] [stdout] 68 | game_textures: Res, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_textures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `win_size` [INFO] [stdout] --> src/enemy.rs:28:2 [INFO] [stdout] | [INFO] [stdout] 28 | win_size: Res, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_win_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/enemy.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | mut chance: ResMut, [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 `level` is assigned to, but never used [INFO] [stdout] --> src/ammoDrop.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | let mut level:LEVEL=LEVEL::Below; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_level` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `level` is never read [INFO] [stdout] --> src/ammoDrop.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | level=LEVEL::Middle; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `level` is never read [INFO] [stdout] --> src/ammoDrop.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | level=LEVEL::Above; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `win_size` [INFO] [stdout] --> src/ammoDrop.rs:27:2 [INFO] [stdout] | [INFO] [stdout] 27 | win_size: Res, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_win_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `texture_atlases` [INFO] [stdout] --> src/main.rs:184:6 [INFO] [stdout] | [INFO] [stdout] 184 | mut texture_atlases: ResMut>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture_atlases` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:184:2 [INFO] [stdout] | [INFO] [stdout] 184 | mut texture_atlases: ResMut>, [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_entity` [INFO] [stdout] --> src/main.rs:439:13 [INFO] [stdout] | [INFO] [stdout] 439 | if let Ok((player_entity, player_tf, player_size,mut player_ammo)) = player_query.get_single_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:468:3 [INFO] [stdout] | [INFO] [stdout] 468 | mut score: ResMut, [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/main.rs:469:3 [INFO] [stdout] | [INFO] [stdout] 469 | mut playerLife: ResMut, [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NINJA_SIZE` is never used [INFO] [stdout] --> src/main.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const NINJA_SIZE: (f32, f32) = (150., 75.); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SAMURAI_SIZE` is never used [INFO] [stdout] --> src/main.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | const SAMURAI_SIZE: (f32, f32) = (150., 75.); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ENEMY_BULLET_SIZE` is never used [INFO] [stdout] --> src/main.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | const ENEMY_BULLET_SIZE: (f32, f32) = (17., 55.); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `player_bullet` is never read [INFO] [stdout] --> src/main.rs:65:2 [INFO] [stdout] | [INFO] [stdout] 63 | struct GameTextures { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 64 | player: Handle, [INFO] [stdout] 65 | player_bullet: Handle, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `ammoDrop` should have a snake case name [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | mod ammoDrop; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `ammo_drop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `timeSinceStart` should have a snake case name [INFO] [stdout] --> src/main.rs:88:24 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn hit(&mut self, timeSinceStart: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `time_since_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `scoreInc` should have a snake case name [INFO] [stdout] --> src/main.rs:265:6 [INFO] [stdout] | [INFO] [stdout] 265 | mut scoreInc: ResMut, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `score_inc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `scoreInc` should have a snake case name [INFO] [stdout] --> src/main.rs:317:6 [INFO] [stdout] | [INFO] [stdout] 317 | mut scoreInc: ResMut, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `score_inc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lastDeath` should have a snake case name [INFO] [stdout] --> src/main.rs:384:6 [INFO] [stdout] | [INFO] [stdout] 384 | mut lastDeath: ResMut, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `last_death` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `playerLife` should have a snake case name [INFO] [stdout] --> src/main.rs:385:6 [INFO] [stdout] | [INFO] [stdout] 385 | mut playerLife: ResMut, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `player_life` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `playerLife` should have a snake case name [INFO] [stdout] --> src/main.rs:469:7 [INFO] [stdout] | [INFO] [stdout] 469 | mut playerLife: ResMut, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `player_life` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Etype` should have a snake case name [INFO] [stdout] --> src/components.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | pub Etype:ENEMY_TYPE, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `etype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `State` should have a snake case name [INFO] [stdout] --> src/player.rs:108:16 [INFO] [stdout] | [INFO] [stdout] 108 | if let Ok(mut State) = query.get_single_mut() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `enType` should have a snake case name [INFO] [stdout] --> src/enemy.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | let mut enType=ENEMY_TYPE::SAMURAI; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `en_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `textureOpt` should have a snake case name [INFO] [stdout] --> src/enemy.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | let mut textureOpt=game_textures.samurai.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `texture_opt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 23s [INFO] running `Command { std: "docker" "inspect" "15b1159e6d4e6b6ceaa5bf5b17a42b52736e76e2893975eb33f3269350bc0255", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15b1159e6d4e6b6ceaa5bf5b17a42b52736e76e2893975eb33f3269350bc0255", kill_on_drop: false }` [INFO] [stdout] 15b1159e6d4e6b6ceaa5bf5b17a42b52736e76e2893975eb33f3269350bc0255 [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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+3266c36624e804f9f086ebd40db19039b55a4ec1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66b816b828a9178e5ab2f095c81bd9112eedf1e45837cd89af1475c2eca5ece8 [INFO] running `Command { std: "docker" "start" "-a" "66b816b828a9178e5ab2f095c81bd9112eedf1e45837cd89af1475c2eca5ece8", kill_on_drop: false }` [INFO] [stderr] Compiling adventure-escape v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `screen_print` [INFO] [stdout] --> src/main.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use bevy_debug_text_overlay::{screen_print, OverlayPlugin}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::format` [INFO] [stdout] --> src/main.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{thread, time::Duration, fmt::format}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromEnemy` [INFO] [stdout] --> src/main.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | Enemy, FromEnemy, FromPlayer, Bullet, Movable, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vec3` [INFO] [stdout] --> src/components.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use bevy::math::{Vec2, Vec3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::time::Timer` [INFO] [stdout] --> src/components.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bevy::time::Timer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PLAYER_STATE` should have an upper camel case name [INFO] [stdout] --> src/components.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | pub enum PLAYER_STATE [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PlayerState` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ENEMY_TYPE` should have an upper camel case name [INFO] [stdout] --> src/components.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | pub enum ENEMY_TYPE [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnemyType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/enemy.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NINJA_SIZE`, `SAMURAI_SIZE` [INFO] [stdout] --> src/enemy.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | GameTextures, WinSize, SAMURAI_SIZE,NINJA_SIZE,BOTTOM,MIDDLE,ABOVE, SPRITE_SCALE, EnemyCount, ENEMY_MAX, ENEMY_SIZE, Chance [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/ammoDrop.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PlayerLevel` [INFO] [stdout] --> src/ammoDrop.rs:3:63 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::components::{ Movable, SpriteSize, Velocity, LEVEL,PlayerLevel, AmmoDrop}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:170:61 [INFO] [stdout] | [INFO] [stdout] 170 | fn teardown(mut commands: Commands, entities: Query)>) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 170 - fn teardown(mut commands: Commands, entities: Query)>) { [INFO] [stdout] 170 + fn teardown(mut commands: Commands, entities: Query>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:414:7 [INFO] [stdout] | [INFO] [stdout] 414 | if(playerLife.0<=0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 414 - if(playerLife.0<=0) [INFO] [stdout] 414 + if playerLife.0<=0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `win_size` [INFO] [stdout] --> src/player.rs:31:2 [INFO] [stdout] | [INFO] [stdout] 31 | win_size: Res, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_win_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_textures` [INFO] [stdout] --> src/player.rs:68:2 [INFO] [stdout] | [INFO] [stdout] 68 | game_textures: Res, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_textures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `win_size` [INFO] [stdout] --> src/enemy.rs:28:2 [INFO] [stdout] | [INFO] [stdout] 28 | win_size: Res, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_win_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/enemy.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | mut chance: ResMut, [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 `level` is assigned to, but never used [INFO] [stdout] --> src/ammoDrop.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | let mut level:LEVEL=LEVEL::Below; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_level` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `level` is never read [INFO] [stdout] --> src/ammoDrop.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | level=LEVEL::Middle; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `level` is never read [INFO] [stdout] --> src/ammoDrop.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | level=LEVEL::Above; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `win_size` [INFO] [stdout] --> src/ammoDrop.rs:27:2 [INFO] [stdout] | [INFO] [stdout] 27 | win_size: Res, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_win_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `texture_atlases` [INFO] [stdout] --> src/main.rs:184:6 [INFO] [stdout] | [INFO] [stdout] 184 | mut texture_atlases: ResMut>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture_atlases` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:184:2 [INFO] [stdout] | [INFO] [stdout] 184 | mut texture_atlases: ResMut>, [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_entity` [INFO] [stdout] --> src/main.rs:439:13 [INFO] [stdout] | [INFO] [stdout] 439 | if let Ok((player_entity, player_tf, player_size,mut player_ammo)) = player_query.get_single_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:468:3 [INFO] [stdout] | [INFO] [stdout] 468 | mut score: ResMut, [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/main.rs:469:3 [INFO] [stdout] | [INFO] [stdout] 469 | mut playerLife: ResMut, [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NINJA_SIZE` is never used [INFO] [stdout] --> src/main.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const NINJA_SIZE: (f32, f32) = (150., 75.); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SAMURAI_SIZE` is never used [INFO] [stdout] --> src/main.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | const SAMURAI_SIZE: (f32, f32) = (150., 75.); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ENEMY_BULLET_SIZE` is never used [INFO] [stdout] --> src/main.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | const ENEMY_BULLET_SIZE: (f32, f32) = (17., 55.); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `player_bullet` is never read [INFO] [stdout] --> src/main.rs:65:2 [INFO] [stdout] | [INFO] [stdout] 63 | struct GameTextures { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 64 | player: Handle, [INFO] [stdout] 65 | player_bullet: Handle, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `ammoDrop` should have a snake case name [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | mod ammoDrop; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `ammo_drop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `timeSinceStart` should have a snake case name [INFO] [stdout] --> src/main.rs:88:24 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn hit(&mut self, timeSinceStart: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `time_since_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `scoreInc` should have a snake case name [INFO] [stdout] --> src/main.rs:265:6 [INFO] [stdout] | [INFO] [stdout] 265 | mut scoreInc: ResMut, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `score_inc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `scoreInc` should have a snake case name [INFO] [stdout] --> src/main.rs:317:6 [INFO] [stdout] | [INFO] [stdout] 317 | mut scoreInc: ResMut, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `score_inc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lastDeath` should have a snake case name [INFO] [stdout] --> src/main.rs:384:6 [INFO] [stdout] | [INFO] [stdout] 384 | mut lastDeath: ResMut, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `last_death` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `playerLife` should have a snake case name [INFO] [stdout] --> src/main.rs:385:6 [INFO] [stdout] | [INFO] [stdout] 385 | mut playerLife: ResMut, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `player_life` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `playerLife` should have a snake case name [INFO] [stdout] --> src/main.rs:469:7 [INFO] [stdout] | [INFO] [stdout] 469 | mut playerLife: ResMut, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `player_life` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Etype` should have a snake case name [INFO] [stdout] --> src/components.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | pub Etype:ENEMY_TYPE, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `etype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `State` should have a snake case name [INFO] [stdout] --> src/player.rs:108:16 [INFO] [stdout] | [INFO] [stdout] 108 | if let Ok(mut State) = query.get_single_mut() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `enType` should have a snake case name [INFO] [stdout] --> src/enemy.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | let mut enType=ENEMY_TYPE::SAMURAI; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `en_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `textureOpt` should have a snake case name [INFO] [stdout] --> src/enemy.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | let mut textureOpt=game_textures.samurai.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `texture_opt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.16s [INFO] running `Command { std: "docker" "inspect" "66b816b828a9178e5ab2f095c81bd9112eedf1e45837cd89af1475c2eca5ece8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66b816b828a9178e5ab2f095c81bd9112eedf1e45837cd89af1475c2eca5ece8", kill_on_drop: false }` [INFO] [stdout] 66b816b828a9178e5ab2f095c81bd9112eedf1e45837cd89af1475c2eca5ece8