[INFO] fetching crate buildstructor 0.5.4... [INFO] checking buildstructor-0.5.4 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate buildstructor 0.5.4 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate buildstructor 0.5.4 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 buildstructor 0.5.4 [INFO] finished tweaking crates.io crate buildstructor 0.5.4 [INFO] tweaked toml for crates.io crate buildstructor 0.5.4 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate buildstructor 0.5.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c8d8e838dcb6732c608c0d6092ae8cda096ebd2b77be8ea25f894c374732b76b [INFO] running `Command { std: "docker" "start" "-a" "c8d8e838dcb6732c608c0d6092ae8cda096ebd2b77be8ea25f894c374732b76b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8d8e838dcb6732c608c0d6092ae8cda096ebd2b77be8ea25f894c374732b76b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8d8e838dcb6732c608c0d6092ae8cda096ebd2b77be8ea25f894c374732b76b", kill_on_drop: false }` [INFO] [stdout] c8d8e838dcb6732c608c0d6092ae8cda096ebd2b77be8ea25f894c374732b76b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -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] 0da749debc63e44c8a70adf3558123d9c18b671b1cc4f1c50b42afaad941a652 [INFO] running `Command { std: "docker" "start" "-a" "0da749debc63e44c8a70adf3558123d9c18b671b1cc4f1c50b42afaad941a652", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking itoa v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Compiling tokio v1.21.2 [INFO] [stderr] Compiling trybuild v1.0.83 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking aho-corasick v0.7.19 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Checking similar v2.2.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking once_cell v1.16.0 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking rust-format v0.3.4 [INFO] [stderr] Checking quote v1.0.33 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking syn v2.0.29 [INFO] [stderr] Checking console v0.15.5 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking insta v1.31.0 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Checking str_inflector v0.12.0 [INFO] [stderr] Checking basic-toml v0.1.2 [INFO] [stderr] Checking multimap v0.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.47 [INFO] [stderr] Compiling try_match_inner v0.5.1 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Checking try_match v0.4.1 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking buildstructor v0.5.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `doc` is never read [INFO] [stdout] --> src/buildstructor/lower.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct BuilderField { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | pub doc: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `attributes` is never read [INFO] [stdout] --> src/buildstructor/parse.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Ast { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 7 | pub attributes: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ast` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_bound` is never used [INFO] [stdout] --> src/buildstructor/utils.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub trait GenericsExt { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 67 | fn add_bound(self, ident: &Ident, ty: &Type) -> Self; [INFO] [stdout] | ^^^^^^^^^ [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:97:11 [INFO] [stdout] | [INFO] [stdout] 95 | item: TokenStream, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | ) -> TokenStream { [INFO] [stdout] 97 | match parse::parse(item.clone().into()).map_err(|e| e.into_compile_error()) { [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/buildstructor/codegen.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 237 | builder_receiver_move: Option, [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 240 | let builder_generics = Generics::combine(vec![ [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 247 | Ok(ir.builder_fields [INFO] [stdout] | ________^ [INFO] [stdout] 248 | | .iter() [INFO] [stdout] 249 | | .enumerate() [INFO] [stdout] 250 | | .map(|(idx, f)| { [INFO] [stdout] ... | [INFO] [stdout] 474 | | }) [INFO] [stdout] 475 | | .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/buildstructor/codegen.rs:488:16 [INFO] [stdout] | [INFO] [stdout] 487 | fn call(name: Ident, params: Vec) -> Expr { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 488 | Expr::Call(ExprCall { [INFO] [stdout] | ________________^ [INFO] [stdout] 489 | | attrs: Default::default(), [INFO] [stdout] 490 | | func: Box::new(Expr::Path(name.to_expr_path())), [INFO] [stdout] 491 | | paren_token: Default::default(), [INFO] [stdout] 492 | | args: Punctuated::from_iter(params), [INFO] [stdout] 493 | | }) [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/buildstructor/codegen.rs:504:9 [INFO] [stdout] | [INFO] [stdout] 501 | set: Expr, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 504 | / builder_type_generics [INFO] [stdout] 505 | | .to_expr_tuple(|idxp, _| { [INFO] [stdout] 506 | | if idx == idxp { [INFO] [stdout] 507 | | Expr::Path(field_name.to_expr_path()) [INFO] [stdout] ... | [INFO] [stdout] 511 | | }) [INFO] [stdout] 512 | | .with_expr(idx, set), [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/buildstructor/lower.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn lower(model: BuilderModel) -> Result { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | // Either visibility is set explicitly or we default to super. [INFO] [stdout] 56 | let vis = builder_visibility(&model, &model.vis, &model.vis)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | let builder_vis = builder_visibility( [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | let receiver = receiver(&model); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | Ok(Ir { [INFO] [stdout] | ________^ [INFO] [stdout] 69 | | vis, [INFO] [stdout] 70 | | builder_vis, [INFO] [stdout] 71 | | module_name: format_ident!( [INFO] [stdout] ... | [INFO] [stdout] 90 | | receiver, [INFO] [stdout] 91 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/buildstructor/lower.rs:227:30 [INFO] [stdout] | [INFO] [stdout] 227 | args.and_then(|args| args.iter().next()), [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/buildstructor/lower.rs:228:30 [INFO] [stdout] | [INFO] [stdout] 228 | args.and_then(|args| args.iter().nth(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/buildstructor/utils.rs:76:41 [INFO] [stdout] | [INFO] [stdout] 76 | .map(|t| Type::Path(t.ident.to_type_path())), [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/buildstructor/utils.rs:117:20 [INFO] [stdout] | [INFO] [stdout] 115 | fn to_expr_tuple(&self, populate: impl Fn(usize, &TypeParam) -> Expr) -> ExprTuple { [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | ExprTuple { [INFO] [stdout] 117 | attrs: Default::default(), [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/buildstructor/utils.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 115 | fn to_expr_tuple(&self, populate: impl Fn(usize, &TypeParam) -> Expr) -> ExprTuple { [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | elems: Punctuated::from_iter( [INFO] [stdout] | ____________________^ [INFO] [stdout] 120 | | self.type_params() [INFO] [stdout] 121 | | .enumerate() [INFO] [stdout] 122 | | .map(|(idx, ty)| (populate)(idx, ty)), [INFO] [stdout] 123 | | ) [INFO] [stdout] 124 | | .with_trailing(), [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 10 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `buildstructor` (lib) due to 11 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `doc` is never read [INFO] [stdout] --> src/buildstructor/lower.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct BuilderField { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | pub doc: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `attributes` is never read [INFO] [stdout] --> src/buildstructor/parse.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Ast { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 7 | pub attributes: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ast` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_bound` is never used [INFO] [stdout] --> src/buildstructor/utils.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub trait GenericsExt { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 67 | fn add_bound(self, ident: &Ident, ty: &Type) -> Self; [INFO] [stdout] | ^^^^^^^^^ [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:97:11 [INFO] [stdout] | [INFO] [stdout] 95 | item: TokenStream, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | ) -> TokenStream { [INFO] [stdout] 97 | match parse::parse(item.clone().into()).map_err(|e| e.into_compile_error()) { [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/buildstructor/codegen.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 237 | builder_receiver_move: Option, [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 240 | let builder_generics = Generics::combine(vec![ [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 247 | Ok(ir.builder_fields [INFO] [stdout] | ________^ [INFO] [stdout] 248 | | .iter() [INFO] [stdout] 249 | | .enumerate() [INFO] [stdout] 250 | | .map(|(idx, f)| { [INFO] [stdout] ... | [INFO] [stdout] 474 | | }) [INFO] [stdout] 475 | | .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/buildstructor/codegen.rs:488:16 [INFO] [stdout] | [INFO] [stdout] 487 | fn call(name: Ident, params: Vec) -> Expr { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 488 | Expr::Call(ExprCall { [INFO] [stdout] | ________________^ [INFO] [stdout] 489 | | attrs: Default::default(), [INFO] [stdout] 490 | | func: Box::new(Expr::Path(name.to_expr_path())), [INFO] [stdout] 491 | | paren_token: Default::default(), [INFO] [stdout] 492 | | args: Punctuated::from_iter(params), [INFO] [stdout] 493 | | }) [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/buildstructor/codegen.rs:504:9 [INFO] [stdout] | [INFO] [stdout] 501 | set: Expr, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 504 | / builder_type_generics [INFO] [stdout] 505 | | .to_expr_tuple(|idxp, _| { [INFO] [stdout] 506 | | if idx == idxp { [INFO] [stdout] 507 | | Expr::Path(field_name.to_expr_path()) [INFO] [stdout] ... | [INFO] [stdout] 511 | | }) [INFO] [stdout] 512 | | .with_expr(idx, set), [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/buildstructor/lower.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn lower(model: BuilderModel) -> Result { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | // Either visibility is set explicitly or we default to super. [INFO] [stdout] 56 | let vis = builder_visibility(&model, &model.vis, &model.vis)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | let builder_vis = builder_visibility( [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | let receiver = receiver(&model); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | Ok(Ir { [INFO] [stdout] | ________^ [INFO] [stdout] 69 | | vis, [INFO] [stdout] 70 | | builder_vis, [INFO] [stdout] 71 | | module_name: format_ident!( [INFO] [stdout] ... | [INFO] [stdout] 90 | | receiver, [INFO] [stdout] 91 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/buildstructor/lower.rs:227:30 [INFO] [stdout] | [INFO] [stdout] 227 | args.and_then(|args| args.iter().next()), [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/buildstructor/lower.rs:228:30 [INFO] [stdout] | [INFO] [stdout] 228 | args.and_then(|args| args.iter().nth(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/buildstructor/utils.rs:76:41 [INFO] [stdout] | [INFO] [stdout] 76 | .map(|t| Type::Path(t.ident.to_type_path())), [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/buildstructor/utils.rs:117:20 [INFO] [stdout] | [INFO] [stdout] 115 | fn to_expr_tuple(&self, populate: impl Fn(usize, &TypeParam) -> Expr) -> ExprTuple { [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | ExprTuple { [INFO] [stdout] 117 | attrs: Default::default(), [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/buildstructor/utils.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 115 | fn to_expr_tuple(&self, populate: impl Fn(usize, &TypeParam) -> Expr) -> ExprTuple { [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | elems: Punctuated::from_iter( [INFO] [stdout] | ____________________^ [INFO] [stdout] 120 | | self.type_params() [INFO] [stdout] 121 | | .enumerate() [INFO] [stdout] 122 | | .map(|(idx, ty)| (populate)(idx, ty)), [INFO] [stdout] 123 | | ) [INFO] [stdout] 124 | | .with_trailing(), [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 10 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `buildstructor` (lib) due to 11 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0da749debc63e44c8a70adf3558123d9c18b671b1cc4f1c50b42afaad941a652", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0da749debc63e44c8a70adf3558123d9c18b671b1cc4f1c50b42afaad941a652", kill_on_drop: false }` [INFO] [stdout] 0da749debc63e44c8a70adf3558123d9c18b671b1cc4f1c50b42afaad941a652