[INFO] fetching crate t4_idl_parser 0.1.1... [INFO] checking t4_idl_parser-0.1.1 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate t4_idl_parser 0.1.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate t4_idl_parser 0.1.1 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate t4_idl_parser 0.1.1 [INFO] finished tweaking crates.io crate t4_idl_parser 0.1.1 [INFO] tweaked toml for crates.io crate t4_idl_parser 0.1.1 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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 21 packages to latest compatible versions [INFO] [stderr] Adding arrayvec v0.5.2 (available: v0.7.6) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding bytecount v0.3.2 (available: v0.6.8) [INFO] [stderr] Adding lexical-core v0.7.6 (available: v1.0.2) [INFO] [stderr] Adding nom v5.1.3 (available: v7.1.3) [INFO] [stderr] Adding nom-greedyerror v0.4.0 (available: v0.5.0) [INFO] [stderr] Adding nom_locate v1.0.0 (available: v4.2.0) [INFO] [stderr] Adding nom_locate v2.1.0 (available: v4.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64affaa3bb61a4cb8426ea81fa91904e95d84246c68b2f1e6ef8ea88835fa212 [INFO] running `Command { std: "docker" "start" "-a" "64affaa3bb61a4cb8426ea81fa91904e95d84246c68b2f1e6ef8ea88835fa212", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64affaa3bb61a4cb8426ea81fa91904e95d84246c68b2f1e6ef8ea88835fa212", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64affaa3bb61a4cb8426ea81fa91904e95d84246c68b2f1e6ef8ea88835fa212", kill_on_drop: false }` [INFO] [stdout] 64affaa3bb61a4cb8426ea81fa91904e95d84246c68b2f1e6ef8ea88835fa212 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 439f8a63d9490b0a450f650dd5a5ab0aa0148464efdd40ef0c1e7013a255ba96 [INFO] running `Command { std: "docker" "start" "-a" "439f8a63d9490b0a450f650dd5a5ab0aa0148464efdd40ef0c1e7013a255ba96", kill_on_drop: false }` [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking bytecount v0.6.8 [INFO] [stderr] Checking bytecount v0.3.2 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking nom_locate v4.2.0 [INFO] [stderr] Checking nom_locate v1.0.0 [INFO] [stderr] Checking nom_locate v2.1.0 [INFO] [stderr] Checking nom-greedyerror v0.4.0 [INFO] [stderr] Checking t4_idl_parser v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/core.rs:39:70 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn lparen<'a>(lparen: &'a str) -> impl FnMut(Span<'a>) -> PResult<((), Span, ())> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/core.rs:39:76 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn lparen<'a>(lparen: &'a str) -> impl FnMut(Span<'a>) -> PResult<((), Span, ())> { [INFO] [stdout] | -- lifetime `'a` declared here ^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/core.rs:47:70 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn rparen<'a>(rparen: &'a str) -> impl FnMut(Span<'a>) -> PResult<((), Span)> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/core.rs:47:76 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn rparen<'a>(rparen: &'a str) -> impl FnMut(Span<'a>) -> PResult<((), Span)> { [INFO] [stdout] | -- lifetime `'a` declared here ^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/core.rs:51:68 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn delimiter<'a>(d: &'a str) -> impl FnMut(Span<'a>) -> PResult<((), Span, ())> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/core.rs:51:74 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn delimiter<'a>(d: &'a str) -> impl FnMut(Span<'a>) -> PResult<((), Span, ())> { [INFO] [stdout] | -- lifetime `'a` declared here ^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/core.rs:39:70 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn lparen<'a>(lparen: &'a str) -> impl FnMut(Span<'a>) -> PResult<((), Span, ())> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/core.rs:39:76 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn lparen<'a>(lparen: &'a str) -> impl FnMut(Span<'a>) -> PResult<((), Span, ())> { [INFO] [stdout] | -- lifetime `'a` declared here ^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/core.rs:47:70 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn rparen<'a>(rparen: &'a str) -> impl FnMut(Span<'a>) -> PResult<((), Span)> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/core.rs:47:76 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn rparen<'a>(rparen: &'a str) -> impl FnMut(Span<'a>) -> PResult<((), Span)> { [INFO] [stdout] | -- lifetime `'a` declared here ^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/core.rs:51:68 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn delimiter<'a>(d: &'a str) -> impl FnMut(Span<'a>) -> PResult<((), Span, ())> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/core.rs:51:74 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn delimiter<'a>(d: &'a str) -> impl FnMut(Span<'a>) -> PResult<((), Span, ())> { [INFO] [stdout] | -- lifetime `'a` declared here ^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/parser/components.rs:408:16 [INFO] [stdout] | [INFO] [stdout] 408 | match head.as_str() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `as_str(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(str_as_str)]` to the crate attributes to enable `core::str::::as_str` [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(str_as_str)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/parser/components.rs:408:16 [INFO] [stdout] | [INFO] [stdout] 408 | match head.as_str() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `as_str(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(str_as_str)]` to the crate attributes to enable `core::str::::as_str` [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(str_as_str)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `impl FnMut(LocatedSpan<&str>) -> Result<(LocatedSpan<&str>, ((), LocatedSpan<&str>, ())), nom::Err, nom::error::ErrorKind>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/core.rs:412:29 [INFO] [stdout] | [INFO] [stdout] 410 | let (input, left) = parse_xor_expr(input, shift)?; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 411 | [INFO] [stdout] 412 | if let Ok((input, _)) = delimiter("|")(input) { [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: this value of type `impl FnMut(LocatedSpan<&str>) -> Result<(LocatedSpan<&str>, ((), LocatedSpan<&str>, ())), nom::Err, nom::error::ErrorKind>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/core.rs:427:29 [INFO] [stdout] | [INFO] [stdout] 425 | let (input, left) = parse_and_expr(input, shift)?; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 426 | [INFO] [stdout] 427 | if let Ok((input, _)) = delimiter("^")(input) { [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: this value of type `impl FnMut(LocatedSpan<&str>) -> Result<(LocatedSpan<&str>, ((), LocatedSpan<&str>, ())), nom::Err, nom::error::ErrorKind>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/core.rs:442:29 [INFO] [stdout] | [INFO] [stdout] 440 | let (input, left) = parse_shift_expr(input, shift)?; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 441 | [INFO] [stdout] 442 | if let Ok((input, _)) = delimiter("&")(input) { [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: this value of type `ConstExpr` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/core.rs:463:21 [INFO] [stdout] | [INFO] [stdout] 456 | let (input, left) = parse_add_expr(input, shift)?; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 463 | let (input, right) = parse_shift_expr(input, shift)?; [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: this value of type `impl FnMut(LocatedSpan<&str>) -> Result<(LocatedSpan<&str>, ((), LocatedSpan<&str>, ())), nom::Err, nom::error::ErrorKind>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/core.rs:412:29 [INFO] [stdout] | [INFO] [stdout] 410 | let (input, left) = parse_xor_expr(input, shift)?; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 411 | [INFO] [stdout] 412 | if let Ok((input, _)) = delimiter("|")(input) { [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: this value of type `impl FnMut(LocatedSpan<&str>) -> Result<(LocatedSpan<&str>, ((), LocatedSpan<&str>, ())), nom::Err, nom::error::ErrorKind>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/core.rs:427:29 [INFO] [stdout] | [INFO] [stdout] 425 | let (input, left) = parse_and_expr(input, shift)?; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 426 | [INFO] [stdout] 427 | if let Ok((input, _)) = delimiter("^")(input) { [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: this value of type `impl FnMut(LocatedSpan<&str>) -> Result<(LocatedSpan<&str>, ((), LocatedSpan<&str>, ())), nom::Err, nom::error::ErrorKind>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/core.rs:442:29 [INFO] [stdout] | [INFO] [stdout] 440 | let (input, left) = parse_shift_expr(input, shift)?; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 441 | [INFO] [stdout] 442 | if let Ok((input, _)) = delimiter("&")(input) { [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: this value of type `impl FnMut(LocatedSpan<&str>) -> Result<(LocatedSpan<&str>, ((), LocatedSpan<&str>, ())), nom::Err, nom::error::ErrorKind>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/core.rs:483:38 [INFO] [stdout] | [INFO] [stdout] 481 | let (input, left) = parse_mult_expr(input, shift)?; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 482 | [INFO] [stdout] 483 | if let Ok((input, (_, op, _))) = alt((delimiter("+"), delimiter("-")))(input) { [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: this value of type `ConstExpr` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/core.rs:463:21 [INFO] [stdout] | [INFO] [stdout] 456 | let (input, left) = parse_add_expr(input, shift)?; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 463 | let (input, right) = parse_shift_expr(input, shift)?; [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: this value of type `impl FnMut(LocatedSpan<&str>) -> Result<(LocatedSpan<&str>, ((), LocatedSpan<&str>, ())), nom::Err, nom::error::ErrorKind>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/core.rs:483:38 [INFO] [stdout] | [INFO] [stdout] 481 | let (input, left) = parse_mult_expr(input, shift)?; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 482 | [INFO] [stdout] 483 | if let Ok((input, (_, op, _))) = alt((delimiter("+"), delimiter("-")))(input) { [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: this value of type `impl FnMut(LocatedSpan<&str>) -> Result<(LocatedSpan<&str>, ((), LocatedSpan<&str>, ())), nom::Err, nom::error::ErrorKind>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/core.rs:505:38 [INFO] [stdout] | [INFO] [stdout] 503 | let (input, left) = parse_unary_expr(input, shift)?; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 504 | [INFO] [stdout] 505 | if let Ok((input, (_, op, _))) = alt((delimiter("*"), delimiter("/"), delimiter("%")))(input) { [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: this value of type `impl FnMut(LocatedSpan<&str>) -> Result<(LocatedSpan<&str>, ((), LocatedSpan<&str>, ())), nom::Err, nom::error::ErrorKind>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/core.rs:505:38 [INFO] [stdout] | [INFO] [stdout] 503 | let (input, left) = parse_unary_expr(input, shift)?; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 504 | [INFO] [stdout] 505 | if let Ok((input, (_, op, _))) = alt((delimiter("*"), delimiter("/"), delimiter("%")))(input) { [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: aborting due to 6 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `t4_idl_parser` (lib test) due to 7 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `t4_idl_parser` (lib) due to 7 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "439f8a63d9490b0a450f650dd5a5ab0aa0148464efdd40ef0c1e7013a255ba96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "439f8a63d9490b0a450f650dd5a5ab0aa0148464efdd40ef0c1e7013a255ba96", kill_on_drop: false }` [INFO] [stdout] 439f8a63d9490b0a450f650dd5a5ab0aa0148464efdd40ef0c1e7013a255ba96