[INFO] cloning repository https://github.com/horup/zombiedodgeball [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/horup/zombiedodgeball" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhorup%2Fzombiedodgeball", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhorup%2Fzombiedodgeball'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 21e6fd71d74c3e78878320f5cf08e9013cd19cba [INFO] checking horup/zombiedodgeball against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhorup%2Fzombiedodgeball" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/horup/zombiedodgeball on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/horup/zombiedodgeball [INFO] finished tweaking git repo https://github.com/horup/zombiedodgeball [INFO] tweaked toml for git repo https://github.com/horup/zombiedodgeball written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/horup/zombiedodgeball 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/horup/gamestate-rs.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossbeam-epoch v0.9.0 [INFO] [stderr] Downloaded coreaudio-sys v0.2.6 [INFO] [stderr] Downloaded zip v0.5.8 [INFO] [stderr] Downloaded bytecount v0.6.0 [INFO] [stderr] Downloaded cargo_metadata v0.10.0 [INFO] [stderr] Downloaded collision v0.20.1 [INFO] [stderr] Downloaded crossbeam-utils v0.8.0 [INFO] [stderr] Downloaded skeptic v0.13.5 [INFO] [stderr] Downloaded libloading v0.6.5 [INFO] [stderr] Downloaded image v0.23.11 [INFO] [stderr] Downloaded bzip2-sys v0.1.9+1.0.8 [INFO] [stderr] Downloaded tiff v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1542a7784981c73df988be81d1510fb88b481da6b4559a2edc050d730a50a942 [INFO] running `Command { std: "docker" "start" "-a" "1542a7784981c73df988be81d1510fb88b481da6b4559a2edc050d730a50a942", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1542a7784981c73df988be81d1510fb88b481da6b4559a2edc050d730a50a942", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1542a7784981c73df988be81d1510fb88b481da6b4559a2edc050d730a50a942", kill_on_drop: false }` [INFO] [stdout] 1542a7784981c73df988be81d1510fb88b481da6b4559a2edc050d730a50a942 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2568050c37b47375e29815e89a7cae0f0090331aecf733167e51c3702d4a535f [INFO] running `Command { std: "docker" "start" "-a" "2568050c37b47375e29815e89a7cae0f0090331aecf733167e51c3702d4a535f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling cc v1.0.62 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking libloading v0.6.5 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling pulldown-cmark v0.2.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.0 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling bzip2-sys v0.1.9+1.0.8 [INFO] [stderr] Checking draw_state v0.8.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking x11-dl v2.18.5 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking sid v0.5.2 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking gfx_core v0.9.2 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling bytecount v0.6.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking xi-unicode v0.2.1 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Checking twox-hash v1.6.0 [INFO] [stderr] Checking glyph_brush_layout v0.1.9 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking num-iter v0.1.42 [INFO] [stderr] Checking slice-deque v0.3.0 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking ogg v0.7.0 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking mint v0.5.6 [INFO] [stderr] Checking weezl v0.1.3 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Checking cpal v0.8.2 [INFO] [stderr] Checking lewton v0.9.4 [INFO] [stderr] Checking glyph_brush v0.6.3 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Checking minimp3 v0.3.5 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking bit-vec v0.6.2 [INFO] [stderr] Checking claxon v0.4.3 [INFO] [stderr] Checking directories v2.0.2 [INFO] [stderr] Checking num-rational v0.3.2 [INFO] [stderr] Checking glyph_brush v0.5.4 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Checking gfx v0.18.2 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking gamestate v0.1.0 (https://github.com/horup/gamestate-rs.git?branch=main#b3dee392) [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking tiff v0.6.0 [INFO] [stderr] Compiling euclid_macros v0.1.0 [INFO] [stderr] Compiling smart-default v0.5.2 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Checking gfx_device_gl v0.16.2 [INFO] [stderr] Checking euclid v0.19.9 [INFO] [stderr] Checking image v0.23.11 [INFO] [stderr] Checking thiserror v1.0.22 [INFO] [stderr] Checking zip v0.5.8 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking lyon_geom v0.12.7 [INFO] [stderr] Checking gilrs-core v0.2.6 [INFO] [stderr] Checking lyon_path v0.13.2 [INFO] [stderr] Checking gilrs v0.7.4 [INFO] [stderr] Checking lyon_algorithms v0.13.4 [INFO] [stderr] Checking lyon_tessellation v0.13.5 [INFO] [stderr] Checking lyon v0.13.5 [INFO] [stderr] Checking toml v0.5.7 [INFO] [stderr] Checking alga v0.9.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking nalgebra v0.18.1 [INFO] [stderr] Checking image v0.22.5 [INFO] [stderr] Compiling cargo_metadata v0.10.0 [INFO] [stderr] Checking collision v0.20.1 [INFO] [stderr] Compiling skeptic v0.13.5 [INFO] [stderr] Compiling ggez v0.5.1 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking winit v0.19.5 [INFO] [stderr] Checking glutin v0.20.1 [INFO] [stderr] Checking gfx_window_glutin v0.30.0 [INFO] [stderr] Checking rodio v0.9.0 [INFO] [stderr] Checking zombiedodgeball v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Vector2` [INFO] [stdout] --> src/world/world.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use cgmath::{Point2, Vector2}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeltaSerializable` and `ID` [INFO] [stdout] --> src/world/world.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use gamestate::{DeltaSerializable, ID}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vector2` [INFO] [stdout] --> src/world/world.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use cgmath::{Point2, Vector2}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeltaSerializable` and `ID` [INFO] [stdout] --> src/world/world.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use gamestate::{DeltaSerializable, ID}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `previous` [INFO] [stdout] --> src/world/entity.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 42 | fn delta_serialize(&self, previous:&Self, write:&mut dyn std::io::Write) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_previous` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `write` [INFO] [stdout] --> src/world/entity.rs:42:47 [INFO] [stdout] | [INFO] [stdout] 42 | fn delta_serialize(&self, previous:&Self, write:&mut dyn std::io::Write) -> std::io::Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `previous` [INFO] [stdout] --> src/world/entity.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | fn delta_deserialize(previous:&Self, read:&mut dyn std::io::Read) -> std::io::Result where Self : Sized { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_previous` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `read` [INFO] [stdout] --> src/world/entity.rs:46:42 [INFO] [stdout] | [INFO] [stdout] 46 | fn delta_deserialize(previous:&Self, read:&mut dyn std::io::Read) -> std::io::Result where Self : Sized { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_id` [INFO] [stdout] --> src/client.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let player_id = self.client_id; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_server` [INFO] [stdout] --> src/systems/spawn.rs:6:47 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn step(world:&mut World, is_server:bool, event:&Event, push_event:&mut F) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `push_event` [INFO] [stdout] --> src/systems/spawn.rs:6:77 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn step(world:&mut World, is_server:bool, event:&Event, push_event:&mut F) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_push_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_server` [INFO] [stdout] --> src/systems/cleanup.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn step(world:&mut World, is_server:bool, event:&Event, push_event:&mut F) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collision` [INFO] [stdout] --> src/systems/physics.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(collision) = &entity.collision { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other_collision` [INFO] [stdout] --> src/systems/physics.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | let other_collision = &other_entity.collision.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_collision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/physics.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | let mut p:Point2 = res + v; [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: `is_server` [INFO] [stdout] --> src/systems/physics.rs:64:48 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn step(world: &mut World, is_server: bool, event:&Event, push_event:&mut F) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `push_event` [INFO] [stdout] --> src/systems/shooter.rs:6:77 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn step(world:&mut World, is_server:bool, event:&Event, push_event:&mut F) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_push_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_player_entity_mut` is never used [INFO] [stdout] --> src/systems/util.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn find_player_entity_mut<'a>(entities:&'a mut Collection, player_id:&u128) -> Option<&'a mut Entity> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_player_entity` is never used [INFO] [stdout] --> src/systems/util.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn find_player_entity<'a>(entities:&'a Collection, player_id:&u128) -> Option<&'a Entity> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `previous` [INFO] [stdout] --> src/world/entity.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 42 | fn delta_serialize(&self, previous:&Self, write:&mut dyn std::io::Write) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_previous` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `write` [INFO] [stdout] --> src/world/entity.rs:42:47 [INFO] [stdout] | [INFO] [stdout] 42 | fn delta_serialize(&self, previous:&Self, write:&mut dyn std::io::Write) -> std::io::Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `previous` [INFO] [stdout] --> src/world/entity.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | fn delta_deserialize(previous:&Self, read:&mut dyn std::io::Read) -> std::io::Result where Self : Sized { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_previous` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `read` [INFO] [stdout] --> src/world/entity.rs:46:42 [INFO] [stdout] | [INFO] [stdout] 46 | fn delta_deserialize(previous:&Self, read:&mut dyn std::io::Read) -> std::io::Result where Self : Sized { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_id` [INFO] [stdout] --> src/client.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let player_id = self.client_id; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_server` [INFO] [stdout] --> src/systems/spawn.rs:6:47 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn step(world:&mut World, is_server:bool, event:&Event, push_event:&mut F) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `push_event` [INFO] [stdout] --> src/systems/spawn.rs:6:77 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn step(world:&mut World, is_server:bool, event:&Event, push_event:&mut F) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_push_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_server` [INFO] [stdout] --> src/systems/cleanup.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn step(world:&mut World, is_server:bool, event:&Event, push_event:&mut F) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collision` [INFO] [stdout] --> src/systems/physics.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(collision) = &entity.collision { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other_collision` [INFO] [stdout] --> src/systems/physics.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | let other_collision = &other_entity.collision.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_collision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/physics.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | let mut p:Point2 = res + v; [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: `is_server` [INFO] [stdout] --> src/systems/physics.rs:64:48 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn step(world: &mut World, is_server: bool, event:&Event, push_event:&mut F) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `push_event` [INFO] [stdout] --> src/systems/shooter.rs:6:77 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn step(world:&mut World, is_server:bool, event:&Event, push_event:&mut F) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_push_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_player_entity_mut` is never used [INFO] [stdout] --> src/systems/util.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn find_player_entity_mut<'a>(entities:&'a mut Collection, player_id:&u128) -> Option<&'a mut Entity> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_player_entity` is never used [INFO] [stdout] --> src/systems/util.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn find_player_entity<'a>(entities:&'a Collection, player_id:&u128) -> Option<&'a Entity> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.70s [INFO] running `Command { std: "docker" "inspect" "2568050c37b47375e29815e89a7cae0f0090331aecf733167e51c3702d4a535f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2568050c37b47375e29815e89a7cae0f0090331aecf733167e51c3702d4a535f", kill_on_drop: false }` [INFO] [stdout] 2568050c37b47375e29815e89a7cae0f0090331aecf733167e51c3702d4a535f [INFO] checking horup/zombiedodgeball against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhorup%2Fzombiedodgeball" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/horup/zombiedodgeball on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/horup/zombiedodgeball [INFO] finished tweaking git repo https://github.com/horup/zombiedodgeball [INFO] tweaked toml for git repo https://github.com/horup/zombiedodgeball written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/horup/zombiedodgeball 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b5f6bc2c30feb1a980926642f456fc04d0a78421cec120e4269d647f4b738f9 [INFO] running `Command { std: "docker" "start" "-a" "0b5f6bc2c30feb1a980926642f456fc04d0a78421cec120e4269d647f4b738f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b5f6bc2c30feb1a980926642f456fc04d0a78421cec120e4269d647f4b738f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b5f6bc2c30feb1a980926642f456fc04d0a78421cec120e4269d647f4b738f9", kill_on_drop: false }` [INFO] [stdout] 0b5f6bc2c30feb1a980926642f456fc04d0a78421cec120e4269d647f4b738f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] efcbb83389d90951250f4773ae517dfe547700cc8956bcff382bad5647a35d8b [INFO] running `Command { std: "docker" "start" "-a" "efcbb83389d90951250f4773ae517dfe547700cc8956bcff382bad5647a35d8b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling cc v1.0.62 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking libloading v0.6.5 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling pulldown-cmark v0.2.0 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling bzip2-sys v0.1.9+1.0.8 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.0 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Checking draw_state v0.8.0 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking x11-dl v2.18.5 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Checking sid v0.5.2 [INFO] [stderr] Checking gfx_core v0.9.2 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking xi-unicode v0.2.1 [INFO] [stderr] Compiling bytecount v0.6.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking glyph_brush_layout v0.1.9 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Checking twox-hash v1.6.0 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking num-iter v0.1.42 [INFO] [stderr] Checking slice-deque v0.3.0 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking ogg v0.7.0 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking weezl v0.1.3 [INFO] [stderr] Checking mint v0.5.6 [INFO] [stderr] Checking cpal v0.8.2 [INFO] [stderr] Checking lewton v0.9.4 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Checking glyph_brush v0.6.3 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking minimp3 v0.3.5 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking bit-vec v0.6.2 [INFO] [stderr] Checking claxon v0.4.3 [INFO] [stderr] Checking directories v2.0.2 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking glyph_brush v0.5.4 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Checking num-rational v0.3.2 [INFO] [stderr] Checking gfx v0.18.2 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Checking gamestate v0.1.0 (https://github.com/horup/gamestate-rs.git?branch=main#b3dee392) [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking gfx_device_gl v0.16.2 [INFO] [stderr] Checking tiff v0.6.0 [INFO] [stderr] Compiling euclid_macros v0.1.0 [INFO] [stderr] Compiling smart-default v0.5.2 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Checking euclid v0.19.9 [INFO] [stderr] Checking image v0.23.11 [INFO] [stderr] Checking thiserror v1.0.22 [INFO] [stderr] Checking zip v0.5.8 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking lyon_geom v0.12.7 [INFO] [stderr] Checking gilrs-core v0.2.6 [INFO] [stderr] Checking gilrs v0.7.4 [INFO] [stderr] Checking lyon_path v0.13.2 [INFO] [stderr] Checking lyon_algorithms v0.13.4 [INFO] [stderr] Checking lyon_tessellation v0.13.5 [INFO] [stderr] Checking lyon v0.13.5 [INFO] [stderr] Checking toml v0.5.7 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking alga v0.9.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking nalgebra v0.18.1 [INFO] [stderr] Checking image v0.22.5 [INFO] [stderr] Compiling cargo_metadata v0.10.0 [INFO] [stderr] Checking collision v0.20.1 [INFO] [stderr] Compiling skeptic v0.13.5 [INFO] [stderr] Compiling ggez v0.5.1 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking winit v0.19.5 [INFO] [stderr] Checking glutin v0.20.1 [INFO] [stderr] Checking gfx_window_glutin v0.30.0 [INFO] [stderr] Checking rodio v0.9.0 [INFO] [stderr] Checking zombiedodgeball v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Vector2` [INFO] [stdout] --> src/world/world.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use cgmath::{Point2, Vector2}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeltaSerializable` and `ID` [INFO] [stdout] --> src/world/world.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use gamestate::{DeltaSerializable, ID}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vector2` [INFO] [stdout] --> src/world/world.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use cgmath::{Point2, Vector2}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeltaSerializable` and `ID` [INFO] [stdout] --> src/world/world.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use gamestate::{DeltaSerializable, ID}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `previous` [INFO] [stdout] --> src/world/entity.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 42 | fn delta_serialize(&self, previous:&Self, write:&mut dyn std::io::Write) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_previous` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `write` [INFO] [stdout] --> src/world/entity.rs:42:47 [INFO] [stdout] | [INFO] [stdout] 42 | fn delta_serialize(&self, previous:&Self, write:&mut dyn std::io::Write) -> std::io::Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `previous` [INFO] [stdout] --> src/world/entity.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | fn delta_deserialize(previous:&Self, read:&mut dyn std::io::Read) -> std::io::Result where Self : Sized { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_previous` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `read` [INFO] [stdout] --> src/world/entity.rs:46:42 [INFO] [stdout] | [INFO] [stdout] 46 | fn delta_deserialize(previous:&Self, read:&mut dyn std::io::Read) -> std::io::Result where Self : Sized { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `previous` [INFO] [stdout] --> src/world/entity.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 42 | fn delta_serialize(&self, previous:&Self, write:&mut dyn std::io::Write) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_previous` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `write` [INFO] [stdout] --> src/world/entity.rs:42:47 [INFO] [stdout] | [INFO] [stdout] 42 | fn delta_serialize(&self, previous:&Self, write:&mut dyn std::io::Write) -> std::io::Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `previous` [INFO] [stdout] --> src/world/entity.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | fn delta_deserialize(previous:&Self, read:&mut dyn std::io::Read) -> std::io::Result where Self : Sized { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_previous` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `read` [INFO] [stdout] --> src/world/entity.rs:46:42 [INFO] [stdout] | [INFO] [stdout] 46 | fn delta_deserialize(previous:&Self, read:&mut dyn std::io::Read) -> std::io::Result where Self : Sized { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_id` [INFO] [stdout] --> src/client.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let player_id = self.client_id; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_server` [INFO] [stdout] --> src/systems/spawn.rs:6:47 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn step(world:&mut World, is_server:bool, event:&Event, push_event:&mut F) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `push_event` [INFO] [stdout] --> src/systems/spawn.rs:6:77 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn step(world:&mut World, is_server:bool, event:&Event, push_event:&mut F) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_push_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_server` [INFO] [stdout] --> src/systems/cleanup.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn step(world:&mut World, is_server:bool, event:&Event, push_event:&mut F) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_id` [INFO] [stdout] --> src/client.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let player_id = self.client_id; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collision` [INFO] [stdout] --> src/systems/physics.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(collision) = &entity.collision { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other_collision` [INFO] [stdout] --> src/systems/physics.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | let other_collision = &other_entity.collision.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_collision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/physics.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | let mut p:Point2 = res + v; [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: `is_server` [INFO] [stdout] --> src/systems/physics.rs:64:48 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn step(world: &mut World, is_server: bool, event:&Event, push_event:&mut F) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `push_event` [INFO] [stdout] --> src/systems/shooter.rs:6:77 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn step(world:&mut World, is_server:bool, event:&Event, push_event:&mut F) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_push_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_server` [INFO] [stdout] --> src/systems/spawn.rs:6:47 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn step(world:&mut World, is_server:bool, event:&Event, push_event:&mut F) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `push_event` [INFO] [stdout] --> src/systems/spawn.rs:6:77 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn step(world:&mut World, is_server:bool, event:&Event, push_event:&mut F) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_push_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_server` [INFO] [stdout] --> src/systems/cleanup.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn step(world:&mut World, is_server:bool, event:&Event, push_event:&mut F) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collision` [INFO] [stdout] --> src/systems/physics.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(collision) = &entity.collision { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other_collision` [INFO] [stdout] --> src/systems/physics.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | let other_collision = &other_entity.collision.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_collision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/physics.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | let mut p:Point2 = res + v; [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: `is_server` [INFO] [stdout] --> src/systems/physics.rs:64:48 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn step(world: &mut World, is_server: bool, event:&Event, push_event:&mut F) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `push_event` [INFO] [stdout] --> src/systems/shooter.rs:6:77 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn step(world:&mut World, is_server:bool, event:&Event, push_event:&mut F) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_push_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_player_entity_mut` is never used [INFO] [stdout] --> src/systems/util.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn find_player_entity_mut<'a>(entities:&'a mut Collection, player_id:&u128) -> Option<&'a mut Entity> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_player_entity` is never used [INFO] [stdout] --> src/systems/util.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn find_player_entity<'a>(entities:&'a Collection, player_id:&u128) -> Option<&'a Entity> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 13 | let (mut ctx, mut event_loop) = ContextBuilder::new("my_game", "Cool Game Author") [INFO] [stdout] | --- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 16 | let mut zombie_dodge_ball = Main::new(&mut ctx); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | match ggez::event::run(&mut ctx, &mut event_loop, &mut zombie_dodge_ball) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 54 | let spritesheet = graphics::Image::from_rgba8(ctx, spritesheet.width() as u16, spritesheet.height() as u16, &spritesheet).unwrap(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | current:World::new(), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 54 | let spritesheet = graphics::Image::from_rgba8(ctx, spritesheet.width() as u16, spritesheet.height() as u16, &spritesheet).unwrap(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | previous:World::new(), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 54 | let spritesheet = graphics::Image::from_rgba8(ctx, spritesheet.width() as u16, spritesheet.height() as u16, &spritesheet).unwrap(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | images:Images { [INFO] [stdout] | ____________________^ [INFO] [stdout] 60 | | spritesheet:spritesheet [INFO] [stdout] 61 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_player_entity_mut` is never used [INFO] [stdout] --> src/systems/util.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn find_player_entity_mut<'a>(entities:&'a mut Collection, player_id:&u128) -> Option<&'a mut Entity> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_player_entity` is never used [INFO] [stdout] --> src/systems/util.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn find_player_entity<'a>(entities:&'a Collection, player_id:&u128) -> Option<&'a Entity> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 13 | let (mut ctx, mut event_loop) = ContextBuilder::new("my_game", "Cool Game Author") [INFO] [stdout] | --- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 16 | let mut zombie_dodge_ball = Main::new(&mut ctx); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | match ggez::event::run(&mut ctx, &mut event_loop, &mut zombie_dodge_ball) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 54 | let spritesheet = graphics::Image::from_rgba8(ctx, spritesheet.width() as u16, spritesheet.height() as u16, &spritesheet).unwrap(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | current:World::new(), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 54 | let spritesheet = graphics::Image::from_rgba8(ctx, spritesheet.width() as u16, spritesheet.height() as u16, &spritesheet).unwrap(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | previous:World::new(), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 54 | let spritesheet = graphics::Image::from_rgba8(ctx, spritesheet.width() as u16, spritesheet.height() as u16, &spritesheet).unwrap(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | images:Images { [INFO] [stdout] | ____________________^ [INFO] [stdout] 60 | | spritesheet:spritesheet [INFO] [stdout] 61 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zombiedodgeball` (bin "zombiedodgeball") due to 5 previous errors; 17 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `zombiedodgeball` (bin "zombiedodgeball" test) due to 5 previous errors; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "efcbb83389d90951250f4773ae517dfe547700cc8956bcff382bad5647a35d8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efcbb83389d90951250f4773ae517dfe547700cc8956bcff382bad5647a35d8b", kill_on_drop: false }` [INFO] [stdout] efcbb83389d90951250f4773ae517dfe547700cc8956bcff382bad5647a35d8b