[INFO] fetching crate dacho 0.2.0... [INFO] checking dacho-0.2.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate dacho 0.2.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate dacho 0.2.0 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 dacho 0.2.0 [INFO] finished tweaking crates.io crate dacho 0.2.0 [INFO] tweaked toml for crates.io crate dacho 0.2.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 220 packages to latest compatible versions [INFO] [stderr] Adding ash v0.37.3+1.3.251 (available: v0.38.0+1.3.281) [INFO] [stderr] Adding ash-window v0.12.0 (available: v0.13.0) [INFO] [stderr] Adding bit-set v0.6.0 (available: v0.8.0) [INFO] [stderr] Adding bit-vec v0.7.0 (available: v0.8.0) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding calloop v0.13.0 (available: v0.14.1) [INFO] [stderr] Adding calloop-wayland-source v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding cfg_aliases v0.1.1 (available: v0.2.1) [INFO] [stderr] Adding cocoa v0.25.0 (available: v0.26.0) [INFO] [stderr] Adding cocoa-foundation v0.1.2 (available: v0.2.0) [INFO] [stderr] Adding core-foundation v0.9.4 (available: v0.10.0) [INFO] [stderr] Adding core-graphics v0.23.2 (available: v0.24.0) [INFO] [stderr] Adding core-graphics-types v0.1.3 (available: v0.2.0) [INFO] [stderr] Adding gethostname v0.4.3 (available: v0.5.0) [INFO] [stderr] Adding jni-sys v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding libloading v0.7.4 (available: v0.8.5) [INFO] [stderr] Adding libredox v0.0.2 (available: v0.1.3) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding malloc_buf v0.0.6 (available: v1.0.0) [INFO] [stderr] Adding raw-window-handle v0.5.2 (available: v0.6.2) [INFO] [stderr] Adding raw-window-metal v0.3.2 (available: v1.0.0) [INFO] [stderr] Adding redox_syscall v0.4.1 (available: v0.5.6) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding smol_str v0.2.2 (available: v0.3.1) [INFO] [stderr] Adding strict-num v0.1.1 (available: v0.2.0) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.45.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding windows-targets v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows-targets v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (available: v0.52.6) [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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83306117de08cac515f7f1d06abef1f526fa1d1f3663c2df0374befd58f1bd26 [INFO] running `Command { std: "docker" "start" "-a" "83306117de08cac515f7f1d06abef1f526fa1d1f3663c2df0374befd58f1bd26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83306117de08cac515f7f1d06abef1f526fa1d1f3663c2df0374befd58f1bd26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83306117de08cac515f7f1d06abef1f526fa1d1f3663c2df0374befd58f1bd26", kill_on_drop: false }` [INFO] [stdout] 83306117de08cac515f7f1d06abef1f526fa1d1f3663c2df0374befd58f1bd26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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] 2e0e7a1e0274d997f1d2e9036f5ba02659669b312904a99e71fd16067942d1bc [INFO] running `Command { std: "docker" "start" "-a" "2e0e7a1e0274d997f1d2e9036f5ba02659669b312904a99e71fd16067942d1bc", 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] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking libloading v0.8.5 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling quick-xml v0.36.2 [INFO] [stderr] Compiling wayland-client v0.31.6 [INFO] [stderr] Compiling wayland-sys v0.31.5 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Checking ttf-parser v0.24.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking xcursor v0.3.8 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking bytemuck v1.18.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Compiling wayland-scanner v0.31.5 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling winit v0.30.5 [INFO] [stderr] Compiling naga v22.1.0 [INFO] [stderr] Checking owned_ttf_parser v0.24.0 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking ab_glyph v0.2.28 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking bit-vec v0.7.0 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking bit-set v0.6.0 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling wayland-backend v0.3.7 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking dpi v0.1.1 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking glam v0.29.0 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking wayland-protocols v0.32.4 [INFO] [stderr] Checking wayland-cursor v0.31.6 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.4 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.4 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking ash-window v0.12.0 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking dacho v0.2.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `dacho` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/app/logger.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/app/logger.rs:5:19 [INFO] [stderr] | [INFO] [stderr] 5 | ($fn:ident, $($args: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/app/logger.rs:13:17 [INFO] [stderr] | [INFO] [stderr] 13 | ($fn:ident, $source:expr_2021, $($args: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/app/logger.rs:13:38 [INFO] [stderr] | [INFO] [stderr] 13 | ($fn:ident, $source:expr_2021, $($args: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/app/logger.rs:20:17 [INFO] [stderr] | [INFO] [stderr] 20 | ($fn:ident, $prefix: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/app/logger.rs:44:8 [INFO] [stderr] | [INFO] [stderr] 44 | ($($args: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 5 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/app/logger.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | ($fn:ident, $($args: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] 5 | ($fn:ident, $($args: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/app/logger.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | ($fn:ident, $source:expr, $($args: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] 13 | ($fn:ident, $source:expr_2021, $($args: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/app/logger.rs:13:39 [INFO] [stdout] | [INFO] [stdout] 13 | ($fn:ident, $source:expr, $($args: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] 13 | ($fn:ident, $source:expr, $($args: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/app/logger.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | ($fn:ident, $prefix: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] 20 | ($fn:ident, $prefix: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/app/logger.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | ($($args: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] 44 | ($($args:expr_2021),*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app/mod.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | if let Some(renderer) = self.renderer { [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/app/mod.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | } [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] 159 ~ match self.renderer { Some(renderer) => { [INFO] [stdout] 160 | drop(renderer); [INFO] [stdout] 161 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app/mod.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | if let Some(window) = &self.window { [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/app/mod.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 180 ~ match &self.window { Some(window) => { [INFO] [stdout] 181 | self.renderer = Some( [INFO] [stdout] ... [INFO] [stdout] 189 | log!(info, "<<< dacho is initialized >>>"); [INFO] [stdout] 190 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app/mod.rs:203:12 [INFO] [stdout] | [INFO] [stdout] 203 | if let Some(window) = &self.window { [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/app/mod.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 203 ~ match &self.window { Some(window) => { [INFO] [stdout] 204 | window.request_redraw(); [INFO] [stdout] 205 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ecs/world.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | if let Some(component) = self.components.get_mut(&parent_component_id) { [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/ecs/world.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | } [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.components.get_mut(&parent_component_id) { Some(component) => { [INFO] [stdout] 110 | if let Some(downcasted_component) = component.downcast_mut::() { [INFO] [stdout] 111 | downcasted_component.children_ids.push(id); [INFO] [stdout] 112 | } [INFO] [stdout] 113 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ecs/world.rs:198:24 [INFO] [stdout] | [INFO] [stdout] 198 | if let Some(component) = self.components.get(component_id) { [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/ecs/world.rs:202:21 [INFO] [stdout] | [INFO] [stdout] 202 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 198 ~ match self.components.get(component_id) { Some(component) => { [INFO] [stdout] 199 | if let Some(downcasted_component) = component.downcast_ref::() { [INFO] [stdout] 200 | return Some(closure(downcasted_component)); [INFO] [stdout] 201 | } [INFO] [stdout] 202 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ecs/world.rs:219:24 [INFO] [stdout] | [INFO] [stdout] 219 | if let Some(component) = self.components.get(component_id) { [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/ecs/world.rs:223:21 [INFO] [stdout] | [INFO] [stdout] 223 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 219 ~ match self.components.get(component_id) { Some(component) => { [INFO] [stdout] 220 | if let Some(downcasted_component) = component.downcast_ref::() { [INFO] [stdout] 221 | results.push(closure(downcasted_component)); [INFO] [stdout] 222 | } [INFO] [stdout] 223 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ecs/world.rs:245:24 [INFO] [stdout] | [INFO] [stdout] 245 | if let Some(component) = self.components.get_mut(&component_id.clone()) { [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/ecs/world.rs:249:21 [INFO] [stdout] | [INFO] [stdout] 249 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 245 ~ match self.components.get_mut(&component_id.clone()) { Some(component) => { [INFO] [stdout] 246 | if let Some(downcasted_component) = component.downcast_mut::() { [INFO] [stdout] 247 | return Some(closure(downcasted_component)); [INFO] [stdout] 248 | } [INFO] [stdout] 249 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ecs/world.rs:266:24 [INFO] [stdout] | [INFO] [stdout] 266 | if let Some(component) = self.components.get_mut(&component_id) { [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/ecs/world.rs:270:21 [INFO] [stdout] | [INFO] [stdout] 270 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 266 ~ match self.components.get_mut(&component_id) { Some(component) => { [INFO] [stdout] 267 | if let Some(downcasted_component) = component.downcast_mut::() { [INFO] [stdout] 268 | results.push(closure(downcasted_component)); [INFO] [stdout] 269 | } [INFO] [stdout] 270 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ecs/world.rs:440:12 [INFO] [stdout] | [INFO] [stdout] 440 | if let Some((state, _)) = self.systems.state { [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/ecs/world.rs:442:9 [INFO] [stdout] | [INFO] [stdout] 442 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 440 ~ match self.systems.state { Some((state, _)) => { [INFO] [stdout] 441 | closure(state); [INFO] [stdout] 442 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ecs/world.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 446 | if let Some(state_system) = &self.systems.state { [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/ecs/world.rs:450:9 [INFO] [stdout] | [INFO] [stdout] 450 | } 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] 446 ~ match &self.systems.state { Some(state_system) => { [INFO] [stdout] 447 | if state_system.0 == new_state { [INFO] [stdout] 448 | return; [INFO] [stdout] 449 | } [INFO] [stdout] 450 ~ } _ => { [INFO] [stdout] 451 | return; [INFO] [stdout] 452 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ecs/world.rs:557:12 [INFO] [stdout] | [INFO] [stdout] 557 | if let Some(component) = self.components.get(&component_id) { [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/ecs/world.rs:569:9 [INFO] [stdout] | [INFO] [stdout] 569 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 557 ~ match self.components.get(&component_id) { Some(component) => { [INFO] [stdout] 558 | if let Some(downcasted_component) = component.downcast_ref::() { [INFO] [stdout] ... [INFO] [stdout] 568 | } [INFO] [stdout] 569 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ecs/world.rs:562:24 [INFO] [stdout] | [INFO] [stdout] 562 | if let Some(child) = self.components.get(child_id) { [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/ecs/world.rs:566:21 [INFO] [stdout] | [INFO] [stdout] 566 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 562 ~ match self.components.get(child_id) { Some(child) => { [INFO] [stdout] 563 | if let Some(downcasted_child) = child.downcast_ref::() { [INFO] [stdout] 564 | self.meshes_updated.insert(downcasted_child.id); [INFO] [stdout] 565 | } [INFO] [stdout] 566 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ecs/world.rs:584:24 [INFO] [stdout] | [INFO] [stdout] 584 | if let Some(component) = self.components.get(component_id) { [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/ecs/world.rs:588:21 [INFO] [stdout] | [INFO] [stdout] 588 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 584 ~ match self.components.get(component_id) { Some(component) => { [INFO] [stdout] 585 | if let Some(mesh_component) = component.downcast_ref::() { [INFO] [stdout] 586 | instances.extend(mesh_component.get_transform(self).to_cols_array()); [INFO] [stdout] 587 | } [INFO] [stdout] 588 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/prelude/mesh/mod.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | if let Some(component) = world.components.get(&parent_id) { [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/prelude/mesh/mod.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 40 ~ match world.components.get(&parent_id) { Some(component) => { [INFO] [stdout] 41 | if let Some(downcasted_component) = component.downcast_ref::() { [INFO] [stdout] 42 | return downcasted_component.get_transform(world) * self.model_matrix; [INFO] [stdout] 43 | } [INFO] [stdout] 44 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `dacho` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/app/logger.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/app/logger.rs:5:19 [INFO] [stderr] | [INFO] [stderr] 5 | ($fn:ident, $($args: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/app/logger.rs:13:17 [INFO] [stderr] | [INFO] [stderr] 13 | ($fn:ident, $source:expr_2021, $($args: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/app/logger.rs:13:38 [INFO] [stderr] | [INFO] [stderr] 13 | ($fn:ident, $source:expr_2021, $($args: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/app/logger.rs:20:17 [INFO] [stderr] | [INFO] [stderr] 20 | ($fn:ident, $prefix: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/app/logger.rs:44:8 [INFO] [stderr] | [INFO] [stderr] 44 | ($($args: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 5 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/app/logger.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | ($fn:ident, $($args: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] 5 | ($fn:ident, $($args: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/app/logger.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | ($fn:ident, $source:expr, $($args: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] 13 | ($fn:ident, $source:expr_2021, $($args: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/app/logger.rs:13:39 [INFO] [stdout] | [INFO] [stdout] 13 | ($fn:ident, $source:expr, $($args: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] 13 | ($fn:ident, $source:expr, $($args: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/app/logger.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | ($fn:ident, $prefix: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] 20 | ($fn:ident, $prefix: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/app/logger.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | ($($args: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] 44 | ($($args:expr_2021),*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app/mod.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | if let Some(renderer) = self.renderer { [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/app/mod.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | } [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] 159 ~ match self.renderer { Some(renderer) => { [INFO] [stdout] 160 | drop(renderer); [INFO] [stdout] 161 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app/mod.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | if let Some(window) = &self.window { [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/app/mod.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 180 ~ match &self.window { Some(window) => { [INFO] [stdout] 181 | self.renderer = Some( [INFO] [stdout] ... [INFO] [stdout] 189 | log!(info, "<<< dacho is initialized >>>"); [INFO] [stdout] 190 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app/mod.rs:203:12 [INFO] [stdout] | [INFO] [stdout] 203 | if let Some(window) = &self.window { [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/app/mod.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 203 ~ match &self.window { Some(window) => { [INFO] [stdout] 204 | window.request_redraw(); [INFO] [stdout] 205 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ecs/world.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | if let Some(component) = self.components.get_mut(&parent_component_id) { [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/ecs/world.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | } [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.components.get_mut(&parent_component_id) { Some(component) => { [INFO] [stdout] 110 | if let Some(downcasted_component) = component.downcast_mut::() { [INFO] [stdout] 111 | downcasted_component.children_ids.push(id); [INFO] [stdout] 112 | } [INFO] [stdout] 113 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ecs/world.rs:198:24 [INFO] [stdout] | [INFO] [stdout] 198 | if let Some(component) = self.components.get(component_id) { [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/ecs/world.rs:202:21 [INFO] [stdout] | [INFO] [stdout] 202 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 198 ~ match self.components.get(component_id) { Some(component) => { [INFO] [stdout] 199 | if let Some(downcasted_component) = component.downcast_ref::() { [INFO] [stdout] 200 | return Some(closure(downcasted_component)); [INFO] [stdout] 201 | } [INFO] [stdout] 202 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ecs/world.rs:219:24 [INFO] [stdout] | [INFO] [stdout] 219 | if let Some(component) = self.components.get(component_id) { [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/ecs/world.rs:223:21 [INFO] [stdout] | [INFO] [stdout] 223 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 219 ~ match self.components.get(component_id) { Some(component) => { [INFO] [stdout] 220 | if let Some(downcasted_component) = component.downcast_ref::() { [INFO] [stdout] 221 | results.push(closure(downcasted_component)); [INFO] [stdout] 222 | } [INFO] [stdout] 223 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ecs/world.rs:245:24 [INFO] [stdout] | [INFO] [stdout] 245 | if let Some(component) = self.components.get_mut(&component_id.clone()) { [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/ecs/world.rs:249:21 [INFO] [stdout] | [INFO] [stdout] 249 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 245 ~ match self.components.get_mut(&component_id.clone()) { Some(component) => { [INFO] [stdout] 246 | if let Some(downcasted_component) = component.downcast_mut::() { [INFO] [stdout] 247 | return Some(closure(downcasted_component)); [INFO] [stdout] 248 | } [INFO] [stdout] 249 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ecs/world.rs:266:24 [INFO] [stdout] | [INFO] [stdout] 266 | if let Some(component) = self.components.get_mut(&component_id) { [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/ecs/world.rs:270:21 [INFO] [stdout] | [INFO] [stdout] 270 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 266 ~ match self.components.get_mut(&component_id) { Some(component) => { [INFO] [stdout] 267 | if let Some(downcasted_component) = component.downcast_mut::() { [INFO] [stdout] 268 | results.push(closure(downcasted_component)); [INFO] [stdout] 269 | } [INFO] [stdout] 270 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ecs/world.rs:440:12 [INFO] [stdout] | [INFO] [stdout] 440 | if let Some((state, _)) = self.systems.state { [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/ecs/world.rs:442:9 [INFO] [stdout] | [INFO] [stdout] 442 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 440 ~ match self.systems.state { Some((state, _)) => { [INFO] [stdout] 441 | closure(state); [INFO] [stdout] 442 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ecs/world.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 446 | if let Some(state_system) = &self.systems.state { [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/ecs/world.rs:450:9 [INFO] [stdout] | [INFO] [stdout] 450 | } 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] 446 ~ match &self.systems.state { Some(state_system) => { [INFO] [stdout] 447 | if state_system.0 == new_state { [INFO] [stdout] 448 | return; [INFO] [stdout] 449 | } [INFO] [stdout] 450 ~ } _ => { [INFO] [stdout] 451 | return; [INFO] [stdout] 452 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ecs/world.rs:557:12 [INFO] [stdout] | [INFO] [stdout] 557 | if let Some(component) = self.components.get(&component_id) { [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/ecs/world.rs:569:9 [INFO] [stdout] | [INFO] [stdout] 569 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 557 ~ match self.components.get(&component_id) { Some(component) => { [INFO] [stdout] 558 | if let Some(downcasted_component) = component.downcast_ref::() { [INFO] [stdout] ... [INFO] [stdout] 568 | } [INFO] [stdout] 569 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ecs/world.rs:562:24 [INFO] [stdout] | [INFO] [stdout] 562 | if let Some(child) = self.components.get(child_id) { [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/ecs/world.rs:566:21 [INFO] [stdout] | [INFO] [stdout] 566 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 562 ~ match self.components.get(child_id) { Some(child) => { [INFO] [stdout] 563 | if let Some(downcasted_child) = child.downcast_ref::() { [INFO] [stdout] 564 | self.meshes_updated.insert(downcasted_child.id); [INFO] [stdout] 565 | } [INFO] [stdout] 566 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ecs/world.rs:584:24 [INFO] [stdout] | [INFO] [stdout] 584 | if let Some(component) = self.components.get(component_id) { [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/ecs/world.rs:588:21 [INFO] [stdout] | [INFO] [stdout] 588 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 584 ~ match self.components.get(component_id) { Some(component) => { [INFO] [stdout] 585 | if let Some(mesh_component) = component.downcast_ref::() { [INFO] [stdout] 586 | instances.extend(mesh_component.get_transform(self).to_cols_array()); [INFO] [stdout] 587 | } [INFO] [stdout] 588 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 56.19s [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/prelude/mesh/mod.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | if let Some(component) = world.components.get(&parent_id) { [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/prelude/mesh/mod.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 40 ~ match world.components.get(&parent_id) { Some(component) => { [INFO] [stdout] 41 | if let Some(downcasted_component) = component.downcast_ref::() { [INFO] [stdout] 42 | return downcasted_component.get_transform(world) * self.model_matrix; [INFO] [stdout] 43 | } [INFO] [stdout] 44 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking dacho v0.2.0 (/tmp/fixit) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.89s [INFO] running `Command { std: "docker" "inspect" "2e0e7a1e0274d997f1d2e9036f5ba02659669b312904a99e71fd16067942d1bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e0e7a1e0274d997f1d2e9036f5ba02659669b312904a99e71fd16067942d1bc", kill_on_drop: false }` [INFO] [stdout] 2e0e7a1e0274d997f1d2e9036f5ba02659669b312904a99e71fd16067942d1bc