[INFO] fetching crate cubic-protocol-derive 0.1.7... [INFO] checking cubic-protocol-derive-0.1.7 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate cubic-protocol-derive 0.1.7 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate cubic-protocol-derive 0.1.7 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 cubic-protocol-derive 0.1.7 [INFO] finished tweaking crates.io crate cubic-protocol-derive 0.1.7 [INFO] tweaked toml for crates.io crate cubic-protocol-derive 0.1.7 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 19 packages to latest compatible versions [INFO] [stderr] Adding proc-macro-crate v1.3.1 (latest: v3.2.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding toml_edit v0.19.15 (latest: v0.22.20) [INFO] [stderr] Adding winnow v0.5.40 (latest: v0.6.18) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c700f68f86870542dbe8a7846ccee69f7b95fdc03a034a6319c99047994d4a9 [INFO] running `Command { std: "docker" "start" "-a" "9c700f68f86870542dbe8a7846ccee69f7b95fdc03a034a6319c99047994d4a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c700f68f86870542dbe8a7846ccee69f7b95fdc03a034a6319c99047994d4a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c700f68f86870542dbe8a7846ccee69f7b95fdc03a034a6319c99047994d4a9", kill_on_drop: false }` [INFO] [stdout] 9c700f68f86870542dbe8a7846ccee69f7b95fdc03a034a6319c99047994d4a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5df811a1a38246b040ee06410afd73e70e5250f97877a29ea2d260d5e236f5f [INFO] running `Command { std: "docker" "start" "-a" "c5df811a1a38246b040ee06410afd73e70e5250f97877a29ea2d260d5e236f5f", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking winnow v0.5.40 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking proc-macro2 v1.0.86 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Checking proc-macro-crate v1.3.1 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Checking cubic-protocol-derive v0.1.7 (/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:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn packet(body: TokenStream) -> TokenStream { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | / packet_macro_impl(&parse_macro_input!(body as DeriveInput)) [INFO] [stdout] 18 | | .map_err(|err| proc_macro_error::abort!(err.span(), "{}", err)) [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:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn packet_writable(body: TokenStream) -> TokenStream { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | / writable_macro_impl(&parse_macro_input!(body as DeriveInput)) [INFO] [stdout] 26 | | .map_err(|err| proc_macro_error::abort!(err.span(), "{}", err)) [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:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn packet_readable(body: TokenStream) -> TokenStream { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | / readable_macro_impl(&parse_macro_input!(body as DeriveInput)) [INFO] [stdout] 34 | | .map_err(|err| proc_macro_error::abort!(err.span(), "{}", err)) [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/attribute.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 73 | mut parse: impl FnMut(&Expr) -> syn::Result) -> syn::Result> { [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | Ok(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/fields.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 68 | let mut collect = CollectFieldVisitor::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | visit_fields(fields, &mut collect)?; [INFO] [stdout] 70 | Ok(EnumFields { [INFO] [stdout] | ____________^ [INFO] [stdout] 71 | | fields: collect [INFO] [stdout] 72 | | .get() [INFO] [stdout] 73 | | .into_iter() [INFO] [stdout] ... | [INFO] [stdout] 80 | | } [INFO] [stdout] 81 | | }) [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/writable.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(object_ts: TokenStream) -> WritableVisitor { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | row_order: Vec::new(), [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/writable.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn generate_write(object_ts: TokenStream, fields: &Fields) -> syn::Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 67 | let mut visitor = WritableVisitor::new(object_ts); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | visit_fields(fields, &mut visitor)?; [INFO] [stdout] 69 | Ok(visitor.get_result()) [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/writable.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn writable_trait_from_body(input: &DeriveInput, func_body: TokenStream) -> syn::Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | let ident = &input.ident; [INFO] [stdout] 112 | let cp_crate = get_crate(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 113 | let generics = add_trait_bounds( [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | input.generics.clone(), [INFO] [stdout] 115 | vec![parse_quote! {#cp_crate::packet::PacketWritable}], [INFO] [stdout] | ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | Ok(async_trait(quote! { [INFO] [stdout] | ________^ [INFO] [stdout] 119 | | impl #impl_generics #cp_crate::packet::PacketWritable for #ident #ty_generics #where_clause { [INFO] [stdout] 120 | | async fn write(self, output: &mut impl #cp_crate::packet::OutputPacketBytes) -> #cp_crate::packet::PacketWritableResult { [INFO] [stdout] 121 | | #func_body [INFO] [stdout] 122 | | } [INFO] [stdout] 123 | | } [INFO] [stdout] 124 | | })) [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:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn packet(body: TokenStream) -> TokenStream { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | / packet_macro_impl(&parse_macro_input!(body as DeriveInput)) [INFO] [stdout] 18 | | .map_err(|err| proc_macro_error::abort!(err.span(), "{}", err)) [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/readable.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 116 | let func_body = match input.data { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | Data::Struct(ref data_struct) => { [INFO] [stdout] 118 | let read = build_read_for(&data_struct.fields)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | / quote! { [INFO] [stdout] 120 | | Ok(Self #read) [INFO] [stdout] 121 | | } [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] 125 | | let cp_crate = get_crate(); [INFO] [stdout] | | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 126 | | let generics = add_trait_bounds( [INFO] [stdout] | | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | | input.generics.clone(), vec![parse_quote! {#cp_crate::packet::PacketReadable}]); [INFO] [stdout] | | ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 131 | Ok(async_trait( [INFO] [stdout] | ________^ [INFO] [stdout] | |________| [INFO] [stdout] 132 | | quote! { [INFO] [stdout] 133 | | impl #impl_generics #cp_crate::packet::PacketReadable for #ident #ty_generics #where_clause { [INFO] [stdout] 134 | | async fn read(input: &mut impl #cp_crate::packet::InputPacketBytes) -> #cp_crate::packet::PacketReadableResult { [INFO] [stdout] ... | [INFO] [stdout] 138 | | } [INFO] [stdout] 139 | | )) [INFO] [stdout] | |_____^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/packet.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 37 | let side = Ident::new(side.0.as_str(), side.1); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | let state = Ident::new(state.0.as_str(), state.1); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | [INFO] [stdout] 40 | Ok((id.0, side, state, protocol, readable, writable)) [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:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn packet_writable(body: TokenStream) -> TokenStream { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | / writable_macro_impl(&parse_macro_input!(body as DeriveInput)) [INFO] [stdout] 26 | | .map_err(|err| proc_macro_error::abort!(err.span(), "{}", err)) [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:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn packet_readable(body: TokenStream) -> TokenStream { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | / readable_macro_impl(&parse_macro_input!(body as DeriveInput)) [INFO] [stdout] 34 | | .map_err(|err| proc_macro_error::abort!(err.span(), "{}", err)) [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/attribute.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 73 | mut parse: impl FnMut(&Expr) -> syn::Result) -> syn::Result> { [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | Ok(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/fields.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 68 | let mut collect = CollectFieldVisitor::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | visit_fields(fields, &mut collect)?; [INFO] [stdout] 70 | Ok(EnumFields { [INFO] [stdout] | ____________^ [INFO] [stdout] 71 | | fields: collect [INFO] [stdout] 72 | | .get() [INFO] [stdout] 73 | | .into_iter() [INFO] [stdout] ... | [INFO] [stdout] 80 | | } [INFO] [stdout] 81 | | }) [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/packet.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 44 | let cp_crate = get_crate(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | let (id, side, state, protocol, readable, writable) = [INFO] [stdout] | ---- ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | let const_packet = proc_macro::TokenStream::from(quote! { [INFO] [stdout] | _________------------_________________________________- [INFO] [stdout] | |_________|____________________________________________| [INFO] [stdout] | |_________|____________________________________________| [INFO] [stdout] | |_________|____________________________________________| [INFO] [stdout] | |_________|____________________________________________| [INFO] [stdout] | |_________|____________________________________________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | | impl #impl_generics #ident #ty_generics #where_clause { [INFO] [stdout] 62 | | pub const ID: i32 = #id; [INFO] [stdout] 63 | | pub const PROTOCOL: i32 = #protocol; [INFO] [stdout] ... | [INFO] [stdout] 80 | | } [INFO] [stdout] 81 | | }); [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] | |_____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] | |_____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] 82 | [INFO] [stdout] 83 | let packet_trait = proc_macro::TokenStream::from(quote! { [INFO] [stdout] | _________------------_________________________________- [INFO] [stdout] | |_________|____________________________________________| [INFO] [stdout] | |_________|____________________________________________| [INFO] [stdout] | |_________|____________________________________________| [INFO] [stdout] | |_________|____________________________________________| [INFO] [stdout] | |_________|____________________________________________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | | impl #impl_generics #cp_crate::packet::Packet for #ident #ty_generics #where_clause { [INFO] [stdout] 85 | | fn id() -> i32 { [INFO] [stdout] 86 | | Self::id() [INFO] [stdout] ... | [INFO] [stdout] 100 | | } [INFO] [stdout] 101 | | }); [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] | |_____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] | |_____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] 102 | [INFO] [stdout] 103 | | let packet_writable_trait = match writable { [INFO] [stdout] | | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | | true => { [INFO] [stdout] 105 | | let write_body = build_writable_function_body(input)?; [INFO] [stdout] | | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | let write_body = quote! { [INFO] [stdout] | _________________----------___- [INFO] [stdout] | |_________________|____________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | | <#cp_crate::types::VarInt as #cp_crate::packet::PacketWritable>::write( [INFO] [stdout] 108 | | ::id().into(), [INFO] [stdout] 109 | | output [INFO] [stdout] 110 | | ).await?; [INFO] [stdout] 111 | | #write_body [INFO] [stdout] 112 | | }; [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] 118 | | let packet_readable_trait = match readable { [INFO] [stdout] | | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 123 | Ok(proc_macro::TokenStream::from_iter( [INFO] [stdout] | ________^ [INFO] [stdout] | |________| [INFO] [stdout] | |________| [INFO] [stdout] | |________| [INFO] [stdout] | |________| [INFO] [stdout] 124 | | vec![const_packet, packet_trait, packet_writable_trait, packet_readable_trait] [INFO] [stdout] 125 | | )) [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] | |_____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/util.rs:27:58 [INFO] [stdout] | [INFO] [stdout] 27 | .for_each(|bound| type_param.bounds.push(bound.clone())); [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/writable.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(object_ts: TokenStream) -> WritableVisitor { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | row_order: Vec::new(), [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/writable.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn generate_write(object_ts: TokenStream, fields: &Fields) -> syn::Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 67 | let mut visitor = WritableVisitor::new(object_ts); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | visit_fields(fields, &mut visitor)?; [INFO] [stdout] 69 | Ok(visitor.get_result()) [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/writable.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn writable_trait_from_body(input: &DeriveInput, func_body: TokenStream) -> syn::Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | let ident = &input.ident; [INFO] [stdout] 112 | let cp_crate = get_crate(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 113 | let generics = add_trait_bounds( [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | input.generics.clone(), [INFO] [stdout] 115 | vec![parse_quote! {#cp_crate::packet::PacketWritable}], [INFO] [stdout] | ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | Ok(async_trait(quote! { [INFO] [stdout] | ________^ [INFO] [stdout] 119 | | impl #impl_generics #cp_crate::packet::PacketWritable for #ident #ty_generics #where_clause { [INFO] [stdout] 120 | | async fn write(self, output: &mut impl #cp_crate::packet::OutputPacketBytes) -> #cp_crate::packet::PacketWritableResult { [INFO] [stdout] 121 | | #func_body [INFO] [stdout] 122 | | } [INFO] [stdout] 123 | | } [INFO] [stdout] 124 | | })) [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/readable.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 116 | let func_body = match input.data { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | Data::Struct(ref data_struct) => { [INFO] [stdout] 118 | let read = build_read_for(&data_struct.fields)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | / quote! { [INFO] [stdout] 120 | | Ok(Self #read) [INFO] [stdout] 121 | | } [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] 125 | | let cp_crate = get_crate(); [INFO] [stdout] | | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 126 | | let generics = add_trait_bounds( [INFO] [stdout] | | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | | input.generics.clone(), vec![parse_quote! {#cp_crate::packet::PacketReadable}]); [INFO] [stdout] | | ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 131 | Ok(async_trait( [INFO] [stdout] | ________^ [INFO] [stdout] | |________| [INFO] [stdout] 132 | | quote! { [INFO] [stdout] 133 | | impl #impl_generics #cp_crate::packet::PacketReadable for #ident #ty_generics #where_clause { [INFO] [stdout] 134 | | async fn read(input: &mut impl #cp_crate::packet::InputPacketBytes) -> #cp_crate::packet::PacketReadableResult { [INFO] [stdout] ... | [INFO] [stdout] 138 | | } [INFO] [stdout] 139 | | )) [INFO] [stdout] | |_____^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/packet.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 37 | let side = Ident::new(side.0.as_str(), side.1); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | let state = Ident::new(state.0.as_str(), state.1); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | [INFO] [stdout] 40 | Ok((id.0, side, state, protocol, readable, writable)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cubic-protocol-derive` (lib test) due to 13 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/packet.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 44 | let cp_crate = get_crate(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | let (id, side, state, protocol, readable, writable) = [INFO] [stdout] | ---- ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | let const_packet = proc_macro::TokenStream::from(quote! { [INFO] [stdout] | _________------------_________________________________- [INFO] [stdout] | |_________|____________________________________________| [INFO] [stdout] | |_________|____________________________________________| [INFO] [stdout] | |_________|____________________________________________| [INFO] [stdout] | |_________|____________________________________________| [INFO] [stdout] | |_________|____________________________________________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | | impl #impl_generics #ident #ty_generics #where_clause { [INFO] [stdout] 62 | | pub const ID: i32 = #id; [INFO] [stdout] 63 | | pub const PROTOCOL: i32 = #protocol; [INFO] [stdout] ... | [INFO] [stdout] 80 | | } [INFO] [stdout] 81 | | }); [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] | |_____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] | |_____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] 82 | [INFO] [stdout] 83 | let packet_trait = proc_macro::TokenStream::from(quote! { [INFO] [stdout] | _________------------_________________________________- [INFO] [stdout] | |_________|____________________________________________| [INFO] [stdout] | |_________|____________________________________________| [INFO] [stdout] | |_________|____________________________________________| [INFO] [stdout] | |_________|____________________________________________| [INFO] [stdout] | |_________|____________________________________________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | | impl #impl_generics #cp_crate::packet::Packet for #ident #ty_generics #where_clause { [INFO] [stdout] 85 | | fn id() -> i32 { [INFO] [stdout] 86 | | Self::id() [INFO] [stdout] ... | [INFO] [stdout] 100 | | } [INFO] [stdout] 101 | | }); [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] | |_____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] | |_____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] 102 | [INFO] [stdout] 103 | | let packet_writable_trait = match writable { [INFO] [stdout] | | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | | true => { [INFO] [stdout] 105 | | let write_body = build_writable_function_body(input)?; [INFO] [stdout] | | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | let write_body = quote! { [INFO] [stdout] | _________________----------___- [INFO] [stdout] | |_________________|____________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | | <#cp_crate::types::VarInt as #cp_crate::packet::PacketWritable>::write( [INFO] [stdout] 108 | | ::id().into(), [INFO] [stdout] 109 | | output [INFO] [stdout] 110 | | ).await?; [INFO] [stdout] 111 | | #write_body [INFO] [stdout] 112 | | }; [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] 118 | | let packet_readable_trait = match readable { [INFO] [stdout] | | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 123 | Ok(proc_macro::TokenStream::from_iter( [INFO] [stdout] | ________^ [INFO] [stdout] | |________| [INFO] [stdout] | |________| [INFO] [stdout] | |________| [INFO] [stdout] | |________| [INFO] [stdout] 124 | | vec![const_packet, packet_trait, packet_writable_trait, packet_readable_trait] [INFO] [stdout] 125 | | )) [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] | |_____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/util.rs:27:58 [INFO] [stdout] | [INFO] [stdout] 27 | .for_each(|bound| type_param.bounds.push(bound.clone())); [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 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cubic-protocol-derive` (lib) due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "c5df811a1a38246b040ee06410afd73e70e5250f97877a29ea2d260d5e236f5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5df811a1a38246b040ee06410afd73e70e5250f97877a29ea2d260d5e236f5f", kill_on_drop: false }` [INFO] [stdout] c5df811a1a38246b040ee06410afd73e70e5250f97877a29ea2d260d5e236f5f