[INFO] cloning repository https://github.com/ClappingClowns/walpurgis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ClappingClowns/walpurgis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FClappingClowns%2Fwalpurgis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FClappingClowns%2Fwalpurgis'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 56f9a7bf3dcb9838b05ec16d4a0ebcc8b05729dd [INFO] checking ClappingClowns/walpurgis/56f9a7bf3dcb9838b05ec16d4a0ebcc8b05729dd against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FClappingClowns%2Fwalpurgis" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ClappingClowns/walpurgis on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ClappingClowns/walpurgis [INFO] finished tweaking git repo https://github.com/ClappingClowns/walpurgis [INFO] tweaked toml for git repo https://github.com/ClappingClowns/walpurgis written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ClappingClowns/walpurgis 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3534d8611709c28ed0fe50183f62a35889874a46acd12d49ca093db8bd6585d0 [INFO] running `Command { std: "docker" "start" "-a" "3534d8611709c28ed0fe50183f62a35889874a46acd12d49ca093db8bd6585d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3534d8611709c28ed0fe50183f62a35889874a46acd12d49ca093db8bd6585d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3534d8611709c28ed0fe50183f62a35889874a46acd12d49ca093db8bd6585d0", kill_on_drop: false }` [INFO] [stdout] 3534d8611709c28ed0fe50183f62a35889874a46acd12d49ca093db8bd6585d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 332d3d3e954ac5980c7ba2c21c63d6fc0b8040fd15df1572f44355293e50ea28 [INFO] running `Command { std: "docker" "start" "-a" "332d3d3e954ac5980c7ba2c21c63d6fc0b8040fd15df1572f44355293e50ea28", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling syn v1.0.7 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling cc v1.0.46 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking smallvec v0.6.12 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Checking downcast-rs v1.1.1 [INFO] [stderr] Checking stb_truetype v0.3.0 [INFO] [stderr] Checking rustc-hash v1.0.1 [INFO] [stderr] Checking num_cpus v1.11.0 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling pulldown-cmark v0.2.0 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling minimp3-sys v0.3.1 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling bzip2-sys v0.1.7 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Compiling gfx_gl v0.6.0 [INFO] [stderr] Compiling glutin_egl_sys v0.1.3 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking draw_state v0.8.0 [INFO] [stderr] Checking lock_api v0.3.1 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling nix v0.11.1 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Checking gfx_core v0.9.2 [INFO] [stderr] Compiling backtrace v0.3.40 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Checking sid v0.5.2 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking raw-window-handle v0.3.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Checking xi-unicode v0.2.0 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Compiling bytecount v0.4.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Checking slice-deque v0.2.4 [INFO] [stderr] Checking ogg v0.7.0 [INFO] [stderr] Checking twox-hash v1.5.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking mint v0.5.3 [INFO] [stderr] Checking rgb v0.8.14 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking minimp3 v0.3.3 [INFO] [stderr] Checking lewton v0.9.4 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking png v0.15.0 [INFO] [stderr] Checking cpal v0.8.2 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking serde_test v0.8.23 [INFO] [stderr] Checking jpeg-decoder v0.1.16 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Checking podio v0.1.6 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking claxon v0.4.2 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking chrono v0.4.9 [INFO] [stderr] Checking zip v0.5.3 [INFO] [stderr] Checking directories v2.0.2 [INFO] [stderr] Checking linked-hash-map v0.3.0 [INFO] [stderr] Checking gfx v0.18.2 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Checking gfx_device_gl v0.16.2 [INFO] [stderr] Checking winconsole v0.10.0 [INFO] [stderr] Checking colored v1.8.0 [INFO] [stderr] Compiling euclid_macros v0.1.0 [INFO] [stderr] Compiling smart-default v0.5.2 [INFO] [stderr] Checking fern v0.5.9 [INFO] [stderr] Checking gilrs-core v0.2.4 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking gilrs v0.7.2 [INFO] [stderr] Checking euclid v0.19.9 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Checking lyon_geom v0.12.7 [INFO] [stderr] Checking image v0.22.3 [INFO] [stderr] Checking serde-hjson v0.8.2 [INFO] [stderr] Checking lyon_path v0.13.2 [INFO] [stderr] Checking lyon_tessellation v0.13.5 [INFO] [stderr] Checking lyon_algorithms v0.13.4 [INFO] [stderr] Checking lyon v0.13.5 [INFO] [stderr] Checking toml v0.5.5 [INFO] [stderr] Checking serde_json v1.0.41 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking ron v0.5.1 [INFO] [stderr] Checking alga v0.9.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking nalgebra v0.18.1 [INFO] [stderr] Checking config v0.9.3 [INFO] [stderr] Compiling memoffset v0.5.2 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling cargo_metadata v0.6.4 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking rusttype v0.8.1 [INFO] [stderr] Compiling skeptic v0.13.4 [INFO] [stderr] Compiling ggez v0.5.1 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking glyph_brush_layout v0.1.8 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking glyph_brush v0.6.1 [INFO] [stderr] Checking glyph_brush v0.5.4 [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 walpurgis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Text` [INFO] [stdout] --> src/screens/mainmenu.rs:2:49 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::graphics::{Drawable, DrawParam, Rect, Text, BlendMode}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Text` [INFO] [stdout] --> src/screens/mainmenu.rs:2:49 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::graphics::{Drawable, DrawParam, Rect, Text, BlendMode}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/screens/mainmenu.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | fn draw(&self, ctx: &mut Context, param: DrawParam) -> GameResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param` [INFO] [stdout] --> src/screens/mainmenu.rs:16:39 [INFO] [stdout] | [INFO] [stdout] 16 | fn draw(&self, ctx: &mut Context, param: DrawParam) -> GameResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_param` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/screens/mainmenu.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | fn handle_input(&mut self, ctx: &mut Context, fire_once_key_buffer: &Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fire_once_key_buffer` [INFO] [stdout] --> src/screens/mainmenu.rs:33:51 [INFO] [stdout] | [INFO] [stdout] 33 | fn handle_input(&mut self, ctx: &mut Context, fire_once_key_buffer: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fire_once_key_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result<(), GameError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 52 | let (mut ctx, mut event_loop) = [INFO] [stdout] | ------- -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | match event::run(&mut ctx, &mut event_loop, &mut my_game) { [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] warning: fields `objs` and `overlapping_hitboxes` are never read [INFO] [stdout] --> src/physics/collision.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Collision<'tick, T: Collidable, S: Collidable> { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 43 | pub objs: (&'tick T, &'tick S), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub overlapping_hitboxes: Vec<(&'tick BoundingBox, &'tick BoundingBox)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `flipped` is never used [INFO] [stdout] --> src/physics/collision.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl<'tick, T: Collidable, S: Collidable> Collision<'tick, T, S> { [INFO] [stdout] | ---------------------------------------------------------------- method in this implementation [INFO] [stdout] 51 | pub fn flipped(self) -> Collision<'tick, S, T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MainMenu` is never constructed [INFO] [stdout] --> src/screens.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum Screen { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 23 | MainMenu(MainMenuData), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Screen` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/screens/battle/player.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | sprites: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | /// The sounds made by the character. [INFO] [stdout] 33 | sfx: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | buff: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | movement: (Action, FrameNumber), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | race: Race, [INFO] [stdout] | ^^^^ [INFO] [stdout] 54 | /// Various stats. [INFO] [stdout] 55 | stats: Stats, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 56 | /// The selected `Ability`s of the player character. [INFO] [stdout] 57 | abilities: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Player` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Air`, `Heavy`, and `Light` are never constructed [INFO] [stdout] --> src/screens/battle/player/meta.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum BasicClass { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 4 | Air, [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | Heavy, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | Light, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BasicClass` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Robot` and `Mage` are never constructed [INFO] [stdout] --> src/screens/battle/player/meta.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Race { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | Robot, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | /// An interesting energy-based race. [INFO] [stdout] 17 | Mage, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Race` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/screens/battle/player/stance.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | OnGround(GroundStance) [INFO] [stdout] | -------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `VerticalStance` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 | OnGround(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InAir` is never constructed [INFO] [stdout] --> src/screens/battle/player/stance.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum VerticalStance { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 13 | InAir { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VerticalStance` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `FastFalling`, `Falling`, `Upping`, and `Attack` are never constructed [INFO] [stdout] --> src/screens/battle/player/stance.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum AirStance { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 23 | FastFalling, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 24 | Falling, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 25 | Upping, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | Attack(Attack), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AirStance` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Attack` is never constructed [INFO] [stdout] --> src/screens/battle/player/stance.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum GroundStance { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 32 | Standing, [INFO] [stdout] 33 | Attack(Attack), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GroundStance` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Dash`, `Jump`, and `Attack` are never constructed [INFO] [stdout] --> src/screens/battle/player/action.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Action { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | Dash(HorizontalStance), [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | Jump, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | Attack(Attack), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Action` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DashAttack`, `Shielding`, `Basics`, and `Ability` are never constructed [INFO] [stdout] --> src/screens/battle/player/action.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Attack { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 17 | DashAttack, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | Shielding, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | Basics(BasicClass, AttackDir), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | Ability(Ability), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Attack` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Up`, `Down`, and `Side` are never constructed [INFO] [stdout] --> src/screens/battle/player/action.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum AttackDir { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 26 | Up, [INFO] [stdout] | ^^ [INFO] [stdout] 27 | Down, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | Side, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AttackDir` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_platform_platform_collision` is never used [INFO] [stdout] --> src/screens/battle/interactions.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn handle_platform_platform_collision<'tick>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/util/result.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | GGEZ(ggez::error::GameError), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `WalpurgisError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 3 | GGEZ(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/util/result.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | IO(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `WalpurgisError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 4 | IO(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/util/result.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | Ron(ron::de::Error), [INFO] [stdout] | --- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `WalpurgisError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 | Ron(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/util/result.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Generic(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `WalpurgisError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 | Generic(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flip_tuple_vec` is never used [INFO] [stdout] --> src/util/tuple.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn flip_tuple_vec(vec: Vec<(T0, T1)>) -> Vec<(T1, T0)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/physics/obb.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_BoundingBox` [INFO] [stdout] 12 | pub struct BoundingBox { [INFO] [stdout] | ----------- `BoundingBox` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/physics/obb.rs:11:35 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_BoundingBox` [INFO] [stdout] 12 | pub struct BoundingBox { [INFO] [stdout] | ----------- `BoundingBox` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/screens/battle/arena.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Arena` [INFO] [stdout] 15 | pub struct Arena { [INFO] [stdout] | ----- `Arena` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/screens/battle/arena.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Arena` [INFO] [stdout] 15 | pub struct Arena { [INFO] [stdout] | ----- `Arena` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/screens/battle/platform.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Platform` [INFO] [stdout] 10 | pub struct Platform { [INFO] [stdout] | -------- `Platform` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/screens/battle/platform.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Platform` [INFO] [stdout] 10 | pub struct Platform { [INFO] [stdout] | -------- `Platform` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/settings.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Logging` [INFO] [stdout] 6 | pub struct Logging { [INFO] [stdout] | ------- `Logging` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/settings.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Logging` [INFO] [stdout] 6 | pub struct Logging { [INFO] [stdout] | ------- `Logging` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/settings.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Assets` [INFO] [stdout] 23 | pub struct Assets { [INFO] [stdout] | ------ `Assets` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/settings.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Assets` [INFO] [stdout] 23 | pub struct Assets { [INFO] [stdout] | ------ `Assets` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/settings.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Default, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Settings` [INFO] [stdout] 36 | pub struct Settings { [INFO] [stdout] | -------- `Settings` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/settings.rs:35:37 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Default, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Settings` [INFO] [stdout] 36 | pub struct Settings { [INFO] [stdout] | -------- `Settings` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id0` [INFO] [stdout] --> src/physics/collision.rs:279:19 [INFO] [stdout] | [INFO] [stdout] 279 | ids: (id0, id1), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_id0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id1` [INFO] [stdout] --> src/physics/collision.rs:279:24 [INFO] [stdout] | [INFO] [stdout] 279 | ids: (id0, id1), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_id1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `walpurgis` (bin "walpurgis") due to 2 previous errors; 36 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/screens/mainmenu.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | fn draw(&self, ctx: &mut Context, param: DrawParam) -> GameResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param` [INFO] [stdout] --> src/screens/mainmenu.rs:16:39 [INFO] [stdout] | [INFO] [stdout] 16 | fn draw(&self, ctx: &mut Context, param: DrawParam) -> GameResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_param` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/screens/mainmenu.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | fn handle_input(&mut self, ctx: &mut Context, fire_once_key_buffer: &Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fire_once_key_buffer` [INFO] [stdout] --> src/screens/mainmenu.rs:33:51 [INFO] [stdout] | [INFO] [stdout] 33 | fn handle_input(&mut self, ctx: &mut Context, fire_once_key_buffer: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fire_once_key_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result<(), GameError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 52 | let (mut ctx, mut event_loop) = [INFO] [stdout] | ------- -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | match event::run(&mut ctx, &mut event_loop, &mut my_game) { [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] warning: method `flipped` is never used [INFO] [stdout] --> src/physics/collision.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl<'tick, T: Collidable, S: Collidable> Collision<'tick, T, S> { [INFO] [stdout] | ---------------------------------------------------------------- method in this implementation [INFO] [stdout] 51 | pub fn flipped(self) -> Collision<'tick, S, T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MainMenu` is never constructed [INFO] [stdout] --> src/screens.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum Screen { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 23 | MainMenu(MainMenuData), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Screen` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/screens/battle/player.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | sprites: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | /// The sounds made by the character. [INFO] [stdout] 33 | sfx: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | buff: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | movement: (Action, FrameNumber), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | race: Race, [INFO] [stdout] | ^^^^ [INFO] [stdout] 54 | /// Various stats. [INFO] [stdout] 55 | stats: Stats, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 56 | /// The selected `Ability`s of the player character. [INFO] [stdout] 57 | abilities: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Player` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Air`, `Heavy`, and `Light` are never constructed [INFO] [stdout] --> src/screens/battle/player/meta.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum BasicClass { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 4 | Air, [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | Heavy, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | Light, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BasicClass` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Robot` and `Mage` are never constructed [INFO] [stdout] --> src/screens/battle/player/meta.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Race { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | Robot, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | /// An interesting energy-based race. [INFO] [stdout] 17 | Mage, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Race` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/screens/battle/player/stance.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | OnGround(GroundStance) [INFO] [stdout] | -------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `VerticalStance` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 | OnGround(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InAir` is never constructed [INFO] [stdout] --> src/screens/battle/player/stance.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum VerticalStance { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 13 | InAir { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VerticalStance` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `FastFalling`, `Falling`, `Upping`, and `Attack` are never constructed [INFO] [stdout] --> src/screens/battle/player/stance.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum AirStance { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 23 | FastFalling, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 24 | Falling, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 25 | Upping, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | Attack(Attack), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AirStance` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Attack` is never constructed [INFO] [stdout] --> src/screens/battle/player/stance.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum GroundStance { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 32 | Standing, [INFO] [stdout] 33 | Attack(Attack), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GroundStance` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Dash`, `Jump`, and `Attack` are never constructed [INFO] [stdout] --> src/screens/battle/player/action.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Action { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | Dash(HorizontalStance), [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | Jump, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | Attack(Attack), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Action` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DashAttack`, `Shielding`, `Basics`, and `Ability` are never constructed [INFO] [stdout] --> src/screens/battle/player/action.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Attack { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 17 | DashAttack, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | Shielding, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | Basics(BasicClass, AttackDir), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | Ability(Ability), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Attack` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Up`, `Down`, and `Side` are never constructed [INFO] [stdout] --> src/screens/battle/player/action.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum AttackDir { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 26 | Up, [INFO] [stdout] | ^^ [INFO] [stdout] 27 | Down, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | Side, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AttackDir` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_platform_platform_collision` is never used [INFO] [stdout] --> src/screens/battle/interactions.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn handle_platform_platform_collision<'tick>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pair_matches2` is never used [INFO] [stdout] --> src/util/cartesian.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn pair_matches2 (tp1: (&E,&E), tp2: (&E,&E)) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/util/result.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | GGEZ(ggez::error::GameError), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `WalpurgisError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 3 | GGEZ(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/util/result.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | IO(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `WalpurgisError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 4 | IO(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/util/result.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | Ron(ron::de::Error), [INFO] [stdout] | --- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `WalpurgisError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 | Ron(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/util/result.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Generic(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `WalpurgisError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 | Generic(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flip_tuple_vec` is never used [INFO] [stdout] --> src/util/tuple.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn flip_tuple_vec(vec: Vec<(T0, T1)>) -> Vec<(T1, T0)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/physics/obb.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_BoundingBox` [INFO] [stdout] 12 | pub struct BoundingBox { [INFO] [stdout] | ----------- `BoundingBox` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/physics/obb.rs:11:35 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_BoundingBox` [INFO] [stdout] 12 | pub struct BoundingBox { [INFO] [stdout] | ----------- `BoundingBox` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/screens/battle/arena.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Arena` [INFO] [stdout] 15 | pub struct Arena { [INFO] [stdout] | ----- `Arena` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/screens/battle/arena.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Arena` [INFO] [stdout] 15 | pub struct Arena { [INFO] [stdout] | ----- `Arena` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/screens/battle/platform.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Platform` [INFO] [stdout] 10 | pub struct Platform { [INFO] [stdout] | -------- `Platform` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/screens/battle/platform.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Platform` [INFO] [stdout] 10 | pub struct Platform { [INFO] [stdout] | -------- `Platform` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/settings.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Logging` [INFO] [stdout] 6 | pub struct Logging { [INFO] [stdout] | ------- `Logging` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/settings.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Logging` [INFO] [stdout] 6 | pub struct Logging { [INFO] [stdout] | ------- `Logging` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/settings.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Assets` [INFO] [stdout] 23 | pub struct Assets { [INFO] [stdout] | ------ `Assets` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/settings.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Assets` [INFO] [stdout] 23 | pub struct Assets { [INFO] [stdout] | ------ `Assets` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/settings.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Default, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Settings` [INFO] [stdout] 36 | pub struct Settings { [INFO] [stdout] | -------- `Settings` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/settings.rs:35:37 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Default, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Settings` [INFO] [stdout] 36 | pub struct Settings { [INFO] [stdout] | -------- `Settings` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `walpurgis` (bin "walpurgis" test) due to 2 previous errors; 38 warnings emitted [INFO] running `Command { std: "docker" "inspect" "332d3d3e954ac5980c7ba2c21c63d6fc0b8040fd15df1572f44355293e50ea28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "332d3d3e954ac5980c7ba2c21c63d6fc0b8040fd15df1572f44355293e50ea28", kill_on_drop: false }` [INFO] [stdout] 332d3d3e954ac5980c7ba2c21c63d6fc0b8040fd15df1572f44355293e50ea28