[INFO] cloning repository https://github.com/Tired-Fox/rust-scripting [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Tired-Fox/rust-scripting" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTired-Fox%2Frust-scripting", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTired-Fox%2Frust-scripting'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 965ca950575b260160b9385857ecad4b67fd111a [INFO] checking Tired-Fox/rust-scripting/965ca950575b260160b9385857ecad4b67fd111a against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTired-Fox%2Frust-scripting" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Tired-Fox/rust-scripting 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 git repo https://github.com/Tired-Fox/rust-scripting [INFO] finished tweaking git repo https://github.com/Tired-Fox/rust-scripting [INFO] tweaked toml for git repo https://github.com/Tired-Fox/rust-scripting written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Tired-Fox/rust-scripting already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3df3a9f842bff075c4691b29cfb51f7aebd4ff318117214189f8a577b24944b [INFO] running `Command { std: "docker" "start" "-a" "d3df3a9f842bff075c4691b29cfb51f7aebd4ff318117214189f8a577b24944b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3df3a9f842bff075c4691b29cfb51f7aebd4ff318117214189f8a577b24944b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3df3a9f842bff075c4691b29cfb51f7aebd4ff318117214189f8a577b24944b", kill_on_drop: false }` [INFO] [stdout] d3df3a9f842bff075c4691b29cfb51f7aebd4ff318117214189f8a577b24944b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12fb801017c237eb097104ba710570c07e5025eb9eecd32a5170fb8141bffb29 [INFO] running `Command { std: "docker" "start" "-a" "12fb801017c237eb097104ba710570c07e5025eb9eecd32a5170fb8141bffb29", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking indexmap v2.2.5 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking openssl-sys v0.9.101 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling lua-src v546.0.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling which v6.0.0 [INFO] [stderr] Compiling luajit-src v210.5.7+d06beb0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling mlua-sys v0.5.1 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.4 [INFO] [stderr] Checking openssl v0.10.64 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking pin-project v1.1.4 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling mlua_derive v0.9.2 [INFO] [stderr] Checking fd-lock v4.0.2 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking color-spantrace v0.2.1 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Checking color-eyre v0.6.3 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking h2 v0.3.25 [INFO] [stderr] Checking h2 v0.4.3 [INFO] [stderr] Checking rustyline v14.0.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking erased-serde v0.4.4 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper v1.2.0 [INFO] [stderr] Checking mlua v0.9.6 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.26 [INFO] [stderr] Checking slua v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `slua` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/lib.rs [INFO] [stderr] * src/lua.rs [INFO] [stderr] * src/modules/plugin.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/lua.rs:54:25 [INFO] [stderr] | [INFO] [stderr] 54 | [$lua: ident] $($value: 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/lua.rs:65:25 [INFO] [stderr] | [INFO] [stderr] 65 | [$lua: ident] $($name: expr_2021 => $value: 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/lua.rs:65:45 [INFO] [stderr] | [INFO] [stderr] 65 | [$lua: ident] $($name: expr_2021 => $value: 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/lua.rs:79:25 [INFO] [stderr] | [INFO] [stderr] 79 | [$lua: ident] $($value: 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/lua.rs:192:8 [INFO] [stderr] | [INFO] [stderr] 192 | ($($arg: 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/lua.rs:236:26 [INFO] [stderr] | [INFO] [stderr] 236 | None => ($next_key: expr_2021, $next_value: 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/lua.rs:236:48 [INFO] [stderr] | [INFO] [stderr] 236 | None => ($next_key: expr_2021, $next_value: 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/lua.rs:237:35 [INFO] [stderr] | [INFO] [stderr] 237 | $($k: literal => ($nk: expr_2021, $nv: 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/lua.rs:237:51 [INFO] [stderr] | [INFO] [stderr] 237 | $($k: literal => ($nk: expr_2021, $nv: 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] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lua.rs:54:33 [INFO] [stdout] | [INFO] [stdout] 54 | [$lua: ident] $($value: 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] 54 | [$lua: ident] $($value: 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/lua.rs:65:32 [INFO] [stdout] | [INFO] [stdout] 65 | [$lua: ident] $($name: expr => $value: 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] 65 | [$lua: ident] $($name: expr_2021 => $value: expr),* $(,)? [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/lua.rs:65:48 [INFO] [stdout] | [INFO] [stdout] 65 | [$lua: ident] $($name: expr => $value: 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] 65 | [$lua: ident] $($name: expr => $value: expr_2021),* $(,)? [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/lib.rs:11:8 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lua.rs:79:33 [INFO] [stdout] | [INFO] [stdout] 79 | [$lua: ident] $($value: 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] 79 | [$lua: ident] $($value: 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/lua.rs:192:14 [INFO] [stdout] | [INFO] [stdout] 192 | ($($arg: 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] 192 | ($($arg: expr_2021),* $(,)?) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 11 | ($($arg: expr_2021),*) => { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lua.rs:236:37 [INFO] [stdout] | [INFO] [stdout] 236 | None => ($next_key: expr, $next_value: 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] 236 | None => ($next_key: expr_2021, $next_value: expr), [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/lua.rs:236:56 [INFO] [stdout] | [INFO] [stdout] 236 | None => ($next_key: expr, $next_value: 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] 236 | None => ($next_key: expr, $next_value: 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/lua.rs:237:40 [INFO] [stdout] | [INFO] [stdout] 237 | $($k: literal => ($nk: expr, $nv: 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] 237 | $($k: literal => ($nk: expr_2021, $nv: expr)),* [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [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/lua.rs:237:51 [INFO] [stdout] | [INFO] [stdout] 237 | $($k: literal => ($nk: expr, $nv: 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] 237 | $($k: literal => ($nk: expr, $nv: expr_2021)),* [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | ($($arg: 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] 11 | ($($arg: expr_2021),*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/modules/plugin.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | fn new_plugin(lua: &Lua, data: Value) -> Result<(), LuaError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromLua<'_>` will fail [INFO] [stdout] --> src/modules/plugin.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 79 | setup.call(plugin.info(lua)?)?; [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/modules/plugin.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | if let Ok(v) = Function::from_lua(v, lua) { [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/modules/plugin.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | } [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] 56 ~ match Function::from_lua(v, lua) { Ok(v) => { [INFO] [stdout] 57 | hooks.insert(k.to_str()?.to_string(), v); [INFO] [stdout] 58 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/modules/plugin.rs:71:1 [INFO] [stderr] | [INFO] [stderr] 71 | fn new_plugin(lua: &Lua, data: Value) -> Result<(), LuaError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromLua<'_>` will fail [INFO] [stderr] --> src/modules/plugin.rs:79:15 [INFO] [stderr] | [INFO] [stderr] 79 | setup.call(plugin.info(lua)?)?; [INFO] [stderr] | ^^^^ [INFO] [stderr] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `slua` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/lib.rs [INFO] [stderr] * src/lua.rs [INFO] [stderr] * src/modules/plugin.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/lua.rs:54:25 [INFO] [stderr] | [INFO] [stderr] 54 | [$lua: ident] $($value: 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/lua.rs:65:25 [INFO] [stderr] | [INFO] [stderr] 65 | [$lua: ident] $($name: expr_2021 => $value: 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/lua.rs:65:45 [INFO] [stderr] | [INFO] [stderr] 65 | [$lua: ident] $($name: expr_2021 => $value: 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/lua.rs:79:25 [INFO] [stderr] | [INFO] [stderr] 79 | [$lua: ident] $($value: 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/lua.rs:192:8 [INFO] [stderr] | [INFO] [stderr] 192 | ($($arg: 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/lua.rs:236:26 [INFO] [stderr] | [INFO] [stderr] 236 | None => ($next_key: expr_2021, $next_value: 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/lua.rs:236:48 [INFO] [stderr] | [INFO] [stderr] 236 | None => ($next_key: expr_2021, $next_value: 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/lua.rs:237:35 [INFO] [stderr] | [INFO] [stderr] 237 | $($k: literal => ($nk: expr_2021, $nv: 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/lua.rs:237:51 [INFO] [stderr] | [INFO] [stderr] 237 | $($k: literal => ($nk: expr_2021, $nv: expr_2021)),* [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:11:8 [INFO] [stderr] | [INFO] [stderr] 11 | ($($arg: expr_2021),*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/modules/plugin.rs:71:1 [INFO] [stderr] | [INFO] [stderr] 71 | fn new_plugin(lua: &Lua, data: Value) -> Result<(), LuaError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromLua<'_>` will fail [INFO] [stderr] --> src/modules/plugin.rs:79:15 [INFO] [stderr] | [INFO] [stderr] 79 | setup.call(plugin.info(lua)?)?; [INFO] [stderr] | ^^^^ [INFO] [stderr] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lua.rs:54:33 [INFO] [stdout] | [INFO] [stdout] 54 | [$lua: ident] $($value: 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] 54 | [$lua: ident] $($value: 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/lua.rs:65:32 [INFO] [stdout] | [INFO] [stdout] 65 | [$lua: ident] $($name: expr => $value: 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] 65 | [$lua: ident] $($name: expr_2021 => $value: 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/lua.rs:65:48 [INFO] [stdout] | [INFO] [stdout] 65 | [$lua: ident] $($name: expr => $value: 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] 65 | [$lua: ident] $($name: expr => $value: 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/lua.rs:79:33 [INFO] [stdout] | [INFO] [stdout] 79 | [$lua: ident] $($value: 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] 79 | [$lua: ident] $($value: 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/lua.rs:192:14 [INFO] [stdout] | [INFO] [stdout] 192 | ($($arg: 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] 192 | ($($arg: 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/lua.rs:236:37 [INFO] [stdout] | [INFO] [stdout] 236 | None => ($next_key: expr, $next_value: 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] 236 | None => ($next_key: expr_2021, $next_value: 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/lua.rs:236:56 [INFO] [stdout] | [INFO] [stdout] 236 | None => ($next_key: expr, $next_value: 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] 236 | None => ($next_key: expr, $next_value: 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/lua.rs:237:40 [INFO] [stdout] | [INFO] [stdout] 237 | $($k: literal => ($nk: expr, $nv: 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] 237 | $($k: literal => ($nk: expr_2021, $nv: 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/lua.rs:237:51 [INFO] [stdout] | [INFO] [stdout] 237 | $($k: literal => ($nk: expr, $nv: 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] 237 | $($k: literal => ($nk: expr, $nv: expr_2021)),* [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | ($($arg: 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] 11 | ($($arg: expr_2021),*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/modules/plugin.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | fn new_plugin(lua: &Lua, data: Value) -> Result<(), LuaError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromLua<'_>` will fail [INFO] [stdout] --> src/modules/plugin.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 79 | setup.call(plugin.info(lua)?)?; [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/modules/plugin.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | if let Ok(v) = Function::from_lua(v, lua) { [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/modules/plugin.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | } [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] 56 ~ match Function::from_lua(v, lua) { Ok(v) => { [INFO] [stdout] 57 | hooks.insert(k.to_str()?.to_string(), v); [INFO] [stdout] 58 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | fn main() -> color_eyre::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromLua<'_>` will fail [INFO] [stdout] --> src/main.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | lua.load("require 'types.provided'").eval()?; [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | fn main() -> color_eyre::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromLua<'_>` will fail [INFO] [stdout] --> src/main.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | lua.load("require 'types.provided'").eval()?; [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/async_reqwest.rs from 2021 edition to 2024 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/userdata.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/async_http_client.rs from 2021 edition to 2024 [INFO] [stderr] Fixed examples/async_http_client.rs (2 fixes) [INFO] [stderr] Migrating examples/guided_tour.rs from 2021 edition to 2024 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> examples/async_http_client.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | while let Some(next) = reader.0.frame().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> examples/async_http_client.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/importing.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/async_http_server.rs from 2021 edition to 2024 [INFO] [stderr] Fixed examples/async_http_server.rs (1 fix) [INFO] [stderr] Migrating examples/repl.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/serialize.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.74s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking slua v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0277]: the trait bound `!: FromLuaMulti<'_>` is not satisfied [INFO] [stdout] --> src/modules/plugin.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 79 | setup.call(plugin.info(lua)?)?; [INFO] [stdout] | ^^^^ the trait `FromLua<'_>` is not implemented for `!`, which is required by `!: FromLuaMulti<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromLua<'lua>`: [INFO] [stdout] AnyUserData<'lua> [INFO] [stdout] BTreeMap [INFO] [stdout] BTreeSet [INFO] [stdout] Box<[T]> [INFO] [stdout] Box [INFO] [stdout] CString [INFO] [stdout] Config [INFO] [stdout] Features [INFO] [stdout] and 34 others [INFO] [stdout] = note: required for `!` to implement `FromLuaMulti<'_>` [INFO] [stdout] note: required by a bound in `LuaFunction::<'lua>::call` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/mlua-0.9.6/src/function.rs:125:43 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn call, R: FromLuaMulti<'lua>>(&self, args: A) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Function::<'lua>::call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromLuaMulti<'_>` is not satisfied [INFO] [stdout] --> src/modules/plugin.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 79 | setup.call(plugin.info(lua)?)?; [INFO] [stdout] | ^^^^ the trait `FromLua<'_>` is not implemented for `!`, which is required by `!: FromLuaMulti<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromLua<'lua>`: [INFO] [stdout] AnyUserData<'lua> [INFO] [stdout] BTreeMap [INFO] [stdout] BTreeSet [INFO] [stdout] Box<[T]> [INFO] [stdout] Box [INFO] [stdout] CString [INFO] [stdout] Config [INFO] [stdout] Features [INFO] [stdout] and 34 others [INFO] [stdout] = note: required for `!` to implement `FromLuaMulti<'_>` [INFO] [stdout] note: required by a bound in `LuaFunction::<'lua>::call` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/mlua-0.9.6/src/function.rs:125:43 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn call, R: FromLuaMulti<'lua>>(&self, args: A) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Function::<'lua>::call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `slua` (lib) due to 2 previous errors [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `slua` (lib test) due to 2 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "12fb801017c237eb097104ba710570c07e5025eb9eecd32a5170fb8141bffb29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12fb801017c237eb097104ba710570c07e5025eb9eecd32a5170fb8141bffb29", kill_on_drop: false }` [INFO] [stdout] 12fb801017c237eb097104ba710570c07e5025eb9eecd32a5170fb8141bffb29