[INFO] cloning repository https://github.com/andrewbaxter/terrars [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andrewbaxter/terrars" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrewbaxter%2Fterrars", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrewbaxter%2Fterrars'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9c39cdc6f787ce3497877ee42fc52a3aa7ee1641 [INFO] checking andrewbaxter/terrars/9c39cdc6f787ce3497877ee42fc52a3aa7ee1641 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrewbaxter%2Fterrars" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andrewbaxter/terrars 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/andrewbaxter/terrars [INFO] finished tweaking git repo https://github.com/andrewbaxter/terrars [INFO] tweaked toml for git repo https://github.com/andrewbaxter/terrars written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/andrewbaxter/terrars already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] ae7561f1d2eda26091a2e6cf4de26c84418c8fe1adc4c0f072b031108f725327 [INFO] running `Command { std: "docker" "start" "-a" "ae7561f1d2eda26091a2e6cf4de26c84418c8fe1adc4c0f072b031108f725327", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae7561f1d2eda26091a2e6cf4de26c84418c8fe1adc4c0f072b031108f725327", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae7561f1d2eda26091a2e6cf4de26c84418c8fe1adc4c0f072b031108f725327", kill_on_drop: false }` [INFO] [stdout] ae7561f1d2eda26091a2e6cf4de26c84418c8fe1adc4c0f072b031108f725327 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 04df5a4863c12ec2ce3d7d4b211b3af110001f768b5bf56bfc172c40f732cd32 [INFO] running `Command { std: "docker" "start" "-a" "04df5a4863c12ec2ce3d7d4b211b3af110001f768b5bf56bfc172c40f732cd32", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating helloworld/Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling litrs v0.2.3 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.2 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling terminal_size v0.2.6 [INFO] [stderr] Compiling unicode-id v0.3.4 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling markdown v1.0.0-alpha.18 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Checking bytes v1.6.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling vte v0.10.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling clap_lex v0.7.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling structre_proc_macros v0.0.1 [INFO] [stderr] Compiling structre_proc_macros v0.0.3 [INFO] [stderr] Compiling clap_builder v4.5.9 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling ansitok v0.2.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling winnow v0.6.14 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling clap_derive v4.5.8 [INFO] [stderr] Compiling ansi-str v0.8.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling structre v0.0.1 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling comfy-table v7.1.1 [INFO] [stderr] Compiling clap v4.5.9 [INFO] [stderr] Compiling aargvark_proc_macros v0.0.3 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling loga v0.1.7 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking tokio v1.38.1 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling structre v0.0.4 [INFO] [stderr] Compiling loga v0.5.2 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling toml_edit v0.22.16 [INFO] [stderr] Compiling erased-serde v0.3.31 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Compiling aargvark v0.0.6 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling cargo-manifest v0.7.1 [INFO] [stderr] Compiling cargo_toml v0.14.1 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking typeid v1.0.0 [INFO] [stderr] Checking toml v0.8.15 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling genemichaels v0.1.21 [INFO] [stderr] Checking cargo-manifest v0.15.0 [INFO] [stderr] Compiling terrars v0.1.12 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking genemichaels-lib v0.5.0 [INFO] [stderr] Compiling terrars-andrewbaxter-localrun v0.2.0 [INFO] [stderr] Compiling terrars-andrewbaxter-dinker v0.1.25 [INFO] [stderr] Compiling terrars-andrewbaxter-fly v0.1.4 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Checking cargo_toml v0.20.4 [INFO] [stderr] Checking erased-serde v0.4.5 [INFO] [stderr] Checking headers-core v0.3.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking rfc7239 v0.1.1 [INFO] [stderr] Checking headers v0.4.0 [INFO] [stderr] Compiling poem-derive v3.0.2 [INFO] [stderr] Checking hyper-util v0.1.6 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking wildmatch v2.3.4 [INFO] [stderr] Compiling helloworld v0.1.0 (/tmp/fixit/helloworld) [INFO] [stderr] Migrating helloworld/build.rs from 2021 edition to 2024 [INFO] [stderr] Checking poem v3.0.3 [INFO] [stderr] Compiling aargvark_proc_macros v0.1.2 [INFO] [stderr] Checking aargvark v0.3.0 [INFO] [stderr] Checking terrars v0.1.13 (/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 `terrars` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/prim_field.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/prim_field.rs:181:8 [INFO] [stderr] | [INFO] [stderr] 181 | [$($e: 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/prim_field.rs:189:20 [INFO] [stderr] | [INFO] [stderr] 189 | $($k: tt = $e: 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 2 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/prim_field.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 181 | [$($e: 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] 181 | [$($e: 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/prim_field.rs:189:24 [INFO] [stdout] | [INFO] [stdout] 189 | $($k: tt = $e: 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] 189 | $($k: tt = $e: expr_2021), [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/prim_field.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | if let Some(vs) = f.borrow().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/prim_field.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 31 ~ match f.borrow().as_ref() { Some(vs) => { [INFO] [stdout] 32 | let mut out = self.replace("%{", "%%{").replace("${", "$${"); [INFO] [stdout] ... [INFO] [stdout] 36 | out.serialize(serializer) [INFO] [stdout] 37 ~ } _ => { [INFO] [stdout] 38 | self.serialize(serializer) [INFO] [stdout] 39 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `terrars` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/prim_field.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/prim_field.rs:181:8 [INFO] [stderr] | [INFO] [stderr] 181 | [$($e: 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/prim_field.rs:189:20 [INFO] [stderr] | [INFO] [stderr] 189 | $($k: tt = $e: 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 2 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] [stderr] Migrating helloworld/src/main.rs from 2021 edition to 2024 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/prim_field.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 181 | [$($e: 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] 181 | [$($e: 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/prim_field.rs:189:24 [INFO] [stdout] | [INFO] [stdout] 189 | $($k: tt = $e: 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] 189 | $($k: tt = $e: expr_2021), [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/prim_field.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | if let Some(vs) = f.borrow().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/prim_field.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 31 ~ match f.borrow().as_ref() { Some(vs) => { [INFO] [stdout] 32 | let mut out = self.replace("%{", "%%{").replace("${", "$${"); [INFO] [stdout] ... [INFO] [stdout] 36 | out.serialize(serializer) [INFO] [stdout] 37 ~ } _ => { [INFO] [stdout] 38 | self.serialize(serializer) [INFO] [stdout] 39 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/bin/terrars-generate.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `terrars_generate` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/bin/generatelib/errextra.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/bin/generatelib/errextra.rs:8:6 [INFO] [stderr] | [INFO] [stderr] 8 | ($b: 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 1 previous error [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/bin/generatelib/errextra.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | ($b: 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] 8 | ($b: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/bin/generatelib/generate.rs:196:16 [INFO] [stdout] | [INFO] [stdout] 196 | if let Some(block_type) = block { [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/bin/generatelib/generate.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 196 ~ match block { Some(block_type) => { [INFO] [stdout] 197 | out.dynamic_block_fields.push(quote!(#field_name: Option < DynamicBlock < #block_type >>)); [INFO] [stdout] ... [INFO] [stdout] 219 | ); [INFO] [stdout] 220 ~ } _ => { [INFO] [stdout] 221 | out [INFO] [stdout] ... [INFO] [stdout] 232 | ); [INFO] [stdout] 233 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/bin/generatelib/generate.rs:239:8 [INFO] [stdout] | [INFO] [stdout] 239 | if let Some((t1, t2)) = rust_field_ref_type { [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/bin/generatelib/generate.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 239 ~ match rust_field_ref_type { Some((t1, t2)) => { [INFO] [stdout] 240 | if self_has_identity { [INFO] [stdout] ... [INFO] [stdout] 249 | })); [INFO] [stdout] 250 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/bin/generatelib/errextra.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | ($b: 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] 8 | ($b: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/bin/generatelib/generate.rs:196:16 [INFO] [stdout] | [INFO] [stdout] 196 | if let Some(block_type) = block { [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/bin/generatelib/generate.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 196 ~ match block { Some(block_type) => { [INFO] [stdout] 197 | out.dynamic_block_fields.push(quote!(#field_name: Option < DynamicBlock < #block_type >>)); [INFO] [stdout] ... [INFO] [stdout] 219 | ); [INFO] [stdout] 220 ~ } _ => { [INFO] [stdout] 221 | out [INFO] [stdout] ... [INFO] [stdout] 232 | ); [INFO] [stdout] 233 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/bin/generatelib/generate.rs:239:8 [INFO] [stdout] | [INFO] [stdout] 239 | if let Some((t1, t2)) = rust_field_ref_type { [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/bin/generatelib/generate.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 239 ~ match rust_field_ref_type { Some((t1, t2)) => { [INFO] [stdout] 240 | if self_has_identity { [INFO] [stdout] ... [INFO] [stdout] 249 | })); [INFO] [stdout] 250 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `terrars_generate` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/bin/generatelib/errextra.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/bin/generatelib/errextra.rs:8:6 [INFO] [stderr] | [INFO] [stderr] 8 | ($b: 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 1 previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.43s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking terrars v0.1.13 (/tmp/fixit) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.57s [INFO] running `Command { std: "docker" "inspect" "04df5a4863c12ec2ce3d7d4b211b3af110001f768b5bf56bfc172c40f732cd32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04df5a4863c12ec2ce3d7d4b211b3af110001f768b5bf56bfc172c40f732cd32", kill_on_drop: false }` [INFO] [stdout] 04df5a4863c12ec2ce3d7d4b211b3af110001f768b5bf56bfc172c40f732cd32