[INFO] fetching crate zngur-parser 0.4.0... [INFO] checking zngur-parser-0.4.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate zngur-parser 0.4.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate zngur-parser 0.4.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 zngur-parser 0.4.0 [INFO] finished tweaking crates.io crate zngur-parser 0.4.0 [INFO] tweaked toml for crates.io crate zngur-parser 0.4.0 written to /workspace/builds/worker-1-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 41 packages to latest compatible versions [INFO] [stderr] Adding ariadne v0.3.0 (latest: v0.4.1) [INFO] [stderr] Adding chumsky v1.0.0-alpha.4 (latest: v1.0.0-alpha.7) [INFO] [stderr] Adding hashbrown v0.13.2 (latest: v0.14.5) [INFO] [stderr] Adding iter_tools v0.1.4 (latest: v0.20.0) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.13.0) [INFO] [stderr] Adding vte v0.11.1 (latest: v0.13.0) [INFO] [stderr] Adding yansi v0.5.1 (latest: v1.0.1) [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] acf7be51be084aa5c0f61416e96f4ec9b5a616bf465d2b3b8c4c6c2809039a95 [INFO] running `Command { std: "docker" "start" "-a" "acf7be51be084aa5c0f61416e96f4ec9b5a616bf465d2b3b8c4c6c2809039a95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "acf7be51be084aa5c0f61416e96f4ec9b5a616bf465d2b3b8c4c6c2809039a95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acf7be51be084aa5c0f61416e96f4ec9b5a616bf465d2b3b8c4c6c2809039a95", kill_on_drop: false }` [INFO] [stdout] acf7be51be084aa5c0f61416e96f4ec9b5a616bf465d2b3b8c4c6c2809039a95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] ab14cdbadc5fc725593ed499b5c0df8773a651cdfccfdc0561bc9b79cbca1ad1 [INFO] running `Command { std: "docker" "start" "-a" "ab14cdbadc5fc725593ed499b5c0df8773a651cdfccfdc0561bc9b79cbca1ad1", kill_on_drop: false }` [INFO] [stderr] Compiling psm v0.1.22 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Checking dissimilar v1.0.9 [INFO] [stderr] Checking ariadne v0.3.0 [INFO] [stderr] Checking iter_tools v0.1.4 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.2 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking zngur-def v0.4.0 [INFO] [stderr] Checking expect-test v1.5.0 [INFO] [stderr] Checking vte v0.11.1 [INFO] [stderr] Checking chumsky v1.0.0-alpha.4 [INFO] [stderr] Checking strip-ansi-escapes v0.2.0 [INFO] [stderr] Checking zngur-parser v0.4.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:141:23 [INFO] [stdout] | [INFO] [stdout] 138 | fn to_zngur(self, base: &[String]) -> ZngurMethod { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 141 | generics: self [INFO] [stdout] | _______________________^ [INFO] [stdout] 142 | | .generics [INFO] [stdout] 143 | | .into_iter() [INFO] [stdout] 144 | | .map(|x| x.to_zngur(base)) [INFO] [stdout] 145 | | .collect(), [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:147:21 [INFO] [stdout] | [INFO] [stdout] 138 | fn to_zngur(self, base: &[String]) -> ZngurMethod { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 147 | inputs: self.inputs.into_iter().map(|x| x.to_zngur(base)).collect(), [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:148:21 [INFO] [stdout] | [INFO] [stdout] 138 | fn to_zngur(self, base: &[String]) -> ZngurMethod { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 148 | output: self.output.to_zngur(base), [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:223:71 [INFO] [stdout] | [INFO] [stdout] 223 | ... .map(|(i, t)| (i.to_string(), t.to_zngur(base))) [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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:227:70 [INFO] [stdout] | [INFO] [stdout] 227 | ... .map(|(i, t)| (i.to_owned(), t.to_zngur(base))) [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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:443:23 [INFO] [stdout] | [INFO] [stdout] 440 | fn to_zngur(self, base: &[String]) -> RustPathAndGenerics { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 443 | generics: self [INFO] [stdout] | _______________________^ [INFO] [stdout] 444 | | .generics [INFO] [stdout] 445 | | .into_iter() [INFO] [stdout] 446 | | .map(|x| x.to_zngur(base)) [INFO] [stdout] 447 | | .collect(), [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:448:29 [INFO] [stdout] | [INFO] [stdout] 440 | fn to_zngur(self, base: &[String]) -> RustPathAndGenerics { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 448 | named_generics: self [INFO] [stdout] | _____________________________^ [INFO] [stdout] 449 | | .named_generics [INFO] [stdout] 450 | | .into_iter() [INFO] [stdout] 451 | | .map(|(name, x)| (name.to_owned(), x.to_zngur(base))) [INFO] [stdout] 452 | | .collect(), [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:451:52 [INFO] [stdout] | [INFO] [stdout] 451 | .map(|(name, x)| (name.to_owned(), x.to_zngur(base))) [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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:748:9 [INFO] [stdout] | [INFO] [stdout] 704 | recursive(|parser| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 705 | let pg = rust_path_and_generics(parser.clone()); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 706 | let adt = pg.clone().map(ParsedRustType::Adt); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 707 | [INFO] [stdout] 708 | let dyn_trait = just(Token::KwDyn) [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 719 | let boxed = just(Token::Ident("Box")) [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 728 | let slice = parser [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 732 | let reference = just(Token::And) [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 740 | let raw_ptr = just(Token::Star) [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 748 | / scalar [INFO] [stdout] 749 | | .or(boxed) [INFO] [stdout] 750 | | .or(unit) [INFO] [stdout] 751 | | .or(slice) [INFO] [stdout] 752 | | .or(adt) [INFO] [stdout] 753 | | .or(reference) [INFO] [stdout] 754 | | .or(raw_ptr) [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:723:39 [INFO] [stdout] | [INFO] [stdout] 721 | .map(|(_, x)| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 722 | assert_eq!(x.len(), 1); [INFO] [stdout] 723 | ParsedRustType::Boxed(Box::new(x.into_iter().next().unwrap().right().unwrap())) [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:730:44 [INFO] [stdout] | [INFO] [stdout] 730 | .map(|x| ParsedRustType::Slice(Box::new(x))) [INFO] [stdout] | - ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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:739:50 [INFO] [stdout] | [INFO] [stdout] 739 | .map(|(m, x)| ParsedRustType::Ref(m, Box::new(x))); [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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:747:50 [INFO] [stdout] | [INFO] [stdout] 747 | .map(|(m, x)| ParsedRustType::Raw(m, Box::new(x))); [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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:775:9 [INFO] [stdout] | [INFO] [stdout] 760 | / rust_type: impl Parser<'a, ParserInput<'a>, ParsedRustType<'a>, extra::Err, Span>>> [INFO] [stdout] 761 | | + Clone, [INFO] [stdout] | |_______________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 768 | let named_generic = select! { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 775 | / named_generic [INFO] [stdout] 776 | | .or(rust_type.clone().map(Either::Right)) [INFO] [stdout] 777 | | .separated_by(just(Token::Comma)) [INFO] [stdout] 778 | | .allow_trailing() [INFO] [stdout] 779 | | .collect::>() [INFO] [stdout] 780 | | .delimited_by(just(Token::AngleOpen), just(Token::AngleClose)), [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:794:5 [INFO] [stdout] | [INFO] [stdout] 785 | / rust_type: impl Parser<'a, ParserInput<'a>, ParsedRustType<'a>, extra::Err, Span>>> [INFO] [stdout] 786 | | + Clone, [INFO] [stdout] | |_______________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 793 | let generics = rust_generics(rust_type.clone()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 794 | / path() [INFO] [stdout] 795 | | .then(generics.clone().repeated().at_most(1).collect::>()) [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:816:5 [INFO] [stdout] | [INFO] [stdout] 808 | / rust_type: impl Parser<'a, ParserInput<'a>, ParsedRustType<'a>, extra::Err, Span>>> [INFO] [stdout] 809 | | + Clone, [INFO] [stdout] | |_______________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 816 | / rust_type [INFO] [stdout] 817 | | .clone() [INFO] [stdout] 818 | | .separated_by(just(Token::Comma)) [INFO] [stdout] 819 | | .allow_trailing() [INFO] [stdout] 820 | | .collect::>() [INFO] [stdout] 821 | | .delimited_by(just(Token::ParenOpen), just(Token::ParenClose)) [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:823:13 [INFO] [stdout] | [INFO] [stdout] 808 | / rust_type: impl Parser<'a, ParserInput<'a>, ParsedRustType<'a>, extra::Err, Span>>> [INFO] [stdout] 809 | | + Clone, [INFO] [stdout] | |_______________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 823 | / just(Token::Arrow) [INFO] [stdout] 824 | | .ignore_then(rust_type) [INFO] [stdout] 825 | | .or(empty().to(ParsedRustType::Tuple(vec![]))), [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:847:17 [INFO] [stdout] | [INFO] [stdout] 844 | .map(|x| ParsedRustTrait::Fn { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 847 | output: Box::new(x.1 .1), [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:977:9 [INFO] [stdout] | [INFO] [stdout] 902 | let property_item = (spanned(select! { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 909 | let layout = just([Token::Sharp, Token::Ident("layout")]) [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 928 | let traits = just(Token::Ident("wellknown_traits")) [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 936 | let constructor_args = rust_type() [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 951 | let constructor = just(Token::Ident("constructor")).ignore_then( [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 977 | / layout [INFO] [stdout] 978 | | .or(traits) [INFO] [stdout] 979 | | .or(constructor) [INFO] [stdout] 980 | | .or(cpp_value) [INFO] [stdout] ... | [INFO] [stdout] 998 | | data, [INFO] [stdout] 999 | | })) [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:1071:5 [INFO] [stdout] | [INFO] [stdout] 1052 | let function = method() [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1055 | let impl_block = just(Token::KwImpl) [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1071 | / just(Token::KwExtern) [INFO] [stdout] 1072 | | .then(just(Token::Str("C++"))) [INFO] [stdout] 1073 | | .ignore_then( [INFO] [stdout] 1074 | | function [INFO] [stdout] ... | [INFO] [stdout] 1078 | | .delimited_by(just(Token::BraceOpen), just(Token::BraceClose)), [INFO] [stdout] 1079 | | ) [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:1087:9 [INFO] [stdout] | [INFO] [stdout] 1086 | recursive(|item| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1087 | / just(Token::KwMod) [INFO] [stdout] 1088 | | .ignore_then(path()) [INFO] [stdout] 1089 | | .then( [INFO] [stdout] 1090 | | item.repeated() [INFO] [stdout] ... | [INFO] [stdout] 1097 | | .or(extern_cpp_item()) [INFO] [stdout] 1098 | | .or(fn_item()) [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:1099:17 [INFO] [stdout] | [INFO] [stdout] 1086 | recursive(|item| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1099 | .or(additional_include_item()) [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 22 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zngur-parser` (lib) due to 23 previous errors [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:141:23 [INFO] [stdout] | [INFO] [stdout] 138 | fn to_zngur(self, base: &[String]) -> ZngurMethod { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 141 | generics: self [INFO] [stdout] | _______________________^ [INFO] [stdout] 142 | | .generics [INFO] [stdout] 143 | | .into_iter() [INFO] [stdout] 144 | | .map(|x| x.to_zngur(base)) [INFO] [stdout] 145 | | .collect(), [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:147:21 [INFO] [stdout] | [INFO] [stdout] 138 | fn to_zngur(self, base: &[String]) -> ZngurMethod { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 147 | inputs: self.inputs.into_iter().map(|x| x.to_zngur(base)).collect(), [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:148:21 [INFO] [stdout] | [INFO] [stdout] 138 | fn to_zngur(self, base: &[String]) -> ZngurMethod { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 148 | output: self.output.to_zngur(base), [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:223:71 [INFO] [stdout] | [INFO] [stdout] 223 | ... .map(|(i, t)| (i.to_string(), t.to_zngur(base))) [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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:227:70 [INFO] [stdout] | [INFO] [stdout] 227 | ... .map(|(i, t)| (i.to_owned(), t.to_zngur(base))) [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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:443:23 [INFO] [stdout] | [INFO] [stdout] 440 | fn to_zngur(self, base: &[String]) -> RustPathAndGenerics { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 443 | generics: self [INFO] [stdout] | _______________________^ [INFO] [stdout] 444 | | .generics [INFO] [stdout] 445 | | .into_iter() [INFO] [stdout] 446 | | .map(|x| x.to_zngur(base)) [INFO] [stdout] 447 | | .collect(), [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:448:29 [INFO] [stdout] | [INFO] [stdout] 440 | fn to_zngur(self, base: &[String]) -> RustPathAndGenerics { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 448 | named_generics: self [INFO] [stdout] | _____________________________^ [INFO] [stdout] 449 | | .named_generics [INFO] [stdout] 450 | | .into_iter() [INFO] [stdout] 451 | | .map(|(name, x)| (name.to_owned(), x.to_zngur(base))) [INFO] [stdout] 452 | | .collect(), [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:451:52 [INFO] [stdout] | [INFO] [stdout] 451 | .map(|(name, x)| (name.to_owned(), x.to_zngur(base))) [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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:748:9 [INFO] [stdout] | [INFO] [stdout] 704 | recursive(|parser| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 705 | let pg = rust_path_and_generics(parser.clone()); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 706 | let adt = pg.clone().map(ParsedRustType::Adt); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 707 | [INFO] [stdout] 708 | let dyn_trait = just(Token::KwDyn) [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 719 | let boxed = just(Token::Ident("Box")) [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 728 | let slice = parser [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 732 | let reference = just(Token::And) [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 740 | let raw_ptr = just(Token::Star) [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 748 | / scalar [INFO] [stdout] 749 | | .or(boxed) [INFO] [stdout] 750 | | .or(unit) [INFO] [stdout] 751 | | .or(slice) [INFO] [stdout] 752 | | .or(adt) [INFO] [stdout] 753 | | .or(reference) [INFO] [stdout] 754 | | .or(raw_ptr) [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:723:39 [INFO] [stdout] | [INFO] [stdout] 721 | .map(|(_, x)| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 722 | assert_eq!(x.len(), 1); [INFO] [stdout] 723 | ParsedRustType::Boxed(Box::new(x.into_iter().next().unwrap().right().unwrap())) [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:730:44 [INFO] [stdout] | [INFO] [stdout] 730 | .map(|x| ParsedRustType::Slice(Box::new(x))) [INFO] [stdout] | - ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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:739:50 [INFO] [stdout] | [INFO] [stdout] 739 | .map(|(m, x)| ParsedRustType::Ref(m, Box::new(x))); [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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:747:50 [INFO] [stdout] | [INFO] [stdout] 747 | .map(|(m, x)| ParsedRustType::Raw(m, Box::new(x))); [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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:775:9 [INFO] [stdout] | [INFO] [stdout] 760 | / rust_type: impl Parser<'a, ParserInput<'a>, ParsedRustType<'a>, extra::Err, Span>>> [INFO] [stdout] 761 | | + Clone, [INFO] [stdout] | |_______________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 768 | let named_generic = select! { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 775 | / named_generic [INFO] [stdout] 776 | | .or(rust_type.clone().map(Either::Right)) [INFO] [stdout] 777 | | .separated_by(just(Token::Comma)) [INFO] [stdout] 778 | | .allow_trailing() [INFO] [stdout] 779 | | .collect::>() [INFO] [stdout] 780 | | .delimited_by(just(Token::AngleOpen), just(Token::AngleClose)), [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:794:5 [INFO] [stdout] | [INFO] [stdout] 785 | / rust_type: impl Parser<'a, ParserInput<'a>, ParsedRustType<'a>, extra::Err, Span>>> [INFO] [stdout] 786 | | + Clone, [INFO] [stdout] | |_______________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 793 | let generics = rust_generics(rust_type.clone()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 794 | / path() [INFO] [stdout] 795 | | .then(generics.clone().repeated().at_most(1).collect::>()) [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:816:5 [INFO] [stdout] | [INFO] [stdout] 808 | / rust_type: impl Parser<'a, ParserInput<'a>, ParsedRustType<'a>, extra::Err, Span>>> [INFO] [stdout] 809 | | + Clone, [INFO] [stdout] | |_______________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 816 | / rust_type [INFO] [stdout] 817 | | .clone() [INFO] [stdout] 818 | | .separated_by(just(Token::Comma)) [INFO] [stdout] 819 | | .allow_trailing() [INFO] [stdout] 820 | | .collect::>() [INFO] [stdout] 821 | | .delimited_by(just(Token::ParenOpen), just(Token::ParenClose)) [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:823:13 [INFO] [stdout] | [INFO] [stdout] 808 | / rust_type: impl Parser<'a, ParserInput<'a>, ParsedRustType<'a>, extra::Err, Span>>> [INFO] [stdout] 809 | | + Clone, [INFO] [stdout] | |_______________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 823 | / just(Token::Arrow) [INFO] [stdout] 824 | | .ignore_then(rust_type) [INFO] [stdout] 825 | | .or(empty().to(ParsedRustType::Tuple(vec![]))), [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:847:17 [INFO] [stdout] | [INFO] [stdout] 844 | .map(|x| ParsedRustTrait::Fn { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 847 | output: Box::new(x.1 .1), [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:977:9 [INFO] [stdout] | [INFO] [stdout] 902 | let property_item = (spanned(select! { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 909 | let layout = just([Token::Sharp, Token::Ident("layout")]) [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 928 | let traits = just(Token::Ident("wellknown_traits")) [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 936 | let constructor_args = rust_type() [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 951 | let constructor = just(Token::Ident("constructor")).ignore_then( [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 977 | / layout [INFO] [stdout] 978 | | .or(traits) [INFO] [stdout] 979 | | .or(constructor) [INFO] [stdout] 980 | | .or(cpp_value) [INFO] [stdout] ... | [INFO] [stdout] 998 | | data, [INFO] [stdout] 999 | | })) [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:1071:5 [INFO] [stdout] | [INFO] [stdout] 1052 | let function = method() [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1055 | let impl_block = just(Token::KwImpl) [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1071 | / just(Token::KwExtern) [INFO] [stdout] 1072 | | .then(just(Token::Str("C++"))) [INFO] [stdout] 1073 | | .ignore_then( [INFO] [stdout] 1074 | | function [INFO] [stdout] ... | [INFO] [stdout] 1078 | | .delimited_by(just(Token::BraceOpen), just(Token::BraceClose)), [INFO] [stdout] 1079 | | ) [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:1087:9 [INFO] [stdout] | [INFO] [stdout] 1086 | recursive(|item| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1087 | / just(Token::KwMod) [INFO] [stdout] 1088 | | .ignore_then(path()) [INFO] [stdout] 1089 | | .then( [INFO] [stdout] 1090 | | item.repeated() [INFO] [stdout] ... | [INFO] [stdout] 1097 | | .or(extern_cpp_item()) [INFO] [stdout] 1098 | | .or(fn_item()) [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:1099:17 [INFO] [stdout] | [INFO] [stdout] 1086 | recursive(|item| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1099 | .or(additional_include_item()) [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 22 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zngur-parser` (lib test) due to 23 previous errors [INFO] running `Command { std: "docker" "inspect" "ab14cdbadc5fc725593ed499b5c0df8773a651cdfccfdc0561bc9b79cbca1ad1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab14cdbadc5fc725593ed499b5c0df8773a651cdfccfdc0561bc9b79cbca1ad1", kill_on_drop: false }` [INFO] [stdout] ab14cdbadc5fc725593ed499b5c0df8773a651cdfccfdc0561bc9b79cbca1ad1