[INFO] fetching crate ouroboros_macro 0.18.4... [INFO] checking ouroboros_macro-0.18.4 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate ouroboros_macro 0.18.4 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate ouroboros_macro 0.18.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 ouroboros_macro 0.18.4 [INFO] finished tweaking crates.io crate ouroboros_macro 0.18.4 [INFO] tweaked toml for crates.io crate ouroboros_macro 0.18.4 written to /workspace/builds/worker-3-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 11 packages to latest compatible versions [INFO] [stderr] Adding heck v0.4.1 (latest: v0.5.0) [INFO] [stderr] Adding itertools v0.12.1 (latest: v0.13.0) [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] c3ead5d066d05a90e4ba9dab7f635c68e0e11a4beaf0b2a36e41ad117a464848 [INFO] running `Command { std: "docker" "start" "-a" "c3ead5d066d05a90e4ba9dab7f635c68e0e11a4beaf0b2a36e41ad117a464848", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3ead5d066d05a90e4ba9dab7f635c68e0e11a4beaf0b2a36e41ad117a464848", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3ead5d066d05a90e4ba9dab7f635c68e0e11a4beaf0b2a36e41ad117a464848", kill_on_drop: false }` [INFO] [stdout] c3ead5d066d05a90e4ba9dab7f635c68e0e11a4beaf0b2a36e41ad117a464848 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 4b75961df5750bbf0465cd93f6bb2d2af673305dec561ae16bcadbf91844e8c4 [INFO] running `Command { std: "docker" "start" "-a" "4b75961df5750bbf0465cd93f6bb2d2af673305dec561ae16bcadbf91844e8c4", kill_on_drop: false }` [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking heck v0.4.1 [INFO] [stderr] Checking proc-macro2 v1.0.86 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking syn v2.0.77 [INFO] [stderr] Checking ouroboros_macro v0.18.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `ProcessingError` is never used [INFO] [stdout] --> src/generate/with_each.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum ProcessingError { [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/info_structures.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct StructInfo { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 77 | pub attributes: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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:89:8 [INFO] [stdout] | [INFO] [stdout] 37 | let mod_name = format_ident!("ouroboros_impl_{}", struct_name.to_string().to_snake_case()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | let info = parse_struct(original_struct_def)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | [INFO] [stdout] 42 | let actual_struct_def = create_actual_struct_def(&info)?; [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | let internal_struct_def = create_internal_struct_def(&info)?; [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | let drop_impl = create_drop_impl(&info)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | [INFO] [stdout] 46 | let borrowchk_summoner = generate_checker_summoner(&info)?; [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | [INFO] [stdout] 48 | let (builder_struct_name, builder_def, constructor_def) = [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | create_builder_and_constructor(&info, options, BuilderType::Sync)?; [INFO] [stdout] 50 | let (async_builder_struct_name, async_builder_def, async_constructor_def) = [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | create_builder_and_constructor(&info, options, BuilderType::Async)?; [INFO] [stdout] 52 | let (async_send_builder_struct_name, async_send_builder_def, async_send_constructor_def) = [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | create_builder_and_constructor(&info, options, BuilderType::AsyncSend)?; [INFO] [stdout] 54 | let (try_builder_struct_name, try_builder_def, try_constructor_def) = [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | create_try_builder_and_constructor(&info, options, BuilderType::Sync)?; [INFO] [stdout] 56 | let (async_try_builder_struct_name, async_try_builder_def, async_try_constructor_def) = [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | async_send_try_builder_struct_name, [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | async_send_try_builder_def, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | async_send_try_constructor_def, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | let (with_defs, with_errors) = make_with_functions(&info, options); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | let with_errors = with_errors [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | let (with_all_struct_def, with_all_fn_def) = make_with_all_function(&info, options)?; [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] 70 | let (with_all_mut_struct_def, with_all_mut_fn_def) = [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] 71 | make_with_all_mut_function(&info, options)?; [INFO] [stdout] 72 | let (heads_struct_def, into_heads_fn) = make_into_heads(&info, options); [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] 73 | [INFO] [stdout] 74 | let impls = create_derives(&info)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | let type_asserts_def = make_type_asserts(&info); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | [INFO] [stdout] 80 | let extra_visibility = if options.do_pub_extras { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | let generic_args = info.generic_arguments(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | let generic_where = &info.generics.where_clause; [INFO] [stdout] 89 | Ok(TokenStream::from(quote! { [INFO] [stdout] | ________^ [INFO] [stdout] 90 | | #[doc="Encapsulates implementation details for a self-referencing struct. This module is only visible when using --document-priva... [INFO] [stdout] 91 | | mod #mod_name { [INFO] [stdout] 92 | | use super::*; [INFO] [stdout] ... | [INFO] [stdout] 129 | | #extra_visibility use #mod_name :: #async_send_try_builder_struct_name; [INFO] [stdout] 130 | | })) [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] | | 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] | | 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] = 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:179:11 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn self_referencing(attr: TokenStream, item: TokenStream) -> TokenStream { [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] 178 | let original_struct_def: ItemStruct = syn::parse_macro_input!(item); [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] 179 | match self_referencing_impl(&original_struct_def, options) { [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] warning: enum `ProcessingError` is never used [INFO] [stdout] --> src/generate/with_each.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum ProcessingError { [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/info_structures.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct StructInfo { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 77 | pub attributes: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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:89:8 [INFO] [stdout] | [INFO] [stdout] 37 | let mod_name = format_ident!("ouroboros_impl_{}", struct_name.to_string().to_snake_case()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | let info = parse_struct(original_struct_def)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | [INFO] [stdout] 42 | let actual_struct_def = create_actual_struct_def(&info)?; [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | let internal_struct_def = create_internal_struct_def(&info)?; [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | let drop_impl = create_drop_impl(&info)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | [INFO] [stdout] 46 | let borrowchk_summoner = generate_checker_summoner(&info)?; [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | [INFO] [stdout] 48 | let (builder_struct_name, builder_def, constructor_def) = [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | create_builder_and_constructor(&info, options, BuilderType::Sync)?; [INFO] [stdout] 50 | let (async_builder_struct_name, async_builder_def, async_constructor_def) = [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | create_builder_and_constructor(&info, options, BuilderType::Async)?; [INFO] [stdout] 52 | let (async_send_builder_struct_name, async_send_builder_def, async_send_constructor_def) = [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | create_builder_and_constructor(&info, options, BuilderType::AsyncSend)?; [INFO] [stdout] 54 | let (try_builder_struct_name, try_builder_def, try_constructor_def) = [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | create_try_builder_and_constructor(&info, options, BuilderType::Sync)?; [INFO] [stdout] 56 | let (async_try_builder_struct_name, async_try_builder_def, async_try_constructor_def) = [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | async_send_try_builder_struct_name, [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | async_send_try_builder_def, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | async_send_try_constructor_def, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | let (with_defs, with_errors) = make_with_functions(&info, options); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | let with_errors = with_errors [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | let (with_all_struct_def, with_all_fn_def) = make_with_all_function(&info, options)?; [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] 70 | let (with_all_mut_struct_def, with_all_mut_fn_def) = [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] 71 | make_with_all_mut_function(&info, options)?; [INFO] [stdout] 72 | let (heads_struct_def, into_heads_fn) = make_into_heads(&info, options); [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] 73 | [INFO] [stdout] 74 | let impls = create_derives(&info)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | let type_asserts_def = make_type_asserts(&info); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | [INFO] [stdout] 80 | let extra_visibility = if options.do_pub_extras { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | let generic_args = info.generic_arguments(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | let generic_where = &info.generics.where_clause; [INFO] [stdout] 89 | Ok(TokenStream::from(quote! { [INFO] [stdout] | ________^ [INFO] [stdout] 90 | | #[doc="Encapsulates implementation details for a self-referencing struct. This module is only visible when using --document-priva... [INFO] [stdout] 91 | | mod #mod_name { [INFO] [stdout] 92 | | use super::*; [INFO] [stdout] ... | [INFO] [stdout] 129 | | #extra_visibility use #mod_name :: #async_send_try_builder_struct_name; [INFO] [stdout] 130 | | })) [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] | | 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] | | 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] = 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:179:11 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn self_referencing(attr: TokenStream, item: TokenStream) -> TokenStream { [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] 178 | let original_struct_def: ItemStruct = syn::parse_macro_input!(item); [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] 179 | match self_referencing_impl(&original_struct_def, options) { [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/generate/constructor.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 14 | let struct_name = info.ident.clone(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | let generic_args = info.generic_arguments(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | [INFO] [stdout] 17 | let vis = if options.do_pub_extras { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | syn::parse_quote! { pub(super) } [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] 21 | }; [INFO] [stdout] 22 | let builder_struct_name = match builder_type { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | let mut code: Vec = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | let mut params: Vec = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | let mut builder_struct_generic_producers: Vec<_> = info [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | let mut builder_struct_generic_consumers = info.generic_arguments(); [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | let mut builder_struct_fields = Vec::new(); [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | let mut builder_struct_field_names = Vec::new(); [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 133 | let documentation = if !options.do_no_doc { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 134 | let documentation = documentation + &doc_table; [INFO] [stdout] 135 | / quote! { [INFO] [stdout] 136 | | #[doc=#documentation] [INFO] [stdout] 137 | | } [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] 138 | } else { [INFO] [stdout] 139 | | quote! { #[doc(hidden)] } [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] ... | [INFO] [stdout] 142 | | let builder_documentation = if !options.do_no_doc { [INFO] [stdout] | | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 143 | | let builder_documentation = builder_documentation + &doc_table; [INFO] [stdout] 144 | / quote! { [INFO] [stdout] 145 | | #[doc=#builder_documentation] [INFO] [stdout] 146 | | } [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] 147 | } else { [INFO] [stdout] 148 | | quote! { #[doc(hidden)] } [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] ... | [INFO] [stdout] 151 | | let constructor_fn = match builder_type { [INFO] [stdout] | | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 152 | | BuilderType::AsyncSend => quote! { async fn new_async_send }, [INFO] [stdout] | | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 153 | | BuilderType::Async => quote! { async fn new_async }, [INFO] [stdout] | | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 154 | | BuilderType::Sync => quote! { fn new }, [INFO] [stdout] | | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 155 | | }; [INFO] [stdout] 156 | | let field_names: Vec<_> = info.fields.iter().map(|field| field.name.clone()).collect(); [INFO] [stdout] | | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 157 | | let internal_ident = &info.internal_ident; [INFO] [stdout] 158 | let constructor_def = quote! { [INFO] [stdout] | _________---------------___- [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] 159 | | #documentation [INFO] [stdout] 160 | | #vis #constructor_fn(#(#params),*) -> #struct_name <#(#generic_args),*> { [INFO] [stdout] 161 | | #(#code)* [INFO] [stdout] ... | [INFO] [stdout] 169 | | } [INFO] [stdout] 170 | | }; [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 171 | let generic_where = &info.generics.where_clause; [INFO] [stdout] 172 | | let builder_fn = if builder_type.is_async() { [INFO] [stdout] | | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 173 | | quote! { async fn build } [INFO] [stdout] | | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 174 | | } else { [INFO] [stdout] 175 | | quote! { fn build } [INFO] [stdout] | | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 176 | | }; [INFO] [stdout] 177 | | let builder_code = match builder_type { [INFO] [stdout] | | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 178 | BuilderType::AsyncSend => quote! { [INFO] [stdout] | ___________________________________- [INFO] [stdout] | |___________________________________| [INFO] [stdout] 179 | | #struct_name::new_async_send( [INFO] [stdout] 180 | | #(self.#builder_struct_field_names),* [INFO] [stdout] 181 | | ).await [INFO] [stdout] 182 | | }, [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] 183 | BuilderType::Async => quote! { [INFO] [stdout] | _______________________________- [INFO] [stdout] | |_______________________________| [INFO] [stdout] 184 | | #struct_name::new_async( [INFO] [stdout] 185 | | #(self.#builder_struct_field_names),* [INFO] [stdout] 186 | | ).await [INFO] [stdout] 187 | | }, [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] 188 | BuilderType::Sync => quote! { [INFO] [stdout] | ______________________________- [INFO] [stdout] | |______________________________| [INFO] [stdout] 189 | | #struct_name::new( [INFO] [stdout] 190 | | #(self.#builder_struct_field_names),* [INFO] [stdout] 191 | | ) [INFO] [stdout] 192 | | }, [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] 193 | }; [INFO] [stdout] 194 | let builder_def = 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] 195 | | #builder_documentation [INFO] [stdout] 196 | | #vis struct #builder_struct_name <#(#builder_struct_generic_producers),*> #generic_where { [INFO] [stdout] 197 | | #(#vis #builder_struct_fields),* [INFO] [stdout] ... | [INFO] [stdout] 204 | | } [INFO] [stdout] 205 | | }; [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] 206 | | Ok((builder_struct_name, builder_def, constructor_def)) [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/generate/derives.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 33 | let fields = info [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | let trait_name = syn::parse_quote! { ::core::fmt::Debug }; [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] 45 | let struct_name = &info.ident; [INFO] [stdout] 46 | let body = quote! { [INFO] [stdout] | _________----___- [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] 47 | | fn fmt(&self, f: &mut ::core::fmt::Formatter) -> ::core::fmt::Result { [INFO] [stdout] 48 | | self.with(|safe_self| { [INFO] [stdout] 49 | | f.debug_struct(stringify!(#struct_name)) [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | }; [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | | Ok(impl_trait(info, trait_name, body)) [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/generate/constructor.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 14 | let struct_name = info.ident.clone(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | let generic_args = info.generic_arguments(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | [INFO] [stdout] 17 | let vis = if options.do_pub_extras { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | syn::parse_quote! { pub(super) } [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] 21 | }; [INFO] [stdout] 22 | let builder_struct_name = match builder_type { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | let mut code: Vec = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | let mut params: Vec = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | let mut builder_struct_generic_producers: Vec<_> = info [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | let mut builder_struct_generic_consumers = info.generic_arguments(); [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | let mut builder_struct_fields = Vec::new(); [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | let mut builder_struct_field_names = Vec::new(); [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 133 | let documentation = if !options.do_no_doc { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 134 | let documentation = documentation + &doc_table; [INFO] [stdout] 135 | / quote! { [INFO] [stdout] 136 | | #[doc=#documentation] [INFO] [stdout] 137 | | } [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] 138 | } else { [INFO] [stdout] 139 | | quote! { #[doc(hidden)] } [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] ... | [INFO] [stdout] 142 | | let builder_documentation = if !options.do_no_doc { [INFO] [stdout] | | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 143 | | let builder_documentation = builder_documentation + &doc_table; [INFO] [stdout] 144 | / quote! { [INFO] [stdout] 145 | | #[doc=#builder_documentation] [INFO] [stdout] 146 | | } [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] 147 | } else { [INFO] [stdout] 148 | | quote! { #[doc(hidden)] } [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] ... | [INFO] [stdout] 151 | | let constructor_fn = match builder_type { [INFO] [stdout] | | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 152 | | BuilderType::AsyncSend => quote! { async fn new_async_send }, [INFO] [stdout] | | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 153 | | BuilderType::Async => quote! { async fn new_async }, [INFO] [stdout] | | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 154 | | BuilderType::Sync => quote! { fn new }, [INFO] [stdout] | | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 155 | | }; [INFO] [stdout] 156 | | let field_names: Vec<_> = info.fields.iter().map(|field| field.name.clone()).collect(); [INFO] [stdout] | | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 157 | | let internal_ident = &info.internal_ident; [INFO] [stdout] 158 | let constructor_def = quote! { [INFO] [stdout] | _________---------------___- [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] 159 | | #documentation [INFO] [stdout] 160 | | #vis #constructor_fn(#(#params),*) -> #struct_name <#(#generic_args),*> { [INFO] [stdout] 161 | | #(#code)* [INFO] [stdout] ... | [INFO] [stdout] 169 | | } [INFO] [stdout] 170 | | }; [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 171 | let generic_where = &info.generics.where_clause; [INFO] [stdout] 172 | | let builder_fn = if builder_type.is_async() { [INFO] [stdout] | | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 173 | | quote! { async fn build } [INFO] [stdout] | | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 174 | | } else { [INFO] [stdout] 175 | | quote! { fn build } [INFO] [stdout] | | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 176 | | }; [INFO] [stdout] 177 | | let builder_code = match builder_type { [INFO] [stdout] | | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 178 | BuilderType::AsyncSend => quote! { [INFO] [stdout] | ___________________________________- [INFO] [stdout] | |___________________________________| [INFO] [stdout] 179 | | #struct_name::new_async_send( [INFO] [stdout] 180 | | #(self.#builder_struct_field_names),* [INFO] [stdout] 181 | | ).await [INFO] [stdout] 182 | | }, [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] 183 | BuilderType::Async => quote! { [INFO] [stdout] | _______________________________- [INFO] [stdout] | |_______________________________| [INFO] [stdout] 184 | | #struct_name::new_async( [INFO] [stdout] 185 | | #(self.#builder_struct_field_names),* [INFO] [stdout] 186 | | ).await [INFO] [stdout] 187 | | }, [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] 188 | BuilderType::Sync => quote! { [INFO] [stdout] | ______________________________- [INFO] [stdout] | |______________________________| [INFO] [stdout] 189 | | #struct_name::new( [INFO] [stdout] 190 | | #(self.#builder_struct_field_names),* [INFO] [stdout] 191 | | ) [INFO] [stdout] 192 | | }, [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] 193 | }; [INFO] [stdout] 194 | let builder_def = 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] 195 | | #builder_documentation [INFO] [stdout] 196 | | #vis struct #builder_struct_name <#(#builder_struct_generic_producers),*> #generic_where { [INFO] [stdout] 197 | | #(#vis #builder_struct_fields),* [INFO] [stdout] ... | [INFO] [stdout] 204 | | } [INFO] [stdout] 205 | | }; [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] 206 | | Ok((builder_struct_name, builder_def, constructor_def)) [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/generate/derives.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 59 | let fields = info [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | let trait_name = syn::parse_quote! { ::core::cmp::PartialEq }; [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] 71 | let body = quote! { [INFO] [stdout] | _________----___- [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] 72 | | fn eq(&self, other: &Self) -> bool { [INFO] [stdout] 73 | | self.with(|safe_self| { [INFO] [stdout] 74 | | other.with(|safe_other| { [INFO] [stdout] ... | [INFO] [stdout] 78 | | } [INFO] [stdout] 79 | | }; [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | | Ok(impl_trait(info, trait_name, body)) [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/generate/derives.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 84 | let trait_name = syn::parse_quote! { ::core::cmp::Eq }; [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] 85 | let body = quote! {}; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | Ok(impl_trait(info, trait_name, body)) [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/generate/derives.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 33 | let fields = info [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | let trait_name = syn::parse_quote! { ::core::fmt::Debug }; [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] 45 | let struct_name = &info.ident; [INFO] [stdout] 46 | let body = quote! { [INFO] [stdout] | _________----___- [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] 47 | | fn fmt(&self, f: &mut ::core::fmt::Formatter) -> ::core::fmt::Result { [INFO] [stdout] 48 | | self.with(|safe_self| { [INFO] [stdout] 49 | | f.debug_struct(stringify!(#struct_name)) [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | }; [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | | Ok(impl_trait(info, trait_name, body)) [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/generate/derives.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 59 | let fields = info [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | let trait_name = syn::parse_quote! { ::core::cmp::PartialEq }; [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] 71 | let body = quote! { [INFO] [stdout] | _________----___- [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] 72 | | fn eq(&self, other: &Self) -> bool { [INFO] [stdout] 73 | | self.with(|safe_self| { [INFO] [stdout] 74 | | other.with(|safe_other| { [INFO] [stdout] ... | [INFO] [stdout] 78 | | } [INFO] [stdout] 79 | | }; [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | | Ok(impl_trait(info, trait_name, body)) [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/generate/derives.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 84 | let trait_name = syn::parse_quote! { ::core::cmp::Eq }; [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] 85 | let body = quote! {}; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | Ok(impl_trait(info, trait_name, body)) [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/generate/try_constructor.rs:307:8 [INFO] [stdout] | [INFO] [stdout] 14 | let struct_name = info.ident.clone(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | let generic_args = info.generic_arguments(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | [INFO] [stdout] 17 | let visibility = if options.do_pub_extras { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | syn::parse_quote! { pub(super) } [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] 21 | }; [INFO] [stdout] 22 | let mut head_recover_code = Vec::new(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | let builder_struct_name = match builder_type { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | let mut or_recover_code: Vec = Vec::new(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | let mut params: Vec = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | let mut builder_struct_generic_producers: Vec<_> = info [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 92 | let mut builder_struct_generic_consumers = info.generic_arguments(); [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | let mut builder_struct_fields = Vec::new(); [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | let mut builder_struct_field_names = Vec::new(); [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 181 | let documentation = if !options.do_no_doc { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 182 | let documentation = documentation + &doc_table; [INFO] [stdout] 183 | / quote! { [INFO] [stdout] 184 | | #[doc=#documentation] [INFO] [stdout] 185 | | } [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] 186 | } else { [INFO] [stdout] 187 | | quote! { #[doc(hidden)] } [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] 188 | | }; [INFO] [stdout] 189 | | let or_recover_documentation = if !options.do_no_doc { [INFO] [stdout] | | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 190 | | let or_recover_documentation = or_recover_documentation + &doc_table; [INFO] [stdout] 191 | / quote! { [INFO] [stdout] 192 | | #[doc=#or_recover_documentation] [INFO] [stdout] 193 | | } [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] 194 | } else { [INFO] [stdout] 195 | | quote! { #[doc(hidden)] } [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] 196 | | }; [INFO] [stdout] 197 | | let builder_documentation = if !options.do_no_doc { [INFO] [stdout] | | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 198 | | let builder_documentation = builder_documentation + &doc_table; [INFO] [stdout] 199 | / quote! { [INFO] [stdout] 200 | | #[doc=#builder_documentation] [INFO] [stdout] 201 | | } [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] 202 | } else { [INFO] [stdout] 203 | | quote! { #[doc(hidden)] } [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] 204 | | }; [INFO] [stdout] 205 | | let or_recover_ident = match builder_type { [INFO] [stdout] | | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 206 | | BuilderType::AsyncSend => quote! { try_new_or_recover_async_send }, [INFO] [stdout] | | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | | BuilderType::Async => quote! { try_new_or_recover_async }, [INFO] [stdout] | | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 208 | | BuilderType::Sync => quote! { try_new_or_recover }, [INFO] [stdout] | | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 209 | | }; [INFO] [stdout] 210 | | let or_recover_constructor_fn = if builder_type.is_async() { [INFO] [stdout] | | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 211 | | quote! { async fn #or_recover_ident } [INFO] [stdout] | | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 212 | | } else { [INFO] [stdout] 213 | | quote! { fn #or_recover_ident } [INFO] [stdout] | | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 214 | | }; [INFO] [stdout] 215 | | let constructor_fn = match builder_type { [INFO] [stdout] | | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 216 | | BuilderType::AsyncSend => quote! { async fn try_new_async_send }, [INFO] [stdout] | | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 217 | | BuilderType::Async => quote! { async fn try_new_async }, [INFO] [stdout] | | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 218 | | BuilderType::Sync => quote! { fn try_new }, [INFO] [stdout] | | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 219 | | }; [INFO] [stdout] 220 | | let constructor_code = if builder_type.is_async() { [INFO] [stdout] | | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 221 | | quote! { #struct_name::#or_recover_ident(#(#builder_struct_field_names),*).await.map_err(|(error, _heads)| error) } [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] 222 | | } else { [INFO] [stdout] 223 | | quote! { #struct_name::#or_recover_ident(#(#builder_struct_field_names),*).map_err(|(error, _heads)| error) } [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] 224 | | }; [INFO] [stdout] 225 | | let field_names: Vec<_> = info.fields.iter().map(|field| field.name.clone()).collect(); [INFO] [stdout] | | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 226 | | let internal_ident = &info.internal_ident; [INFO] [stdout] 227 | let constructor_def = quote! { [INFO] [stdout] | _________---------------___- [INFO] [stdout] | |_________|_________________| [INFO] [stdout] | |_________|_________________| [INFO] [stdout] | |_________|_________________| [INFO] [stdout] | |_________|_________________| [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] 228 | | #documentation [INFO] [stdout] 229 | | #visibility #constructor_fn(#(#params),*) -> ::core::result::Result<#struct_name <#(#generic_args),*>, Error_> { [INFO] [stdout] 230 | | #constructor_code [INFO] [stdout] ... | [INFO] [stdout] 242 | | } [INFO] [stdout] 243 | | }; [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] | |_____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] ... [INFO] [stdout] 247 | | let builder_fn = if builder_type.is_async() { [INFO] [stdout] | | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 248 | | quote! { async fn try_build } [INFO] [stdout] | | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 249 | | } else { [INFO] [stdout] 250 | | quote! { fn try_build } [INFO] [stdout] | | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 251 | | }; [INFO] [stdout] 252 | | let or_recover_builder_fn = if builder_type.is_async() { [INFO] [stdout] | | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 253 | | quote! { async fn try_build_or_recover } [INFO] [stdout] | | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 254 | | } else { [INFO] [stdout] 255 | | quote! { fn try_build_or_recover } [INFO] [stdout] | | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 256 | | }; [INFO] [stdout] 257 | | let builder_code = match builder_type { [INFO] [stdout] | | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 258 | BuilderType::AsyncSend => quote! { [INFO] [stdout] | ___________________________________- [INFO] [stdout] | |___________________________________| [INFO] [stdout] 259 | | #struct_name::try_new_async_send( [INFO] [stdout] 260 | | #(self.#builder_struct_field_names),* [INFO] [stdout] 261 | | ).await [INFO] [stdout] 262 | | }, [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] 263 | BuilderType::Async => quote! { [INFO] [stdout] | _______________________________- [INFO] [stdout] | |_______________________________| [INFO] [stdout] 264 | | #struct_name::try_new_async( [INFO] [stdout] 265 | | #(self.#builder_struct_field_names),* [INFO] [stdout] 266 | | ).await [INFO] [stdout] 267 | | }, [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] 268 | BuilderType::Sync => quote! { [INFO] [stdout] | ______________________________- [INFO] [stdout] | |______________________________| [INFO] [stdout] 269 | | #struct_name::try_new( [INFO] [stdout] 270 | | #(self.#builder_struct_field_names),* [INFO] [stdout] 271 | | ) [INFO] [stdout] 272 | | }, [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] 273 | }; [INFO] [stdout] 274 | | let or_recover_builder_code = match builder_type { [INFO] [stdout] | | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 275 | BuilderType::AsyncSend => quote! { [INFO] [stdout] | ___________________________________- [INFO] [stdout] | |___________________________________| [INFO] [stdout] 276 | | #struct_name::try_new_or_recover_async_send( [INFO] [stdout] 277 | | #(self.#builder_struct_field_names),* [INFO] [stdout] 278 | | ).await [INFO] [stdout] 279 | | }, [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] 280 | BuilderType::Async => quote! { [INFO] [stdout] | _______________________________- [INFO] [stdout] | |_______________________________| [INFO] [stdout] 281 | | #struct_name::try_new_or_recover_async( [INFO] [stdout] 282 | | #(self.#builder_struct_field_names),* [INFO] [stdout] 283 | | ).await [INFO] [stdout] 284 | | }, [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] 285 | BuilderType::Sync => quote! { [INFO] [stdout] | ______________________________- [INFO] [stdout] | |______________________________| [INFO] [stdout] 286 | | #struct_name::try_new_or_recover( [INFO] [stdout] 287 | | #(self.#builder_struct_field_names),* [INFO] [stdout] 288 | | ) [INFO] [stdout] 289 | | }, [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] 290 | }; [INFO] [stdout] 291 | let builder_def = quote! { [INFO] [stdout] | _________-----------___- [INFO] [stdout] | |_________|_____________| [INFO] [stdout] | |_________|_____________| [INFO] [stdout] | |_________|_____________| [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] 292 | | #builder_documentation [INFO] [stdout] 293 | | #visibility struct #builder_struct_name <#(#builder_struct_generic_producers),*> #generic_where { [INFO] [stdout] 294 | | #(#visibility #builder_struct_fields),* [INFO] [stdout] ... | [INFO] [stdout] 305 | | } [INFO] [stdout] 306 | | }; [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] | |_____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] 307 | | Ok((builder_struct_name, builder_def, constructor_def)) [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/generate/try_constructor.rs:307:8 [INFO] [stdout] | [INFO] [stdout] 14 | let struct_name = info.ident.clone(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | let generic_args = info.generic_arguments(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | [INFO] [stdout] 17 | let visibility = if options.do_pub_extras { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | syn::parse_quote! { pub(super) } [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] 21 | }; [INFO] [stdout] 22 | let mut head_recover_code = Vec::new(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | let builder_struct_name = match builder_type { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | let mut or_recover_code: Vec = Vec::new(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | let mut params: Vec = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | let mut builder_struct_generic_producers: Vec<_> = info [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 92 | let mut builder_struct_generic_consumers = info.generic_arguments(); [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | let mut builder_struct_fields = Vec::new(); [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | let mut builder_struct_field_names = Vec::new(); [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 181 | let documentation = if !options.do_no_doc { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 182 | let documentation = documentation + &doc_table; [INFO] [stdout] 183 | / quote! { [INFO] [stdout] 184 | | #[doc=#documentation] [INFO] [stdout] 185 | | } [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] 186 | } else { [INFO] [stdout] 187 | | quote! { #[doc(hidden)] } [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] 188 | | }; [INFO] [stdout] 189 | | let or_recover_documentation = if !options.do_no_doc { [INFO] [stdout] | | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 190 | | let or_recover_documentation = or_recover_documentation + &doc_table; [INFO] [stdout] 191 | / quote! { [INFO] [stdout] 192 | | #[doc=#or_recover_documentation] [INFO] [stdout] 193 | | } [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] 194 | } else { [INFO] [stdout] 195 | | quote! { #[doc(hidden)] } [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] 196 | | }; [INFO] [stdout] 197 | | let builder_documentation = if !options.do_no_doc { [INFO] [stdout] | | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 198 | | let builder_documentation = builder_documentation + &doc_table; [INFO] [stdout] 199 | / quote! { [INFO] [stdout] 200 | | #[doc=#builder_documentation] [INFO] [stdout] 201 | | } [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] 202 | } else { [INFO] [stdout] 203 | | quote! { #[doc(hidden)] } [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] 204 | | }; [INFO] [stdout] 205 | | let or_recover_ident = match builder_type { [INFO] [stdout] | | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 206 | | BuilderType::AsyncSend => quote! { try_new_or_recover_async_send }, [INFO] [stdout] | | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | | BuilderType::Async => quote! { try_new_or_recover_async }, [INFO] [stdout] | | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 208 | | BuilderType::Sync => quote! { try_new_or_recover }, [INFO] [stdout] | | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 209 | | }; [INFO] [stdout] 210 | | let or_recover_constructor_fn = if builder_type.is_async() { [INFO] [stdout] | | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 211 | | quote! { async fn #or_recover_ident } [INFO] [stdout] | | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 212 | | } else { [INFO] [stdout] 213 | | quote! { fn #or_recover_ident } [INFO] [stdout] | | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 214 | | }; [INFO] [stdout] 215 | | let constructor_fn = match builder_type { [INFO] [stdout] | | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 216 | | BuilderType::AsyncSend => quote! { async fn try_new_async_send }, [INFO] [stdout] | | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 217 | | BuilderType::Async => quote! { async fn try_new_async }, [INFO] [stdout] | | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 218 | | BuilderType::Sync => quote! { fn try_new }, [INFO] [stdout] | | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 219 | | }; [INFO] [stdout] 220 | | let constructor_code = if builder_type.is_async() { [INFO] [stdout] | | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 221 | | quote! { #struct_name::#or_recover_ident(#(#builder_struct_field_names),*).await.map_err(|(error, _heads)| error) } [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] 222 | | } else { [INFO] [stdout] 223 | | quote! { #struct_name::#or_recover_ident(#(#builder_struct_field_names),*).map_err(|(error, _heads)| error) } [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] 224 | | }; [INFO] [stdout] 225 | | let field_names: Vec<_> = info.fields.iter().map(|field| field.name.clone()).collect(); [INFO] [stdout] | | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 226 | | let internal_ident = &info.internal_ident; [INFO] [stdout] 227 | let constructor_def = quote! { [INFO] [stdout] | _________---------------___- [INFO] [stdout] | |_________|_________________| [INFO] [stdout] | |_________|_________________| [INFO] [stdout] | |_________|_________________| [INFO] [stdout] | |_________|_________________| [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] 228 | | #documentation [INFO] [stdout] 229 | | #visibility #constructor_fn(#(#params),*) -> ::core::result::Result<#struct_name <#(#generic_args),*>, Error_> { [INFO] [stdout] 230 | | #constructor_code [INFO] [stdout] ... | [INFO] [stdout] 242 | | } [INFO] [stdout] 243 | | }; [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] | |_____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] ... [INFO] [stdout] 247 | | let builder_fn = if builder_type.is_async() { [INFO] [stdout] | | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 248 | | quote! { async fn try_build } [INFO] [stdout] | | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 249 | | } else { [INFO] [stdout] 250 | | quote! { fn try_build } [INFO] [stdout] | | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 251 | | }; [INFO] [stdout] 252 | | let or_recover_builder_fn = if builder_type.is_async() { [INFO] [stdout] | | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 253 | | quote! { async fn try_build_or_recover } [INFO] [stdout] | | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 254 | | } else { [INFO] [stdout] 255 | | quote! { fn try_build_or_recover } [INFO] [stdout] | | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 256 | | }; [INFO] [stdout] 257 | | let builder_code = match builder_type { [INFO] [stdout] | | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 258 | BuilderType::AsyncSend => quote! { [INFO] [stdout] | ___________________________________- [INFO] [stdout] | |___________________________________| [INFO] [stdout] 259 | | #struct_name::try_new_async_send( [INFO] [stdout] 260 | | #(self.#builder_struct_field_names),* [INFO] [stdout] 261 | | ).await [INFO] [stdout] 262 | | }, [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] 263 | BuilderType::Async => quote! { [INFO] [stdout] | _______________________________- [INFO] [stdout] | |_______________________________| [INFO] [stdout] 264 | | #struct_name::try_new_async( [INFO] [stdout] 265 | | #(self.#builder_struct_field_names),* [INFO] [stdout] 266 | | ).await [INFO] [stdout] 267 | | }, [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] 268 | BuilderType::Sync => quote! { [INFO] [stdout] | ______________________________- [INFO] [stdout] | |______________________________| [INFO] [stdout] 269 | | #struct_name::try_new( [INFO] [stdout] 270 | | #(self.#builder_struct_field_names),* [INFO] [stdout] 271 | | ) [INFO] [stdout] 272 | | }, [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] 273 | }; [INFO] [stdout] 274 | | let or_recover_builder_code = match builder_type { [INFO] [stdout] | | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 275 | BuilderType::AsyncSend => quote! { [INFO] [stdout] | ___________________________________- [INFO] [stdout] | |___________________________________| [INFO] [stdout] 276 | | #struct_name::try_new_or_recover_async_send( [INFO] [stdout] 277 | | #(self.#builder_struct_field_names),* [INFO] [stdout] 278 | | ).await [INFO] [stdout] 279 | | }, [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] 280 | BuilderType::Async => quote! { [INFO] [stdout] | _______________________________- [INFO] [stdout] | |_______________________________| [INFO] [stdout] 281 | | #struct_name::try_new_or_recover_async( [INFO] [stdout] 282 | | #(self.#builder_struct_field_names),* [INFO] [stdout] 283 | | ).await [INFO] [stdout] 284 | | }, [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] 285 | BuilderType::Sync => quote! { [INFO] [stdout] | ______________________________- [INFO] [stdout] | |______________________________| [INFO] [stdout] 286 | | #struct_name::try_new_or_recover( [INFO] [stdout] 287 | | #(self.#builder_struct_field_names),* [INFO] [stdout] 288 | | ) [INFO] [stdout] 289 | | }, [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] 290 | }; [INFO] [stdout] 291 | let builder_def = quote! { [INFO] [stdout] | _________-----------___- [INFO] [stdout] | |_________|_____________| [INFO] [stdout] | |_________|_____________| [INFO] [stdout] | |_________|_____________| [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] 292 | | #builder_documentation [INFO] [stdout] 293 | | #visibility struct #builder_struct_name <#(#builder_struct_generic_producers),*> #generic_where { [INFO] [stdout] 294 | | #(#visibility #builder_struct_fields),* [INFO] [stdout] ... | [INFO] [stdout] 305 | | } [INFO] [stdout] 306 | | }; [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] | |_____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] 307 | | Ok((builder_struct_name, builder_def, constructor_def)) [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/generate/with.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 10 | let visibility = if options.do_pub_extras { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 13 | syn::parse_quote! { pub(super) } [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] 14 | }; [INFO] [stdout] 15 | let mut fields = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | let mut field_assignments = Vec::new(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | let new_generic_params = info.borrowed_generic_params(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | let new_generic_args = info.borrowed_generic_arguments(); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | let lifetime = Lifetime::new(<name, Span::call_site()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | let generic_where = if let Some(clause) = &info.generics.where_clause { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | let mut clause = clause.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | let extra: WhereClause = syn::parse_quote! { where #lifetime: 'this }; [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] 61 | let extra: WhereClause = syn::parse_quote! { where 'this: 'outer_borrow }; [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] 67 | syn::parse_quote! { where #lifetime: 'this, 'this: 'outer_borrow } [INFO] [stdout] | ------------------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | }; [INFO] [stdout] 69 | let struct_defs = quote! { [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] 70 | | #[doc=#struct_documentation] [INFO] [stdout] 71 | | #visibility struct BorrowedFields #new_generic_params #generic_where { #(#fields),* } [INFO] [stdout] 72 | | }; [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] 73 | | let borrowed_fields_type = quote! { BorrowedFields<#(#new_generic_args),*> }; [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] 78 | | let documentation = if !options.do_no_doc { [INFO] [stdout] | | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | / quote! { [INFO] [stdout] 80 | | #[doc=#documentation] [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] 82 | } else { [INFO] [stdout] 83 | | quote! { #[doc(hidden)] } [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] 84 | | }; [INFO] [stdout] 85 | let fn_defs = quote! { [INFO] [stdout] | _________-------___- [INFO] [stdout] | |_________|_________| [INFO] [stdout] | |_________|_________| [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] 86 | | #documentation [INFO] [stdout] 87 | | #[inline(always)] [INFO] [stdout] 88 | | #visibility fn with <'outer_borrow, ReturnType>( [INFO] [stdout] ... | [INFO] [stdout] 96 | | } [INFO] [stdout] 97 | | }; [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] | |_____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] 98 | | Ok((struct_defs, fn_defs)) [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/generate/with.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 10 | let visibility = if options.do_pub_extras { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 13 | syn::parse_quote! { pub(super) } [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] 14 | }; [INFO] [stdout] 15 | let mut fields = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | let mut field_assignments = Vec::new(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | let new_generic_params = info.borrowed_generic_params(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | let new_generic_args = info.borrowed_generic_arguments(); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | let lifetime = Lifetime::new(<name, Span::call_site()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | let generic_where = if let Some(clause) = &info.generics.where_clause { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | let mut clause = clause.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | let extra: WhereClause = syn::parse_quote! { where #lifetime: 'this }; [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] 61 | let extra: WhereClause = syn::parse_quote! { where 'this: 'outer_borrow }; [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] 67 | syn::parse_quote! { where #lifetime: 'this, 'this: 'outer_borrow } [INFO] [stdout] | ------------------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | }; [INFO] [stdout] 69 | let struct_defs = quote! { [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] 70 | | #[doc=#struct_documentation] [INFO] [stdout] 71 | | #visibility struct BorrowedFields #new_generic_params #generic_where { #(#fields),* } [INFO] [stdout] 72 | | }; [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] 73 | | let borrowed_fields_type = quote! { BorrowedFields<#(#new_generic_args),*> }; [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] 78 | | let documentation = if !options.do_no_doc { [INFO] [stdout] | | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | / quote! { [INFO] [stdout] 80 | | #[doc=#documentation] [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] 82 | } else { [INFO] [stdout] 83 | | quote! { #[doc(hidden)] } [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] 84 | | }; [INFO] [stdout] 85 | let fn_defs = quote! { [INFO] [stdout] | _________-------___- [INFO] [stdout] | |_________|_________| [INFO] [stdout] | |_________|_________| [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] 86 | | #documentation [INFO] [stdout] 87 | | #[inline(always)] [INFO] [stdout] 88 | | #visibility fn with <'outer_borrow, ReturnType>( [INFO] [stdout] ... | [INFO] [stdout] 96 | | } [INFO] [stdout] 97 | | }; [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] | |_____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] 98 | | Ok((struct_defs, fn_defs)) [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/generate/with_mut.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 14 | let visibility = if options.do_pub_extras { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | syn::parse_quote! { pub(super) } [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] 18 | }; [INFO] [stdout] 19 | let mut mut_fields = Vec::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | let mut mut_field_assignments = Vec::new(); [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | let mut lifetime_idents = Vec::new(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | let mut new_generic_params = info.generic_params().clone(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | let mut new_generic_args = info.generic_arguments(); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | let mut lifetimes = Vec::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | let fake_lifetime = Lifetime::new(&format!("'{}", info.fake_lifetime()), Span::call_site()); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | let mut generic_where = if let Some(clause) = &info.generics.where_clause { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | syn::parse_quote! { where } [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | let struct_defs = quote! { [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] 99 | | #[doc=#mut_struct_documentation] [INFO] [stdout] 100 | | #visibility struct BorrowedMutFields <#new_generic_params> #generic_where { #(#mut_fields),* } [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] 102 | | let borrowed_mut_fields_type = quote! { BorrowedMutFields<#(#new_generic_args),*> }; [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] 107 | | let mut_documentation = if !options.do_no_doc { [INFO] [stdout] | | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | / quote! { [INFO] [stdout] 109 | | #[doc=#mut_documentation] [INFO] [stdout] 110 | | } [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] 111 | } else { [INFO] [stdout] 112 | | quote! { #[doc(hidden)] } [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] 113 | | }; [INFO] [stdout] 114 | let fn_defs = quote! { [INFO] [stdout] | _________-------___- [INFO] [stdout] | |_________|_________| [INFO] [stdout] | |_________|_________| [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] 115 | | #mut_documentation [INFO] [stdout] 116 | | #[inline(always)] [INFO] [stdout] 117 | | #visibility fn with_mut <'outer_borrow, ReturnType>( [INFO] [stdout] ... | [INFO] [stdout] 125 | | } [INFO] [stdout] 126 | | }; [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] | |_____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] 127 | | Ok((struct_defs, fn_defs)) [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/parse.rs:268:8 [INFO] [stdout] | [INFO] [stdout] 143 | let vis = def.vis.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 144 | let generics = def.generics.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 145 | let mut actual_struct_def = def.clone(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 146 | actual_struct_def.vis = vis.clone(); [INFO] [stdout] 147 | let mut fields = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 238 | let first_lifetime = if let Some(GenericParam::Lifetime(param)) = generics.params.first() { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 243 | let mut attributes = Vec::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 268 | Ok(StructInfo { [INFO] [stdout] | ________^ [INFO] [stdout] 269 | | derives, [INFO] [stdout] 270 | | ident: def.ident.clone(), [INFO] [stdout] 271 | | internal_ident: format_ident!("{}Internal", def.ident), [INFO] [stdout] ... | [INFO] [stdout] 276 | | attributes, [INFO] [stdout] 277 | | }) [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/utils.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn replace_this_with_lifetime(input: TokenStream, lifetime: Ident) -> TokenStream { [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] 87 | / input [INFO] [stdout] 88 | | .into_iter() [INFO] [stdout] 89 | | .map(|token| match &token { [INFO] [stdout] 90 | | TokenTree::Ident(ident) => { [INFO] [stdout] ... | [INFO] [stdout] 101 | | _ => token, [INFO] [stdout] 102 | | }) [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 11 previous errors; 2 warnings emitted [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/generate/with_mut.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 14 | let visibility = if options.do_pub_extras { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | syn::parse_quote! { pub(super) } [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] 18 | }; [INFO] [stdout] 19 | let mut mut_fields = Vec::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | let mut mut_field_assignments = Vec::new(); [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | let mut lifetime_idents = Vec::new(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | let mut new_generic_params = info.generic_params().clone(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | let mut new_generic_args = info.generic_arguments(); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | let mut lifetimes = Vec::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | let fake_lifetime = Lifetime::new(&format!("'{}", info.fake_lifetime()), Span::call_site()); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | let mut generic_where = if let Some(clause) = &info.generics.where_clause { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | syn::parse_quote! { where } [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | let struct_defs = quote! { [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] 99 | | #[doc=#mut_struct_documentation] [INFO] [stdout] 100 | | #visibility struct BorrowedMutFields <#new_generic_params> #generic_where { #(#mut_fields),* } [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] 102 | | let borrowed_mut_fields_type = quote! { BorrowedMutFields<#(#new_generic_args),*> }; [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] 107 | | let mut_documentation = if !options.do_no_doc { [INFO] [stdout] | | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | / quote! { [INFO] [stdout] 109 | | #[doc=#mut_documentation] [INFO] [stdout] 110 | | } [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] 111 | } else { [INFO] [stdout] 112 | | quote! { #[doc(hidden)] } [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] 113 | | }; [INFO] [stdout] 114 | let fn_defs = quote! { [INFO] [stdout] | _________-------___- [INFO] [stdout] | |_________|_________| [INFO] [stdout] | |_________|_________| [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] 115 | | #mut_documentation [INFO] [stdout] 116 | | #[inline(always)] [INFO] [stdout] 117 | | #visibility fn with_mut <'outer_borrow, ReturnType>( [INFO] [stdout] ... | [INFO] [stdout] 125 | | } [INFO] [stdout] 126 | | }; [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] | |_____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] 127 | | Ok((struct_defs, fn_defs)) [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 `ouroboros_macro` (lib) due to 12 previous errors; 2 warnings emitted [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/parse.rs:268:8 [INFO] [stdout] | [INFO] [stdout] 143 | let vis = def.vis.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 144 | let generics = def.generics.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 145 | let mut actual_struct_def = def.clone(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 146 | actual_struct_def.vis = vis.clone(); [INFO] [stdout] 147 | let mut fields = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 238 | let first_lifetime = if let Some(GenericParam::Lifetime(param)) = generics.params.first() { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 243 | let mut attributes = Vec::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 268 | Ok(StructInfo { [INFO] [stdout] | ________^ [INFO] [stdout] 269 | | derives, [INFO] [stdout] 270 | | ident: def.ident.clone(), [INFO] [stdout] 271 | | internal_ident: format_ident!("{}Internal", def.ident), [INFO] [stdout] ... | [INFO] [stdout] 276 | | attributes, [INFO] [stdout] 277 | | }) [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] 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/utils.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn replace_this_with_lifetime(input: TokenStream, lifetime: Ident) -> TokenStream { [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] 87 | / input [INFO] [stdout] 88 | | .into_iter() [INFO] [stdout] 89 | | .map(|token| match &token { [INFO] [stdout] 90 | | TokenTree::Ident(ident) => { [INFO] [stdout] ... | [INFO] [stdout] 101 | | _ => token, [INFO] [stdout] 102 | | }) [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 11 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ouroboros_macro` (lib test) due to 12 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4b75961df5750bbf0465cd93f6bb2d2af673305dec561ae16bcadbf91844e8c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b75961df5750bbf0465cd93f6bb2d2af673305dec561ae16bcadbf91844e8c4", kill_on_drop: false }` [INFO] [stdout] 4b75961df5750bbf0465cd93f6bb2d2af673305dec561ae16bcadbf91844e8c4