[INFO] fetching crate syn-prelude 0.1.12... [INFO] checking syn-prelude-0.1.12 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate syn-prelude 0.1.12 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate syn-prelude 0.1.12 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 syn-prelude 0.1.12 [INFO] finished tweaking crates.io crate syn-prelude 0.1.12 [INFO] tweaked toml for crates.io crate syn-prelude 0.1.12 written to /workspace/builds/worker-7-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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 8 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] f7503d7b85095e4582ef6a8b67e274388f9e8355b73c743c4a9311b924818e04 [INFO] running `Command { std: "docker" "start" "-a" "f7503d7b85095e4582ef6a8b67e274388f9e8355b73c743c4a9311b924818e04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7503d7b85095e4582ef6a8b67e274388f9e8355b73c743c4a9311b924818e04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7503d7b85095e4582ef6a8b67e274388f9e8355b73c743c4a9311b924818e04", kill_on_drop: false }` [INFO] [stdout] f7503d7b85095e4582ef6a8b67e274388f9e8355b73c743c4a9311b924818e04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 8b06ae00fa6226e1e23e39ffb82ca29460f9d086f9f50b78e4785f27556096d1 [INFO] running `Command { std: "docker" "start" "-a" "8b06ae00fa6226e1e23e39ffb82ca29460f9d086f9f50b78e4785f27556096d1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking syn v2.0.77 [INFO] [stderr] Compiling syn-prelude-macros v0.1.3 [INFO] [stderr] Checking syn-prelude v0.1.12 (/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/path_helpers.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 18 | fn push_arg(&mut self, index: usize, typ: syn::Type) -> &mut Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | self.modify_segment_at(index, |segment| { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 20 | | let span = typ.span(); [INFO] [stdout] 21 | | let arg = syn::GenericArgument::Type(typ); [INFO] [stdout] 22 | | if let syn::PathArguments::AngleBracketed(args) = &mut segment.arguments { [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | }) [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/path_helpers.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 39 | fn push_ident_arg(&mut self, index: usize, ident: Ident) -> &mut Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | / syn::Type::Path(syn::TypePath { [INFO] [stdout] 43 | | qself: None, [INFO] [stdout] 44 | | path: syn::Path::from_ident(ident), [INFO] [stdout] 45 | | }), [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/path_helpers.rs:79:24 [INFO] [stdout] | [INFO] [stdout] 76 | fn into_segment(self) -> PathSegment { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | arguments: PathArguments::None, [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/path_helpers.rs:130:25 [INFO] [stdout] | [INFO] [stdout] 129 | fn to_type(self) -> syn::Type { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 130 | syn::Type::Path(TypePath { [INFO] [stdout] | _________________________^ [INFO] [stdout] 131 | | qself: None, [INFO] [stdout] 132 | | path: self, [INFO] [stdout] 133 | | }) [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/to_expr.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 25 | fn to_expr(self) -> Expr { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | Expr::Lit(ExprLit { [INFO] [stdout] | ___________________^ [INFO] [stdout] 27 | | lit: Lit::Str(self), [INFO] [stdout] 28 | | attrs: vec![], [INFO] [stdout] 29 | | }) [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/to_expr.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 43 | fn to_expr(self) -> Expr { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | Expr::Lit(ExprLit { [INFO] [stdout] | ___________________^ [INFO] [stdout] 45 | | lit: Lit::Int(self), [INFO] [stdout] 46 | | attrs: vec![], [INFO] [stdout] 47 | | }) [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/to_expr.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 61 | fn to_expr(self) -> Expr { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | Expr::Lit(ExprLit { [INFO] [stdout] | ___________________^ [INFO] [stdout] 63 | | lit: Lit::Float(self), [INFO] [stdout] 64 | | attrs: vec![], [INFO] [stdout] 65 | | }) [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/to_expr.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 97 | fn to_expr(self) -> Expr { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 98 | Expr::Lit(ExprLit { [INFO] [stdout] | ___________________^ [INFO] [stdout] 99 | | lit: Lit::Byte(self), [INFO] [stdout] 100 | | attrs: vec![], [INFO] [stdout] 101 | | }) [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/to_expr.rs:116:19 [INFO] [stdout] | [INFO] [stdout] 115 | fn to_expr(self) -> Expr { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | Expr::Lit(ExprLit { [INFO] [stdout] | ___________________^ [INFO] [stdout] 117 | | lit: Lit::ByteStr(self), [INFO] [stdout] 118 | | attrs: vec![], [INFO] [stdout] 119 | | }) [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/to_expr.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 133 | fn to_expr(self) -> Expr { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 134 | Expr::Lit(ExprLit { [INFO] [stdout] | ___________________^ [INFO] [stdout] 135 | | lit: Lit::Char(self), [INFO] [stdout] 136 | | attrs: vec![], [INFO] [stdout] 137 | | }) [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/to_expr.rs:152:20 [INFO] [stdout] | [INFO] [stdout] 151 | fn to_expr(self) -> Expr { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 152 | Expr::Path(ExprPath { [INFO] [stdout] | ____________________^ [INFO] [stdout] 153 | | attrs: vec![], [INFO] [stdout] 154 | | qself: None, [INFO] [stdout] 155 | | path: self, [INFO] [stdout] 156 | | }) [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/to_expr.rs:175:21 [INFO] [stdout] | [INFO] [stdout] 171 | fn to_expr(self) -> Expr { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 172 | let exprs = self.into_iter().map(|x| x.to_expr()).collect::>(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 175 | Expr::Macro(ExprMacro { [INFO] [stdout] | _____________________^ [INFO] [stdout] 176 | | attrs: vec![], [INFO] [stdout] 177 | | mac: Macro { [INFO] [stdout] 178 | | path: Path { [INFO] [stdout] ... | [INFO] [stdout] 192 | | }, [INFO] [stdout] 193 | | }) [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/to_syn_error.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 45 | fn to_optional_syn_error(&self, message: S) -> Option { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | span.map(|s| s.to_syn_error(message)) [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/to_syn_error.rs:69:18 [INFO] [stdout] | [INFO] [stdout] 59 | fn to_optional_syn_error(&self, message: S) -> Option { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | .map(|span| span.to_syn_error(message)) [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 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `syn-prelude` (lib test) due to 15 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/path_helpers.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 18 | fn push_arg(&mut self, index: usize, typ: syn::Type) -> &mut Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | self.modify_segment_at(index, |segment| { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 20 | | let span = typ.span(); [INFO] [stdout] 21 | | let arg = syn::GenericArgument::Type(typ); [INFO] [stdout] 22 | | if let syn::PathArguments::AngleBracketed(args) = &mut segment.arguments { [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | }) [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/path_helpers.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 39 | fn push_ident_arg(&mut self, index: usize, ident: Ident) -> &mut Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | / syn::Type::Path(syn::TypePath { [INFO] [stdout] 43 | | qself: None, [INFO] [stdout] 44 | | path: syn::Path::from_ident(ident), [INFO] [stdout] 45 | | }), [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/path_helpers.rs:79:24 [INFO] [stdout] | [INFO] [stdout] 76 | fn into_segment(self) -> PathSegment { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | arguments: PathArguments::None, [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/path_helpers.rs:130:25 [INFO] [stdout] | [INFO] [stdout] 129 | fn to_type(self) -> syn::Type { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 130 | syn::Type::Path(TypePath { [INFO] [stdout] | _________________________^ [INFO] [stdout] 131 | | qself: None, [INFO] [stdout] 132 | | path: self, [INFO] [stdout] 133 | | }) [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/to_expr.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 25 | fn to_expr(self) -> Expr { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | Expr::Lit(ExprLit { [INFO] [stdout] | ___________________^ [INFO] [stdout] 27 | | lit: Lit::Str(self), [INFO] [stdout] 28 | | attrs: vec![], [INFO] [stdout] 29 | | }) [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/to_expr.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 43 | fn to_expr(self) -> Expr { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | Expr::Lit(ExprLit { [INFO] [stdout] | ___________________^ [INFO] [stdout] 45 | | lit: Lit::Int(self), [INFO] [stdout] 46 | | attrs: vec![], [INFO] [stdout] 47 | | }) [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/to_expr.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 61 | fn to_expr(self) -> Expr { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | Expr::Lit(ExprLit { [INFO] [stdout] | ___________________^ [INFO] [stdout] 63 | | lit: Lit::Float(self), [INFO] [stdout] 64 | | attrs: vec![], [INFO] [stdout] 65 | | }) [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/to_expr.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 97 | fn to_expr(self) -> Expr { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 98 | Expr::Lit(ExprLit { [INFO] [stdout] | ___________________^ [INFO] [stdout] 99 | | lit: Lit::Byte(self), [INFO] [stdout] 100 | | attrs: vec![], [INFO] [stdout] 101 | | }) [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/to_expr.rs:116:19 [INFO] [stdout] | [INFO] [stdout] 115 | fn to_expr(self) -> Expr { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | Expr::Lit(ExprLit { [INFO] [stdout] | ___________________^ [INFO] [stdout] 117 | | lit: Lit::ByteStr(self), [INFO] [stdout] 118 | | attrs: vec![], [INFO] [stdout] 119 | | }) [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/to_expr.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 133 | fn to_expr(self) -> Expr { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 134 | Expr::Lit(ExprLit { [INFO] [stdout] | ___________________^ [INFO] [stdout] 135 | | lit: Lit::Char(self), [INFO] [stdout] 136 | | attrs: vec![], [INFO] [stdout] 137 | | }) [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/to_expr.rs:152:20 [INFO] [stdout] | [INFO] [stdout] 151 | fn to_expr(self) -> Expr { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 152 | Expr::Path(ExprPath { [INFO] [stdout] | ____________________^ [INFO] [stdout] 153 | | attrs: vec![], [INFO] [stdout] 154 | | qself: None, [INFO] [stdout] 155 | | path: self, [INFO] [stdout] 156 | | }) [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/to_expr.rs:175:21 [INFO] [stdout] | [INFO] [stdout] 171 | fn to_expr(self) -> Expr { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 172 | let exprs = self.into_iter().map(|x| x.to_expr()).collect::>(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 175 | Expr::Macro(ExprMacro { [INFO] [stdout] | _____________________^ [INFO] [stdout] 176 | | attrs: vec![], [INFO] [stdout] 177 | | mac: Macro { [INFO] [stdout] 178 | | path: Path { [INFO] [stdout] ... | [INFO] [stdout] 192 | | }, [INFO] [stdout] 193 | | }) [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/to_syn_error.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 45 | fn to_optional_syn_error(&self, message: S) -> Option { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | span.map(|s| s.to_syn_error(message)) [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/to_syn_error.rs:69:18 [INFO] [stdout] | [INFO] [stdout] 59 | fn to_optional_syn_error(&self, message: S) -> Option { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | .map(|span| span.to_syn_error(message)) [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 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `syn-prelude` (lib) due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "8b06ae00fa6226e1e23e39ffb82ca29460f9d086f9f50b78e4785f27556096d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b06ae00fa6226e1e23e39ffb82ca29460f9d086f9f50b78e4785f27556096d1", kill_on_drop: false }` [INFO] [stdout] 8b06ae00fa6226e1e23e39ffb82ca29460f9d086f9f50b78e4785f27556096d1