[INFO] cloning repository https://github.com/maro-git/duel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maro-git/duel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaro-git%2Fduel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaro-git%2Fduel'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f014167dffc4452fc41f6879978b9d238f52eb9b [INFO] testing maro-git/duel against beta-2025-01-12 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaro-git%2Fduel" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maro-git/duel on toolchain beta-2025-01-12 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/maro-git/duel [INFO] finished tweaking git repo https://github.com/maro-git/duel [INFO] tweaked toml for git repo https://github.com/maro-git/duel written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/maro-git/duel 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" "+beta-2025-01-12" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossbeam-utils v0.8.7 [INFO] [stderr] Downloaded bevy_rapier2d v0.12.1 [INFO] [stderr] Downloaded crossbeam-queue v0.3.4 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.7 [INFO] [stderr] Downloaded bevy_crevice v0.6.1 [INFO] [stderr] Downloaded erased-serde v0.3.18 [INFO] [stderr] Downloaded hexasphere v6.1.0 [INFO] [stderr] Downloaded bevy_pbr v0.6.1 [INFO] [stderr] Downloaded ab_glyph v0.2.14 [INFO] [stderr] Downloaded bevy_render v0.6.1 [INFO] [stderr] Downloaded bevy v0.6.1 [INFO] [stderr] Downloaded parry2d v0.8.0 [INFO] [stderr] Downloaded bevy_ecs v0.6.1 [INFO] [stderr] Downloaded bevy_ui v0.6.1 [INFO] [stderr] Downloaded async-task v4.1.0 [INFO] [stderr] Downloaded bevy_winit v0.6.1 [INFO] [stderr] Downloaded rapier2d v0.12.0-alpha.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a201dec8b7e31ec5292f57210fd66fc110fdf2a6e1b6715d3cf704809f647c41 [INFO] running `Command { std: "docker" "start" "-a" "a201dec8b7e31ec5292f57210fd66fc110fdf2a6e1b6715d3cf704809f647c41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a201dec8b7e31ec5292f57210fd66fc110fdf2a6e1b6715d3cf704809f647c41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a201dec8b7e31ec5292f57210fd66fc110fdf2a6e1b6715d3cf704809f647c41", kill_on_drop: false }` [INFO] [stdout] a201dec8b7e31ec5292f57210fd66fc110fdf2a6e1b6715d3cf704809f647c41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2773609b11582815170175cd953c579113045a578e20404f6bdc3593f3be2e75 [INFO] running `Command { std: "docker" "start" "-a" "2773609b11582815170175cd953c579113045a578e20404f6bdc3593f3be2e75", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling cfg-if v1.0.0 [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 lazy_static v1.4.0 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling mint v0.5.9 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling erased-serde v0.3.18 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling async-task v4.1.0 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling raw-window-handle v0.4.2 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling anyhow v1.0.55 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling ash v0.34.0+1.2.203 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling filetime v0.2.15 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.1 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling pp-rs v0.2.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling bevy_tasks v0.6.0 [INFO] [stderr] Compiling notify v5.0.0-pre.11 [INFO] [stderr] Compiling wgpu-core v0.12.2 [INFO] [stderr] Compiling gpu-alloc v0.5.3 [INFO] [stderr] Compiling gpu-descriptor v0.2.2 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling wgpu-types v0.12.0 [INFO] [stderr] Compiling profiling v1.0.5 [INFO] [stderr] Compiling glow v0.11.2 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Compiling inplace_it v0.3.3 [INFO] [stderr] Compiling renderdoc-sys v0.7.1 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling nix v0.23.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling ttf-parser v0.15.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling euclid v0.22.6 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Compiling svg_fmt v0.4.1 [INFO] [stderr] Compiling cpal v0.13.5 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling rectangle-pack v0.4.2 [INFO] [stderr] Compiling xi-unicode v0.3.0 [INFO] [stderr] Compiling guillotiere v0.6.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling matrixmultiply v0.3.2 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling stretch v0.3.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling alsa v0.6.0 [INFO] [stderr] Compiling owned_ttf_parser v0.15.0 [INFO] [stderr] Compiling ab_glyph v0.2.14 [INFO] [stderr] Compiling bytemuck_derive v1.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tracing-attributes v0.1.19 [INFO] [stderr] Compiling gltf-derive v0.16.0 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling glyph_brush_layout v0.2.3 [INFO] [stderr] Compiling bytemuck v1.7.3 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling safe_arch v0.6.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling naga v0.8.5 [INFO] [stderr] Compiling tracing v0.1.31 [INFO] [stderr] Compiling wide v0.7.4 [INFO] [stderr] Compiling simba v0.7.1 [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 parking_lot v0.11.2 [INFO] [stderr] Compiling bevy_utils v0.6.0 [INFO] [stderr] Compiling gilrs-core v0.3.2 [INFO] [stderr] Compiling gilrs v0.8.2 [INFO] [stderr] Compiling gltf-json v0.16.0 [INFO] [stderr] Compiling wgpu-hal v0.12.4 [INFO] [stderr] Compiling rodio v0.14.0 [INFO] [stderr] Compiling bevy_reflect v0.6.0 [INFO] [stderr] Compiling hexasphere v6.1.0 [INFO] [stderr] Compiling bevy_crevice v0.6.1 [INFO] [stderr] Compiling nalgebra v0.30.1 [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 wgpu v0.12.0 [INFO] [stderr] Compiling bevy_app v0.6.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_scene v0.6.0 [INFO] [stderr] Compiling bevy_audio v0.6.0 [INFO] [stderr] Compiling bevy_render v0.6.1 [INFO] [stderr] Compiling parry2d v0.8.0 [INFO] [stderr] Compiling rapier2d v0.12.0-alpha.1 [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_text v0.6.0 [INFO] [stderr] Compiling bevy_ui v0.6.1 [INFO] [stderr] Compiling bevy_gltf v0.6.0 [INFO] [stderr] Compiling bevy_internal v0.6.0 [INFO] [stderr] Compiling bevy v0.6.1 [INFO] [stderr] Compiling bevy_rapier2d v0.12.1 [INFO] [stderr] Compiling duel v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `UnitComplex` and `center` [INFO] [stdout] --> src/main.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use nalgebra::{center, Isometry2, UnitComplex}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:1084:25 [INFO] [stdout] | [INFO] [stdout] 1084 | player_query: Query<(&RigidBodyPositionComponent), (With, Without)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1084 - player_query: Query<(&RigidBodyPositionComponent), (With, Without)>, [INFO] [stdout] 1084 + player_query: Query<&RigidBodyPositionComponent, (With, Without)>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:1114:9 [INFO] [stdout] | [INFO] [stdout] 1114 | (&RigidBodyPositionComponent), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1114 - (&RigidBodyPositionComponent), [INFO] [stdout] 1114 + &RigidBodyPositionComponent, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:1178:31 [INFO] [stdout] | [INFO] [stdout] 1178 | } else if (player.walk_x == 0 && position.0.position.translation.x >= -500.0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1178 - } else if (player.walk_x == 0 && position.0.position.translation.x >= -500.0) { [INFO] [stdout] 1178 + } else if player.walk_x == 0 && position.0.position.translation.x >= -500.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/main.rs:545:18 [INFO] [stdout] | [INFO] [stdout] 545 | for (entity, collider, transform) in collider_query.iter() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:667:17 [INFO] [stdout] | [INFO] [stdout] 667 | for mut camera_transform in camera_query.iter_mut() { [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: unused variable: `velocities` [INFO] [stdout] --> src/main.rs:754:37 [INFO] [stdout] | [INFO] [stdout] 754 | for (mut gun, mut position, mut velocities, mut sprite) in gloves_query.iter_mut() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_velocities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:749:5 [INFO] [stdout] | [INFO] [stdout] 749 | mut player_query: Query<&RigidBodyPositionComponent, (With, Without)>, [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:754:33 [INFO] [stdout] | [INFO] [stdout] 754 | for (mut gun, mut position, mut velocities, mut sprite) in gloves_query.iter_mut() { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `velocities` [INFO] [stdout] --> src/main.rs:875:37 [INFO] [stdout] | [INFO] [stdout] 875 | for (mut gun, mut position, mut velocities, mut sprite) in gloves_query.iter_mut() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_velocities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:875:33 [INFO] [stdout] | [INFO] [stdout] 875 | for (mut gun, mut position, mut velocities, mut sprite) in gloves_query.iter_mut() { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_position` [INFO] [stdout] --> src/main.rs:1091:13 [INFO] [stdout] | [INFO] [stdout] 1091 | for player_position in player_query.iter() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1090:18 [INFO] [stdout] | [INFO] [stdout] 1090 | for (Entity, mut class, mut bullet) in bullet_query.iter_mut() { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/main.rs:1122:14 [INFO] [stdout] | [INFO] [stdout] 1122 | for (entity, collider, transform) in collider_query.iter() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gloves_query` [INFO] [stdout] --> src/main.rs:1113:5 [INFO] [stdout] | [INFO] [stdout] 1113 | gloves_query: Query< [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gloves_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1226:5 [INFO] [stdout] | [INFO] [stdout] 1226 | mut player_query: Query<&mut Player>, [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:1229:13 [INFO] [stdout] | [INFO] [stdout] 1229 | for mut player in player_query.iter() { [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:1237:5 [INFO] [stdout] | [INFO] [stdout] 1237 | mut player_query: Query<&mut Ai>, [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:1240:13 [INFO] [stdout] | [INFO] [stdout] 1240 | for mut player in player_query.iter() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Entity` should have a snake case name [INFO] [stdout] --> src/main.rs:1090:10 [INFO] [stdout] | [INFO] [stdout] 1090 | for (Entity, mut class, mut bullet) in bullet_query.iter_mut() { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `entity` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Ai` should have a snake case name [INFO] [stdout] --> src/main.rs:1251:9 [INFO] [stdout] | [INFO] [stdout] 1251 | mut Ai: Query<(&mut Ai, &mut Sprite)>, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Winlose_query` should have a snake case name [INFO] [stdout] --> src/main.rs:1252:9 [INFO] [stdout] | [INFO] [stdout] 1252 | mut Winlose_query: Query<&mut Text, With>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `winlose_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 34s [INFO] running `Command { std: "docker" "inspect" "2773609b11582815170175cd953c579113045a578e20404f6bdc3593f3be2e75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2773609b11582815170175cd953c579113045a578e20404f6bdc3593f3be2e75", kill_on_drop: false }` [INFO] [stdout] 2773609b11582815170175cd953c579113045a578e20404f6bdc3593f3be2e75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc7de900b3c2a55ed039bf4411efd0c1ec66a6105e5098741e7a55281bfef116 [INFO] running `Command { std: "docker" "start" "-a" "dc7de900b3c2a55ed039bf4411efd0c1ec66a6105e5098741e7a55281bfef116", kill_on_drop: false }` [INFO] [stderr] Compiling duel v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `UnitComplex` and `center` [INFO] [stdout] --> src/main.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use nalgebra::{center, Isometry2, UnitComplex}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:1084:25 [INFO] [stdout] | [INFO] [stdout] 1084 | player_query: Query<(&RigidBodyPositionComponent), (With, Without)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1084 - player_query: Query<(&RigidBodyPositionComponent), (With, Without)>, [INFO] [stdout] 1084 + player_query: Query<&RigidBodyPositionComponent, (With, Without)>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:1114:9 [INFO] [stdout] | [INFO] [stdout] 1114 | (&RigidBodyPositionComponent), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1114 - (&RigidBodyPositionComponent), [INFO] [stdout] 1114 + &RigidBodyPositionComponent, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:1178:31 [INFO] [stdout] | [INFO] [stdout] 1178 | } else if (player.walk_x == 0 && position.0.position.translation.x >= -500.0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1178 - } else if (player.walk_x == 0 && position.0.position.translation.x >= -500.0) { [INFO] [stdout] 1178 + } else if player.walk_x == 0 && position.0.position.translation.x >= -500.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/main.rs:545:18 [INFO] [stdout] | [INFO] [stdout] 545 | for (entity, collider, transform) in collider_query.iter() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:667:17 [INFO] [stdout] | [INFO] [stdout] 667 | for mut camera_transform in camera_query.iter_mut() { [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: unused variable: `velocities` [INFO] [stdout] --> src/main.rs:754:37 [INFO] [stdout] | [INFO] [stdout] 754 | for (mut gun, mut position, mut velocities, mut sprite) in gloves_query.iter_mut() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_velocities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:749:5 [INFO] [stdout] | [INFO] [stdout] 749 | mut player_query: Query<&RigidBodyPositionComponent, (With, Without)>, [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:754:33 [INFO] [stdout] | [INFO] [stdout] 754 | for (mut gun, mut position, mut velocities, mut sprite) in gloves_query.iter_mut() { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `velocities` [INFO] [stdout] --> src/main.rs:875:37 [INFO] [stdout] | [INFO] [stdout] 875 | for (mut gun, mut position, mut velocities, mut sprite) in gloves_query.iter_mut() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_velocities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:875:33 [INFO] [stdout] | [INFO] [stdout] 875 | for (mut gun, mut position, mut velocities, mut sprite) in gloves_query.iter_mut() { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_position` [INFO] [stdout] --> src/main.rs:1091:13 [INFO] [stdout] | [INFO] [stdout] 1091 | for player_position in player_query.iter() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1090:18 [INFO] [stdout] | [INFO] [stdout] 1090 | for (Entity, mut class, mut bullet) in bullet_query.iter_mut() { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/main.rs:1122:14 [INFO] [stdout] | [INFO] [stdout] 1122 | for (entity, collider, transform) in collider_query.iter() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gloves_query` [INFO] [stdout] --> src/main.rs:1113:5 [INFO] [stdout] | [INFO] [stdout] 1113 | gloves_query: Query< [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gloves_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1226:5 [INFO] [stdout] | [INFO] [stdout] 1226 | mut player_query: Query<&mut Player>, [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:1229:13 [INFO] [stdout] | [INFO] [stdout] 1229 | for mut player in player_query.iter() { [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:1237:5 [INFO] [stdout] | [INFO] [stdout] 1237 | mut player_query: Query<&mut Ai>, [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:1240:13 [INFO] [stdout] | [INFO] [stdout] 1240 | for mut player in player_query.iter() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Entity` should have a snake case name [INFO] [stdout] --> src/main.rs:1090:10 [INFO] [stdout] | [INFO] [stdout] 1090 | for (Entity, mut class, mut bullet) in bullet_query.iter_mut() { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `entity` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Ai` should have a snake case name [INFO] [stdout] --> src/main.rs:1251:9 [INFO] [stdout] | [INFO] [stdout] 1251 | mut Ai: Query<(&mut Ai, &mut Sprite)>, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Winlose_query` should have a snake case name [INFO] [stdout] --> src/main.rs:1252:9 [INFO] [stdout] | [INFO] [stdout] 1252 | mut Winlose_query: Query<&mut Text, With>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `winlose_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.43s [INFO] running `Command { std: "docker" "inspect" "dc7de900b3c2a55ed039bf4411efd0c1ec66a6105e5098741e7a55281bfef116", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc7de900b3c2a55ed039bf4411efd0c1ec66a6105e5098741e7a55281bfef116", kill_on_drop: false }` [INFO] [stdout] dc7de900b3c2a55ed039bf4411efd0c1ec66a6105e5098741e7a55281bfef116 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8e8ebba643e41b9fb4626ec7410d6d93c8169912e510833b1af41a147cd64013 [INFO] running `Command { std: "docker" "start" "-a" "8e8ebba643e41b9fb4626ec7410d6d93c8169912e510833b1af41a147cd64013", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `UnitComplex` and `center` [INFO] [stderr] --> src/main.rs:6:16 [INFO] [stderr] | [INFO] [stderr] 6 | use nalgebra::{center, Isometry2, UnitComplex}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/main.rs:1084:25 [INFO] [stderr] | [INFO] [stderr] 1084 | player_query: Query<(&RigidBodyPositionComponent), (With, Without)>, [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1084 - player_query: Query<(&RigidBodyPositionComponent), (With, Without)>, [INFO] [stderr] 1084 + player_query: Query<&RigidBodyPositionComponent, (With, Without)>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/main.rs:1114:9 [INFO] [stderr] | [INFO] [stderr] 1114 | (&RigidBodyPositionComponent), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1114 - (&RigidBodyPositionComponent), [INFO] [stderr] 1114 + &RigidBodyPositionComponent, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:1178:31 [INFO] [stderr] | [INFO] [stderr] 1178 | } else if (player.walk_x == 0 && position.0.position.translation.x >= -500.0) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1178 - } else if (player.walk_x == 0 && position.0.position.translation.x >= -500.0) { [INFO] [stderr] 1178 + } else if player.walk_x == 0 && position.0.position.translation.x >= -500.0 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `entity` [INFO] [stderr] --> src/main.rs:545:18 [INFO] [stderr] | [INFO] [stderr] 545 | for (entity, collider, transform) in collider_query.iter() { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:667:17 [INFO] [stderr] | [INFO] [stderr] 667 | for mut camera_transform in camera_query.iter_mut() { [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: unused variable: `velocities` [INFO] [stderr] --> src/main.rs:754:37 [INFO] [stderr] | [INFO] [stderr] 754 | for (mut gun, mut position, mut velocities, mut sprite) in gloves_query.iter_mut() { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_velocities` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:749:5 [INFO] [stderr] | [INFO] [stderr] 749 | mut player_query: Query<&RigidBodyPositionComponent, (With, Without)>, [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/main.rs:754:33 [INFO] [stderr] | [INFO] [stderr] 754 | for (mut gun, mut position, mut velocities, mut sprite) in gloves_query.iter_mut() { [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `velocities` [INFO] [stderr] --> src/main.rs:875:37 [INFO] [stderr] | [INFO] [stderr] 875 | for (mut gun, mut position, mut velocities, mut sprite) in gloves_query.iter_mut() { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_velocities` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:875:33 [INFO] [stderr] | [INFO] [stderr] 875 | for (mut gun, mut position, mut velocities, mut sprite) in gloves_query.iter_mut() { [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `player_position` [INFO] [stderr] --> src/main.rs:1091:13 [INFO] [stderr] | [INFO] [stderr] 1091 | for player_position in player_query.iter() { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_position` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:1090:18 [INFO] [stderr] | [INFO] [stderr] 1090 | for (Entity, mut class, mut bullet) in bullet_query.iter_mut() { [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `entity` [INFO] [stderr] --> src/main.rs:1122:14 [INFO] [stderr] | [INFO] [stderr] 1122 | for (entity, collider, transform) in collider_query.iter() { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `gloves_query` [INFO] [stderr] --> src/main.rs:1113:5 [INFO] [stderr] | [INFO] [stderr] 1113 | gloves_query: Query< [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gloves_query` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:1226:5 [INFO] [stderr] | [INFO] [stderr] 1226 | mut player_query: Query<&mut Player>, [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/main.rs:1229:13 [INFO] [stderr] | [INFO] [stderr] 1229 | for mut player in player_query.iter() { [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/main.rs:1237:5 [INFO] [stderr] | [INFO] [stderr] 1237 | mut player_query: Query<&mut Ai>, [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/main.rs:1240:13 [INFO] [stderr] | [INFO] [stderr] 1240 | for mut player in player_query.iter() { [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable `Entity` should have a snake case name [INFO] [stderr] --> src/main.rs:1090:10 [INFO] [stderr] | [INFO] [stderr] 1090 | for (Entity, mut class, mut bullet) in bullet_query.iter_mut() { [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `entity` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `Ai` should have a snake case name [INFO] [stderr] --> src/main.rs:1251:9 [INFO] [stderr] | [INFO] [stderr] 1251 | mut Ai: Query<(&mut Ai, &mut Sprite)>, [INFO] [stderr] | ^^ help: convert the identifier to snake case: `ai` [INFO] [stderr] [INFO] [stderr] warning: variable `Winlose_query` should have a snake case name [INFO] [stderr] --> src/main.rs:1252:9 [INFO] [stderr] | [INFO] [stderr] 1252 | mut Winlose_query: Query<&mut Text, With>, [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `winlose_query` [INFO] [stderr] [INFO] [stderr] warning: `duel` (bin "duel" test) generated 22 warnings (run `cargo fix --bin "duel" --tests` to apply 13 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/duel-9188e0d205b57515) [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" "8e8ebba643e41b9fb4626ec7410d6d93c8169912e510833b1af41a147cd64013", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e8ebba643e41b9fb4626ec7410d6d93c8169912e510833b1af41a147cd64013", kill_on_drop: false }` [INFO] [stdout] 8e8ebba643e41b9fb4626ec7410d6d93c8169912e510833b1af41a147cd64013