[INFO] fetching crate parse-display-derive 0.10.0... [INFO] checking parse-display-derive-0.10.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate parse-display-derive 0.10.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate parse-display-derive 0.10.0 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate parse-display-derive 0.10.0 [INFO] finished tweaking crates.io crate parse-display-derive 0.10.0 [INFO] tweaked toml for crates.io crate parse-display-derive 0.10.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 12 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6091a176e81b6606e813fa4a47b4679496e5236de6a0c332a03b5a2c338ec96e [INFO] running `Command { std: "docker" "start" "-a" "6091a176e81b6606e813fa4a47b4679496e5236de6a0c332a03b5a2c338ec96e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6091a176e81b6606e813fa4a47b4679496e5236de6a0c332a03b5a2c338ec96e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6091a176e81b6606e813fa4a47b4679496e5236de6a0c332a03b5a2c338ec96e", kill_on_drop: false }` [INFO] [stdout] 6091a176e81b6606e813fa4a47b4679496e5236de6a0c332a03b5a2c338ec96e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d084b68a35abcb283864ff222df7d26f7eabe4b626973e3d368bfa5d1ab2b4d [INFO] running `Command { std: "docker" "start" "-a" "2d084b68a35abcb283864ff222df7d26f7eabe4b626973e3d368bfa5d1ab2b4d", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling structmeta-derive v0.3.0 [INFO] [stderr] Checking structmeta v0.3.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking parse-display-derive v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn derive_display(input: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | let input = parse_macro_input!(input as DeriveInput); [INFO] [stdout] | ----- ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | into_macro_output(match &input.data { [INFO] [stdout] | _______________________^ [INFO] [stdout] 40 | | Data::Struct(data) => derive_display_for_struct(&input, data), [INFO] [stdout] 41 | | Data::Enum(data) => derive_display_for_enum(&input, data), [INFO] [stdout] 42 | | Data::Union(_) => panic!("`#[derive(Display)]` supports only enum or struct."), [INFO] [stdout] 43 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:162:23 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn derive_from_str(input: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 161 | let input = parse_macro_input!(input as DeriveInput); [INFO] [stdout] | ----- ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 162 | into_macro_output(match &input.data { [INFO] [stdout] | _______________________^ [INFO] [stdout] 163 | | Data::Struct(data) => derive_from_str_for_struct(&input, data), [INFO] [stdout] 164 | | Data::Enum(data) => derive_from_str_for_enum(&input, data), [INFO] [stdout] 165 | | Data::Union(_) => panic!("`#[derive(FromStr)]` supports only enum or struct."), [INFO] [stdout] 166 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:285:12 [INFO] [stdout] | [INFO] [stdout] 281 | let mut fields = BTreeMap::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 285 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 286 | | source, [INFO] [stdout] 287 | | capture_next: 1, [INFO] [stdout] 288 | | parse_format: ParseFormat::new(), [INFO] [stdout] ... | [INFO] [stdout] 293 | | new_expr: None, [INFO] [stdout] 294 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/regex_utils.rs:98:43 [INFO] [stdout] | [INFO] [stdout] 98 | ::std::sync::LazyLock::new(|| ::regex::Regex::new($s).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:378:28 [INFO] [stdout] | [INFO] [stdout] 378 | let regex_number = regex!("^[0-9]+$"); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `regex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/regex_utils.rs:98:43 [INFO] [stdout] | [INFO] [stdout] 98 | ::std::sync::LazyLock::new(|| ::regex::Regex::new($s).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:379:29 [INFO] [stdout] | [INFO] [stdout] 379 | let regex_capture = regex!(r"(?\\*)\(\?(?

P?)<(?[_0-9a-zA-Z.]*)>"); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `regex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:688:12 [INFO] [stdout] | [INFO] [stdout] 686 | let hattrs = HelperAttributes::from(&source.attrs, true)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 687 | let use_default = hattrs.default_self.is_some(); [INFO] [stdout] 688 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 689 | | hattrs, [INFO] [stdout] 690 | | deep_captures: BTreeMap::new(), [INFO] [stdout] 691 | | capture: None, [INFO] [stdout] ... | [INFO] [stdout] 694 | | crate_path, [INFO] [stdout] 695 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/regex_utils.rs:98:43 [INFO] [stdout] | [INFO] [stdout] 98 | ::std::sync::LazyLock::new(|| ::regex::Regex::new($s).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1084:25 [INFO] [stdout] | [INFO] [stdout] 1084 | let regex_str = regex!(r"^[^{}]+"); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `regex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/regex_utils.rs:98:43 [INFO] [stdout] | [INFO] [stdout] 98 | ::std::sync::LazyLock::new(|| ::regex::Regex::new($s).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1085:25 [INFO] [stdout] | [INFO] [stdout] 1085 | let regex_var = regex!(r"^\{([^:{}]*)(?::([^}]*))?\}"); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `regex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:1166:12 [INFO] [stdout] | [INFO] [stdout] 1140 | let mut format_args = Vec::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1166 | Ok(FormatArgs { [INFO] [stdout] | ____________^ [INFO] [stdout] 1167 | | format_str, [INFO] [stdout] 1168 | | format_args, [INFO] [stdout] 1169 | | span: self.span, [INFO] [stdout] 1170 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:1306:12 [INFO] [stdout] | [INFO] [stdout] 1304 | let hattrs = HelperAttributes::from(&field.attrs, false)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1305 | let mut bounds = bounds.child(hattrs.bound_display); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1306 | Ok(if let Some(format) = hattrs.format { [INFO] [stdout] | ____________^ [INFO] [stdout] 1307 | | let args = format.format_args( [INFO] [stdout] 1308 | | DisplayContext::Field { [INFO] [stdout] 1309 | | parent: self, [INFO] [stdout] ... | [INFO] [stdout] 1327 | | )? [INFO] [stdout] 1328 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:1479:15 [INFO] [stdout] | [INFO] [stdout] 1478 | let fork = input.fork(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1479 | match fork.parse() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:1729:5 [INFO] [stdout] | [INFO] [stdout] 1728 | fn set_span(ts: TokenStream, span: Span) -> TokenStream { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1729 | / ts.into_iter() [INFO] [stdout] 1730 | | .map(|mut ts| { [INFO] [stdout] 1731 | | ts.set_span(span); [INFO] [stdout] 1732 | | ts [INFO] [stdout] 1733 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/regex_utils.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 9 | let mut ast = to_ast(s); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | / regex_syntax::hir::translate::Translator::new() [INFO] [stdout] 20 | | .translate(&s, &ast) [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/regex_utils.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 32 | let mut hirs = hirs.to_vec(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | hirs.push(Hir::look(regex_syntax::hir::Look::End)); [INFO] [stdout] 34 | Hir::concat(hirs).to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/syn_utils.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn into_macro_output(input: Result) -> proc_macro::TokenStream { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | / match input { [INFO] [stdout] 29 | | Ok(s) => s, [INFO] [stdout] 30 | | Err(e) => e.to_compile_error(), [INFO] [stdout] 31 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/syn_utils.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn into_iter(self) -> impl IntoIterator { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | / match self { [INFO] [stdout] 115 | | Self::Direct(item) => vec![item], [INFO] [stdout] 116 | | Self::Quoted { args, .. } => args.into_iter().collect(), [INFO] [stdout] 117 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/regex_utils.rs:98:43 [INFO] [stdout] | [INFO] [stdout] 98 | ::std::sync::LazyLock::new(|| ::regex::Regex::new($s).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/format_syntax.rs:97:18 [INFO] [stdout] | [INFO] [stdout] 97 | let re = regex!( [INFO] [stdout] | __________________- [INFO] [stdout] 98 | | "^\ [INFO] [stdout] 99 | | ((?.)?\ [INFO] [stdout] 100 | | (?[<>^]))??\ [INFO] [stdout] ... | [INFO] [stdout] 114 | | $" [INFO] [stdout] 115 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `regex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn derive_display(input: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | let input = parse_macro_input!(input as DeriveInput); [INFO] [stdout] | ----- ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | into_macro_output(match &input.data { [INFO] [stdout] | _______________________^ [INFO] [stdout] 40 | | Data::Struct(data) => derive_display_for_struct(&input, data), [INFO] [stdout] 41 | | Data::Enum(data) => derive_display_for_enum(&input, data), [INFO] [stdout] 42 | | Data::Union(_) => panic!("`#[derive(Display)]` supports only enum or struct."), [INFO] [stdout] 43 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:162:23 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn derive_from_str(input: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 161 | let input = parse_macro_input!(input as DeriveInput); [INFO] [stdout] | ----- ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 162 | into_macro_output(match &input.data { [INFO] [stdout] | _______________________^ [INFO] [stdout] 163 | | Data::Struct(data) => derive_from_str_for_struct(&input, data), [INFO] [stdout] 164 | | Data::Enum(data) => derive_from_str_for_enum(&input, data), [INFO] [stdout] 165 | | Data::Union(_) => panic!("`#[derive(FromStr)]` supports only enum or struct."), [INFO] [stdout] 166 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:285:12 [INFO] [stdout] | [INFO] [stdout] 281 | let mut fields = BTreeMap::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 285 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 286 | | source, [INFO] [stdout] 287 | | capture_next: 1, [INFO] [stdout] 288 | | parse_format: ParseFormat::new(), [INFO] [stdout] ... | [INFO] [stdout] 293 | | new_expr: None, [INFO] [stdout] 294 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/regex_utils.rs:98:43 [INFO] [stdout] | [INFO] [stdout] 98 | ::std::sync::LazyLock::new(|| ::regex::Regex::new($s).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:378:28 [INFO] [stdout] | [INFO] [stdout] 378 | let regex_number = regex!("^[0-9]+$"); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `regex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/regex_utils.rs:98:43 [INFO] [stdout] | [INFO] [stdout] 98 | ::std::sync::LazyLock::new(|| ::regex::Regex::new($s).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:379:29 [INFO] [stdout] | [INFO] [stdout] 379 | let regex_capture = regex!(r"(?\\*)\(\?(?

P?)<(?[_0-9a-zA-Z.]*)>"); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `regex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:688:12 [INFO] [stdout] | [INFO] [stdout] 686 | let hattrs = HelperAttributes::from(&source.attrs, true)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 687 | let use_default = hattrs.default_self.is_some(); [INFO] [stdout] 688 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 689 | | hattrs, [INFO] [stdout] 690 | | deep_captures: BTreeMap::new(), [INFO] [stdout] 691 | | capture: None, [INFO] [stdout] ... | [INFO] [stdout] 694 | | crate_path, [INFO] [stdout] 695 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/regex_utils.rs:98:43 [INFO] [stdout] | [INFO] [stdout] 98 | ::std::sync::LazyLock::new(|| ::regex::Regex::new($s).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1084:25 [INFO] [stdout] | [INFO] [stdout] 1084 | let regex_str = regex!(r"^[^{}]+"); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `regex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/regex_utils.rs:98:43 [INFO] [stdout] | [INFO] [stdout] 98 | ::std::sync::LazyLock::new(|| ::regex::Regex::new($s).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1085:25 [INFO] [stdout] | [INFO] [stdout] 1085 | let regex_var = regex!(r"^\{([^:{}]*)(?::([^}]*))?\}"); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `regex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:1166:12 [INFO] [stdout] | [INFO] [stdout] 1140 | let mut format_args = Vec::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1166 | Ok(FormatArgs { [INFO] [stdout] | ____________^ [INFO] [stdout] 1167 | | format_str, [INFO] [stdout] 1168 | | format_args, [INFO] [stdout] 1169 | | span: self.span, [INFO] [stdout] 1170 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `parse-display-derive` (lib test) due to 18 previous errors [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:1306:12 [INFO] [stdout] | [INFO] [stdout] 1304 | let hattrs = HelperAttributes::from(&field.attrs, false)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1305 | let mut bounds = bounds.child(hattrs.bound_display); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1306 | Ok(if let Some(format) = hattrs.format { [INFO] [stdout] | ____________^ [INFO] [stdout] 1307 | | let args = format.format_args( [INFO] [stdout] 1308 | | DisplayContext::Field { [INFO] [stdout] 1309 | | parent: self, [INFO] [stdout] ... | [INFO] [stdout] 1327 | | )? [INFO] [stdout] 1328 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:1479:15 [INFO] [stdout] | [INFO] [stdout] 1478 | let fork = input.fork(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1479 | match fork.parse() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:1729:5 [INFO] [stdout] | [INFO] [stdout] 1728 | fn set_span(ts: TokenStream, span: Span) -> TokenStream { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1729 | / ts.into_iter() [INFO] [stdout] 1730 | | .map(|mut ts| { [INFO] [stdout] 1731 | | ts.set_span(span); [INFO] [stdout] 1732 | | ts [INFO] [stdout] 1733 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/regex_utils.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 9 | let mut ast = to_ast(s); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | / regex_syntax::hir::translate::Translator::new() [INFO] [stdout] 20 | | .translate(&s, &ast) [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/regex_utils.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 32 | let mut hirs = hirs.to_vec(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | hirs.push(Hir::look(regex_syntax::hir::Look::End)); [INFO] [stdout] 34 | Hir::concat(hirs).to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/syn_utils.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn into_macro_output(input: Result) -> proc_macro::TokenStream { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | / match input { [INFO] [stdout] 29 | | Ok(s) => s, [INFO] [stdout] 30 | | Err(e) => e.to_compile_error(), [INFO] [stdout] 31 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/syn_utils.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn into_iter(self) -> impl IntoIterator { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | / match self { [INFO] [stdout] 115 | | Self::Direct(item) => vec![item], [INFO] [stdout] 116 | | Self::Quoted { args, .. } => args.into_iter().collect(), [INFO] [stdout] 117 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/regex_utils.rs:98:43 [INFO] [stdout] | [INFO] [stdout] 98 | ::std::sync::LazyLock::new(|| ::regex::Regex::new($s).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/format_syntax.rs:97:18 [INFO] [stdout] | [INFO] [stdout] 97 | let re = regex!( [INFO] [stdout] | __________________- [INFO] [stdout] 98 | | "^\ [INFO] [stdout] 99 | | ((?.)?\ [INFO] [stdout] 100 | | (?[<>^]))??\ [INFO] [stdout] ... | [INFO] [stdout] 114 | | $" [INFO] [stdout] 115 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `regex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `parse-display-derive` (lib) due to 18 previous errors [INFO] running `Command { std: "docker" "inspect" "2d084b68a35abcb283864ff222df7d26f7eabe4b626973e3d368bfa5d1ab2b4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d084b68a35abcb283864ff222df7d26f7eabe4b626973e3d368bfa5d1ab2b4d", kill_on_drop: false }` [INFO] [stdout] 2d084b68a35abcb283864ff222df7d26f7eabe4b626973e3d368bfa5d1ab2b4d