[INFO] cloning repository https://github.com/TesseractCat/bg3d [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TesseractCat/bg3d" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTesseractCat%2Fbg3d", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTesseractCat%2Fbg3d'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 390669af423730b41ba3052a1911576ea6bf2b83 [INFO] checking TesseractCat/bg3d/390669af423730b41ba3052a1911576ea6bf2b83 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTesseractCat%2Fbg3d" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TesseractCat/bg3d on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/TesseractCat/bg3d [INFO] finished tweaking git repo https://github.com/TesseractCat/bg3d [INFO] tweaked toml for git repo https://github.com/TesseractCat/bg3d written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/TesseractCat/bg3d 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c8928b2645a802b5b47cc4be1f7e45cd12a7fdb8f2b81d2834a5e78c0e2d01f [INFO] running `Command { std: "docker" "start" "-a" "9c8928b2645a802b5b47cc4be1f7e45cd12a7fdb8f2b81d2834a5e78c0e2d01f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c8928b2645a802b5b47cc4be1f7e45cd12a7fdb8f2b81d2834a5e78c0e2d01f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c8928b2645a802b5b47cc4be1f7e45cd12a7fdb8f2b81d2834a5e78c0e2d01f", kill_on_drop: false }` [INFO] [stdout] 9c8928b2645a802b5b47cc4be1f7e45cd12a7fdb8f2b81d2834a5e78c0e2d01f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7de8aa9cb676a9d67ea3386a82eac7a50ba38c2766268f366486888793208e8a [INFO] running `Command { std: "docker" "start" "-a" "7de8aa9cb676a9d67ea3386a82eac7a50ba38c2766268f366486888793208e8a", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Compiling tokio v1.27.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking mio v0.8.6 [INFO] [stderr] Compiling syn v2.0.65 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling serde v1.0.163 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking bytemuck v1.9.1 [INFO] [stderr] Compiling rustversion v1.0.12 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling libz-ng-sys v1.1.16 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking safe_arch v0.6.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Checking simd-adler32 v0.3.5 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking wide v0.7.4 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling which v6.0.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling luajit-src v210.5.7+d06beb0 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Checking digest v0.10.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking hash32 v0.3.1 [INFO] [stderr] Checking num-complex v0.4.1 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Compiling lua-src v547.0.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking cpufeatures v0.2.6 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling async-trait v0.1.68 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling mlua-sys v0.6.2 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Checking simba v0.9.0 [INFO] [stderr] Compiling tokio-macros v2.0.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.163 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking url v2.3.0 [INFO] [stderr] Checking fdeflate v0.3.0 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking rustc-hash v2.0.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking robust v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Checking spade v2.12.0 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Compiling gltf-derive v1.4.1 [INFO] [stderr] Checking zune-jpeg v0.4.13 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Compiling regex v1.7.3 [INFO] [stderr] Checking rstar v0.12.0 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Checking nalgebra v0.33.0 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking ordered-float v4.2.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Compiling axum-macros v0.4.1 [INFO] [stderr] Checking serde_path_to_error v0.1.11 [INFO] [stderr] Checking gltf-json v1.4.1 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Compiling mlua_derive v0.9.3 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking tokio-util v0.7.7 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Checking bstr v1.6.0 [INFO] [stderr] Checking matchit v0.7.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking http-range-header v0.4.0 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking base64 v0.21.0 [INFO] [stderr] Checking bit-vec v0.7.0 [INFO] [stderr] Checking urlencoding v2.1.2 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking include_dir v0.7.4 [INFO] [stderr] Checking serde_with v1.14.0 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking tokio-stream v0.1.7 [INFO] [stderr] Checking random_color v0.8.0 [INFO] [stderr] Checking data-url v0.1.1 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Checking parry3d v0.17.0 [INFO] [stderr] Checking png v0.17.8 [INFO] [stderr] Checking async-compression v0.4.9 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking image v0.25.2 [INFO] [stderr] Checking gltf v1.4.1 [INFO] [stderr] Checking rapier3d v0.22.0 [INFO] [stderr] Checking mlua v0.9.9 [INFO] [stderr] Checking BG3D v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `BG3D` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/lobby.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lobby.rs:238:85 [INFO] [stderr] | [INFO] [stderr] 238 | ($name:tt: |$this:ident, $lua:ident, $($argname:ident : $argtype:ty),+| $method:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lobby.rs:246:50 [INFO] [stderr] | [INFO] [stderr] 246 | ($name:tt: |$this:ident, $lua:ident| $method:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/lobby.rs:146:5 [INFO] [stderr] | [INFO] [stderr] 146 | pub fn step(&mut self, send_update_pawns: bool) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromLua<'_>` will fail [INFO] [stderr] --> src/lobby.rs:183:32 [INFO] [stderr] | [INFO] [stderr] 183 | if let Some(res) = Self::run_lua_callback(lua, "physics", ()) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/lobby.rs:378:5 [INFO] [stderr] | [INFO] [stderr] 378 | pub fn chat(&mut self, user_id: UserId, content: Cow<'_, String>) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromLua<'_>` will fail [INFO] [stderr] --> src/lobby.rs:384:32 [INFO] [stderr] | [INFO] [stderr] 384 | if let Some(res) = Self::run_lua_callback(lua, "chat", (user_id.0, content.into_owned())) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/lobby.rs:844:5 [INFO] [stderr] | [INFO] [stderr] 844 | pub fn register_assets(&mut self, user_id: UserId, assets: HashMap) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromLua<'_>` will fail [INFO] [stderr] --> src/lobby.rs:893:36 [INFO] [stderr] | [INFO] [stderr] 893 | if let Some(res) = Self::run_lua_callback(lua, "start", ()) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `lua` [INFO] [stderr] --> src/lobby.rs:316:34 [INFO] [stderr] | [INFO] [stderr] 316 | method!(get_pawn: |this, lua, id: u64| { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] help: `lua` is captured in macro and introduced a unused variable [INFO] [stderr] --> src/lobby.rs:240:60 [INFO] [stderr] | [INFO] [stderr] 240 | methods.add_method_mut(stringify!($name), |$lua, $this: &mut Self, ($($argname),+): ($($argtype),+)| { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 316 | / method!(get_pawn: |this, lua, id: u64| { [INFO] [stderr] 317 | | Ok(this.pawns.get(&PawnId(id)).cloned()) [INFO] [stderr] 318 | | }); [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] = note: this warning originates in the macro `method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `scope` [INFO] [stderr] --> src/lobby.rs:383:46 [INFO] [stderr] | [INFO] [stderr] 383 | if let Err(e) = self.lua_scope(|lua, scope, _| { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 5 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: unused import: `Gltf` [INFO] [stdout] --> src/lobby.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | use gltf::{Document, Gltf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lobby.rs:238:93 [INFO] [stdout] | [INFO] [stdout] 238 | ($name:tt: |$this:ident, $lua:ident, $($argname:ident : $argtype:ty),+| $method:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 238 | ($name:tt: |$this:ident, $lua:ident, $($argname:ident : $argtype:ty),+| $method:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lobby.rs:246:58 [INFO] [stdout] | [INFO] [stdout] 246 | ($name:tt: |$this:ident, $lua:ident| $method:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 246 | ($name:tt: |$this:ident, $lua:ident| $method:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Gltf` [INFO] [stdout] --> src/gltf_ext.rs:1:55 [INFO] [stdout] | [INFO] [stdout] 1 | use gltf::{buffer::Data, mesh::BoundingBox, Document, Gltf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lobby.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn step(&mut self, send_update_pawns: bool) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromLua<'_>` will fail [INFO] [stdout] --> src/lobby.rs:183:32 [INFO] [stdout] | [INFO] [stdout] 183 | if let Some(res) = Self::run_lua_callback(lua, "physics", ()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lobby.rs:378:5 [INFO] [stdout] | [INFO] [stdout] 378 | pub fn chat(&mut self, user_id: UserId, content: Cow<'_, String>) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromLua<'_>` will fail [INFO] [stdout] --> src/lobby.rs:384:32 [INFO] [stdout] | [INFO] [stdout] 384 | if let Some(res) = Self::run_lua_callback(lua, "chat", (user_id.0, content.into_owned())) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lobby.rs:844:5 [INFO] [stdout] | [INFO] [stdout] 844 | pub fn register_assets(&mut self, user_id: UserId, assets: HashMap) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromLua<'_>` will fail [INFO] [stdout] --> src/lobby.rs:893:36 [INFO] [stdout] | [INFO] [stdout] 893 | if let Some(res) = Self::run_lua_callback(lua, "start", ()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lua` [INFO] [stdout] --> src/lobby.rs:316:34 [INFO] [stdout] | [INFO] [stdout] 316 | method!(get_pawn: |this, lua, id: u64| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `lua` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lobby.rs:240:60 [INFO] [stdout] | [INFO] [stdout] 240 | methods.add_method_mut(stringify!($name), |$lua, $this: &mut Self, ($($argname),+): ($($argtype),+)| { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 316 | / method!(get_pawn: |this, lua, id: u64| { [INFO] [stdout] 317 | | Ok(this.pawns.get(&PawnId(id)).cloned()) [INFO] [stdout] 318 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/lobby.rs:383:46 [INFO] [stdout] | [INFO] [stdout] 383 | if let Err(e) = self.lua_scope(|lua, scope, _| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send_text` is never used [INFO] [stdout] --> src/user.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub trait Sender { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 33 | fn send_text(&mut self, content: &str) -> Result<(), Box>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `event_receiver` is never read [INFO] [stdout] --> src/physics.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct PhysicsWorld { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 61 | pub event_receiver: UnboundedReceiver<(CollisionEvent, Option)>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_collisions` is never used [INFO] [stdout] --> src/physics.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl PhysicsWorld { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn get_collisions(&mut self) -> impl Iterator)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:116:24 [INFO] [stdout] | [INFO] [stdout] 116 | if let Err(err) = user_connected(socket, lobby, lobbies, headers).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/main.rs:118:21 [INFO] [stdout] | [INFO] [stdout] 118 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 116 ~ match user_connected(socket, lobby, lobbies, headers).await { Err(err) => { [INFO] [stdout] 117 | println!("Error encountered in websocket connection: {:?}", err); [INFO] [stdout] 118 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 195 | if let Some(res) = Lobby::run_lua_callback::<_, String>(lua, "page", path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/main.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 195 ~ match Lobby::run_lua_callback::<_, String>(lua, "page", path) { Some(res) => { [INFO] [stdout] 196 | Ok(Ok(res?)) [INFO] [stdout] 197 ~ } _ => { [INFO] [stdout] 198 | //Ok(Err(StatusCode::NOT_FOUND)) [INFO] [stdout] 199 | Ok(Ok("This plugin has no settings".to_string())) [INFO] [stdout] 200 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:229:15 [INFO] [stdout] | [INFO] [stdout] 229 | while let Some(message) = buffer_rx.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^---------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/main.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:360:20 [INFO] [stdout] | [INFO] [stdout] 360 | if let Err(err) = event_result { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/main.rs:364:17 [INFO] [stdout] | [INFO] [stdout] 364 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 360 ~ match event_result { Err(err) => { [INFO] [stdout] 361 | println!("Error encountered while handling event:"); [INFO] [stdout] 362 | println!(" - Message: {:?}", message_text); [INFO] [stdout] 363 | println!(" - Error: {:?}", err); [INFO] [stdout] 364 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/math.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | if let Some(table) = value.as_table() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/math.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 48 ~ match value.as_table() { Some(table) => { [INFO] [stdout] 49 | Ok(Self { x: table.get("x")?, y: table.get("y")?, z: table.get("z")? }) [INFO] [stdout] 50 ~ } _ => { [INFO] [stdout] 51 | Err(mlua::Error::FromLuaConversionError { from: "value", to: "Vec3", message: None }) [INFO] [stdout] 52 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/math.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | if let Some(table) = value.as_table() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/math.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 68 ~ match value.as_table() { Some(table) => { [INFO] [stdout] 69 | Ok(Self { x: table.get("x")?, y: table.get("y")? }) [INFO] [stdout] 70 ~ } _ => { [INFO] [stdout] 71 | Err(mlua::Error::FromLuaConversionError { from: "value", to: "Vec2", message: None }) [INFO] [stdout] 72 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/math.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | if let Some(table) = value.as_table() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/math.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 90 ~ match value.as_table() { Some(table) => { [INFO] [stdout] 91 | Ok(Self { [INFO] [stdout] 92 | x: table.get("x")?, y: table.get("y")?, z: table.get("z")?, w: table.get("w")?, [INFO] [stdout] 93 | }) [INFO] [stdout] 94 ~ } _ => { [INFO] [stdout] 95 | Err(mlua::Error::FromLuaConversionError { from: "value", to: "Vec2", message: None }) [INFO] [stdout] 96 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pawn.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | if let Some(table) = value.as_table() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/pawn.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 27 ~ match value.as_table() { Some(table) => { [INFO] [stdout] 28 | if let Some(mt) = table.get_metatable() { [INFO] [stdout] ... [INFO] [stdout] 62 | } [INFO] [stdout] 63 ~ } _ => { [INFO] [stdout] 64 | Err(mlua::Error::FromLuaConversionError { [INFO] [stdout] ... [INFO] [stdout] 67 | }) [INFO] [stdout] 68 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pawn.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | if let Some(mt) = table.get_metatable() { [INFO] [stdout] | ^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/pawn.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 28 ~ match table.get_metatable() { Some(mt) => { [INFO] [stdout] 29 | let deck_mt = lua.globals().get::<_, mlua::Table>("DeckData")?; [INFO] [stdout] ... [INFO] [stdout] 59 | } [INFO] [stdout] 60 ~ } _ => { [INFO] [stdout] 61 | Err(mlua::Error::FromLuaConversionError { from: "table", to: "PawnData", message: Some("Mismatched metatable".to_string()) }) [INFO] [stdout] 62 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pawn.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | if let mlua::Value::Table(params) = value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/pawn.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 144 ~ match value { mlua::Value::Table(params) => { [INFO] [stdout] 145 | // Call Pawn:new on provided table if not already of type Pawn [INFO] [stdout] ... [INFO] [stdout] 172 | }) [INFO] [stdout] 173 ~ } _ => { [INFO] [stdout] 174 | Err(mlua::Error::FromLuaConversionError { from: "table", to: "Pawn", message: None }) [INFO] [stdout] 175 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pawn.rs:253:16 [INFO] [stdout] | [INFO] [stdout] 253 | if let Some(selected) = update.selected { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/pawn.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 253 ~ match update.selected { Some(selected) => { [INFO] [stdout] 254 | update.selected.take_if(|_| [INFO] [stdout] ... [INFO] [stdout] 259 | }); [INFO] [stdout] 260 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lobby.rs:176:16 [INFO] [stdout] | [INFO] [stdout] 176 | if let Err(e) = self.lua_scope(|lua, _scope, _| { [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_____________________________| [INFO] [stdout] 177 | || lua.registry_value::(&ready_func)?.call::<(), ()>(()) [INFO] [stdout] 178 | || }) { [INFO] [stdout] | ||______________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |______________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lobby.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 176 ~ match self.lua_scope(|lua, _scope, _| { [INFO] [stdout] 177 | lua.registry_value::(&ready_func)?.call::<(), ()>(()) [INFO] [stdout] 178 ~ }) { Err(e) => { [INFO] [stdout] 179 | self.system_chat(Cow::Owned(format!("Lua error in scheduled function: `{}`", e)))?; [INFO] [stdout] 180 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lobby.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | if let Some(game) = lua.globals().get::<_, mlua::Table>("game").ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lobby.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 219 ~ match lua.globals().get::<_, mlua::Table>("game").ok() { Some(game) => { [INFO] [stdout] 220 | if let Some(callback) = game.get::<_, mlua::Function>(callback_name).ok() { [INFO] [stdout] ... [INFO] [stdout] 224 | } [INFO] [stdout] 225 ~ } _ => { [INFO] [stdout] 226 | None [INFO] [stdout] 227 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lobby.rs:220:16 [INFO] [stdout] | [INFO] [stdout] 220 | if let Some(callback) = game.get::<_, mlua::Function>(callback_name).ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lobby.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 220 ~ match game.get::<_, mlua::Function>(callback_name).ok() { Some(callback) => { [INFO] [stdout] 221 | Some(callback.call(args)) [INFO] [stdout] 222 ~ } _ => { [INFO] [stdout] 223 | None [INFO] [stdout] 224 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lobby.rs:307:20 [INFO] [stdout] | [INFO] [stdout] 307 | if let Ok(callback) = params.get::<_, mlua::Function>("on_release") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^--------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lobby.rs:311:17 [INFO] [stdout] | [INFO] [stdout] 311 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 307 ~ match params.get::<_, mlua::Function>("on_release") { Ok(callback) => { [INFO] [stdout] 308 | pawn.on_release_callback = Some(Arc::new( [INFO] [stdout] 309 | lua.create_registry_value(callback)? [INFO] [stdout] 310 | )); [INFO] [stdout] 311 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lobby.rs:422:20 [INFO] [stdout] | [INFO] [stdout] 422 | if let Some(mesh) = pawn.mesh.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lobby.rs:443:17 [INFO] [stdout] | [INFO] [stdout] 443 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 422 ~ match pawn.mesh.as_ref() { Some(mesh) => { [INFO] [stdout] 423 | let static_path = Path::new("./static/games").canonicalize()?; [INFO] [stdout] ... [INFO] [stdout] 442 | } [INFO] [stdout] 443 ~ } _ => { [INFO] [stdout] 444 | Box::new(std::iter::empty()) [INFO] [stdout] 445 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lobby.rs:426:71 [INFO] [stdout] | [INFO] [stdout] 426 | let gltf_data: Option<(Document, Vec)> = if let Ok(path) = path { [INFO] [stdout] | ^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lobby.rs:430:21 [INFO] [stdout] | [INFO] [stdout] 430 | } else if let Some(asset) = self.assets.get(&format!("/{}", mesh)) { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 426 ~ let gltf_data: Option<(Document, Vec)> = match path { Ok(path) => { [INFO] [stdout] 427 | if path.starts_with(static_path) { [INFO] [stdout] 428 | Some(gltf::import(path).map(|(d, b, _)| (d,b))?) [INFO] [stdout] 429 | } else { None } [INFO] [stdout] 430 ~ } _ => if let Some(asset) = self.assets.get(&format!("/{}", mesh)) { [INFO] [stdout] 431 | Some(gltf::import_slice(asset.data.as_slice()).map(|(d, b, _)| (d,b))?) [INFO] [stdout] 432 ~ } else { None }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lobby.rs:434:24 [INFO] [stdout] | [INFO] [stdout] 434 | if let Some((gltf_document, gltf_buffers)) = gltf_data { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lobby.rs:440:21 [INFO] [stdout] | [INFO] [stdout] 440 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 434 ~ match gltf_data { Some((gltf_document, gltf_buffers)) => { [INFO] [stdout] 435 | Box::new(gltf_document.colliders(gltf_buffers.as_slice()).map(|collider| { [INFO] [stdout] ... [INFO] [stdout] 439 | })) [INFO] [stdout] 440 ~ } _ => { [INFO] [stdout] 441 | Box::new(std::iter::empty()) [INFO] [stdout] 442 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lobby.rs:507:20 [INFO] [stdout] | [INFO] [stdout] 507 | if let Some(selected_user) = pawn.selected_user { // If a user has already selected this pawn [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lobby.rs:516:17 [INFO] [stdout] | [INFO] [stdout] 516 | }/* else { // If a user hasn't selected this pawn [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 507 ~ match pawn.selected_user { Some(selected_user) => { // If a user has already selected this pawn [INFO] [stdout] 508 | if selected_user != user_id { [INFO] [stdout] ... [INFO] [stdout] 515 | } [INFO] [stdout] 516 ~ } _ => {}}/* else { // If a user hasn't selected this pawn [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lobby.rs:538:24 [INFO] [stdout] | [INFO] [stdout] 538 | if let Err(e) = self.lua_scope(|lua, _scope, _| { [INFO] [stdout] | ________________________^ - [INFO] [stdout] | |_____________________________________| [INFO] [stdout] 539 | || if let Some(callback) = pawn.on_grab_callback.as_ref() { [INFO] [stdout] 540 | || lua.registry_value::(callback)?.call::<_, ()>(user_id.unwrap_or_default().0) [INFO] [stdout] 541 | || } else { Ok(()) } [INFO] [stdout] 542 | || }) { [INFO] [stdout] | ||______________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |______________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lobby.rs:544:21 [INFO] [stdout] | [INFO] [stdout] 544 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 538 ~ match self.lua_scope(|lua, _scope, _| { [INFO] [stdout] 539 | if let Some(callback) = pawn.on_grab_callback.as_ref() { [INFO] [stdout] 540 | lua.registry_value::(callback)?.call::<_, ()>(user_id.unwrap_or_default().0) [INFO] [stdout] 541 | } else { Ok(()) } [INFO] [stdout] 542 ~ }) { Err(e) => { [INFO] [stdout] 543 | self.system_chat(Cow::Owned(format!("Lua error in on_grab: `{}`", e)))?; [INFO] [stdout] 544 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lobby.rs:539:28 [INFO] [stdout] | [INFO] [stdout] 539 | if let Some(callback) = pawn.on_grab_callback.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lobby.rs:541:25 [INFO] [stdout] | [INFO] [stdout] 541 | } else { Ok(()) } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 539 ~ match pawn.on_grab_callback.as_ref() { Some(callback) => { [INFO] [stdout] 540 | lua.registry_value::(callback)?.call::<_, ()>(user_id.unwrap_or_default().0) [INFO] [stdout] 541 ~ } _ => { Ok(()) }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lobby.rs:546:24 [INFO] [stdout] | [INFO] [stdout] 546 | if let Err(e) = self.lua_scope(|lua, _scope, _| { [INFO] [stdout] | ________________________^ - [INFO] [stdout] | |_____________________________________| [INFO] [stdout] 547 | || if let Some(callback) = pawn.on_release_callback.as_ref() { [INFO] [stdout] 548 | || lua.registry_value::(callback)?.call::<_, ()>(user_id.unwrap_or_default().0) [INFO] [stdout] 549 | || } else { Ok(()) } [INFO] [stdout] 550 | || }) { [INFO] [stdout] | ||______________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |______________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lobby.rs:552:21 [INFO] [stdout] | [INFO] [stdout] 552 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 546 ~ match self.lua_scope(|lua, _scope, _| { [INFO] [stdout] 547 | if let Some(callback) = pawn.on_release_callback.as_ref() { [INFO] [stdout] 548 | lua.registry_value::(callback)?.call::<_, ()>(user_id.unwrap_or_default().0) [INFO] [stdout] 549 | } else { Ok(()) } [INFO] [stdout] 550 ~ }) { Err(e) => { [INFO] [stdout] 551 | self.system_chat(Cow::Owned(format!("Lua error in on_release: `{}`", e)))?; [INFO] [stdout] 552 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lobby.rs:547:28 [INFO] [stdout] | [INFO] [stdout] 547 | if let Some(callback) = pawn.on_release_callback.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lobby.rs:549:25 [INFO] [stdout] | [INFO] [stdout] 549 | } else { Ok(()) } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 547 ~ match pawn.on_release_callback.as_ref() { Some(callback) => { [INFO] [stdout] 548 | lua.registry_value::(callback)?.call::<_, ()>(user_id.unwrap_or_default().0) [INFO] [stdout] 549 ~ } _ => { Ok(()) }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lobby.rs:877:16 [INFO] [stdout] | [INFO] [stdout] 877 | if let Err(e) = self.lua_scope(|lua, scope, _| { [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_____________________________| [INFO] [stdout] 878 | || lua.globals().set("require", scope.create_function(|lua, path: String| { [INFO] [stdout] 879 | || let chunk = if let Some(asset) = processed_assets.get(&format!("/{}.lua", path)) { [INFO] [stdout] 880 | || Some(String::from_utf8(asset.data.clone()).unwrap()) [INFO] [stdout] ... || [INFO] [stdout] 896 | || Ok(()) [INFO] [stdout] 897 | || }) { [INFO] [stdout] | ||______________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |______________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lobby.rs:899:13 [INFO] [stdout] | [INFO] [stdout] 899 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 877 ~ match self.lua_scope(|lua, scope, _| { [INFO] [stdout] 878 | lua.globals().set("require", scope.create_function(|lua, path: String| { [INFO] [stdout] ... [INFO] [stdout] 896 | Ok(()) [INFO] [stdout] 897 ~ }) { Err(e) => { [INFO] [stdout] 898 | self.system_chat(Cow::Owned(format!("Lua error: `{}`", e)))?; [INFO] [stdout] 899 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lobby.rs:885:24 [INFO] [stdout] | [INFO] [stdout] 885 | if let Some(chunk) = chunk { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lobby.rs:887:21 [INFO] [stdout] | [INFO] [stdout] 887 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 885 ~ match chunk { Some(chunk) => { [INFO] [stdout] 886 | Ok(chunk.eval()?) [INFO] [stdout] 887 ~ } _ => { [INFO] [stdout] 888 | Ok(mlua::Value::Nil) [INFO] [stdout] 889 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator)>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/physics.rs:139:41 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn get_collisions(&mut self) -> impl Iterator)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/physics.rs:139:27 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn get_collisions(&mut self) -> impl Iterator)> { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 139 | pub fn get_collisions(&mut self) -> impl Iterator)> + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/physics.rs:141:15 [INFO] [stdout] | [INFO] [stdout] 141 | while let Ok(event) = self.event_receiver.try_recv() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/physics.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `BG3D` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/lobby.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lobby.rs:238:85 [INFO] [stderr] | [INFO] [stderr] 238 | ($name:tt: |$this:ident, $lua:ident, $($argname:ident : $argtype:ty),+| $method:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lobby.rs:246:50 [INFO] [stderr] | [INFO] [stderr] 246 | ($name:tt: |$this:ident, $lua:ident| $method:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/lobby.rs:146:5 [INFO] [stderr] | [INFO] [stderr] 146 | pub fn step(&mut self, send_update_pawns: bool) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromLua<'_>` will fail [INFO] [stderr] --> src/lobby.rs:183:32 [INFO] [stderr] | [INFO] [stderr] 183 | if let Some(res) = Self::run_lua_callback(lua, "physics", ()) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/lobby.rs:378:5 [INFO] [stderr] | [INFO] [stderr] 378 | pub fn chat(&mut self, user_id: UserId, content: Cow<'_, String>) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromLua<'_>` will fail [INFO] [stderr] --> src/lobby.rs:384:32 [INFO] [stderr] | [INFO] [stderr] 384 | if let Some(res) = Self::run_lua_callback(lua, "chat", (user_id.0, content.into_owned())) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/lobby.rs:844:5 [INFO] [stderr] | [INFO] [stderr] 844 | pub fn register_assets(&mut self, user_id: UserId, assets: HashMap) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromLua<'_>` will fail [INFO] [stderr] --> src/lobby.rs:893:36 [INFO] [stderr] | [INFO] [stderr] 893 | if let Some(res) = Self::run_lua_callback(lua, "start", ()) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `lua` [INFO] [stderr] --> src/lobby.rs:316:34 [INFO] [stderr] | [INFO] [stderr] 316 | method!(get_pawn: |this, lua, id: u64| { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] help: `lua` is captured in macro and introduced a unused variable [INFO] [stderr] --> src/lobby.rs:240:60 [INFO] [stderr] | [INFO] [stderr] 240 | methods.add_method_mut(stringify!($name), |$lua, $this: &mut Self, ($($argname),+): ($($argtype),+)| { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 316 | / method!(get_pawn: |this, lua, id: u64| { [INFO] [stderr] 317 | | Ok(this.pawns.get(&PawnId(id)).cloned()) [INFO] [stderr] 318 | | }); [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] = note: this warning originates in the macro `method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `scope` [INFO] [stderr] --> src/lobby.rs:383:46 [INFO] [stderr] | [INFO] [stderr] 383 | if let Err(e) = self.lua_scope(|lua, scope, _| { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 5 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: unused import: `Gltf` [INFO] [stdout] --> src/lobby.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | use gltf::{Document, Gltf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lobby.rs:238:93 [INFO] [stdout] | [INFO] [stdout] 238 | ($name:tt: |$this:ident, $lua:ident, $($argname:ident : $argtype:ty),+| $method:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 238 | ($name:tt: |$this:ident, $lua:ident, $($argname:ident : $argtype:ty),+| $method:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lobby.rs:246:58 [INFO] [stdout] | [INFO] [stdout] 246 | ($name:tt: |$this:ident, $lua:ident| $method:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 246 | ($name:tt: |$this:ident, $lua:ident| $method:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Gltf` [INFO] [stdout] --> src/gltf_ext.rs:1:55 [INFO] [stdout] | [INFO] [stdout] 1 | use gltf::{buffer::Data, mesh::BoundingBox, Document, Gltf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lobby.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn step(&mut self, send_update_pawns: bool) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromLua<'_>` will fail [INFO] [stdout] --> src/lobby.rs:183:32 [INFO] [stdout] | [INFO] [stdout] 183 | if let Some(res) = Self::run_lua_callback(lua, "physics", ()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lobby.rs:378:5 [INFO] [stdout] | [INFO] [stdout] 378 | pub fn chat(&mut self, user_id: UserId, content: Cow<'_, String>) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromLua<'_>` will fail [INFO] [stdout] --> src/lobby.rs:384:32 [INFO] [stdout] | [INFO] [stdout] 384 | if let Some(res) = Self::run_lua_callback(lua, "chat", (user_id.0, content.into_owned())) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lobby.rs:844:5 [INFO] [stdout] | [INFO] [stdout] 844 | pub fn register_assets(&mut self, user_id: UserId, assets: HashMap) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromLua<'_>` will fail [INFO] [stdout] --> src/lobby.rs:893:36 [INFO] [stdout] | [INFO] [stdout] 893 | if let Some(res) = Self::run_lua_callback(lua, "start", ()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lua` [INFO] [stdout] --> src/lobby.rs:316:34 [INFO] [stdout] | [INFO] [stdout] 316 | method!(get_pawn: |this, lua, id: u64| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `lua` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lobby.rs:240:60 [INFO] [stdout] | [INFO] [stdout] 240 | methods.add_method_mut(stringify!($name), |$lua, $this: &mut Self, ($($argname),+): ($($argtype),+)| { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 316 | / method!(get_pawn: |this, lua, id: u64| { [INFO] [stdout] 317 | | Ok(this.pawns.get(&PawnId(id)).cloned()) [INFO] [stdout] 318 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/lobby.rs:383:46 [INFO] [stdout] | [INFO] [stdout] 383 | if let Err(e) = self.lua_scope(|lua, scope, _| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send_text` is never used [INFO] [stdout] --> src/user.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub trait Sender { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 33 | fn send_text(&mut self, content: &str) -> Result<(), Box>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `event_receiver` is never read [INFO] [stdout] --> src/physics.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct PhysicsWorld { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 61 | pub event_receiver: UnboundedReceiver<(CollisionEvent, Option)>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_collisions` is never used [INFO] [stdout] --> src/physics.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl PhysicsWorld { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn get_collisions(&mut self) -> impl Iterator)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:116:24 [INFO] [stdout] | [INFO] [stdout] 116 | if let Err(err) = user_connected(socket, lobby, lobbies, headers).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/main.rs:118:21 [INFO] [stdout] | [INFO] [stdout] 118 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 116 ~ match user_connected(socket, lobby, lobbies, headers).await { Err(err) => { [INFO] [stdout] 117 | println!("Error encountered in websocket connection: {:?}", err); [INFO] [stdout] 118 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 195 | if let Some(res) = Lobby::run_lua_callback::<_, String>(lua, "page", path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/main.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 195 ~ match Lobby::run_lua_callback::<_, String>(lua, "page", path) { Some(res) => { [INFO] [stdout] 196 | Ok(Ok(res?)) [INFO] [stdout] 197 ~ } _ => { [INFO] [stdout] 198 | //Ok(Err(StatusCode::NOT_FOUND)) [INFO] [stdout] 199 | Ok(Ok("This plugin has no settings".to_string())) [INFO] [stdout] 200 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:229:15 [INFO] [stdout] | [INFO] [stdout] 229 | while let Some(message) = buffer_rx.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^---------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/main.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:360:20 [INFO] [stdout] | [INFO] [stdout] 360 | if let Err(err) = event_result { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/main.rs:364:17 [INFO] [stdout] | [INFO] [stdout] 364 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 360 ~ match event_result { Err(err) => { [INFO] [stdout] 361 | println!("Error encountered while handling event:"); [INFO] [stdout] 362 | println!(" - Message: {:?}", message_text); [INFO] [stdout] 363 | println!(" - Error: {:?}", err); [INFO] [stdout] 364 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/math.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | if let Some(table) = value.as_table() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/math.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 48 ~ match value.as_table() { Some(table) => { [INFO] [stdout] 49 | Ok(Self { x: table.get("x")?, y: table.get("y")?, z: table.get("z")? }) [INFO] [stdout] 50 ~ } _ => { [INFO] [stdout] 51 | Err(mlua::Error::FromLuaConversionError { from: "value", to: "Vec3", message: None }) [INFO] [stdout] 52 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/math.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | if let Some(table) = value.as_table() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/math.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 68 ~ match value.as_table() { Some(table) => { [INFO] [stdout] 69 | Ok(Self { x: table.get("x")?, y: table.get("y")? }) [INFO] [stdout] 70 ~ } _ => { [INFO] [stdout] 71 | Err(mlua::Error::FromLuaConversionError { from: "value", to: "Vec2", message: None }) [INFO] [stdout] 72 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/math.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | if let Some(table) = value.as_table() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/math.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 90 ~ match value.as_table() { Some(table) => { [INFO] [stdout] 91 | Ok(Self { [INFO] [stdout] 92 | x: table.get("x")?, y: table.get("y")?, z: table.get("z")?, w: table.get("w")?, [INFO] [stdout] 93 | }) [INFO] [stdout] 94 ~ } _ => { [INFO] [stdout] 95 | Err(mlua::Error::FromLuaConversionError { from: "value", to: "Vec2", message: None }) [INFO] [stdout] 96 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pawn.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | if let Some(table) = value.as_table() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/pawn.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 27 ~ match value.as_table() { Some(table) => { [INFO] [stdout] 28 | if let Some(mt) = table.get_metatable() { [INFO] [stdout] ... [INFO] [stdout] 62 | } [INFO] [stdout] 63 ~ } _ => { [INFO] [stdout] 64 | Err(mlua::Error::FromLuaConversionError { [INFO] [stdout] ... [INFO] [stdout] 67 | }) [INFO] [stdout] 68 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pawn.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | if let Some(mt) = table.get_metatable() { [INFO] [stdout] | ^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/pawn.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 28 ~ match table.get_metatable() { Some(mt) => { [INFO] [stdout] 29 | let deck_mt = lua.globals().get::<_, mlua::Table>("DeckData")?; [INFO] [stdout] ... [INFO] [stdout] 59 | } [INFO] [stdout] 60 ~ } _ => { [INFO] [stdout] 61 | Err(mlua::Error::FromLuaConversionError { from: "table", to: "PawnData", message: Some("Mismatched metatable".to_string()) }) [INFO] [stdout] 62 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pawn.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | if let mlua::Value::Table(params) = value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/pawn.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 144 ~ match value { mlua::Value::Table(params) => { [INFO] [stdout] 145 | // Call Pawn:new on provided table if not already of type Pawn [INFO] [stdout] ... [INFO] [stdout] 172 | }) [INFO] [stdout] 173 ~ } _ => { [INFO] [stdout] 174 | Err(mlua::Error::FromLuaConversionError { from: "table", to: "Pawn", message: None }) [INFO] [stdout] 175 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pawn.rs:253:16 [INFO] [stdout] | [INFO] [stdout] 253 | if let Some(selected) = update.selected { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/pawn.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 253 ~ match update.selected { Some(selected) => { [INFO] [stdout] 254 | update.selected.take_if(|_| [INFO] [stdout] ... [INFO] [stdout] 259 | }); [INFO] [stdout] 260 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lobby.rs:176:16 [INFO] [stdout] | [INFO] [stdout] 176 | if let Err(e) = self.lua_scope(|lua, _scope, _| { [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_____________________________| [INFO] [stdout] 177 | || lua.registry_value::(&ready_func)?.call::<(), ()>(()) [INFO] [stdout] 178 | || }) { [INFO] [stdout] | ||______________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |______________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lobby.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 176 ~ match self.lua_scope(|lua, _scope, _| { [INFO] [stdout] 177 | lua.registry_value::(&ready_func)?.call::<(), ()>(()) [INFO] [stdout] 178 ~ }) { Err(e) => { [INFO] [stdout] 179 | self.system_chat(Cow::Owned(format!("Lua error in scheduled function: `{}`", e)))?; [INFO] [stdout] 180 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lobby.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | if let Some(game) = lua.globals().get::<_, mlua::Table>("game").ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lobby.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 219 ~ match lua.globals().get::<_, mlua::Table>("game").ok() { Some(game) => { [INFO] [stdout] 220 | if let Some(callback) = game.get::<_, mlua::Function>(callback_name).ok() { [INFO] [stdout] ... [INFO] [stdout] 224 | } [INFO] [stdout] 225 ~ } _ => { [INFO] [stdout] 226 | None [INFO] [stdout] 227 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lobby.rs:220:16 [INFO] [stdout] | [INFO] [stdout] 220 | if let Some(callback) = game.get::<_, mlua::Function>(callback_name).ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lobby.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 220 ~ match game.get::<_, mlua::Function>(callback_name).ok() { Some(callback) => { [INFO] [stdout] 221 | Some(callback.call(args)) [INFO] [stdout] 222 ~ } _ => { [INFO] [stdout] 223 | None [INFO] [stdout] 224 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lobby.rs:307:20 [INFO] [stdout] | [INFO] [stdout] 307 | if let Ok(callback) = params.get::<_, mlua::Function>("on_release") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^--------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lobby.rs:311:17 [INFO] [stdout] | [INFO] [stdout] 311 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 307 ~ match params.get::<_, mlua::Function>("on_release") { Ok(callback) => { [INFO] [stdout] 308 | pawn.on_release_callback = Some(Arc::new( [INFO] [stdout] 309 | lua.create_registry_value(callback)? [INFO] [stdout] 310 | )); [INFO] [stdout] 311 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lobby.rs:422:20 [INFO] [stdout] | [INFO] [stdout] 422 | if let Some(mesh) = pawn.mesh.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lobby.rs:443:17 [INFO] [stdout] | [INFO] [stdout] 443 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 422 ~ match pawn.mesh.as_ref() { Some(mesh) => { [INFO] [stdout] 423 | let static_path = Path::new("./static/games").canonicalize()?; [INFO] [stdout] ... [INFO] [stdout] 442 | } [INFO] [stdout] 443 ~ } _ => { [INFO] [stdout] 444 | Box::new(std::iter::empty()) [INFO] [stdout] 445 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lobby.rs:426:71 [INFO] [stdout] | [INFO] [stdout] 426 | let gltf_data: Option<(Document, Vec)> = if let Ok(path) = path { [INFO] [stdout] | ^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lobby.rs:430:21 [INFO] [stdout] | [INFO] [stdout] 430 | } else if let Some(asset) = self.assets.get(&format!("/{}", mesh)) { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 426 ~ let gltf_data: Option<(Document, Vec)> = match path { Ok(path) => { [INFO] [stdout] 427 | if path.starts_with(static_path) { [INFO] [stdout] 428 | Some(gltf::import(path).map(|(d, b, _)| (d,b))?) [INFO] [stdout] 429 | } else { None } [INFO] [stdout] 430 ~ } _ => if let Some(asset) = self.assets.get(&format!("/{}", mesh)) { [INFO] [stdout] 431 | Some(gltf::import_slice(asset.data.as_slice()).map(|(d, b, _)| (d,b))?) [INFO] [stdout] 432 ~ } else { None }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lobby.rs:434:24 [INFO] [stdout] | [INFO] [stdout] 434 | if let Some((gltf_document, gltf_buffers)) = gltf_data { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lobby.rs:440:21 [INFO] [stdout] | [INFO] [stdout] 440 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 434 ~ match gltf_data { Some((gltf_document, gltf_buffers)) => { [INFO] [stdout] 435 | Box::new(gltf_document.colliders(gltf_buffers.as_slice()).map(|collider| { [INFO] [stdout] ... [INFO] [stdout] 439 | })) [INFO] [stdout] 440 ~ } _ => { [INFO] [stdout] 441 | Box::new(std::iter::empty()) [INFO] [stdout] 442 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lobby.rs:507:20 [INFO] [stdout] | [INFO] [stdout] 507 | if let Some(selected_user) = pawn.selected_user { // If a user has already selected this pawn [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lobby.rs:516:17 [INFO] [stdout] | [INFO] [stdout] 516 | }/* else { // If a user hasn't selected this pawn [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 507 ~ match pawn.selected_user { Some(selected_user) => { // If a user has already selected this pawn [INFO] [stdout] 508 | if selected_user != user_id { [INFO] [stdout] ... [INFO] [stdout] 515 | } [INFO] [stdout] 516 ~ } _ => {}}/* else { // If a user hasn't selected this pawn [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lobby.rs:538:24 [INFO] [stdout] | [INFO] [stdout] 538 | if let Err(e) = self.lua_scope(|lua, _scope, _| { [INFO] [stdout] | ________________________^ - [INFO] [stdout] | |_____________________________________| [INFO] [stdout] 539 | || if let Some(callback) = pawn.on_grab_callback.as_ref() { [INFO] [stdout] 540 | || lua.registry_value::(callback)?.call::<_, ()>(user_id.unwrap_or_default().0) [INFO] [stdout] 541 | || } else { Ok(()) } [INFO] [stdout] 542 | || }) { [INFO] [stdout] | ||______________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |______________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lobby.rs:544:21 [INFO] [stdout] | [INFO] [stdout] 544 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 538 ~ match self.lua_scope(|lua, _scope, _| { [INFO] [stdout] 539 | if let Some(callback) = pawn.on_grab_callback.as_ref() { [INFO] [stdout] 540 | lua.registry_value::(callback)?.call::<_, ()>(user_id.unwrap_or_default().0) [INFO] [stdout] 541 | } else { Ok(()) } [INFO] [stdout] 542 ~ }) { Err(e) => { [INFO] [stdout] 543 | self.system_chat(Cow::Owned(format!("Lua error in on_grab: `{}`", e)))?; [INFO] [stdout] 544 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lobby.rs:539:28 [INFO] [stdout] | [INFO] [stdout] 539 | if let Some(callback) = pawn.on_grab_callback.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lobby.rs:541:25 [INFO] [stdout] | [INFO] [stdout] 541 | } else { Ok(()) } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 539 ~ match pawn.on_grab_callback.as_ref() { Some(callback) => { [INFO] [stdout] 540 | lua.registry_value::(callback)?.call::<_, ()>(user_id.unwrap_or_default().0) [INFO] [stdout] 541 ~ } _ => { Ok(()) }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lobby.rs:546:24 [INFO] [stdout] | [INFO] [stdout] 546 | if let Err(e) = self.lua_scope(|lua, _scope, _| { [INFO] [stdout] | ________________________^ - [INFO] [stdout] | |_____________________________________| [INFO] [stdout] 547 | || if let Some(callback) = pawn.on_release_callback.as_ref() { [INFO] [stdout] 548 | || lua.registry_value::(callback)?.call::<_, ()>(user_id.unwrap_or_default().0) [INFO] [stdout] 549 | || } else { Ok(()) } [INFO] [stdout] 550 | || }) { [INFO] [stdout] | ||______________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |______________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lobby.rs:552:21 [INFO] [stdout] | [INFO] [stdout] 552 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 546 ~ match self.lua_scope(|lua, _scope, _| { [INFO] [stdout] 547 | if let Some(callback) = pawn.on_release_callback.as_ref() { [INFO] [stdout] 548 | lua.registry_value::(callback)?.call::<_, ()>(user_id.unwrap_or_default().0) [INFO] [stdout] 549 | } else { Ok(()) } [INFO] [stdout] 550 ~ }) { Err(e) => { [INFO] [stdout] 551 | self.system_chat(Cow::Owned(format!("Lua error in on_release: `{}`", e)))?; [INFO] [stdout] 552 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.67s [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lobby.rs:547:28 [INFO] [stdout] | [INFO] [stdout] 547 | if let Some(callback) = pawn.on_release_callback.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lobby.rs:549:25 [INFO] [stdout] | [INFO] [stdout] 549 | } else { Ok(()) } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 547 ~ match pawn.on_release_callback.as_ref() { Some(callback) => { [INFO] [stdout] 548 | lua.registry_value::(callback)?.call::<_, ()>(user_id.unwrap_or_default().0) [INFO] [stdout] 549 ~ } _ => { Ok(()) }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lobby.rs:877:16 [INFO] [stdout] | [INFO] [stdout] 877 | if let Err(e) = self.lua_scope(|lua, scope, _| { [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_____________________________| [INFO] [stdout] 878 | || lua.globals().set("require", scope.create_function(|lua, path: String| { [INFO] [stdout] 879 | || let chunk = if let Some(asset) = processed_assets.get(&format!("/{}.lua", path)) { [INFO] [stdout] 880 | || Some(String::from_utf8(asset.data.clone()).unwrap()) [INFO] [stdout] ... || [INFO] [stdout] 896 | || Ok(()) [INFO] [stdout] 897 | || }) { [INFO] [stdout] | ||______________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |______________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lobby.rs:899:13 [INFO] [stdout] | [INFO] [stdout] 899 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 877 ~ match self.lua_scope(|lua, scope, _| { [INFO] [stdout] 878 | lua.globals().set("require", scope.create_function(|lua, path: String| { [INFO] [stdout] ... [INFO] [stdout] 896 | Ok(()) [INFO] [stdout] 897 ~ }) { Err(e) => { [INFO] [stdout] 898 | self.system_chat(Cow::Owned(format!("Lua error: `{}`", e)))?; [INFO] [stdout] 899 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lobby.rs:885:24 [INFO] [stdout] | [INFO] [stdout] 885 | if let Some(chunk) = chunk { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lobby.rs:887:21 [INFO] [stdout] | [INFO] [stdout] 887 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 885 ~ match chunk { Some(chunk) => { [INFO] [stdout] 886 | Ok(chunk.eval()?) [INFO] [stdout] 887 ~ } _ => { [INFO] [stdout] 888 | Ok(mlua::Value::Nil) [INFO] [stdout] 889 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator)>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/physics.rs:139:41 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn get_collisions(&mut self) -> impl Iterator)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/physics.rs:139:27 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn get_collisions(&mut self) -> impl Iterator)> { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 139 | pub fn get_collisions(&mut self) -> impl Iterator)> + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/physics.rs:141:15 [INFO] [stdout] | [INFO] [stdout] 141 | while let Ok(event) = self.event_receiver.try_recv() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/physics.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking BG3D v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: unused import: `Gltf` [INFO] [stdout] --> src/lobby.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | use gltf::{Document, Gltf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Gltf` [INFO] [stdout] --> src/gltf_ext.rs:1:55 [INFO] [stdout] | [INFO] [stdout] 1 | use gltf::{buffer::Data, mesh::BoundingBox, Document, Gltf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Gltf` [INFO] [stdout] --> src/lobby.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | use gltf::{Document, Gltf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Gltf` [INFO] [stdout] --> src/gltf_ext.rs:1:55 [INFO] [stdout] | [INFO] [stdout] 1 | use gltf::{buffer::Data, mesh::BoundingBox, Document, Gltf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromLuaMulti<'_>` is not satisfied [INFO] [stdout] --> src/lobby.rs:183:32 [INFO] [stdout] | [INFO] [stdout] 183 | if let Some(res) = Self::run_lua_callback(lua, "physics", ()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromLua<'_>` is not implemented for `!`, which is required by `!: FromLuaMulti<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromLua<'lua>`: [INFO] [stdout] AnyUserData<'lua> [INFO] [stdout] BTreeMap [INFO] [stdout] BTreeSet [INFO] [stdout] Box<[T]> [INFO] [stdout] Box [INFO] [stdout] CString [INFO] [stdout] HashMap [INFO] [stdout] HashSet [INFO] [stdout] and 36 others [INFO] [stdout] = note: required for `!` to implement `FromLuaMulti<'_>` [INFO] [stdout] note: required by a bound in `lobby::Lobby::run_lua_callback` [INFO] [stdout] --> src/lobby.rs:218:67 [INFO] [stdout] | [INFO] [stdout] 218 | ...mlua::IntoLuaMulti<'lua>, R: mlua::FromLuaMulti<'lua>>(lua: &'lua Lua, callback_name: &str, args: A) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Lobby::run_lua_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromLuaMulti<'_>` is not satisfied [INFO] [stdout] --> src/lobby.rs:183:32 [INFO] [stdout] | [INFO] [stdout] 183 | if let Some(res) = Self::run_lua_callback(lua, "physics", ()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromLua<'_>` is not implemented for `!`, which is required by `!: FromLuaMulti<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromLua<'lua>`: [INFO] [stdout] AnyUserData<'lua> [INFO] [stdout] BTreeMap [INFO] [stdout] BTreeSet [INFO] [stdout] Box<[T]> [INFO] [stdout] Box [INFO] [stdout] CString [INFO] [stdout] HashMap [INFO] [stdout] HashSet [INFO] [stdout] and 36 others [INFO] [stdout] = note: required for `!` to implement `FromLuaMulti<'_>` [INFO] [stdout] note: required by a bound in `lobby::Lobby::run_lua_callback` [INFO] [stdout] --> src/lobby.rs:218:67 [INFO] [stdout] | [INFO] [stdout] 218 | ...mlua::IntoLuaMulti<'lua>, R: mlua::FromLuaMulti<'lua>>(lua: &'lua Lua, callback_name: &str, args: A) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Lobby::run_lua_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromLuaMulti<'_>` is not satisfied [INFO] [stdout] --> src/lobby.rs:384:32 [INFO] [stdout] | [INFO] [stdout] 384 | if let Some(res) = Self::run_lua_callback(lua, "chat", (user_id.0, content.into_owned())) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromLua<'_>` is not implemented for `!`, which is required by `!: FromLuaMulti<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromLua<'lua>`: [INFO] [stdout] AnyUserData<'lua> [INFO] [stdout] BTreeMap [INFO] [stdout] BTreeSet [INFO] [stdout] Box<[T]> [INFO] [stdout] Box [INFO] [stdout] CString [INFO] [stdout] HashMap [INFO] [stdout] HashSet [INFO] [stdout] and 36 others [INFO] [stdout] = note: required for `!` to implement `FromLuaMulti<'_>` [INFO] [stdout] note: required by a bound in `lobby::Lobby::run_lua_callback` [INFO] [stdout] --> src/lobby.rs:218:67 [INFO] [stdout] | [INFO] [stdout] 218 | ...mlua::IntoLuaMulti<'lua>, R: mlua::FromLuaMulti<'lua>>(lua: &'lua Lua, callback_name: &str, args: A) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Lobby::run_lua_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromLuaMulti<'_>` is not satisfied [INFO] [stdout] --> src/lobby.rs:384:32 [INFO] [stdout] | [INFO] [stdout] 384 | if let Some(res) = Self::run_lua_callback(lua, "chat", (user_id.0, content.into_owned())) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromLua<'_>` is not implemented for `!`, which is required by `!: FromLuaMulti<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromLua<'lua>`: [INFO] [stdout] AnyUserData<'lua> [INFO] [stdout] BTreeMap [INFO] [stdout] BTreeSet [INFO] [stdout] Box<[T]> [INFO] [stdout] Box [INFO] [stdout] CString [INFO] [stdout] HashMap [INFO] [stdout] HashSet [INFO] [stdout] and 36 others [INFO] [stdout] = note: required for `!` to implement `FromLuaMulti<'_>` [INFO] [stdout] note: required by a bound in `lobby::Lobby::run_lua_callback` [INFO] [stdout] --> src/lobby.rs:218:67 [INFO] [stdout] | [INFO] [stdout] 218 | ...mlua::IntoLuaMulti<'lua>, R: mlua::FromLuaMulti<'lua>>(lua: &'lua Lua, callback_name: &str, args: A) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Lobby::run_lua_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromLuaMulti<'_>` is not satisfied [INFO] [stdout] --> src/lobby.rs:893:36 [INFO] [stdout] | [INFO] [stdout] 893 | if let Some(res) = Self::run_lua_callback(lua, "start", ()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromLua<'_>` is not implemented for `!`, which is required by `!: FromLuaMulti<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromLua<'lua>`: [INFO] [stdout] AnyUserData<'lua> [INFO] [stdout] BTreeMap [INFO] [stdout] BTreeSet [INFO] [stdout] Box<[T]> [INFO] [stdout] Box [INFO] [stdout] CString [INFO] [stdout] HashMap [INFO] [stdout] HashSet [INFO] [stdout] and 36 others [INFO] [stdout] = note: required for `!` to implement `FromLuaMulti<'_>` [INFO] [stdout] note: required by a bound in `lobby::Lobby::run_lua_callback` [INFO] [stdout] --> src/lobby.rs:218:67 [INFO] [stdout] | [INFO] [stdout] 218 | ...mlua::IntoLuaMulti<'lua>, R: mlua::FromLuaMulti<'lua>>(lua: &'lua Lua, callback_name: &str, args: A) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Lobby::run_lua_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromLuaMulti<'_>` is not satisfied [INFO] [stdout] --> src/lobby.rs:893:36 [INFO] [stdout] | [INFO] [stdout] 893 | if let Some(res) = Self::run_lua_callback(lua, "start", ()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromLua<'_>` is not implemented for `!`, which is required by `!: FromLuaMulti<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromLua<'lua>`: [INFO] [stdout] AnyUserData<'lua> [INFO] [stdout] BTreeMap [INFO] [stdout] BTreeSet [INFO] [stdout] Box<[T]> [INFO] [stdout] Box [INFO] [stdout] CString [INFO] [stdout] HashMap [INFO] [stdout] HashSet [INFO] [stdout] and 36 others [INFO] [stdout] = note: required for `!` to implement `FromLuaMulti<'_>` [INFO] [stdout] note: required by a bound in `lobby::Lobby::run_lua_callback` [INFO] [stdout] --> src/lobby.rs:218:67 [INFO] [stdout] | [INFO] [stdout] 218 | ...mlua::IntoLuaMulti<'lua>, R: mlua::FromLuaMulti<'lua>>(lua: &'lua Lua, callback_name: &str, args: A) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Lobby::run_lua_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lua` [INFO] [stdout] --> src/lobby.rs:316:34 [INFO] [stdout] | [INFO] [stdout] 316 | method!(get_pawn: |this, lua, id: u64| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `lua` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lobby.rs:240:60 [INFO] [stdout] | [INFO] [stdout] 240 | methods.add_method_mut(stringify!($name), |$lua, $this: &mut Self, ($($argname),+): ($($argtype),+)| { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 316 | / method!(get_pawn: |this, lua, id: u64| { [INFO] [stdout] 317 | | Ok(this.pawns.get(&PawnId(id)).cloned()) [INFO] [stdout] 318 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lua` [INFO] [stdout] --> src/lobby.rs:316:34 [INFO] [stdout] | [INFO] [stdout] 316 | method!(get_pawn: |this, lua, id: u64| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `lua` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lobby.rs:240:60 [INFO] [stdout] | [INFO] [stdout] 240 | methods.add_method_mut(stringify!($name), |$lua, $this: &mut Self, ($($argname),+): ($($argtype),+)| { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 316 | / method!(get_pawn: |this, lua, id: u64| { [INFO] [stdout] 317 | | Ok(this.pawns.get(&PawnId(id)).cloned()) [INFO] [stdout] 318 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `BG3D` (bin "BG3D" test) due to 4 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `BG3D` (bin "BG3D") due to 4 previous errors; 3 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "7de8aa9cb676a9d67ea3386a82eac7a50ba38c2766268f366486888793208e8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7de8aa9cb676a9d67ea3386a82eac7a50ba38c2766268f366486888793208e8a", kill_on_drop: false }` [INFO] [stdout] 7de8aa9cb676a9d67ea3386a82eac7a50ba38c2766268f366486888793208e8a