[INFO] fetching crate bevy_defer 0.12.1... [INFO] checking bevy_defer-0.12.1 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate bevy_defer 0.12.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate bevy_defer 0.12.1 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] started tweaking crates.io crate bevy_defer 0.12.1 [INFO] finished tweaking crates.io crate bevy_defer 0.12.1 [INFO] tweaked toml for crates.io crate bevy_defer 0.12.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate bevy_defer 0.12.1 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 7d025ffc78945d34e0148de6dac12f4fcb9694d240c2ec5b94abb4e742988ed6 [INFO] running `Command { std: "docker" "start" "-a" "7d025ffc78945d34e0148de6dac12f4fcb9694d240c2ec5b94abb4e742988ed6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d025ffc78945d34e0148de6dac12f4fcb9694d240c2ec5b94abb4e742988ed6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d025ffc78945d34e0148de6dac12f4fcb9694d240c2ec5b94abb4e742988ed6", kill_on_drop: false }` [INFO] [stdout] 7d025ffc78945d34e0148de6dac12f4fcb9694d240c2ec5b94abb4e742988ed6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] e9e88d3850d3a1300bbd346b7fe4270c773008648380ede991aa756c30c09fd5 [INFO] running `Command { std: "docker" "start" "-a" "e9e88d3850d3a1300bbd346b7fe4270c773008648380ede991aa756c30c09fd5", 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] Fixed Cargo.toml (4 fixes) [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling winnow v0.6.13 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking smol_str v0.2.1 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Checking async-task v4.7.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking bevy_ptr v0.14.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking libloading v0.8.3 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking raw-window-handle v0.6.0 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Checking piper v0.2.1 [INFO] [stderr] Compiling indexmap v2.2.5 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking ash v0.37.3+1.3.251 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling uuid v1.7.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Checking event-listener v4.0.3 [INFO] [stderr] Compiling document-features v0.2.8 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Checking async-channel v2.2.0 [INFO] [stderr] Checking async-executor v1.11.0 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking async-lock v3.3.0 [INFO] [stderr] Checking khronos-egl v6.0.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking const_panic v0.2.8 [INFO] [stderr] Checking sysinfo v0.30.7 [INFO] [stderr] Checking bevy_tasks v0.14.0 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking ruzstd v0.7.0 [INFO] [stderr] Checking radsort v0.1.0 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling blake3 v1.5.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking euclid v0.22.9 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking svg_fmt v0.4.2 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling winit v0.30.3 [INFO] [stderr] Checking alsa-sys v0.3.1 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking x11rb-protocol v0.13.0 [INFO] [stderr] Checking xkeysym v0.2.0 [INFO] [stderr] Compiling toml_edit v0.22.12 [INFO] [stderr] Checking inotify v0.10.2 [INFO] [stderr] Checking guillotiere v0.6.2 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking libudev-sys v0.1.4 [INFO] [stderr] Compiling gilrs v0.10.6 [INFO] [stderr] Checking lewton v0.10.2 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling ref-cast v1.0.22 [INFO] [stderr] Checking futures-micro v0.5.0 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking dyn-hash v0.2.0 [INFO] [stderr] Checking async-oneshot v0.5.9 [INFO] [stderr] Checking async_shared v0.1.0 [INFO] [stderr] Checking scoped-tls-hkt v0.1.4 [INFO] [stderr] Checking taffy v0.5.1 [INFO] [stderr] Checking ty_map_gen v0.1.6 [INFO] [stderr] Checking owned_ttf_parser v0.20.0 [INFO] [stderr] Checking ab_glyph v0.2.23 [INFO] [stderr] Checking glyph_brush_layout v0.2.3 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Compiling bevy_macro_utils v0.14.0 [INFO] [stderr] Compiling encase_derive_impl v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling bytemuck_derive v1.6.0 [INFO] [stderr] Compiling bevy_utils_proc_macros v0.14.0 [INFO] [stderr] Compiling bevy_reflect_derive v0.14.0 [INFO] [stderr] Compiling bevy_ecs_macros v0.14.0 [INFO] [stderr] Compiling bevy_derive v0.14.0 [INFO] [stderr] Compiling encase_derive v0.8.0 [INFO] [stderr] Compiling bevy_asset_macros v0.14.0 [INFO] [stderr] Compiling bevy_render_macros v0.14.0 [INFO] [stderr] Compiling bevy_encase_derive v0.14.0 [INFO] [stderr] Compiling gltf-derive v1.4.0 [INFO] [stderr] Compiling bevy_state_macros v0.14.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling bevy_gizmos_macros v0.14.0 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.22 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Compiling bevy_defer_derive v0.1.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking image v0.25.1 [INFO] [stderr] Checking blocking v1.5.1 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking async-fs v2.1.1 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking glam v0.27.0 [INFO] [stderr] Checking erased-serde v0.4.4 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking wgpu-types v0.20.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking alsa v0.9.0 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking gilrs-core v0.5.11 [INFO] [stderr] Checking bevy_utils v0.14.0 [INFO] [stderr] Checking gpu-descriptor v0.3.0 [INFO] [stderr] Checking cpal v0.15.3 [INFO] [stderr] Checking gltf-json v1.4.0 [INFO] [stderr] Checking rodio v0.18.1 [INFO] [stderr] Checking petgraph v0.6.4 [INFO] [stderr] Checking naga v0.20.0 [INFO] [stderr] Checking gltf v1.4.0 [INFO] [stderr] Checking bevy_reflect v0.14.0 [INFO] [stderr] Checking encase v0.8.0 [INFO] [stderr] Checking hexasphere v12.0.0 [INFO] [stderr] Checking bevy_mikktspace v0.14.0 [INFO] [stderr] Checking polling v3.5.0 [INFO] [stderr] Checking x11rb v0.13.0 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking bevy_ecs v0.14.0 [INFO] [stderr] Checking bevy_math v0.14.0 [INFO] [stderr] Checking accesskit_winit v0.20.4 [INFO] [stderr] Checking wgpu-hal v0.21.1 [INFO] [stderr] Checking naga_oil v0.14.0 [INFO] [stderr] Checking bevy_color v0.14.1 [INFO] [stderr] Checking wgpu-core v0.21.1 [INFO] [stderr] Checking bevy_app v0.14.0 [INFO] [stderr] Checking bevy_core v0.14.0 [INFO] [stderr] Checking bevy_a11y v0.14.0 [INFO] [stderr] Checking bevy_time v0.14.0 [INFO] [stderr] Checking bevy_asset v0.14.0 [INFO] [stderr] Checking bevy_input v0.14.0 [INFO] [stderr] Checking bevy_log v0.14.0 [INFO] [stderr] Checking bevy_window v0.14.0 [INFO] [stderr] Checking bevy_hierarchy v0.14.0 [INFO] [stderr] Checking bevy_diagnostic v0.14.0 [INFO] [stderr] Checking bevy_transform v0.14.0 [INFO] [stderr] Checking bevy_state v0.14.0 [INFO] [stderr] Checking wgpu v0.20.1 [INFO] [stderr] Checking bevy_gilrs v0.14.0 [INFO] [stderr] Checking bevy_winit v0.14.0 [INFO] [stderr] Checking bevy_render v0.14.0 [INFO] [stderr] Checking bevy_audio v0.14.0 [INFO] [stderr] Checking bevy_core_pipeline v0.14.0 [INFO] [stderr] Checking bevy_scene v0.14.0 [INFO] [stderr] Checking bevy_animation v0.14.0 [INFO] [stderr] Checking bevy_sprite v0.14.0 [INFO] [stderr] Checking bevy_pbr v0.14.0 [INFO] [stderr] Checking bevy_text v0.14.0 [INFO] [stderr] Checking bevy_ui v0.14.0 [INFO] [stderr] Checking bevy_defer v0.12.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Checking bevy_gizmos v0.14.0 [INFO] [stderr] Checking bevy_gltf v0.14.0 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `bevy_defer` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/async_systems.rs:114:50 [INFO] [stdout] | [INFO] [stdout] 114 | (|$($field: ident : $ty: ty),* $(,)?| $body: 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] 114 | (|$($field: ident : $ty: ty),* $(,)?| $body: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/errors.rs:185:30 [INFO] [stdout] | [INFO] [stdout] 185 | ($str: literal $(,$expr: 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] 185 | ($str: literal $(,$expr: expr_2021)* $(,)?) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/errors.rs:193:16 [INFO] [stdout] | [INFO] [stdout] 193 | ($variant: expr, $str: literal $(,)?) => { [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] 193 | ($variant: expr_2021, $str: literal $(,)?) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/errors.rs:205:16 [INFO] [stdout] | [INFO] [stdout] 205 | ($variant: expr, $str: literal $(,$expr: 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] 205 | ($variant: expr_2021, $str: literal $(,$expr: expr)* $(,)?) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] * src/async_systems.rs [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/errors.rs:205:46 [INFO] [stdout] | [INFO] [stdout] 205 | ($variant: expr, $str: literal $(,$expr: 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] 205 | ($variant: expr, $str: literal $(,$expr: expr_2021)* $(,)?) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] * src/errors.rs [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/errors.rs:219:16 [INFO] [stdout] | [INFO] [stdout] 219 | ($variant: expr, $expr: 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] 219 | ($variant: expr_2021, $expr: expr $(,)?) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] * src/lib.rs [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/errors.rs:219:29 [INFO] [stdout] | [INFO] [stdout] 219 | ($variant: expr, $expr: 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] 219 | ($variant: expr, $expr: expr_2021 $(,)?) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:364:13 [INFO] [stdout] | [INFO] [stdout] 364 | ($expr: 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] 364 | ($expr: expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/access/traits.rs:201:16 [INFO] [stdout] | [INFO] [stdout] 201 | if let Some(f) = f.take() { [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/access/traits.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | } else { [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] 201 ~ match f.take() { Some(f) => { [INFO] [stdout] 202 | Ok(f(item)) [INFO] [stdout] 203 ~ } _ => { [INFO] [stdout] 204 | Err(AccessError::ShouldNotHappen) [INFO] [stdout] 205 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/access/async_event.rs:96:16 [INFO] [stdout] | [INFO] [stdout] 96 | if let Some(event) = 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/access/async_event.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | } 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] 96 ~ match value { Some(event) => { [INFO] [stdout] 97 | this.index += 1; [INFO] [stdout] 98 | return Poll::Ready(Some(event)); [INFO] [stdout] 99 ~ } _ => { [INFO] [stdout] 100| drop(lock); [INFO] [stdout] ... [INFO] [stdout] 104| } [INFO] [stdout] 105~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [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/async_systems.rs:114:43 [INFO] [stderr] | [INFO] [stderr] 114 | (|$($field: ident : $ty: ty),* $(,)?| $body: 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/errors.rs:185:23 [INFO] [stderr] | [INFO] [stderr] 185 | ($str: literal $(,$expr: 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/errors.rs:193:6 [INFO] [stderr] | [INFO] [stderr] 193 | ($variant: expr_2021, $str: literal $(,)?) => { [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/errors.rs:205:6 [INFO] [stderr] | [INFO] [stderr] 205 | ($variant: expr_2021, $str: literal $(,$expr: 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/errors.rs:205:44 [INFO] [stderr] | [INFO] [stderr] 205 | ($variant: expr_2021, $str: literal $(,$expr: 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/errors.rs:219:6 [INFO] [stderr] | [INFO] [stderr] 219 | ($variant: expr_2021, $expr: 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/errors.rs:219:27 [INFO] [stderr] | [INFO] [stderr] 219 | ($variant: expr_2021, $expr: 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/lib.rs:364:6 [INFO] [stderr] | [INFO] [stderr] 364 | ($expr: 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: aborting due to 8 previous errors [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: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/async_systems.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | if let Some(waker) = self.0.lock().unwrap().take() { [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/async_systems.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 152 ~ match self.0.lock().unwrap().take() { Some(waker) => { [INFO] [stdout] 153 | waker.wake() [INFO] [stdout] 154 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | if let Some(id) = res [INFO] [stdout] | _________________^ - [INFO] [stdout] | | _______________________________| [INFO] [stdout] 244 | || .0 [INFO] [stdout] | ||__________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 245 | | .get(&type_id) [INFO] [stdout] 246 | | .and_then(|x| x.downcast_ref::>()) [INFO] [stdout] 247 | | .copied() [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/commands.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | } 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] 243 ~ match res [INFO] [stdout] 244 | .0 [INFO] [stdout] ... [INFO] [stdout] 247 | .copied() [INFO] [stdout] 248 ~ { Some(id) => { [INFO] [stdout] 249 | world [INFO] [stdout] 250 | .run_system_with_input(id, input) [INFO] [stdout] 251 | .map_err(|_| AccessError::SystemIdNotFound) [INFO] [stdout] 252 ~ } _ => { [INFO] [stdout] 253 | let id = world.register_system(system); [INFO] [stdout] ... [INFO] [stdout] 260 | .map_err(|_| AccessError::SystemIdNotFound) [INFO] [stdout] 261 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/commands.rs:413:32 [INFO] [stdout] | [INFO] [stdout] 413 | pub fn yield_now(&self) -> impl Future + 'static { [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/commands.rs:413:22 [INFO] [stdout] | [INFO] [stdout] 413 | pub fn yield_now(&self) -> impl Future + 'static { [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] 413 | pub fn yield_now(&self) -> impl Future + 'static + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/commands.rs:501:10 [INFO] [stdout] | [INFO] [stdout] 501 | ) -> impl Future { [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/commands.rs:499:9 [INFO] [stdout] | [INFO] [stdout] 499 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands.rs:539:20 [INFO] [stdout] | [INFO] [stdout] 539 | if let Err(e) = r { [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/commands.rs:541:17 [INFO] [stdout] | [INFO] [stdout] 541 | } [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 r { Err(e) => { [INFO] [stdout] 540 | error!("{e}"); [INFO] [stdout] 541 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/errors.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | if let Some(error) = (&error as &dyn Any).downcast_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] 88 | } else if let Some(e) = error.source().and_then(|e| e.downcast_ref::()) { [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/errors.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | } else if let Some(e) = error.source().and_then(|e| e.downcast_ref::()) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/errors.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] 83 ~ match (&error as &dyn Any).downcast_ref::() { Some(error) => { [INFO] [stdout] 84 | CustomError { [INFO] [stdout] ... [INFO] [stdout] 87 | } [INFO] [stdout] 88 ~ } _ => { match error.source().and_then(|e| e.downcast_ref::()) { Some(e) => { [INFO] [stdout] 89 | let e = *e; [INFO] [stdout] ... [INFO] [stdout] 93 | } [INFO] [stdout] 94 ~ } _ => { [INFO] [stdout] 95 | CustomError { [INFO] [stdout] ... [INFO] [stdout] 98 | } [INFO] [stdout] 99 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/executor.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | if let Err(e) = future.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/executor.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 104 ~ match future.await { Err(e) => { [INFO] [stdout] 105 | error!("{e}") [INFO] [stdout] 106 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/executor.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | if let Some(assets) = assets { [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/executor.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | } 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] 129 ~ match assets { Some(assets) => { [INFO] [stdout] 130 | ASSET_SERVER.set(&assets, f) [INFO] [stdout] 131 ~ } _ => { [INFO] [stdout] 132 | f() [INFO] [stdout] 133 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/ext/anim.rs:95:63 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn wait(&self, event: AnimationEvent) -> AccessResult + 'static> { [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/ext/anim.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn wait(&self, event: AnimationEvent) -> AccessResult + 'static> { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 95 | pub fn wait(&self, event: AnimationEvent) -> AccessResult + 'static + use<>> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ext/anim.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 117 | if let Ok((mut player, mut transitions)) = query.get_mut(self.0.entity()) { [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/ext/anim.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 117 ~ match query.get_mut(self.0.entity()) { Ok((mut player, mut transitions)) => { [INFO] [stdout] 118 | transitions.play(&mut player, animation, transition.as_duration()); [INFO] [stdout] 119 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/ext/anim.rs:174:58 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn react_to(&mut self, event: AnimationEvent) -> impl Future + 'static { [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/ext/anim.rs:174:21 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn react_to(&mut self, event: AnimationEvent) -> impl Future + 'static { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 174 | pub fn react_to(&mut self, event: AnimationEvent) -> impl Future + 'static + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ext/anim.rs:224:28 [INFO] [stdout] | [INFO] [stdout] 224 | if let Some(prev) = prev.0.animation(*animation) { [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/ext/anim.rs:230:25 [INFO] [stdout] | [INFO] [stdout] 230 | } 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] 224 ~ match prev.0.animation(*animation) { Some(prev) => { [INFO] [stdout] 225 | if let Some(curr) = player.animation(*animation) { [INFO] [stdout] ... [INFO] [stdout] 229 | } [INFO] [stdout] 230 ~ } _ => { [INFO] [stdout] 231 | false [INFO] [stdout] 232 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ext/anim.rs:235:28 [INFO] [stdout] | [INFO] [stdout] 235 | if let Some(prev) = prev.0.animation(*animation) { [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/ext/anim.rs:241:25 [INFO] [stdout] | [INFO] [stdout] 241 | } 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] 235 ~ match prev.0.animation(*animation) { Some(prev) => { [INFO] [stdout] 236 | if let Some(curr) = player.animation(*animation) { [INFO] [stdout] ... [INFO] [stdout] 240 | } [INFO] [stdout] 241 ~ } _ => { [INFO] [stdout] 242 | false [INFO] [stdout] 243 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/queue.rs:152:20 [INFO] [stdout] | [INFO] [stdout] 152 | if let Some(item) = f(world, dt) { [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/queue.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | } 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] 152 ~ match f(world, dt) { Some(item) => { [INFO] [stdout] 153 | sender.send(item); [INFO] [stdout] 154 | true [INFO] [stdout] 155 ~ } _ => { [INFO] [stdout] 156 | false [INFO] [stdout] 157 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/reactors.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | if let Some(data) = lock.get::() { [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/reactors.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | } 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] 74 ~ match lock.get::() { Some(data) => { [INFO] [stdout] 75 | WriteValue(data.clone_uninit()) [INFO] [stdout] 76 ~ } _ => { [INFO] [stdout] 77 | let signal = Value::::default(); [INFO] [stdout] 78 | lock.insert::(signal.clone_raw()); [INFO] [stdout] 79 | WriteValue(signal) [INFO] [stdout] 80 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/reactors.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | if let Some(data) = lock.get::(name) { [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/reactors.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | } 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] 86 ~ match lock.get::(name) { Some(data) => { [INFO] [stdout] 87 | WriteValue(data.clone_uninit()) [INFO] [stdout] 88 ~ } _ => { [INFO] [stdout] 89 | let signal = Value::::default(); [INFO] [stdout] 90 | lock.insert::(name.to_owned(), signal.clone_raw()); [INFO] [stdout] 91 | WriteValue(signal) [INFO] [stdout] 92 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/reactors.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | if let Some(data) = lock.get::() { [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/reactors.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | } 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] 98 ~ match lock.get::() { Some(data) => { [INFO] [stdout] 99 | data.clone() [INFO] [stdout] 100 ~ } _ => { [INFO] [stdout] 101 | let signal = >>::default(); [INFO] [stdout] 102 | lock.insert::(signal.clone()); [INFO] [stdout] 103 | signal [INFO] [stdout] 104 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/signals/signal_component.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | if let Some(sig) = self.senders.get::() { [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/signals/signal_component.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | } 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] 71 ~ match self.senders.get::() { Some(sig) => { [INFO] [stdout] 72 | let _ = sig.write(item); [INFO] [stdout] 73 | true [INFO] [stdout] 74 ~ } _ => { [INFO] [stdout] 75 | false [INFO] [stdout] 76 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/signals/signal_component.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | if let Some(sig) = self.senders.get::() { [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/signals/signal_component.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | } 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] 86 ~ match self.senders.get::() { Some(sig) => { [INFO] [stdout] 87 | let _ = sig.write_if_changed(item); [INFO] [stdout] 88 | true [INFO] [stdout] 89 ~ } _ => { [INFO] [stdout] 90 | false [INFO] [stdout] 91 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/signals/signal_component.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | if let Some(sig) = self.senders.get::() { [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/signals/signal_component.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | } 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] 98 ~ match self.senders.get::() { Some(sig) => { [INFO] [stdout] 99 | let _ = sig.write_and_tick(item); [INFO] [stdout] 100 | true [INFO] [stdout] 101 ~ } _ => { [INFO] [stdout] 102 | false [INFO] [stdout] 103 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sync/oneshot.rs:109:16 [INFO] [stdout] | [INFO] [stdout] 109 | if let Some(value) = self.data.take() { [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/sync/oneshot.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | } 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] 109 ~ match self.data.take() { Some(value) => { [INFO] [stdout] 110 | Poll::Ready(Ok(value)) [INFO] [stdout] 111 ~ } _ => { [INFO] [stdout] 112 | Poll::Ready(Err(Canceled)) [INFO] [stdout] 113 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sync/oneshot.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | if let Some(waker) = self.0.cancel_waker.take() { [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/sync/oneshot.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 158 ~ match self.0.cancel_waker.take() { Some(waker) => { [INFO] [stdout] 159 | waker.wake() [INFO] [stdout] 160 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sync/oneshot.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 177 | if let Some(waker) = self.0.recv_waker.take() { [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/sync/oneshot.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 177 ~ match self.0.recv_waker.take() { Some(waker) => { [INFO] [stdout] 178 | waker.wake() [INFO] [stdout] 179 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking bevy_internal v0.14.0 [INFO] [stderr] Checking bevy v0.14.0 [INFO] [stderr] Migrating examples/tween.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `bevy_defer` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/async_systems.rs [INFO] [stderr] * src/errors.rs [INFO] [stderr] * src/lib.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/async_systems.rs:114:43 [INFO] [stderr] | [INFO] [stderr] 114 | (|$($field: ident : $ty: ty),* $(,)?| $body: 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/errors.rs:185:23 [INFO] [stderr] | [INFO] [stderr] 185 | ($str: literal $(,$expr: 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/errors.rs:193:6 [INFO] [stderr] | [INFO] [stderr] 193 | ($variant: expr_2021, $str: literal $(,)?) => { [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/errors.rs:205:6 [INFO] [stderr] | [INFO] [stderr] 205 | ($variant: expr_2021, $str: literal $(,$expr: 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/errors.rs:205:44 [INFO] [stderr] | [INFO] [stderr] 205 | ($variant: expr_2021, $str: literal $(,$expr: 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/errors.rs:219:6 [INFO] [stderr] | [INFO] [stderr] 219 | ($variant: expr_2021, $expr: 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/errors.rs:219:27 [INFO] [stderr] | [INFO] [stderr] 219 | ($variant: expr_2021, $expr: 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/lib.rs:364:6 [INFO] [stderr] | [INFO] [stderr] 364 | ($expr: 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: aborting due to 8 previous errors [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: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/async_systems.rs:114:50 [INFO] [stdout] | [INFO] [stdout] 114 | (|$($field: ident : $ty: ty),* $(,)?| $body: 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] 114 | (|$($field: ident : $ty: ty),* $(,)?| $body: 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/errors.rs:185:30 [INFO] [stdout] | [INFO] [stdout] 185 | ($str: literal $(,$expr: 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] 185 | ($str: literal $(,$expr: 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/errors.rs:193:16 [INFO] [stdout] | [INFO] [stdout] 193 | ($variant: expr, $str: literal $(,)?) => { [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] 193 | ($variant: expr_2021, $str: literal $(,)?) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/errors.rs:205:16 [INFO] [stdout] | [INFO] [stdout] 205 | ($variant: expr, $str: literal $(,$expr: 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] 205 | ($variant: expr_2021, $str: literal $(,$expr: expr)* $(,)?) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/errors.rs:205:46 [INFO] [stdout] | [INFO] [stdout] 205 | ($variant: expr, $str: literal $(,$expr: 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] 205 | ($variant: expr, $str: literal $(,$expr: 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/errors.rs:219:16 [INFO] [stdout] | [INFO] [stdout] 219 | ($variant: expr, $expr: 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] 219 | ($variant: expr_2021, $expr: expr $(,)?) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/errors.rs:219:29 [INFO] [stdout] | [INFO] [stdout] 219 | ($variant: expr, $expr: 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] 219 | ($variant: expr, $expr: 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/lib.rs:364:13 [INFO] [stdout] | [INFO] [stdout] 364 | ($expr: 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] 364 | ($expr: expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `custom` is never used [INFO] [stdout] --> src/errors.rs:268:8 [INFO] [stdout] | [INFO] [stdout] 268 | fn custom() -> Result<(), CustomError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/errors.rs:274:8 [INFO] [stdout] | [INFO] [stdout] 274 | fn main() -> Result<(), AccessError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/access/traits.rs:201:16 [INFO] [stdout] | [INFO] [stdout] 201 | if let Some(f) = f.take() { [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/access/traits.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | } else { [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] 201 ~ match f.take() { Some(f) => { [INFO] [stdout] 202 | Ok(f(item)) [INFO] [stdout] 203 ~ } _ => { [INFO] [stdout] 204 | Err(AccessError::ShouldNotHappen) [INFO] [stdout] 205 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/access/async_event.rs:96:16 [INFO] [stdout] | [INFO] [stdout] 96 | if let Some(event) = 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/access/async_event.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | } 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] 96 ~ match value { Some(event) => { [INFO] [stdout] 97 | this.index += 1; [INFO] [stdout] 98 | return Poll::Ready(Some(event)); [INFO] [stdout] 99 ~ } _ => { [INFO] [stdout] 100| drop(lock); [INFO] [stdout] ... [INFO] [stdout] 104| } [INFO] [stdout] 105~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/async_systems.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | if let Some(waker) = self.0.lock().unwrap().take() { [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/async_systems.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 152 ~ match self.0.lock().unwrap().take() { Some(waker) => { [INFO] [stdout] 153 | waker.wake() [INFO] [stdout] 154 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | if let Some(id) = res [INFO] [stdout] | _________________^ - [INFO] [stdout] | | _______________________________| [INFO] [stdout] 244 | || .0 [INFO] [stdout] | ||__________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 245 | | .get(&type_id) [INFO] [stdout] 246 | | .and_then(|x| x.downcast_ref::>()) [INFO] [stdout] 247 | | .copied() [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/commands.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | } 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] 243 ~ match res [INFO] [stdout] 244 | .0 [INFO] [stdout] ... [INFO] [stdout] 247 | .copied() [INFO] [stdout] 248 ~ { Some(id) => { [INFO] [stdout] 249 | world [INFO] [stdout] 250 | .run_system_with_input(id, input) [INFO] [stdout] 251 | .map_err(|_| AccessError::SystemIdNotFound) [INFO] [stdout] 252 ~ } _ => { [INFO] [stdout] 253 | let id = world.register_system(system); [INFO] [stdout] ... [INFO] [stdout] 260 | .map_err(|_| AccessError::SystemIdNotFound) [INFO] [stdout] 261 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/commands.rs:413:32 [INFO] [stdout] | [INFO] [stdout] 413 | pub fn yield_now(&self) -> impl Future + 'static { [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/commands.rs:413:22 [INFO] [stdout] | [INFO] [stdout] 413 | pub fn yield_now(&self) -> impl Future + 'static { [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] 413 | pub fn yield_now(&self) -> impl Future + 'static + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/commands.rs:501:10 [INFO] [stdout] | [INFO] [stdout] 501 | ) -> impl Future { [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/commands.rs:499:9 [INFO] [stdout] | [INFO] [stdout] 499 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands.rs:539:20 [INFO] [stdout] | [INFO] [stdout] 539 | if let Err(e) = r { [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/commands.rs:541:17 [INFO] [stdout] | [INFO] [stdout] 541 | } [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 r { Err(e) => { [INFO] [stdout] 540 | error!("{e}"); [INFO] [stdout] 541 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/errors.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | if let Some(error) = (&error as &dyn Any).downcast_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] 88 | } else if let Some(e) = error.source().and_then(|e| e.downcast_ref::()) { [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/errors.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | } else if let Some(e) = error.source().and_then(|e| e.downcast_ref::()) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/errors.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] 83 ~ match (&error as &dyn Any).downcast_ref::() { Some(error) => { [INFO] [stdout] 84 | CustomError { [INFO] [stdout] ... [INFO] [stdout] 87 | } [INFO] [stdout] 88 ~ } _ => { match error.source().and_then(|e| e.downcast_ref::()) { Some(e) => { [INFO] [stdout] 89 | let e = *e; [INFO] [stdout] ... [INFO] [stdout] 93 | } [INFO] [stdout] 94 ~ } _ => { [INFO] [stdout] 95 | CustomError { [INFO] [stdout] ... [INFO] [stdout] 98 | } [INFO] [stdout] 99 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/executor.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | if let Err(e) = future.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/executor.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 104 ~ match future.await { Err(e) => { [INFO] [stdout] 105 | error!("{e}") [INFO] [stdout] 106 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/executor.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | if let Some(assets) = assets { [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/executor.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | } 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] 129 ~ match assets { Some(assets) => { [INFO] [stdout] 130 | ASSET_SERVER.set(&assets, f) [INFO] [stdout] 131 ~ } _ => { [INFO] [stdout] 132 | f() [INFO] [stdout] 133 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/ext/anim.rs:95:63 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn wait(&self, event: AnimationEvent) -> AccessResult + 'static> { [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/ext/anim.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn wait(&self, event: AnimationEvent) -> AccessResult + 'static> { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 95 | pub fn wait(&self, event: AnimationEvent) -> AccessResult + 'static + use<>> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ext/anim.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 117 | if let Ok((mut player, mut transitions)) = query.get_mut(self.0.entity()) { [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/ext/anim.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 117 ~ match query.get_mut(self.0.entity()) { Ok((mut player, mut transitions)) => { [INFO] [stdout] 118 | transitions.play(&mut player, animation, transition.as_duration()); [INFO] [stdout] 119 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/ext/anim.rs:174:58 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn react_to(&mut self, event: AnimationEvent) -> impl Future + 'static { [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/ext/anim.rs:174:21 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn react_to(&mut self, event: AnimationEvent) -> impl Future + 'static { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 174 | pub fn react_to(&mut self, event: AnimationEvent) -> impl Future + 'static + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ext/anim.rs:224:28 [INFO] [stdout] | [INFO] [stdout] 224 | if let Some(prev) = prev.0.animation(*animation) { [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/ext/anim.rs:230:25 [INFO] [stdout] | [INFO] [stdout] 230 | } 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] 224 ~ match prev.0.animation(*animation) { Some(prev) => { [INFO] [stdout] 225 | if let Some(curr) = player.animation(*animation) { [INFO] [stdout] ... [INFO] [stdout] 229 | } [INFO] [stdout] 230 ~ } _ => { [INFO] [stdout] 231 | false [INFO] [stdout] 232 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ext/anim.rs:235:28 [INFO] [stdout] | [INFO] [stdout] 235 | if let Some(prev) = prev.0.animation(*animation) { [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/ext/anim.rs:241:25 [INFO] [stdout] | [INFO] [stdout] 241 | } 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] 235 ~ match prev.0.animation(*animation) { Some(prev) => { [INFO] [stdout] 236 | if let Some(curr) = player.animation(*animation) { [INFO] [stdout] ... [INFO] [stdout] 240 | } [INFO] [stdout] 241 ~ } _ => { [INFO] [stdout] 242 | false [INFO] [stdout] 243 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/queue.rs:152:20 [INFO] [stdout] | [INFO] [stdout] 152 | if let Some(item) = f(world, dt) { [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/queue.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | } 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] 152 ~ match f(world, dt) { Some(item) => { [INFO] [stdout] 153 | sender.send(item); [INFO] [stdout] 154 | true [INFO] [stdout] 155 ~ } _ => { [INFO] [stdout] 156 | false [INFO] [stdout] 157 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/reactors.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | if let Some(data) = lock.get::() { [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/reactors.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | } 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] 74 ~ match lock.get::() { Some(data) => { [INFO] [stdout] 75 | WriteValue(data.clone_uninit()) [INFO] [stdout] 76 ~ } _ => { [INFO] [stdout] 77 | let signal = Value::::default(); [INFO] [stdout] 78 | lock.insert::(signal.clone_raw()); [INFO] [stdout] 79 | WriteValue(signal) [INFO] [stdout] 80 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/reactors.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | if let Some(data) = lock.get::(name) { [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/reactors.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | } 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] 86 ~ match lock.get::(name) { Some(data) => { [INFO] [stdout] 87 | WriteValue(data.clone_uninit()) [INFO] [stdout] 88 ~ } _ => { [INFO] [stdout] 89 | let signal = Value::::default(); [INFO] [stdout] 90 | lock.insert::(name.to_owned(), signal.clone_raw()); [INFO] [stdout] 91 | WriteValue(signal) [INFO] [stdout] 92 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/reactors.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | if let Some(data) = lock.get::() { [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/reactors.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | } 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] 98 ~ match lock.get::() { Some(data) => { [INFO] [stdout] 99 | data.clone() [INFO] [stdout] 100 ~ } _ => { [INFO] [stdout] 101 | let signal = >>::default(); [INFO] [stdout] 102 | lock.insert::(signal.clone()); [INFO] [stdout] 103 | signal [INFO] [stdout] 104 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/signals/signal_component.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | if let Some(sig) = self.senders.get::() { [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/signals/signal_component.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | } 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] 71 ~ match self.senders.get::() { Some(sig) => { [INFO] [stdout] 72 | let _ = sig.write(item); [INFO] [stdout] 73 | true [INFO] [stdout] 74 ~ } _ => { [INFO] [stdout] 75 | false [INFO] [stdout] 76 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/signals/signal_component.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | if let Some(sig) = self.senders.get::() { [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/signals/signal_component.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | } 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] 86 ~ match self.senders.get::() { Some(sig) => { [INFO] [stdout] 87 | let _ = sig.write_if_changed(item); [INFO] [stdout] 88 | true [INFO] [stdout] 89 ~ } _ => { [INFO] [stdout] 90 | false [INFO] [stdout] 91 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/signals/signal_component.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | if let Some(sig) = self.senders.get::() { [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/signals/signal_component.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | } 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] 98 ~ match self.senders.get::() { Some(sig) => { [INFO] [stdout] 99 | let _ = sig.write_and_tick(item); [INFO] [stdout] 100 | true [INFO] [stdout] 101 ~ } _ => { [INFO] [stdout] 102 | false [INFO] [stdout] 103 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sync/oneshot.rs:109:16 [INFO] [stdout] | [INFO] [stdout] 109 | if let Some(value) = self.data.take() { [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/sync/oneshot.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | } 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] 109 ~ match self.data.take() { Some(value) => { [INFO] [stdout] 110 | Poll::Ready(Ok(value)) [INFO] [stdout] 111 ~ } _ => { [INFO] [stdout] 112 | Poll::Ready(Err(Canceled)) [INFO] [stdout] 113 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sync/oneshot.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | if let Some(waker) = self.0.cancel_waker.take() { [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/sync/oneshot.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 158 ~ match self.0.cancel_waker.take() { Some(waker) => { [INFO] [stdout] 159 | waker.wake() [INFO] [stdout] 160 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sync/oneshot.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 177 | if let Some(waker) = self.0.recv_waker.take() { [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/sync/oneshot.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 177 ~ match self.0.recv_waker.take() { Some(waker) => { [INFO] [stdout] 178 | waker.wake() [INFO] [stdout] 179 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/ui.rs from 2021 edition to 2024 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> examples/ui.rs:132:39 [INFO] [stdout] | [INFO] [stdout] 132 | ... while let Some(item) = stream.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] --> examples/ui.rs:136:33 [INFO] [stdout] | [INFO] [stdout] 136 | ... } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/dance.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/json.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/derive.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/signals.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/world_get.rs from 2021 edition to 2024 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tests/signals.rs:254:15 [INFO] [stdout] | [INFO] [stdout] 254 | while let Some(val) = stream.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] --> tests/signals.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 20s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking bevy_defer v0.12.1 (/tmp/fixit) [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/ext/anim.rs:184:32 [INFO] [stdout] | [INFO] [stdout] 184 | let _ = self.0.set(|x| x.react_to(event))?.await; [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'2` [INFO] [stdout] | || [INFO] [stdout] | |return type of closure `impl futures::Future + 'static` contains a lifetime `'2` [INFO] [stdout] | has type `&'1 mut AnimationReactor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/ext/anim.rs:184:32 [INFO] [stdout] | [INFO] [stdout] 184 | let _ = self.0.set(|x| x.react_to(event))?.await; [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'2` [INFO] [stdout] | || [INFO] [stdout] | |return type of closure `impl futures::Future + 'static` contains a lifetime `'2` [INFO] [stdout] | has type `&'1 mut AnimationReactor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bevy_defer` (lib test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bevy_defer` (lib) due to 2 previous errors [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" "e9e88d3850d3a1300bbd346b7fe4270c773008648380ede991aa756c30c09fd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9e88d3850d3a1300bbd346b7fe4270c773008648380ede991aa756c30c09fd5", kill_on_drop: false }` [INFO] [stdout] e9e88d3850d3a1300bbd346b7fe4270c773008648380ede991aa756c30c09fd5