[INFO] fetching crate maia-wasm 0.5.1... [INFO] checking maia-wasm-0.5.1 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate maia-wasm 0.5.1 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate maia-wasm 0.5.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 maia-wasm 0.5.1 [INFO] finished tweaking crates.io crate maia-wasm 0.5.1 [INFO] tweaked toml for crates.io crate maia-wasm 0.5.1 written to /workspace/builds/worker-3-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 27 packages to latest compatible versions [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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] e0d06e2f4e32c65b55a0c525ea5493225f8db07f1ab0f6eec72b95298a4dddf2 [INFO] running `Command { std: "docker" "start" "-a" "e0d06e2f4e32c65b55a0c525ea5493225f8db07f1ab0f6eec72b95298a4dddf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0d06e2f4e32c65b55a0c525ea5493225f8db07f1ab0f6eec72b95298a4dddf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0d06e2f4e32c65b55a0c525ea5493225f8db07f1ab0f6eec72b95298a4dddf2", kill_on_drop: false }` [INFO] [stdout] e0d06e2f4e32c65b55a0c525ea5493225f8db07f1ab0f6eec72b95298a4dddf2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 9e89fc8bbbba3900128d4f6abc1c4aab71d08859a43ef47a7042493d61430838 [INFO] running `Command { std: "docker" "start" "-a" "9e89fc8bbbba3900128d4f6abc1c4aab71d08859a43ef47a7042493d61430838", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.93 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.93 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.93 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling git-version-macro v0.3.9 [INFO] [stderr] Checking git-version v0.3.9 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.93 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.93 [INFO] [stderr] Checking js-sys v0.3.70 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking maia-json v0.4.0 [INFO] [stderr] Checking web-sys v0.3.70 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.43 [INFO] [stderr] Checking maia-wasm v0.5.1 (/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 `maia_wasm` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/array_view.rs [INFO] [stderr] * src/render/engine/texture.rs [INFO] [stderr] * src/render/uniform.rs [INFO] [stderr] * src/ui/input.rs [INFO] [stderr] * src/ui/macros.rs [INFO] [stderr] * src/ui/preferences.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/array_view.rs:34:24 [INFO] [stderr] | [INFO] [stderr] 34 | ($rust:ty, $js:ty, $gl: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/render/engine/texture.rs:176:6 [INFO] [stderr] | [INFO] [stderr] 176 | ($doc:expr_2021, $type:ident, $int:expr_2021, $fmt:expr_2021, $t:ty) => { [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/render/engine/texture.rs:176:35 [INFO] [stderr] | [INFO] [stderr] 176 | ($doc:expr_2021, $type:ident, $int:expr_2021, $fmt:expr_2021, $t:ty) => { [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/render/engine/texture.rs:176:51 [INFO] [stderr] | [INFO] [stderr] 176 | ($doc:expr_2021, $type:ident, $int:expr_2021, $fmt:expr_2021, $t:ty) => { [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/render/uniform.rs:82:39 [INFO] [stderr] | [INFO] [stderr] 82 | ($t:ty, $fun:ident, $sel:ident, $($things: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/ui/input.rs:18:16 [INFO] [stderr] | [INFO] [stderr] 18 | ($t:ident, $scale:expr_2021, $resolution: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/ui/input.rs:18:34 [INFO] [stderr] | [INFO] [stderr] 18 | ($t:ident, $scale:expr_2021, $resolution: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/ui/macros.rs:61:20 [INFO] [stderr] | [INFO] [stderr] 61 | ($event:ident, $self:expr_2021, $($element:ident),*) => { [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/ui/macros.rs:75:51 [INFO] [stderr] | [INFO] [stderr] 75 | ($name:ident, $request_json:ty, $get_json:ty, $url:expr_2021, $method_ident:ident, $method:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/ui/macros.rs:75:88 [INFO] [stderr] | [INFO] [stderr] 75 | ($name:ident, $request_json:ty, $get_json:ty, $url:expr_2021, $method_ident:ident, $method:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/ui/macros.rs:108:49 [INFO] [stderr] | [INFO] [stderr] 108 | ($name:ident, $patch_json:ty, $get_json:ty, $url: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/ui/macros.rs:114:47 [INFO] [stderr] | [INFO] [stderr] 114 | ($name:ident, $put_json:ty, $get_json:ty, $url: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/ui/macros.rs:120:6 [INFO] [stderr] | [INFO] [stderr] 120 | ($self:expr_2021, $source:expr_2021, $section:ident, $($element:ident),*) => { [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/ui/macros.rs:120:23 [INFO] [stderr] | [INFO] [stderr] 120 | ($self:expr_2021, $source:expr_2021, $section:ident, $($element:ident),*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/array_view.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | ($rust:ty, $js:ty, $gl: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] 34 | ($rust:ty, $js:ty, $gl:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [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/ui/macros.rs:142:6 [INFO] [stderr] | [INFO] [stderr] 142 | ($self:expr_2021, $source:expr_2021, $section:ident, $($element:ident),*) => { [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] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/engine/texture.rs:176:11 [INFO] [stdout] | [INFO] [stdout] 176 | ($doc:expr, $type:ident, $int:expr, $fmt:expr, $t:ty) => { [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] 176 | ($doc:expr_2021, $type:ident, $int:expr, $fmt:expr, $t:ty) => { [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/render/engine/texture.rs:176:35 [INFO] [stdout] | [INFO] [stdout] 176 | ($doc:expr, $type:ident, $int:expr, $fmt:expr, $t:ty) => { [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] 176 | ($doc:expr, $type:ident, $int:expr_2021, $fmt:expr, $t:ty) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/engine/texture.rs:176:46 [INFO] [stdout] | [INFO] [stdout] 176 | ($doc:expr, $type:ident, $int:expr, $fmt:expr, $t:ty) => { [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] 176 | ($doc:expr, $type:ident, $int:expr, $fmt:expr_2021, $t:ty) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/ui/macros.rs:142:23 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/uniform.rs:82:47 [INFO] [stdout] | [INFO] [stdout] 82 | ($t:ty, $fun:ident, $sel:ident, $($things: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] 82 | ($t:ty, $fun:ident, $sel:ident, $($things: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/ui/input.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | ($t:ident, $scale:expr, $resolution: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] 18 | ($t:ident, $scale:expr_2021, $resolution:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 142 | ($self:expr_2021, $source:expr_2021, $section:ident, $($element:ident),*) => { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ui/input.rs:18:41 [INFO] [stdout] | [INFO] [stdout] 18 | ($t:ident, $scale:expr, $resolution: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] 18 | ($t:ident, $scale:expr, $resolution: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/ui/macros.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | ($event:ident, $self:expr, $($element:ident),*) => { [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] 61 | ($event:ident, $self:expr_2021, $($element:ident),*) => { [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/ui/macros.rs:75:56 [INFO] [stdout] | [INFO] [stdout] 75 | ($name:ident, $request_json:ty, $get_json:ty, $url:expr, $method_ident:ident, $method:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 75 | ($name:ident, $request_json:ty, $get_json:ty, $url:expr_2021, $method_ident:ident, $method:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [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/ui/macros.rs:215:45 [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ui/macros.rs:75:91 [INFO] [stdout] | [INFO] [stdout] 75 | ($name:ident, $request_json:ty, $get_json:ty, $url:expr, $method_ident:ident, $method:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 75 | ($name:ident, $request_json:ty, $get_json:ty, $url:expr, $method_ident:ident, $method:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 215 | ($name:ident, $json:ty, $patch_json:ty, $url:expr_2021, $($element:ident),*) => { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ui/macros.rs:108:54 [INFO] [stdout] | [INFO] [stdout] 108 | ($name:ident, $patch_json:ty, $get_json:ty, $url: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] 108 | ($name:ident, $patch_json:ty, $get_json:ty, $url:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [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/ui/macros.rs:224:45 [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ui/macros.rs:114:52 [INFO] [stdout] | [INFO] [stdout] 114 | ($name:ident, $put_json:ty, $get_json:ty, $url: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] 114 | ($name:ident, $put_json:ty, $get_json:ty, $url:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 224 | ($name:ident, $json:ty, $patch_json:ty, $url:expr_2021, $($element:ident),*) => { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ui/macros.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | ($self:expr, $source:expr, $section:ident, $($element:ident),*) => { [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] 120 | ($self:expr_2021, $source:expr, $section:ident, $($element:ident),*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ui/macros.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | ($self:expr, $source:expr, $section:ident, $($element:ident),*) => { [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] 120 | ($self:expr, $source:expr_2021, $section:ident, $($element:ident),*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [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] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ui/macros.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | ($self:expr, $source:expr, $section:ident, $($element:ident),*) => { [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] 142 | ($self:expr_2021, $source:expr, $section:ident, $($element:ident),*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/ui/preferences.rs:14:31 [INFO] [stderr] | [INFO] [stderr] 14 | {$($name:ident : $ty:ty = $default: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 19 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/ui/macros.rs:142:26 [INFO] [stdout] | [INFO] [stdout] 142 | ($self:expr, $source:expr, $section:ident, $($element:ident),*) => { [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] 142 | ($self:expr, $source:expr_2021, $section:ident, $($element:ident),*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ui/macros.rs:215:50 [INFO] [stdout] | [INFO] [stdout] 215 | ($name:ident, $json:ty, $patch_json:ty, $url:expr, $($element:ident),*) => { [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] 215 | ($name:ident, $json:ty, $patch_json:ty, $url:expr_2021, $($element:ident),*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ui/macros.rs:224:50 [INFO] [stdout] | [INFO] [stdout] 224 | ($name:ident, $json:ty, $patch_json:ty, $url:expr, $($element:ident),*) => { [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] 224 | ($name:ident, $json:ty, $patch_json:ty, $url:expr_2021, $($element:ident),*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ui/preferences.rs:14:40 [INFO] [stdout] | [INFO] [stdout] 14 | {$($name:ident : $ty:ty = $default: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] 14 | {$($name:ident : $ty:ty = $default:expr_2021,)*} => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/array_view.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | <$js>::view(rust) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 45 | impl_array_view!(f32, Float32Array, WebGl2RenderingContext::FLOAT); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/array_view.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | unsafe fn view(rust: &[$rust]) -> $js { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | impl_array_view!(f32, Float32Array, WebGl2RenderingContext::FLOAT); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `impl_array_view` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/array_view.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | <$js>::view(rust) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 46 | impl_array_view!(u16, Uint16Array, WebGl2RenderingContext::UNSIGNED_INT); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/array_view.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | unsafe fn view(rust: &[$rust]) -> $js { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | impl_array_view!(u16, Uint16Array, WebGl2RenderingContext::UNSIGNED_INT); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_array_view` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/array_view.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | <$js>::view(rust) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 47 | impl_array_view!(u8, Uint8Array, WebGl2RenderingContext::UNSIGNED_BYTE); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/array_view.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | unsafe fn view(rust: &[$rust]) -> $js { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | impl_array_view!(u8, Uint8Array, WebGl2RenderingContext::UNSIGNED_BYTE); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_array_view` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pointer.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | if let Some(slot) = self.slots.iter_mut().find(|x| x.is_none()) { [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/pointer.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | } [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] 108 ~ match self.slots.iter_mut().find(|x| x.is_none()) { Some(slot) => { [INFO] [stdout] 109 | // create new series of pointer [INFO] [stdout] ... [INFO] [stdout] 115 | return; [INFO] [stdout] 116 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pointer.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | if let Some(slot) = self.slots.iter_mut().find(|x| { [INFO] [stdout] | ^ ---------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | ____________| [INFO] [stdout] | | [INFO] [stdout] 130 | | x.as_ref() [INFO] [stdout] 131 | | .map_or(false, |x| x.event.pointer_id() == pointer_id) [INFO] [stdout] 132 | | }) { [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/pointer.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | } [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 self.slots.iter_mut().find(|x| { [INFO] [stdout] 130 | x.as_ref() [INFO] [stdout] 131 | .map_or(false, |x| x.event.pointer_id() == pointer_id) [INFO] [stdout] 132 ~ }) { Some(slot) => { [INFO] [stdout] 133 | // Remove event. [INFO] [stdout] 134 | slot.take(); [INFO] [stdout] 135 | return; [INFO] [stdout] 136 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/render/uniform.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | if let Some(location) = gl.get_uniform_location(program, self.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/render/uniform.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 65 ~ match gl.get_uniform_location(program, self.name()) { Some(location) => { [INFO] [stdout] 66 | self.get_data().uniform(gl, Some(&location)) [INFO] [stdout] 67 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ui.rs:456:24 [INFO] [stdout] | [INFO] [stdout] 456 | if let Err(e) = prefs.update_ddc_transition_bandwidth(&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/ui.rs:458:21 [INFO] [stdout] | [INFO] [stdout] 458 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 456 ~ match prefs.update_ddc_transition_bandwidth(&value) { Err(e) => { [INFO] [stdout] 457 | web_sys::console::error_1(&e); [INFO] [stdout] 458 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ui.rs:461:24 [INFO] [stdout] | [INFO] [stdout] 461 | if let Err(e) = prefs.update_ddc_passband_ripple(&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/ui.rs:463:21 [INFO] [stdout] | [INFO] [stdout] 463 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 461 ~ match prefs.update_ddc_passband_ripple(&value) { Err(e) => { [INFO] [stdout] 462 | web_sys::console::error_1(&e); [INFO] [stdout] 463 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ui.rs:466:24 [INFO] [stdout] | [INFO] [stdout] 466 | if let Err(e) = prefs.update_ddc_stopband_attenuation_db(&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/ui.rs:468:21 [INFO] [stdout] | [INFO] [stdout] 468 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 466 ~ match prefs.update_ddc_stopband_attenuation_db(&value) { Err(e) => { [INFO] [stdout] 467 | web_sys::console::error_1(&e); [INFO] [stdout] 468 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ui.rs:471:24 [INFO] [stdout] | [INFO] [stdout] 471 | if let Err(e) = prefs.update_ddc_stopband_one_over_f(&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/ui.rs:473:21 [INFO] [stdout] | [INFO] [stdout] 473 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 471 ~ match prefs.update_ddc_stopband_one_over_f(&value) { Err(e) => { [INFO] [stdout] 472 | web_sys::console::error_1(&e); [INFO] [stdout] 473 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ui.rs:627:16 [INFO] [stdout] | [INFO] [stdout] 627 | if let Some(freq) = self [INFO] [stdout] | _________________^ - [INFO] [stdout] | | _________________________________| [INFO] [stdout] 628 | || .api_state [INFO] [stdout] 629 | || .borrow() [INFO] [stdout] | ||_________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 630 | | .as_ref() [INFO] [stdout] 631 | | .map(|s| s.spectrometer.output_sampling_frequency) [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/ui.rs:636:13 [INFO] [stdout] | [INFO] [stdout] 636 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 627 ~ match self [INFO] [stdout] 628 | .api_state [INFO] [stdout] ... [INFO] [stdout] 631 | .map(|s| s.spectrometer.output_sampling_frequency) [INFO] [stdout] 632 ~ { Some(freq) => { [INFO] [stdout] 633 | // if the format of the element fails, there is not much we can [INFO] [stdout] 634 | // do [INFO] [stdout] 635 | json.output_sampling_frequency = Some(freq); [INFO] [stdout] 636 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ui.rs:683:16 [INFO] [stdout] | [INFO] [stdout] 683 | if let Ok(mut p) = ui.preferences.try_borrow_mut() { [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/ui.rs:687:13 [INFO] [stdout] | [INFO] [stdout] 687 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 683 ~ match ui.preferences.try_borrow_mut() { Ok(mut p) => { [INFO] [stdout] 684 | if let Err(e) = p.update_colormap_select(&colormap) { [INFO] [stdout] 685 | web_sys::console::error_1(&e); [INFO] [stdout] 686 | } [INFO] [stdout] 687 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ui.rs:684:20 [INFO] [stdout] | [INFO] [stdout] 684 | if let Err(e) = p.update_colormap_select(&colormap) { [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/ui.rs:686:17 [INFO] [stdout] | [INFO] [stdout] 686 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 684 ~ match p.update_colormap_select(&colormap) { Err(e) => { [INFO] [stdout] 685 | web_sys::console::error_1(&e); [INFO] [stdout] 686 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ui.rs:700:20 [INFO] [stdout] | [INFO] [stdout] 700 | if let Err(e) = p.update_waterfall_show_ddc(&show) { [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/ui.rs:702:17 [INFO] [stdout] | [INFO] [stdout] 702 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 700 ~ match p.update_waterfall_show_ddc(&show) { Err(e) => { [INFO] [stdout] 701 | web_sys::console::error_1(&e); [INFO] [stdout] 702 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ui/macros.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | if let Ok(mut p) = ui.preferences.try_borrow_mut() { [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] ::: src/ui.rs:719:5 [INFO] [stdout] | [INFO] [stdout] 719 | waterfallminmax_onchange!(waterfall_min); [INFO] [stdout] | ---------------------------------------- in this macro invocation [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/ui/macros.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/ui.rs:719:5 [INFO] [stdout] | [INFO] [stdout] 719 | waterfallminmax_onchange!(waterfall_min); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `waterfallminmax_onchange` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ui/macros.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | ... if let Err(e) = p.[](&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] ::: src/ui.rs:719:5 [INFO] [stdout] | [INFO] [stdout] 719 | waterfallminmax_onchange!(waterfall_min); [INFO] [stdout] | ---------------------------------------- in this macro invocation [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/ui/macros.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | ... } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/ui.rs:719:5 [INFO] [stdout] | [INFO] [stdout] 719 | waterfallminmax_onchange!(waterfall_min); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `waterfallminmax_onchange` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ui/macros.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | if let Ok(mut p) = ui.preferences.try_borrow_mut() { [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] ::: src/ui.rs:720:5 [INFO] [stdout] | [INFO] [stdout] 720 | waterfallminmax_onchange!(waterfall_max); [INFO] [stdout] | ---------------------------------------- in this macro invocation [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/ui/macros.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/ui.rs:720:5 [INFO] [stdout] | [INFO] [stdout] 720 | waterfallminmax_onchange!(waterfall_max); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `waterfallminmax_onchange` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ui/macros.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | ... if let Err(e) = p.[](&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] ::: src/ui.rs:720:5 [INFO] [stdout] | [INFO] [stdout] 720 | waterfallminmax_onchange!(waterfall_max); [INFO] [stdout] | ---------------------------------------- in this macro invocation [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/ui/macros.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | ... } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/ui.rs:720:5 [INFO] [stdout] | [INFO] [stdout] 720 | waterfallminmax_onchange!(waterfall_max); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `waterfallminmax_onchange` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ui/preferences.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | if let Some(storage) = self.storage.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ui/preferences.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | } 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] 111 ~ match self.storage.as_ref() { Some(storage) => { [INFO] [stdout] 112 | let data = serde_json::to_string(&self.data).unwrap(); [INFO] [stdout] 113 | storage.set_item(PREFERENCES_KEY, &data) [INFO] [stdout] 114 ~ } _ => { [INFO] [stdout] 115 | Ok(()) [INFO] [stdout] 116 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Fn()` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/waterfall_interaction.rs:115:32 [INFO] [stdout] | [INFO] [stdout] 115 | fn resize_canvas(&self) -> impl Fn() { [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/waterfall_interaction.rs:115:22 [INFO] [stdout] | [INFO] [stdout] 115 | fn resize_canvas(&self) -> impl Fn() { [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] 115 | fn resize_canvas(&self) -> impl Fn() + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/waterfall_interaction.rs:218:16 [INFO] [stdout] | [INFO] [stdout] 218 | if let Some(gesture) = interaction [INFO] [stdout] | _________________^ - [INFO] [stdout] | | ____________________________________| [INFO] [stdout] 219 | || .pointer_tracker [INFO] [stdout] 220 | || .borrow_mut() [INFO] [stdout] | ||_____________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 221 | | .on_pointer_move(event) [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/waterfall_interaction.rs:224:13 [INFO] [stdout] | [INFO] [stdout] 224 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 218 ~ match interaction [INFO] [stdout] 219 | .pointer_tracker [INFO] [stdout] 220 | .borrow_mut() [INFO] [stdout] 221 | .on_pointer_move(event) [INFO] [stdout] 222 ~ { Some(gesture) => { [INFO] [stdout] 223 | interaction.process_gesture(gesture).unwrap(); [INFO] [stdout] 224 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `maia_wasm` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/array_view.rs [INFO] [stderr] * src/render/engine/texture.rs [INFO] [stderr] * src/render/uniform.rs [INFO] [stderr] * src/ui/input.rs [INFO] [stderr] * src/ui/macros.rs [INFO] [stderr] * src/ui/preferences.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/array_view.rs:34:24 [INFO] [stderr] | [INFO] [stderr] 34 | ($rust:ty, $js:ty, $gl: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/render/engine/texture.rs:176:6 [INFO] [stderr] | [INFO] [stderr] 176 | ($doc:expr_2021, $type:ident, $int:expr_2021, $fmt:expr_2021, $t:ty) => { [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/render/engine/texture.rs:176:35 [INFO] [stderr] | [INFO] [stderr] 176 | ($doc:expr_2021, $type:ident, $int:expr_2021, $fmt:expr_2021, $t:ty) => { [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/render/engine/texture.rs:176:51 [INFO] [stderr] | [INFO] [stderr] 176 | ($doc:expr_2021, $type:ident, $int:expr_2021, $fmt:expr_2021, $t:ty) => { [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/render/uniform.rs:82:39 [INFO] [stderr] | [INFO] [stderr] 82 | ($t:ty, $fun:ident, $sel:ident, $($things: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/ui/input.rs:18:16 [INFO] [stderr] | [INFO] [stderr] 18 | ($t:ident, $scale:expr_2021, $resolution: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/ui/input.rs:18:34 [INFO] [stderr] | [INFO] [stderr] 18 | ($t:ident, $scale:expr_2021, $resolution: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/ui/macros.rs:61:20 [INFO] [stderr] | [INFO] [stderr] 61 | ($event:ident, $self:expr_2021, $($element:ident),*) => { [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/ui/macros.rs:75:51 [INFO] [stderr] | [INFO] [stderr] 75 | ($name:ident, $request_json:ty, $get_json:ty, $url:expr_2021, $method_ident:ident, $method:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/ui/macros.rs:75:88 [INFO] [stderr] | [INFO] [stderr] 75 | ($name:ident, $request_json:ty, $get_json:ty, $url:expr_2021, $method_ident:ident, $method:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/ui/macros.rs:108:49 [INFO] [stderr] | [INFO] [stderr] 108 | ($name:ident, $patch_json:ty, $get_json:ty, $url: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/ui/macros.rs:114:47 [INFO] [stderr] | [INFO] [stderr] 114 | ($name:ident, $put_json:ty, $get_json:ty, $url: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/ui/macros.rs:120:6 [INFO] [stderr] | [INFO] [stderr] 120 | ($self:expr_2021, $source:expr_2021, $section:ident, $($element:ident),*) => { [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/ui/macros.rs:120:23 [INFO] [stderr] | [INFO] [stderr] 120 | ($self:expr_2021, $source:expr_2021, $section:ident, $($element:ident),*) => { [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/ui/macros.rs:142:6 [INFO] [stderr] | [INFO] [stderr] 142 | ($self:expr_2021, $source:expr_2021, $section:ident, $($element:ident),*) => { [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/ui/macros.rs:142:23 [INFO] [stderr] | [INFO] [stderr] 142 | ($self:expr_2021, $source:expr_2021, $section:ident, $($element:ident),*) => { [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/ui/macros.rs:215:45 [INFO] [stderr] | [INFO] [stderr] 215 | ($name:ident, $json:ty, $patch_json:ty, $url:expr_2021, $($element:ident),*) => { [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/ui/macros.rs:224:45 [INFO] [stderr] | [INFO] [stderr] 224 | ($name:ident, $json:ty, $patch_json:ty, $url:expr_2021, $($element:ident),*) => { [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/ui/preferences.rs:14:31 [INFO] [stderr] | [INFO] [stderr] 14 | {$($name:ident : $ty:ty = $default: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 19 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/array_view.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | ($rust:ty, $js:ty, $gl: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] 34 | ($rust:ty, $js:ty, $gl: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/render/engine/texture.rs:176:11 [INFO] [stdout] | [INFO] [stdout] 176 | ($doc:expr, $type:ident, $int:expr, $fmt:expr, $t:ty) => { [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] 176 | ($doc:expr_2021, $type:ident, $int:expr, $fmt:expr, $t:ty) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/engine/texture.rs:176:35 [INFO] [stdout] | [INFO] [stdout] 176 | ($doc:expr, $type:ident, $int:expr, $fmt:expr, $t:ty) => { [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] 176 | ($doc:expr, $type:ident, $int:expr_2021, $fmt:expr, $t:ty) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/engine/texture.rs:176:46 [INFO] [stdout] | [INFO] [stdout] 176 | ($doc:expr, $type:ident, $int:expr, $fmt:expr, $t:ty) => { [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] 176 | ($doc:expr, $type:ident, $int:expr, $fmt:expr_2021, $t:ty) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/uniform.rs:82:47 [INFO] [stdout] | [INFO] [stdout] 82 | ($t:ty, $fun:ident, $sel:ident, $($things: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] 82 | ($t:ty, $fun:ident, $sel:ident, $($things: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/ui/input.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | ($t:ident, $scale:expr, $resolution: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] 18 | ($t:ident, $scale:expr_2021, $resolution: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/ui/input.rs:18:41 [INFO] [stdout] | [INFO] [stdout] 18 | ($t:ident, $scale:expr, $resolution: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] 18 | ($t:ident, $scale:expr, $resolution: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/ui/macros.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | ($event:ident, $self:expr, $($element:ident),*) => { [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] 61 | ($event:ident, $self:expr_2021, $($element:ident),*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ui/macros.rs:75:56 [INFO] [stdout] | [INFO] [stdout] 75 | ($name:ident, $request_json:ty, $get_json:ty, $url:expr, $method_ident:ident, $method:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 75 | ($name:ident, $request_json:ty, $get_json:ty, $url:expr_2021, $method_ident:ident, $method: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/ui/macros.rs:75:91 [INFO] [stdout] | [INFO] [stdout] 75 | ($name:ident, $request_json:ty, $get_json:ty, $url:expr, $method_ident:ident, $method:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 75 | ($name:ident, $request_json:ty, $get_json:ty, $url:expr, $method_ident:ident, $method:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ui/macros.rs:108:54 [INFO] [stdout] | [INFO] [stdout] 108 | ($name:ident, $patch_json:ty, $get_json:ty, $url: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] 108 | ($name:ident, $patch_json:ty, $get_json:ty, $url: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/ui/macros.rs:114:52 [INFO] [stdout] | [INFO] [stdout] 114 | ($name:ident, $put_json:ty, $get_json:ty, $url: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] 114 | ($name:ident, $put_json:ty, $get_json:ty, $url: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/ui/macros.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | ($self:expr, $source:expr, $section:ident, $($element:ident),*) => { [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] 120 | ($self:expr_2021, $source:expr, $section:ident, $($element:ident),*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ui/macros.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | ($self:expr, $source:expr, $section:ident, $($element:ident),*) => { [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] 120 | ($self:expr, $source:expr_2021, $section:ident, $($element:ident),*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ui/macros.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | ($self:expr, $source:expr, $section:ident, $($element:ident),*) => { [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] 142 | ($self:expr_2021, $source:expr, $section:ident, $($element:ident),*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ui/macros.rs:142:26 [INFO] [stdout] | [INFO] [stdout] 142 | ($self:expr, $source:expr, $section:ident, $($element:ident),*) => { [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] 142 | ($self:expr, $source:expr_2021, $section:ident, $($element:ident),*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ui/macros.rs:215:50 [INFO] [stdout] | [INFO] [stdout] 215 | ($name:ident, $json:ty, $patch_json:ty, $url:expr, $($element:ident),*) => { [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] 215 | ($name:ident, $json:ty, $patch_json:ty, $url:expr_2021, $($element:ident),*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ui/macros.rs:224:50 [INFO] [stdout] | [INFO] [stdout] 224 | ($name:ident, $json:ty, $patch_json:ty, $url:expr, $($element:ident),*) => { [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] 224 | ($name:ident, $json:ty, $patch_json:ty, $url:expr_2021, $($element:ident),*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ui/preferences.rs:14:40 [INFO] [stdout] | [INFO] [stdout] 14 | {$($name:ident : $ty:ty = $default: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] 14 | {$($name:ident : $ty:ty = $default:expr_2021,)*} => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/array_view.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | <$js>::view(rust) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 45 | impl_array_view!(f32, Float32Array, WebGl2RenderingContext::FLOAT); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/array_view.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | unsafe fn view(rust: &[$rust]) -> $js { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | impl_array_view!(f32, Float32Array, WebGl2RenderingContext::FLOAT); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `impl_array_view` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/array_view.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | <$js>::view(rust) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 46 | impl_array_view!(u16, Uint16Array, WebGl2RenderingContext::UNSIGNED_INT); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/array_view.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | unsafe fn view(rust: &[$rust]) -> $js { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | impl_array_view!(u16, Uint16Array, WebGl2RenderingContext::UNSIGNED_INT); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_array_view` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/array_view.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | <$js>::view(rust) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 47 | impl_array_view!(u8, Uint8Array, WebGl2RenderingContext::UNSIGNED_BYTE); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/array_view.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | unsafe fn view(rust: &[$rust]) -> $js { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | impl_array_view!(u8, Uint8Array, WebGl2RenderingContext::UNSIGNED_BYTE); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_array_view` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pointer.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | if let Some(slot) = self.slots.iter_mut().find(|x| x.is_none()) { [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/pointer.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | } [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] 108 ~ match self.slots.iter_mut().find(|x| x.is_none()) { Some(slot) => { [INFO] [stdout] 109 | // create new series of pointer [INFO] [stdout] ... [INFO] [stdout] 115 | return; [INFO] [stdout] 116 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pointer.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | if let Some(slot) = self.slots.iter_mut().find(|x| { [INFO] [stdout] | ^ ---------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | ____________| [INFO] [stdout] | | [INFO] [stdout] 130 | | x.as_ref() [INFO] [stdout] 131 | | .map_or(false, |x| x.event.pointer_id() == pointer_id) [INFO] [stdout] 132 | | }) { [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/pointer.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | } [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 self.slots.iter_mut().find(|x| { [INFO] [stdout] 130 | x.as_ref() [INFO] [stdout] 131 | .map_or(false, |x| x.event.pointer_id() == pointer_id) [INFO] [stdout] 132 ~ }) { Some(slot) => { [INFO] [stdout] 133 | // Remove event. [INFO] [stdout] 134 | slot.take(); [INFO] [stdout] 135 | return; [INFO] [stdout] 136 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/render/uniform.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | if let Some(location) = gl.get_uniform_location(program, self.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/render/uniform.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 65 ~ match gl.get_uniform_location(program, self.name()) { Some(location) => { [INFO] [stdout] 66 | self.get_data().uniform(gl, Some(&location)) [INFO] [stdout] 67 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ui.rs:456:24 [INFO] [stdout] | [INFO] [stdout] 456 | if let Err(e) = prefs.update_ddc_transition_bandwidth(&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/ui.rs:458:21 [INFO] [stdout] | [INFO] [stdout] 458 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 456 ~ match prefs.update_ddc_transition_bandwidth(&value) { Err(e) => { [INFO] [stdout] 457 | web_sys::console::error_1(&e); [INFO] [stdout] 458 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ui.rs:461:24 [INFO] [stdout] | [INFO] [stdout] 461 | if let Err(e) = prefs.update_ddc_passband_ripple(&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/ui.rs:463:21 [INFO] [stdout] | [INFO] [stdout] 463 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 461 ~ match prefs.update_ddc_passband_ripple(&value) { Err(e) => { [INFO] [stdout] 462 | web_sys::console::error_1(&e); [INFO] [stdout] 463 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ui.rs:466:24 [INFO] [stdout] | [INFO] [stdout] 466 | if let Err(e) = prefs.update_ddc_stopband_attenuation_db(&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/ui.rs:468:21 [INFO] [stdout] | [INFO] [stdout] 468 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 466 ~ match prefs.update_ddc_stopband_attenuation_db(&value) { Err(e) => { [INFO] [stdout] 467 | web_sys::console::error_1(&e); [INFO] [stdout] 468 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ui.rs:471:24 [INFO] [stdout] | [INFO] [stdout] 471 | if let Err(e) = prefs.update_ddc_stopband_one_over_f(&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/ui.rs:473:21 [INFO] [stdout] | [INFO] [stdout] 473 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 471 ~ match prefs.update_ddc_stopband_one_over_f(&value) { Err(e) => { [INFO] [stdout] 472 | web_sys::console::error_1(&e); [INFO] [stdout] 473 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ui.rs:627:16 [INFO] [stdout] | [INFO] [stdout] 627 | if let Some(freq) = self [INFO] [stdout] | _________________^ - [INFO] [stdout] | | _________________________________| [INFO] [stdout] 628 | || .api_state [INFO] [stdout] 629 | || .borrow() [INFO] [stdout] | ||_________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 630 | | .as_ref() [INFO] [stdout] 631 | | .map(|s| s.spectrometer.output_sampling_frequency) [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/ui.rs:636:13 [INFO] [stdout] | [INFO] [stdout] 636 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 627 ~ match self [INFO] [stdout] 628 | .api_state [INFO] [stdout] ... [INFO] [stdout] 631 | .map(|s| s.spectrometer.output_sampling_frequency) [INFO] [stdout] 632 ~ { Some(freq) => { [INFO] [stdout] 633 | // if the format of the element fails, there is not much we can [INFO] [stdout] 634 | // do [INFO] [stdout] 635 | json.output_sampling_frequency = Some(freq); [INFO] [stdout] 636 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ui.rs:683:16 [INFO] [stdout] | [INFO] [stdout] 683 | if let Ok(mut p) = ui.preferences.try_borrow_mut() { [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/ui.rs:687:13 [INFO] [stdout] | [INFO] [stdout] 687 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 683 ~ match ui.preferences.try_borrow_mut() { Ok(mut p) => { [INFO] [stdout] 684 | if let Err(e) = p.update_colormap_select(&colormap) { [INFO] [stdout] 685 | web_sys::console::error_1(&e); [INFO] [stdout] 686 | } [INFO] [stdout] 687 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ui.rs:684:20 [INFO] [stdout] | [INFO] [stdout] 684 | if let Err(e) = p.update_colormap_select(&colormap) { [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/ui.rs:686:17 [INFO] [stdout] | [INFO] [stdout] 686 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 684 ~ match p.update_colormap_select(&colormap) { Err(e) => { [INFO] [stdout] 685 | web_sys::console::error_1(&e); [INFO] [stdout] 686 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ui.rs:700:20 [INFO] [stdout] | [INFO] [stdout] 700 | if let Err(e) = p.update_waterfall_show_ddc(&show) { [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/ui.rs:702:17 [INFO] [stdout] | [INFO] [stdout] 702 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 700 ~ match p.update_waterfall_show_ddc(&show) { Err(e) => { [INFO] [stdout] 701 | web_sys::console::error_1(&e); [INFO] [stdout] 702 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ui/macros.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | if let Ok(mut p) = ui.preferences.try_borrow_mut() { [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] ::: src/ui.rs:719:5 [INFO] [stdout] | [INFO] [stdout] 719 | waterfallminmax_onchange!(waterfall_min); [INFO] [stdout] | ---------------------------------------- in this macro invocation [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/ui/macros.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/ui.rs:719:5 [INFO] [stdout] | [INFO] [stdout] 719 | waterfallminmax_onchange!(waterfall_min); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `waterfallminmax_onchange` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ui/macros.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | ... if let Err(e) = p.[](&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] ::: src/ui.rs:719:5 [INFO] [stdout] | [INFO] [stdout] 719 | waterfallminmax_onchange!(waterfall_min); [INFO] [stdout] | ---------------------------------------- in this macro invocation [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/ui/macros.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | ... } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/ui.rs:719:5 [INFO] [stdout] | [INFO] [stdout] 719 | waterfallminmax_onchange!(waterfall_min); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `waterfallminmax_onchange` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ui/macros.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | if let Ok(mut p) = ui.preferences.try_borrow_mut() { [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] ::: src/ui.rs:720:5 [INFO] [stdout] | [INFO] [stdout] 720 | waterfallminmax_onchange!(waterfall_max); [INFO] [stdout] | ---------------------------------------- in this macro invocation [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/ui/macros.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/ui.rs:720:5 [INFO] [stdout] | [INFO] [stdout] 720 | waterfallminmax_onchange!(waterfall_max); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `waterfallminmax_onchange` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ui/macros.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | ... if let Err(e) = p.[](&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] ::: src/ui.rs:720:5 [INFO] [stdout] | [INFO] [stdout] 720 | waterfallminmax_onchange!(waterfall_max); [INFO] [stdout] | ---------------------------------------- in this macro invocation [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/ui/macros.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | ... } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/ui.rs:720:5 [INFO] [stdout] | [INFO] [stdout] 720 | waterfallminmax_onchange!(waterfall_max); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `waterfallminmax_onchange` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ui/preferences.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | if let Some(storage) = self.storage.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ui/preferences.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | } 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] 111 ~ match self.storage.as_ref() { Some(storage) => { [INFO] [stdout] 112 | let data = serde_json::to_string(&self.data).unwrap(); [INFO] [stdout] 113 | storage.set_item(PREFERENCES_KEY, &data) [INFO] [stdout] 114 ~ } _ => { [INFO] [stdout] 115 | Ok(()) [INFO] [stdout] 116 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Fn()` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/waterfall_interaction.rs:115:32 [INFO] [stdout] | [INFO] [stdout] 115 | fn resize_canvas(&self) -> impl Fn() { [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/waterfall_interaction.rs:115:22 [INFO] [stdout] | [INFO] [stdout] 115 | fn resize_canvas(&self) -> impl Fn() { [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] 115 | fn resize_canvas(&self) -> impl Fn() + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/waterfall_interaction.rs:218:16 [INFO] [stdout] | [INFO] [stdout] 218 | if let Some(gesture) = interaction [INFO] [stdout] | _________________^ - [INFO] [stdout] | | ____________________________________| [INFO] [stdout] 219 | || .pointer_tracker [INFO] [stdout] 220 | || .borrow_mut() [INFO] [stdout] | ||_____________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 221 | | .on_pointer_move(event) [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/waterfall_interaction.rs:224:13 [INFO] [stdout] | [INFO] [stdout] 224 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 218 ~ match interaction [INFO] [stdout] 219 | .pointer_tracker [INFO] [stdout] 220 | .borrow_mut() [INFO] [stdout] 221 | .on_pointer_move(event) [INFO] [stdout] 222 ~ { Some(gesture) => { [INFO] [stdout] 223 | interaction.process_gesture(gesture).unwrap(); [INFO] [stdout] 224 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.64s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking maia-wasm v0.5.1 (/tmp/fixit) [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/array_view.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | <$js>::view(rust) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 45 | impl_array_view!(f32, Float32Array, WebGl2RenderingContext::FLOAT); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/array_view.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | unsafe fn view(rust: &[$rust]) -> $js { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | impl_array_view!(f32, Float32Array, WebGl2RenderingContext::FLOAT); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_array_view` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/array_view.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | <$js>::view(rust) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 45 | impl_array_view!(f32, Float32Array, WebGl2RenderingContext::FLOAT); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/array_view.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | unsafe fn view(rust: &[$rust]) -> $js { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | impl_array_view!(f32, Float32Array, WebGl2RenderingContext::FLOAT); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_array_view` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/array_view.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | <$js>::view(rust) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 46 | impl_array_view!(u16, Uint16Array, WebGl2RenderingContext::UNSIGNED_INT); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/array_view.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | unsafe fn view(rust: &[$rust]) -> $js { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | impl_array_view!(u16, Uint16Array, WebGl2RenderingContext::UNSIGNED_INT); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_array_view` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/array_view.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | <$js>::view(rust) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 46 | impl_array_view!(u16, Uint16Array, WebGl2RenderingContext::UNSIGNED_INT); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/array_view.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | unsafe fn view(rust: &[$rust]) -> $js { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | impl_array_view!(u16, Uint16Array, WebGl2RenderingContext::UNSIGNED_INT); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_array_view` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/array_view.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | <$js>::view(rust) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 47 | impl_array_view!(u8, Uint8Array, WebGl2RenderingContext::UNSIGNED_BYTE); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/array_view.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | unsafe fn view(rust: &[$rust]) -> $js { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | impl_array_view!(u8, Uint8Array, WebGl2RenderingContext::UNSIGNED_BYTE); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_array_view` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/array_view.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | <$js>::view(rust) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 47 | impl_array_view!(u8, Uint8Array, WebGl2RenderingContext::UNSIGNED_BYTE); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/array_view.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | unsafe fn view(rust: &[$rust]) -> $js { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | impl_array_view!(u8, Uint8Array, WebGl2RenderingContext::UNSIGNED_BYTE); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_array_view` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/waterfall_interaction.rs:126:22 [INFO] [stdout] | [INFO] [stdout] 125 | fn onresize(&self) -> Closure { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] 126 | Closure::new(self.resize_canvas()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/waterfall_interaction.rs:126:22 [INFO] [stdout] | [INFO] [stdout] 125 | fn onresize(&self) -> Closure { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] 126 | Closure::new(self.resize_canvas()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0133, E0521. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0133, E0521. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `maia-wasm` (lib test) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `maia-wasm` (lib) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "9e89fc8bbbba3900128d4f6abc1c4aab71d08859a43ef47a7042493d61430838", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e89fc8bbbba3900128d4f6abc1c4aab71d08859a43ef47a7042493d61430838", kill_on_drop: false }` [INFO] [stdout] 9e89fc8bbbba3900128d4f6abc1c4aab71d08859a43ef47a7042493d61430838