[INFO] cloning repository https://github.com/SReichelt/enum_trait [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SReichelt/enum_trait" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSReichelt%2Fenum_trait", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSReichelt%2Fenum_trait'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b2f85f0c56cd4a19c9b59da65269a9aa512f36d8 [INFO] checking SReichelt/enum_trait/b2f85f0c56cd4a19c9b59da65269a9aa512f36d8 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSReichelt%2Fenum_trait" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SReichelt/enum_trait 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 git repo https://github.com/SReichelt/enum_trait [INFO] finished tweaking git repo https://github.com/SReichelt/enum_trait [INFO] tweaked toml for git repo https://github.com/SReichelt/enum_trait written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/SReichelt/enum_trait already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] bb0b83e299e9639ebdf6e4fb161b37ac2d1edf9176bf053d1aa748e8aeeed59c [INFO] running `Command { std: "docker" "start" "-a" "bb0b83e299e9639ebdf6e4fb161b37ac2d1edf9176bf053d1aa748e8aeeed59c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb0b83e299e9639ebdf6e4fb161b37ac2d1edf9176bf053d1aa748e8aeeed59c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb0b83e299e9639ebdf6e4fb161b37ac2d1edf9176bf053d1aa748e8aeeed59c", kill_on_drop: false }` [INFO] [stdout] bb0b83e299e9639ebdf6e4fb161b37ac2d1edf9176bf053d1aa748e8aeeed59c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] a6b5d6a641da3e42f1494a11f672fb2a184da86faf1569644737542a950aaf15 [INFO] running `Command { std: "docker" "start" "-a" "a6b5d6a641da3e42f1494a11f672fb2a184da86faf1569644737542a950aaf15", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking quote v1.0.36 [INFO] [stderr] Checking syn v2.0.60 [INFO] [stderr] Checking enum_trait v0.1.0 (/opt/rustwide/workdir/enum_trait) [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] --> enum_trait/src/lib.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 31 | let input_list: MetaItemList = input.parse()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | let output_list = input_list.output()?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | Ok(MetaBlock(output_list.into_token_stream())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = 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] --> enum_trait/src/lib.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 47 | let count: LitInt = input.parse()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | input.parse::()?; [INFO] [stdout] 49 | let mut ty: Type = input.parse()?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | input.parse::()?; [INFO] [stdout] 51 | let lambda: TypeLevelLambda = input.parse()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | Ok(TypeIteration(ty.into_token_stream())) [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] = 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] --> enum_trait/src/expr.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 129 | let types: Punctuated = Punctuated::parse_separated_nonempty(input)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 132 | let content: ParseBuffer; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 133 | let brace_token = braced!(content in input); [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 134 | let mut arms = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 138 | Ok(TypeLevelExprMatch { [INFO] [stdout] | ____________^ [INFO] [stdout] 139 | | match_token, [INFO] [stdout] 140 | | lt_token, [INFO] [stdout] 141 | | types, [INFO] [stdout] ... | [INFO] [stdout] 144 | | arms, [INFO] [stdout] 145 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/expr.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 171 | let selectors: Punctuated = [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 175 | let body = E::parse_match_arm_body(input)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 183 | Ok(TypeLevelArm { [INFO] [stdout] | ____________^ [INFO] [stdout] 184 | | selectors, [INFO] [stdout] 185 | | fat_arrow_token, [INFO] [stdout] 186 | | body, [INFO] [stdout] 187 | | comma_token, [INFO] [stdout] 188 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/expr.rs:252:12 [INFO] [stdout] | [INFO] [stdout] 249 | let generics: Generics = input.parse()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 250 | input.parse::()?; [INFO] [stdout] 251 | let body: E = input.parse()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 252 | Ok(TypeLevelLambda { generics, body }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = 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] --> enum_trait/src/generics.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 34 | let mut params = Punctuated::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | Ok(MetaGenerics { [INFO] [stdout] | ____________^ [INFO] [stdout] 49 | | lt_token: Some(lt_token), [INFO] [stdout] 50 | | params, [INFO] [stdout] 51 | | gt_token: Some(gt_token), [INFO] [stdout] 52 | | where_clause: None, [INFO] [stdout] 53 | | }) [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] --> enum_trait/src/generics.rs:224:27 [INFO] [stdout] | [INFO] [stdout] 202 | let mut params = Punctuated::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 224 | where_clause: self [INFO] [stdout] | ___________________________^ [INFO] [stdout] 225 | | .where_clause [INFO] [stdout] 226 | | .as_ref() [INFO] [stdout] 227 | | .and_then(MetaWhereClause::extract_where_clause), [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] --> enum_trait/src/generics.rs:274:12 [INFO] [stdout] | [INFO] [stdout] 268 | let bounds = if colon_token.is_some() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 274 | Ok(TypeBoundParam { [INFO] [stdout] | ____________^ [INFO] [stdout] 275 | | trait_token, [INFO] [stdout] 276 | | ident, [INFO] [stdout] 277 | | colon_token, [INFO] [stdout] 278 | | bounds, [INFO] [stdout] 279 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/generics.rs:319:12 [INFO] [stdout] | [INFO] [stdout] 300 | let mut predicates = Punctuated::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 319 | Ok(MetaWhereClause { [INFO] [stdout] | ____________^ [INFO] [stdout] 320 | | where_token, [INFO] [stdout] 321 | | predicates, [INFO] [stdout] 322 | | }) [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] --> enum_trait/src/generics.rs:410:12 [INFO] [stdout] | [INFO] [stdout] 407 | let left_ty: Type = input.parse()?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 408 | let eq_token: Token![=] = input.parse()?; [INFO] [stdout] 409 | let right_ty: Type = input.parse()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 410 | Ok(TypeEqPredicate { [INFO] [stdout] | ____________^ [INFO] [stdout] 411 | | left_ty, [INFO] [stdout] 412 | | eq_token, [INFO] [stdout] 413 | | right_ty, [INFO] [stdout] 414 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/generics.rs:518:12 [INFO] [stdout] | [INFO] [stdout] 502 | let mut args = Punctuated::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 518 | Ok(MetaGenericArguments { [INFO] [stdout] | ____________^ [INFO] [stdout] 519 | | lt_token, [INFO] [stdout] 520 | | args, [INFO] [stdout] 521 | | gt_token, [INFO] [stdout] 522 | | }) [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] --> enum_trait/src/generics.rs:589:12 [INFO] [stdout] | [INFO] [stdout] 577 | let abi: Option = input.parse()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 580 | let mut generics: MetaGenerics = input.parse()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 581 | [INFO] [stdout] 582 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 583 | let paren_token = parenthesized!(content in input); [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 584 | let (inputs, variadic) = parse_fn_args(&content)?; [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] 585 | [INFO] [stdout] 586 | let output: ReturnType = input.parse()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 589 | Ok(MetaSignature { [INFO] [stdout] | ____________^ [INFO] [stdout] 590 | | constness, [INFO] [stdout] 591 | | asyncness, [INFO] [stdout] 592 | | unsafety, [INFO] [stdout] ... | [INFO] [stdout] 600 | | output, [INFO] [stdout] 601 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/generics.rs:690:8 [INFO] [stdout] | [INFO] [stdout] 627 | let mut args = Punctuated::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 628 | let mut variadic = None; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 690 | Ok((args, variadic)) [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] --> enum_trait/src/generics.rs:742:8 [INFO] [stdout] | [INFO] [stdout] 702 | attrs: Vec, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 705 | let ahead = input.fork(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 728 | let pat = Box::new(Pat::parse_single(input)?); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 742 | Ok(FnArgOrVariadic::FnArg(FnArg::Typed(PatType { [INFO] [stdout] | ________^ [INFO] [stdout] 743 | | attrs, [INFO] [stdout] 744 | | pat, [INFO] [stdout] 745 | | colon_token, [INFO] [stdout] 746 | | ty: input.parse()?, [INFO] [stdout] 747 | | }))) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_______| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/generics.rs:763:12 [INFO] [stdout] | [INFO] [stdout] 762 | let value: Path = input.parse()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 763 | Ok(TraitAliasArgument { [INFO] [stdout] | ____________^ [INFO] [stdout] 764 | | trait_token, [INFO] [stdout] 765 | | ident, [INFO] [stdout] 766 | | eq_token, [INFO] [stdout] 767 | | value, [INFO] [stdout] 768 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/helpers.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn self_type_param(span: Option, bounds: TypeParamBounds) -> GenericParam { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | GenericParam::Type(TypeParam { [INFO] [stdout] | ________________________^ [INFO] [stdout] 14 | | attrs: Vec::new(), [INFO] [stdout] 15 | | ident: self_type_ident(span), [INFO] [stdout] 16 | | colon_token: None, [INFO] [stdout] ... | [INFO] [stdout] 19 | | default: None, [INFO] [stdout] 20 | | }) [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] --> enum_trait/src/helpers.rs:73:23 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn build_generics(params: Punctuated) -> Generics { [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | where_clause: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/helpers.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn expand_macro_body(body: TokenStream, args: &HashMap) -> TokenStream { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 281 | expand_macro_part(body, args, &mut Vec::new()).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/item.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 15 | let mut items = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | Ok(MetaItemList(items)) [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] --> enum_trait/src/item.rs:43:40 [INFO] [stdout] | [INFO] [stdout] 41 | ... let mut variant = variant.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | ... add_underscores_to_all_params(&mut variant.generics)?; [INFO] [stdout] 43 | ... Ok(OutputImplVariant { [INFO] [stdout] | __________________________^ [INFO] [stdout] 44 | | ... variant: ImplVariant { [INFO] [stdout] 45 | | ... impl_generics: trait_generics.clone(), [INFO] [stdout] 46 | | ... trait_args: generic_args(&trait_generics), [INFO] [stdout] ... | [INFO] [stdout] 49 | | ... impl_items: ImplPartList::new(), [INFO] [stdout] 50 | | ... }) [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] --> enum_trait/src/item.rs:350:12 [INFO] [stdout] | [INFO] [stdout] 327 | fn parse(input: ParseStream, attrs: Vec) -> Result { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 328 | let vis: Visibility = input.parse()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 332 | let mut generics: MetaGenerics = input.parse()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 333 | let contents = if enum_token.is_some() { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 337 | let content: ParseBuffer; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 338 | braced!(content in input); [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 339 | let variants = content.parse_terminated(TraitVariant::parse, Token![,])?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 343 | let path: TraitPath = input.parse()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 350 | Ok(ItemTraitDef { [INFO] [stdout] | ____________^ [INFO] [stdout] 351 | | attrs, [INFO] [stdout] 352 | | vis, [INFO] [stdout] 353 | | trait_token, [INFO] [stdout] ... | [INFO] [stdout] 356 | | contents, [INFO] [stdout] 357 | | }) [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] | [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] --> enum_trait/src/item.rs:479:12 [INFO] [stdout] | [INFO] [stdout] 476 | let attrs = input.call(Attribute::parse_outer)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 477 | let ident: Ident = input.parse()?; [INFO] [stdout] 478 | let generics: Generics = input.parse()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 479 | Ok(TraitVariant { [INFO] [stdout] | ____________^ [INFO] [stdout] 480 | | attrs, [INFO] [stdout] 481 | | ident, [INFO] [stdout] 482 | | generics, [INFO] [stdout] 483 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/item.rs:525:12 [INFO] [stdout] | [INFO] [stdout] 518 | let mut segments = Punctuated::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 524 | let arguments: MetaGenericArguments = input.parse()?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 525 | Ok(TraitPath { [INFO] [stdout] | ____________^ [INFO] [stdout] 526 | | leading_colon, [INFO] [stdout] 527 | | segments, [INFO] [stdout] 528 | | arguments, [INFO] [stdout] 529 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/item.rs:557:12 [INFO] [stdout] | [INFO] [stdout] 540 | fn parse(input: ParseStream, attrs: Vec) -> Result { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 549 | let generics: MetaGenerics = input.parse()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 550 | let self_trait: Path = input.parse()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 551 | let content: ParseBuffer; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 552 | braced!(content in input); [INFO] [stdout] 553 | let mut items = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 557 | Ok(ItemTraitImpl { [INFO] [stdout] | ____________^ [INFO] [stdout] 558 | | generics, [INFO] [stdout] 559 | | self_trait, [INFO] [stdout] 560 | | items, [INFO] [stdout] 561 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/item.rs:590:12 [INFO] [stdout] | [INFO] [stdout] 576 | fn parse(input: ParseStream, attrs: Vec) -> Result { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 577 | let vis: Visibility = input.parse()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 580 | let generics: MetaGenerics = input.parse()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 581 | let colon_token: Option = input.parse()?; [INFO] [stdout] 582 | let bounds = if colon_token.is_some() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 588 | let ty: TypeLevelExpr = input.parse()?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 589 | input.parse::()?; [INFO] [stdout] 590 | Ok(ItemTypeExt { [INFO] [stdout] | ____________^ [INFO] [stdout] 591 | | attrs, [INFO] [stdout] 592 | | vis, [INFO] [stdout] 593 | | type_token, [INFO] [stdout] ... | [INFO] [stdout] 597 | | ty, [INFO] [stdout] 598 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/item.rs:616:12 [INFO] [stdout] | [INFO] [stdout] 610 | fn parse(input: ParseStream, attrs: Vec) -> Result { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 611 | let vis: Visibility = input.parse()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 612 | let sig: MetaSignature = input.parse()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 613 | let content: ParseBuffer; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 614 | braced!(content in input); [INFO] [stdout] 615 | let block: TypeLevelExpr = content.parse()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 616 | Ok(ItemFnExt { [INFO] [stdout] | ____________^ [INFO] [stdout] 617 | | attrs, [INFO] [stdout] 618 | | vis, [INFO] [stdout] 619 | | sig, [INFO] [stdout] 620 | | block, [INFO] [stdout] 621 | | }) [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] | [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] --> enum_trait/src/item.rs:684:12 [INFO] [stdout] | [INFO] [stdout] 670 | fn parse(input: ParseStream, attrs: Vec) -> Result { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 671 | let vis: Visibility = input.parse()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 674 | let generics: Generics = input.parse()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 675 | let colon_token: Option = input.parse()?; [INFO] [stdout] 676 | let bounds = if colon_token.is_some() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 682 | let ty: TypeLevelExpr = input.parse()?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 683 | input.parse::()?; [INFO] [stdout] 684 | Ok(TraitImplItemType { [INFO] [stdout] | ____________^ [INFO] [stdout] 685 | | vis, [INFO] [stdout] 686 | | attrs, [INFO] [stdout] 687 | | type_token, [INFO] [stdout] ... | [INFO] [stdout] 691 | | ty, [INFO] [stdout] 692 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/item.rs:716:12 [INFO] [stdout] | [INFO] [stdout] 707 | fn parse(input: ParseStream, attrs: Vec) -> Result { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 708 | let vis: Visibility = input.parse()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 712 | let ty: Type = input.parse()?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 713 | input.parse::()?; [INFO] [stdout] 714 | let expr: TypeLevelExpr = input.parse()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 715 | input.parse::()?; [INFO] [stdout] 716 | Ok(TraitImplItemConst { [INFO] [stdout] | ____________^ [INFO] [stdout] 717 | | vis, [INFO] [stdout] 718 | | attrs, [INFO] [stdout] 719 | | const_token, [INFO] [stdout] ... | [INFO] [stdout] 722 | | expr, [INFO] [stdout] 723 | | }) [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] | [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] --> enum_trait/src/item.rs:742:12 [INFO] [stdout] | [INFO] [stdout] 736 | fn parse(input: ParseStream, attrs: Vec) -> Result { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 737 | let vis: Visibility = input.parse()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 738 | let sig: Signature = input.parse()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 739 | let content: ParseBuffer; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 740 | braced!(content in input); [INFO] [stdout] 741 | let block: TypeLevelExpr = content.parse()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 742 | Ok(TraitImplItemFn { [INFO] [stdout] | ____________^ [INFO] [stdout] 743 | | attrs, [INFO] [stdout] 744 | | vis, [INFO] [stdout] 745 | | sig, [INFO] [stdout] 746 | | block, [INFO] [stdout] 747 | | }) [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] | [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] --> enum_trait/src/output.rs:75:28 [INFO] [stdout] | [INFO] [stdout] 65 | |body, body_context, _| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | let mut ty = self.convert_type_level_expr_type( [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | Ok(ImplItem::Type(ImplItemType { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 76 | | attrs: Self::code_item_attrs(type_item.attrs.clone()), [INFO] [stdout] 77 | | vis: Visibility::Inherited, [INFO] [stdout] 78 | | defaultness: None, [INFO] [stdout] ... | [INFO] [stdout] 84 | | semi_token: Default::default(), [INFO] [stdout] 85 | | })) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |__________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/output.rs:169:28 [INFO] [stdout] | [INFO] [stdout] 155 | |body, body_context, substitutions| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 156 | let mut expr = self.convert_type_level_expr_const( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 165 | let mut ty = trait_item.ty.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 169 | Ok(ImplItem::Const(ImplItemConst { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 170 | | attrs: Self::code_item_attrs(const_item.attrs.clone()), [INFO] [stdout] 171 | | vis: Visibility::Inherited, [INFO] [stdout] 172 | | defaultness: None, [INFO] [stdout] ... | [INFO] [stdout] 180 | | semi_token: Default::default(), [INFO] [stdout] 181 | | })) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |__________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/output.rs:242:28 [INFO] [stdout] | [INFO] [stdout] 221 | |body, body_context, substitutions| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 222 | let body = match body { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 223 | TypeLevelExpr::Expr(body_expr) => TypeLevelExpr::Expr(Block { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 227 | TypeLevelExpr::Match(body_match) => TypeLevelExpr::Match(body_match), [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 228 | }; [INFO] [stdout] 229 | let mut block = self.convert_type_level_expr_fn( [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 238 | let mut sig = trait_item.sig.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 242 | Ok(ImplItem::Fn(ImplItemFn { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 243 | | attrs: Self::code_item_attrs(fn_item.attrs.clone()), [INFO] [stdout] 244 | | vis: Visibility::Inherited, [INFO] [stdout] 245 | | defaultness: None, [INFO] [stdout] 246 | | sig, [INFO] [stdout] 247 | | block, [INFO] [stdout] 248 | | })) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |__________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/output.rs:363:9 [INFO] [stdout] | [INFO] [stdout] 315 | match_expr: TypeLevelExprMatch, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 319 | mut f: impl FnMut(E, &GenericsContext, &[(&GenericParam, GenericArgument)]) -> Result, [INFO] [stdout] | ----------------------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 320 | ) -> Result, ImplItem)>> { [INFO] [stdout] 321 | let mut free_params: Vec = trait_def [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 327 | let mut matched_params = Vec::new(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 328 | let types_len = match_expr.types.len(); [INFO] [stdout] 329 | let mut ty_iter = match_expr.types.iter(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 363 | / match_expr [INFO] [stdout] 364 | | .arms [INFO] [stdout] 365 | | .into_iter() [INFO] [stdout] 366 | | .map(|mut arm| { [INFO] [stdout] ... | [INFO] [stdout] 438 | | } [INFO] [stdout] 439 | | }) [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] --> enum_trait/src/output.rs:448:31 [INFO] [stdout] | [INFO] [stdout] 444 | let segment = PathSegment { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 448 | GenericArgument::Type(Type::Path(TypePath { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 449 | | qself: None, [INFO] [stdout] 450 | | path: segment.into(), [INFO] [stdout] 451 | | })) [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] --> enum_trait/src/output.rs:465:13 [INFO] [stdout] | [INFO] [stdout] 458 | expr: TypeLevelExpr, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 465 | bounds.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/output.rs:468:20 [INFO] [stdout] | [INFO] [stdout] 467 | |ident, generics, expr, bounds| { [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] 468 | Ok(TraitImplItem::Type(TraitImplItemType { [INFO] [stdout] | ____________________^ [INFO] [stdout] 469 | | attrs: attrs.clone(), [INFO] [stdout] 470 | | vis: Visibility::Inherited, [INFO] [stdout] 471 | | type_token: Default::default(), [INFO] [stdout] ... | [INFO] [stdout] 475 | | ty: expr, [INFO] [stdout] 476 | | })) [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] --> enum_trait/src/output.rs:478:30 [INFO] [stdout] | [INFO] [stdout] 478 | |qself, path| Ok(Type::Path(TypePath { qself, path })), [INFO] [stdout] | ----- ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = 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] --> enum_trait/src/output.rs:493:13 [INFO] [stdout] | [INFO] [stdout] 486 | expr: TypeLevelExpr, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 493 | ty.clone(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/output.rs:502:20 [INFO] [stdout] | [INFO] [stdout] 495 | |ident, generics, expr, ty| { [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] 502 | Ok(TraitImplItem::Const(TraitImplItemConst { [INFO] [stdout] | ____________________^ [INFO] [stdout] 503 | | attrs: attrs.clone(), [INFO] [stdout] 504 | | vis: Visibility::Inherited, [INFO] [stdout] 505 | | const_token: Default::default(), [INFO] [stdout] ... | [INFO] [stdout] 508 | | expr, [INFO] [stdout] 509 | | })) [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] --> enum_trait/src/output.rs:512:20 [INFO] [stdout] | [INFO] [stdout] 511 | |qself, path| { [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] 512 | Ok(Expr::Path(ExprPath { [INFO] [stdout] | ____________________^ [INFO] [stdout] 513 | | attrs: Vec::new(), [INFO] [stdout] 514 | | qself, [INFO] [stdout] 515 | | path, [INFO] [stdout] 516 | | })) [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] --> enum_trait/src/output.rs:532:13 [INFO] [stdout] | [INFO] [stdout] 525 | expr: TypeLevelExpr, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 532 | sig.clone(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/output.rs:535:20 [INFO] [stdout] | [INFO] [stdout] 534 | |ident, generics, expr, sig| { [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] 535 | Ok(TraitImplItem::Fn(TraitImplItemFn { [INFO] [stdout] | ____________________^ [INFO] [stdout] 536 | | attrs: attrs.clone(), [INFO] [stdout] 537 | | vis: Visibility::Inherited, [INFO] [stdout] 538 | | sig: Signature { [INFO] [stdout] ... | [INFO] [stdout] 543 | | block: expr, [INFO] [stdout] 544 | | })) [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] --> enum_trait/src/output.rs:569:20 [INFO] [stdout] | [INFO] [stdout] 546 | |qself, mut path| { [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] 552 | let mut args = Punctuated::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 569 | Ok(Block { [INFO] [stdout] | ____________________^ [INFO] [stdout] 570 | | brace_token: Default::default(), [INFO] [stdout] 571 | | stmts: vec![Stmt::Expr( [INFO] [stdout] 572 | | Expr::Call(ExprCall { [INFO] [stdout] ... | [INFO] [stdout] 583 | | )], [INFO] [stdout] 584 | | }) [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] --> enum_trait/src/output.rs:692:12 [INFO] [stdout] | [INFO] [stdout] 621 | match_expr: TypeLevelExprMatch>, [INFO] [stdout] | ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 622 | extra: X, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 623 | context: &GenericsContext, [INFO] [stdout] 624 | / create_trait_impl_item: impl FnOnce( [INFO] [stdout] 625 | | Ident, [INFO] [stdout] 626 | | Generics, [INFO] [stdout] 627 | | TypeLevelExpr, [INFO] [stdout] 628 | | X, [INFO] [stdout] 629 | | ) -> Result, [INFO] [stdout] | |__________________________________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 630 | ) -> Result<(Option, Path)> { [INFO] [stdout] 631 | let ty = match_expr.types.last().unwrap().clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 638 | let mut expr = (match_expr, extra); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 639 | let (match_param, mut extracted_params) = [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 662 | let impl_context = trait_def_item.impl_context(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 670 | let (params, args) = extracted_params.into_iter().unzip(); [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] 671 | let impl_item = create_trait_impl_item( [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 678 | let trait_item_desc = self.create_trait_item( [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 687 | let mut segments = trait_bound.path.segments.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 692 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] | |____________| [INFO] [stdout] | |____________| [INFO] [stdout] | |____________| [INFO] [stdout] 693 | | Some(QSelf { [INFO] [stdout] 694 | | lt_token: Default::default(), [INFO] [stdout] 695 | | ty: Box::new(ty), [INFO] [stdout] ... | [INFO] [stdout] 703 | | }, [INFO] [stdout] 704 | | )) [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] | [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] --> enum_trait/src/output.rs:819:32 [INFO] [stdout] | [INFO] [stdout] 808 | ... let mut variant = orig_variant.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 819 | ... Ok(OutputImplVariant { [INFO] [stdout] | __________________________^ [INFO] [stdout] 820 | | ... variant, [INFO] [stdout] 821 | | ... impl_items: ImplPartList::new(), [INFO] [stdout] 822 | | ... }) [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] --> enum_trait/src/output.rs:905:13 [INFO] [stdout] | [INFO] [stdout] 897 | let mut bounds = Punctuated::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 905 | Cow::Owned(self_type_param(None, bounds)), [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] --> enum_trait/src/output.rs:906:14 [INFO] [stdout] | [INFO] [stdout] 897 | let mut bounds = Punctuated::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 906 | &GenericsContext::Empty, [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] --> enum_trait/src/output.rs:1474:53 [INFO] [stdout] | [INFO] [stdout] 1474 | .map(|param| generalize_variant(param.to_token_stream())) [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] --> enum_trait/src/subst.rs:754:25 [INFO] [stdout] | [INFO] [stdout] 754 | |_, _, _, _| Ok(None), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/subst.rs:755:25 [INFO] [stdout] | [INFO] [stdout] 755 | |_, _, _, _| Ok(None), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/subst.rs:973:8 [INFO] [stdout] | [INFO] [stdout] 910 | let (type_param, params) = build_indirection_impl( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 973 | Ok((type_param, params)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 51 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `enum_trait` (lib) due to 52 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/lib.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 31 | let input_list: MetaItemList = input.parse()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | let output_list = input_list.output()?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | Ok(MetaBlock(output_list.into_token_stream())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = 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] --> enum_trait/src/lib.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 47 | let count: LitInt = input.parse()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | input.parse::()?; [INFO] [stdout] 49 | let mut ty: Type = input.parse()?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | input.parse::()?; [INFO] [stdout] 51 | let lambda: TypeLevelLambda = input.parse()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | Ok(TypeIteration(ty.into_token_stream())) [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] = 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] --> enum_trait/src/expr.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 129 | let types: Punctuated = Punctuated::parse_separated_nonempty(input)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 132 | let content: ParseBuffer; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 133 | let brace_token = braced!(content in input); [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 134 | let mut arms = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 138 | Ok(TypeLevelExprMatch { [INFO] [stdout] | ____________^ [INFO] [stdout] 139 | | match_token, [INFO] [stdout] 140 | | lt_token, [INFO] [stdout] 141 | | types, [INFO] [stdout] ... | [INFO] [stdout] 144 | | arms, [INFO] [stdout] 145 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/expr.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 171 | let selectors: Punctuated = [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 175 | let body = E::parse_match_arm_body(input)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 183 | Ok(TypeLevelArm { [INFO] [stdout] | ____________^ [INFO] [stdout] 184 | | selectors, [INFO] [stdout] 185 | | fat_arrow_token, [INFO] [stdout] 186 | | body, [INFO] [stdout] 187 | | comma_token, [INFO] [stdout] 188 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/expr.rs:252:12 [INFO] [stdout] | [INFO] [stdout] 249 | let generics: Generics = input.parse()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 250 | input.parse::()?; [INFO] [stdout] 251 | let body: E = input.parse()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 252 | Ok(TypeLevelLambda { generics, body }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = 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] --> enum_trait/src/generics.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 34 | let mut params = Punctuated::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | Ok(MetaGenerics { [INFO] [stdout] | ____________^ [INFO] [stdout] 49 | | lt_token: Some(lt_token), [INFO] [stdout] 50 | | params, [INFO] [stdout] 51 | | gt_token: Some(gt_token), [INFO] [stdout] 52 | | where_clause: None, [INFO] [stdout] 53 | | }) [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] --> enum_trait/src/generics.rs:224:27 [INFO] [stdout] | [INFO] [stdout] 202 | let mut params = Punctuated::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 224 | where_clause: self [INFO] [stdout] | ___________________________^ [INFO] [stdout] 225 | | .where_clause [INFO] [stdout] 226 | | .as_ref() [INFO] [stdout] 227 | | .and_then(MetaWhereClause::extract_where_clause), [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] --> enum_trait/src/generics.rs:274:12 [INFO] [stdout] | [INFO] [stdout] 268 | let bounds = if colon_token.is_some() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 274 | Ok(TypeBoundParam { [INFO] [stdout] | ____________^ [INFO] [stdout] 275 | | trait_token, [INFO] [stdout] 276 | | ident, [INFO] [stdout] 277 | | colon_token, [INFO] [stdout] 278 | | bounds, [INFO] [stdout] 279 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/generics.rs:319:12 [INFO] [stdout] | [INFO] [stdout] 300 | let mut predicates = Punctuated::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 319 | Ok(MetaWhereClause { [INFO] [stdout] | ____________^ [INFO] [stdout] 320 | | where_token, [INFO] [stdout] 321 | | predicates, [INFO] [stdout] 322 | | }) [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] --> enum_trait/src/generics.rs:410:12 [INFO] [stdout] | [INFO] [stdout] 407 | let left_ty: Type = input.parse()?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 408 | let eq_token: Token![=] = input.parse()?; [INFO] [stdout] 409 | let right_ty: Type = input.parse()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 410 | Ok(TypeEqPredicate { [INFO] [stdout] | ____________^ [INFO] [stdout] 411 | | left_ty, [INFO] [stdout] 412 | | eq_token, [INFO] [stdout] 413 | | right_ty, [INFO] [stdout] 414 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/generics.rs:518:12 [INFO] [stdout] | [INFO] [stdout] 502 | let mut args = Punctuated::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 518 | Ok(MetaGenericArguments { [INFO] [stdout] | ____________^ [INFO] [stdout] 519 | | lt_token, [INFO] [stdout] 520 | | args, [INFO] [stdout] 521 | | gt_token, [INFO] [stdout] 522 | | }) [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] --> enum_trait/src/generics.rs:589:12 [INFO] [stdout] | [INFO] [stdout] 577 | let abi: Option = input.parse()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 580 | let mut generics: MetaGenerics = input.parse()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 581 | [INFO] [stdout] 582 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 583 | let paren_token = parenthesized!(content in input); [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 584 | let (inputs, variadic) = parse_fn_args(&content)?; [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] 585 | [INFO] [stdout] 586 | let output: ReturnType = input.parse()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 589 | Ok(MetaSignature { [INFO] [stdout] | ____________^ [INFO] [stdout] 590 | | constness, [INFO] [stdout] 591 | | asyncness, [INFO] [stdout] 592 | | unsafety, [INFO] [stdout] ... | [INFO] [stdout] 600 | | output, [INFO] [stdout] 601 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/generics.rs:690:8 [INFO] [stdout] | [INFO] [stdout] 627 | let mut args = Punctuated::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 628 | let mut variadic = None; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 690 | Ok((args, variadic)) [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] --> enum_trait/src/generics.rs:742:8 [INFO] [stdout] | [INFO] [stdout] 702 | attrs: Vec, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 705 | let ahead = input.fork(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 728 | let pat = Box::new(Pat::parse_single(input)?); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 742 | Ok(FnArgOrVariadic::FnArg(FnArg::Typed(PatType { [INFO] [stdout] | ________^ [INFO] [stdout] 743 | | attrs, [INFO] [stdout] 744 | | pat, [INFO] [stdout] 745 | | colon_token, [INFO] [stdout] 746 | | ty: input.parse()?, [INFO] [stdout] 747 | | }))) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_______| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/generics.rs:763:12 [INFO] [stdout] | [INFO] [stdout] 762 | let value: Path = input.parse()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 763 | Ok(TraitAliasArgument { [INFO] [stdout] | ____________^ [INFO] [stdout] 764 | | trait_token, [INFO] [stdout] 765 | | ident, [INFO] [stdout] 766 | | eq_token, [INFO] [stdout] 767 | | value, [INFO] [stdout] 768 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/helpers.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn self_type_param(span: Option, bounds: TypeParamBounds) -> GenericParam { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | GenericParam::Type(TypeParam { [INFO] [stdout] | ________________________^ [INFO] [stdout] 14 | | attrs: Vec::new(), [INFO] [stdout] 15 | | ident: self_type_ident(span), [INFO] [stdout] 16 | | colon_token: None, [INFO] [stdout] ... | [INFO] [stdout] 19 | | default: None, [INFO] [stdout] 20 | | }) [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] --> enum_trait/src/helpers.rs:73:23 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn build_generics(params: Punctuated) -> Generics { [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | where_clause: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/helpers.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn expand_macro_body(body: TokenStream, args: &HashMap) -> TokenStream { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 281 | expand_macro_part(body, args, &mut Vec::new()).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/item.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 15 | let mut items = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | Ok(MetaItemList(items)) [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] --> enum_trait/src/item.rs:43:40 [INFO] [stdout] | [INFO] [stdout] 41 | ... let mut variant = variant.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | ... add_underscores_to_all_params(&mut variant.generics)?; [INFO] [stdout] 43 | ... Ok(OutputImplVariant { [INFO] [stdout] | __________________________^ [INFO] [stdout] 44 | | ... variant: ImplVariant { [INFO] [stdout] 45 | | ... impl_generics: trait_generics.clone(), [INFO] [stdout] 46 | | ... trait_args: generic_args(&trait_generics), [INFO] [stdout] ... | [INFO] [stdout] 49 | | ... impl_items: ImplPartList::new(), [INFO] [stdout] 50 | | ... }) [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] --> enum_trait/src/item.rs:350:12 [INFO] [stdout] | [INFO] [stdout] 327 | fn parse(input: ParseStream, attrs: Vec) -> Result { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 328 | let vis: Visibility = input.parse()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 332 | let mut generics: MetaGenerics = input.parse()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 333 | let contents = if enum_token.is_some() { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 337 | let content: ParseBuffer; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 338 | braced!(content in input); [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 339 | let variants = content.parse_terminated(TraitVariant::parse, Token![,])?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 343 | let path: TraitPath = input.parse()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 350 | Ok(ItemTraitDef { [INFO] [stdout] | ____________^ [INFO] [stdout] 351 | | attrs, [INFO] [stdout] 352 | | vis, [INFO] [stdout] 353 | | trait_token, [INFO] [stdout] ... | [INFO] [stdout] 356 | | contents, [INFO] [stdout] 357 | | }) [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] | [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] --> enum_trait/src/item.rs:479:12 [INFO] [stdout] | [INFO] [stdout] 476 | let attrs = input.call(Attribute::parse_outer)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 477 | let ident: Ident = input.parse()?; [INFO] [stdout] 478 | let generics: Generics = input.parse()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 479 | Ok(TraitVariant { [INFO] [stdout] | ____________^ [INFO] [stdout] 480 | | attrs, [INFO] [stdout] 481 | | ident, [INFO] [stdout] 482 | | generics, [INFO] [stdout] 483 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/item.rs:525:12 [INFO] [stdout] | [INFO] [stdout] 518 | let mut segments = Punctuated::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 524 | let arguments: MetaGenericArguments = input.parse()?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 525 | Ok(TraitPath { [INFO] [stdout] | ____________^ [INFO] [stdout] 526 | | leading_colon, [INFO] [stdout] 527 | | segments, [INFO] [stdout] 528 | | arguments, [INFO] [stdout] 529 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/item.rs:557:12 [INFO] [stdout] | [INFO] [stdout] 540 | fn parse(input: ParseStream, attrs: Vec) -> Result { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 549 | let generics: MetaGenerics = input.parse()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 550 | let self_trait: Path = input.parse()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 551 | let content: ParseBuffer; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 552 | braced!(content in input); [INFO] [stdout] 553 | let mut items = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 557 | Ok(ItemTraitImpl { [INFO] [stdout] | ____________^ [INFO] [stdout] 558 | | generics, [INFO] [stdout] 559 | | self_trait, [INFO] [stdout] 560 | | items, [INFO] [stdout] 561 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/item.rs:590:12 [INFO] [stdout] | [INFO] [stdout] 576 | fn parse(input: ParseStream, attrs: Vec) -> Result { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 577 | let vis: Visibility = input.parse()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 580 | let generics: MetaGenerics = input.parse()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 581 | let colon_token: Option = input.parse()?; [INFO] [stdout] 582 | let bounds = if colon_token.is_some() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 588 | let ty: TypeLevelExpr = input.parse()?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 589 | input.parse::()?; [INFO] [stdout] 590 | Ok(ItemTypeExt { [INFO] [stdout] | ____________^ [INFO] [stdout] 591 | | attrs, [INFO] [stdout] 592 | | vis, [INFO] [stdout] 593 | | type_token, [INFO] [stdout] ... | [INFO] [stdout] 597 | | ty, [INFO] [stdout] 598 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/item.rs:616:12 [INFO] [stdout] | [INFO] [stdout] 610 | fn parse(input: ParseStream, attrs: Vec) -> Result { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 611 | let vis: Visibility = input.parse()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 612 | let sig: MetaSignature = input.parse()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 613 | let content: ParseBuffer; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 614 | braced!(content in input); [INFO] [stdout] 615 | let block: TypeLevelExpr = content.parse()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 616 | Ok(ItemFnExt { [INFO] [stdout] | ____________^ [INFO] [stdout] 617 | | attrs, [INFO] [stdout] 618 | | vis, [INFO] [stdout] 619 | | sig, [INFO] [stdout] 620 | | block, [INFO] [stdout] 621 | | }) [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] | [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] --> enum_trait/src/item.rs:684:12 [INFO] [stdout] | [INFO] [stdout] 670 | fn parse(input: ParseStream, attrs: Vec) -> Result { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 671 | let vis: Visibility = input.parse()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 674 | let generics: Generics = input.parse()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 675 | let colon_token: Option = input.parse()?; [INFO] [stdout] 676 | let bounds = if colon_token.is_some() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 682 | let ty: TypeLevelExpr = input.parse()?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 683 | input.parse::()?; [INFO] [stdout] 684 | Ok(TraitImplItemType { [INFO] [stdout] | ____________^ [INFO] [stdout] 685 | | vis, [INFO] [stdout] 686 | | attrs, [INFO] [stdout] 687 | | type_token, [INFO] [stdout] ... | [INFO] [stdout] 691 | | ty, [INFO] [stdout] 692 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/item.rs:716:12 [INFO] [stdout] | [INFO] [stdout] 707 | fn parse(input: ParseStream, attrs: Vec) -> Result { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 708 | let vis: Visibility = input.parse()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 712 | let ty: Type = input.parse()?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 713 | input.parse::()?; [INFO] [stdout] 714 | let expr: TypeLevelExpr = input.parse()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 715 | input.parse::()?; [INFO] [stdout] 716 | Ok(TraitImplItemConst { [INFO] [stdout] | ____________^ [INFO] [stdout] 717 | | vis, [INFO] [stdout] 718 | | attrs, [INFO] [stdout] 719 | | const_token, [INFO] [stdout] ... | [INFO] [stdout] 722 | | expr, [INFO] [stdout] 723 | | }) [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] | [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] --> enum_trait/src/item.rs:742:12 [INFO] [stdout] | [INFO] [stdout] 736 | fn parse(input: ParseStream, attrs: Vec) -> Result { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 737 | let vis: Visibility = input.parse()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 738 | let sig: Signature = input.parse()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 739 | let content: ParseBuffer; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 740 | braced!(content in input); [INFO] [stdout] 741 | let block: TypeLevelExpr = content.parse()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 742 | Ok(TraitImplItemFn { [INFO] [stdout] | ____________^ [INFO] [stdout] 743 | | attrs, [INFO] [stdout] 744 | | vis, [INFO] [stdout] 745 | | sig, [INFO] [stdout] 746 | | block, [INFO] [stdout] 747 | | }) [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] | [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] --> enum_trait/src/output.rs:75:28 [INFO] [stdout] | [INFO] [stdout] 65 | |body, body_context, _| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | let mut ty = self.convert_type_level_expr_type( [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | Ok(ImplItem::Type(ImplItemType { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 76 | | attrs: Self::code_item_attrs(type_item.attrs.clone()), [INFO] [stdout] 77 | | vis: Visibility::Inherited, [INFO] [stdout] 78 | | defaultness: None, [INFO] [stdout] ... | [INFO] [stdout] 84 | | semi_token: Default::default(), [INFO] [stdout] 85 | | })) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |__________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/output.rs:169:28 [INFO] [stdout] | [INFO] [stdout] 155 | |body, body_context, substitutions| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 156 | let mut expr = self.convert_type_level_expr_const( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 165 | let mut ty = trait_item.ty.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 169 | Ok(ImplItem::Const(ImplItemConst { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 170 | | attrs: Self::code_item_attrs(const_item.attrs.clone()), [INFO] [stdout] 171 | | vis: Visibility::Inherited, [INFO] [stdout] 172 | | defaultness: None, [INFO] [stdout] ... | [INFO] [stdout] 180 | | semi_token: Default::default(), [INFO] [stdout] 181 | | })) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |__________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/output.rs:242:28 [INFO] [stdout] | [INFO] [stdout] 221 | |body, body_context, substitutions| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 222 | let body = match body { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 223 | TypeLevelExpr::Expr(body_expr) => TypeLevelExpr::Expr(Block { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 227 | TypeLevelExpr::Match(body_match) => TypeLevelExpr::Match(body_match), [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 228 | }; [INFO] [stdout] 229 | let mut block = self.convert_type_level_expr_fn( [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 238 | let mut sig = trait_item.sig.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 242 | Ok(ImplItem::Fn(ImplItemFn { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 243 | | attrs: Self::code_item_attrs(fn_item.attrs.clone()), [INFO] [stdout] 244 | | vis: Visibility::Inherited, [INFO] [stdout] 245 | | defaultness: None, [INFO] [stdout] 246 | | sig, [INFO] [stdout] 247 | | block, [INFO] [stdout] 248 | | })) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |__________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/output.rs:363:9 [INFO] [stdout] | [INFO] [stdout] 315 | match_expr: TypeLevelExprMatch, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 319 | mut f: impl FnMut(E, &GenericsContext, &[(&GenericParam, GenericArgument)]) -> Result, [INFO] [stdout] | ----------------------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 320 | ) -> Result, ImplItem)>> { [INFO] [stdout] 321 | let mut free_params: Vec = trait_def [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 327 | let mut matched_params = Vec::new(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 328 | let types_len = match_expr.types.len(); [INFO] [stdout] 329 | let mut ty_iter = match_expr.types.iter(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 363 | / match_expr [INFO] [stdout] 364 | | .arms [INFO] [stdout] 365 | | .into_iter() [INFO] [stdout] 366 | | .map(|mut arm| { [INFO] [stdout] ... | [INFO] [stdout] 438 | | } [INFO] [stdout] 439 | | }) [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] --> enum_trait/src/output.rs:448:31 [INFO] [stdout] | [INFO] [stdout] 444 | let segment = PathSegment { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 448 | GenericArgument::Type(Type::Path(TypePath { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 449 | | qself: None, [INFO] [stdout] 450 | | path: segment.into(), [INFO] [stdout] 451 | | })) [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] --> enum_trait/src/output.rs:465:13 [INFO] [stdout] | [INFO] [stdout] 458 | expr: TypeLevelExpr, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 465 | bounds.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/output.rs:468:20 [INFO] [stdout] | [INFO] [stdout] 467 | |ident, generics, expr, bounds| { [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] 468 | Ok(TraitImplItem::Type(TraitImplItemType { [INFO] [stdout] | ____________________^ [INFO] [stdout] 469 | | attrs: attrs.clone(), [INFO] [stdout] 470 | | vis: Visibility::Inherited, [INFO] [stdout] 471 | | type_token: Default::default(), [INFO] [stdout] ... | [INFO] [stdout] 475 | | ty: expr, [INFO] [stdout] 476 | | })) [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] --> enum_trait/src/output.rs:478:30 [INFO] [stdout] | [INFO] [stdout] 478 | |qself, path| Ok(Type::Path(TypePath { qself, path })), [INFO] [stdout] | ----- ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = 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] --> enum_trait/src/output.rs:493:13 [INFO] [stdout] | [INFO] [stdout] 486 | expr: TypeLevelExpr, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 493 | ty.clone(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/output.rs:502:20 [INFO] [stdout] | [INFO] [stdout] 495 | |ident, generics, expr, ty| { [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] 502 | Ok(TraitImplItem::Const(TraitImplItemConst { [INFO] [stdout] | ____________________^ [INFO] [stdout] 503 | | attrs: attrs.clone(), [INFO] [stdout] 504 | | vis: Visibility::Inherited, [INFO] [stdout] 505 | | const_token: Default::default(), [INFO] [stdout] ... | [INFO] [stdout] 508 | | expr, [INFO] [stdout] 509 | | })) [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] --> enum_trait/src/output.rs:512:20 [INFO] [stdout] | [INFO] [stdout] 511 | |qself, path| { [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] 512 | Ok(Expr::Path(ExprPath { [INFO] [stdout] | ____________________^ [INFO] [stdout] 513 | | attrs: Vec::new(), [INFO] [stdout] 514 | | qself, [INFO] [stdout] 515 | | path, [INFO] [stdout] 516 | | })) [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] --> enum_trait/src/output.rs:532:13 [INFO] [stdout] | [INFO] [stdout] 525 | expr: TypeLevelExpr, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 532 | sig.clone(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/output.rs:535:20 [INFO] [stdout] | [INFO] [stdout] 534 | |ident, generics, expr, sig| { [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] 535 | Ok(TraitImplItem::Fn(TraitImplItemFn { [INFO] [stdout] | ____________________^ [INFO] [stdout] 536 | | attrs: attrs.clone(), [INFO] [stdout] 537 | | vis: Visibility::Inherited, [INFO] [stdout] 538 | | sig: Signature { [INFO] [stdout] ... | [INFO] [stdout] 543 | | block: expr, [INFO] [stdout] 544 | | })) [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] --> enum_trait/src/output.rs:569:20 [INFO] [stdout] | [INFO] [stdout] 546 | |qself, mut path| { [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] 552 | let mut args = Punctuated::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 569 | Ok(Block { [INFO] [stdout] | ____________________^ [INFO] [stdout] 570 | | brace_token: Default::default(), [INFO] [stdout] 571 | | stmts: vec![Stmt::Expr( [INFO] [stdout] 572 | | Expr::Call(ExprCall { [INFO] [stdout] ... | [INFO] [stdout] 583 | | )], [INFO] [stdout] 584 | | }) [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] --> enum_trait/src/output.rs:692:12 [INFO] [stdout] | [INFO] [stdout] 621 | match_expr: TypeLevelExprMatch>, [INFO] [stdout] | ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 622 | extra: X, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 623 | context: &GenericsContext, [INFO] [stdout] 624 | / create_trait_impl_item: impl FnOnce( [INFO] [stdout] 625 | | Ident, [INFO] [stdout] 626 | | Generics, [INFO] [stdout] 627 | | TypeLevelExpr, [INFO] [stdout] 628 | | X, [INFO] [stdout] 629 | | ) -> Result, [INFO] [stdout] | |__________________________________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 630 | ) -> Result<(Option, Path)> { [INFO] [stdout] 631 | let ty = match_expr.types.last().unwrap().clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 638 | let mut expr = (match_expr, extra); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 639 | let (match_param, mut extracted_params) = [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 662 | let impl_context = trait_def_item.impl_context(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 670 | let (params, args) = extracted_params.into_iter().unzip(); [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] 671 | let impl_item = create_trait_impl_item( [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 678 | let trait_item_desc = self.create_trait_item( [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 687 | let mut segments = trait_bound.path.segments.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 692 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] | |____________| [INFO] [stdout] | |____________| [INFO] [stdout] | |____________| [INFO] [stdout] 693 | | Some(QSelf { [INFO] [stdout] 694 | | lt_token: Default::default(), [INFO] [stdout] 695 | | ty: Box::new(ty), [INFO] [stdout] ... | [INFO] [stdout] 703 | | }, [INFO] [stdout] 704 | | )) [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] | [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] --> enum_trait/src/output.rs:819:32 [INFO] [stdout] | [INFO] [stdout] 808 | ... let mut variant = orig_variant.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 819 | ... Ok(OutputImplVariant { [INFO] [stdout] | __________________________^ [INFO] [stdout] 820 | | ... variant, [INFO] [stdout] 821 | | ... impl_items: ImplPartList::new(), [INFO] [stdout] 822 | | ... }) [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] --> enum_trait/src/output.rs:905:13 [INFO] [stdout] | [INFO] [stdout] 897 | let mut bounds = Punctuated::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 905 | Cow::Owned(self_type_param(None, bounds)), [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] --> enum_trait/src/output.rs:906:14 [INFO] [stdout] | [INFO] [stdout] 897 | let mut bounds = Punctuated::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 906 | &GenericsContext::Empty, [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] --> enum_trait/src/output.rs:1474:53 [INFO] [stdout] | [INFO] [stdout] 1474 | .map(|param| generalize_variant(param.to_token_stream())) [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] --> enum_trait/src/subst.rs:754:25 [INFO] [stdout] | [INFO] [stdout] 754 | |_, _, _, _| Ok(None), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/subst.rs:755:25 [INFO] [stdout] | [INFO] [stdout] 755 | |_, _, _, _| Ok(None), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> enum_trait/src/subst.rs:973:8 [INFO] [stdout] | [INFO] [stdout] 910 | let (type_param, params) = build_indirection_impl( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 973 | Ok((type_param, params)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 51 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `enum_trait` (lib test) due to 52 previous errors [INFO] running `Command { std: "docker" "inspect" "a6b5d6a641da3e42f1494a11f672fb2a184da86faf1569644737542a950aaf15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6b5d6a641da3e42f1494a11f672fb2a184da86faf1569644737542a950aaf15", kill_on_drop: false }` [INFO] [stdout] a6b5d6a641da3e42f1494a11f672fb2a184da86faf1569644737542a950aaf15