[INFO] fetching crate const_trait_impl 0.1.3... [INFO] checking const_trait_impl-0.1.3 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate const_trait_impl 0.1.3 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate const_trait_impl 0.1.3 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate const_trait_impl 0.1.3 [INFO] finished tweaking crates.io crate const_trait_impl 0.1.3 [INFO] tweaked toml for crates.io crate const_trait_impl 0.1.3 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 93e3af1b6e2ada1aa7e2cb09c2b24a8cfe43f16dad0296957d8e4cccf94b5eff [INFO] running `Command { std: "docker" "start" "-a" "93e3af1b6e2ada1aa7e2cb09c2b24a8cfe43f16dad0296957d8e4cccf94b5eff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93e3af1b6e2ada1aa7e2cb09c2b24a8cfe43f16dad0296957d8e4cccf94b5eff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93e3af1b6e2ada1aa7e2cb09c2b24a8cfe43f16dad0296957d8e4cccf94b5eff", kill_on_drop: false }` [INFO] [stdout] 93e3af1b6e2ada1aa7e2cb09c2b24a8cfe43f16dad0296957d8e4cccf94b5eff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] e60450139fe041fdf8533dcd263fa6ce89db495949c63e6c57fd50eac33aa0fb [INFO] running `Command { std: "docker" "start" "-a" "e60450139fe041fdf8533dcd263fa6ce89db495949c63e6c57fd50eac33aa0fb", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking const_trait_impl v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `inner` is never used [INFO] [stdout] --> src/lib.rs:346:8 [INFO] [stdout] | [INFO] [stdout] 342 | trait FilterAttrs<'a> { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 346 | fn inner(self) -> Self::Ret; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 172 | let lifetimes: Option = input.parse()?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 173 | [INFO] [stdout] 174 | let mut path: Path = input.parse()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 202 | Ok(TraitBound { [INFO] [stdout] | ____________^ [INFO] [stdout] 203 | | paren_token: None, [INFO] [stdout] 204 | | modifier, [INFO] [stdout] 205 | | lifetimes, [INFO] [stdout] 206 | | path, [INFO] [stdout] 207 | | }) [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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:305:12 [INFO] [stdout] | [INFO] [stdout] 260 | 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] 261 | let ident: Ident = input.parse()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 266 | 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] 293 | let default = if eq_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] 305 | Ok(TypeParam { [INFO] [stdout] | ____________^ [INFO] [stdout] 306 | | attrs, [INFO] [stdout] 307 | | ident, [INFO] [stdout] 308 | | colon_token, [INFO] [stdout] ... | [INFO] [stdout] 311 | | default, [INFO] [stdout] 312 | | }) [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] --> src/lib.rs:432:12 [INFO] [stdout] | [INFO] [stdout] 387 | 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] 432 | Ok(Generics { [INFO] [stdout] | ____________^ [INFO] [stdout] 433 | | lt_token: Some(lt_token), [INFO] [stdout] 434 | | params, [INFO] [stdout] 435 | | gt_token: Some(gt_token), [INFO] [stdout] 436 | | where_clause: None, [INFO] [stdout] 437 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:497:8 [INFO] [stdout] | [INFO] [stdout] 496 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 497 | Ok(Attribute { [INFO] [stdout] | ________^ [INFO] [stdout] 498 | | pound_token: input.parse::()?, [INFO] [stdout] 499 | | style: AttrStyle::Inner(input.parse::()?), [INFO] [stdout] 500 | | bracket_token: bracketed!(content in input), [INFO] [stdout] 501 | | path: content.call(Path::parse_mod_style)?, [INFO] [stdout] 502 | | tokens: content.parse::()?, [INFO] [stdout] 503 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:659:21 [INFO] [stdout] | [INFO] [stdout] 646 | fn from(t: TypeParam) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 647 | let TypeParam { [INFO] [stdout] 648 | attrs, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 649 | ident, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 650 | colon_token, [INFO] [stdout] 651 | bounds, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 652 | eq_token, [INFO] [stdout] 653 | default, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 659 | bounds: bounds [INFO] [stdout] | _____________________^ [INFO] [stdout] 660 | | .into_pairs() [INFO] [stdout] 661 | | .map(|pair| match pair { [INFO] [stdout] 662 | | Pair::::Punctuated(b, add) => { [INFO] [stdout] ... | [INFO] [stdout] 668 | | }) [INFO] [stdout] 669 | | .collect::>(), [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:697:21 [INFO] [stdout] | [INFO] [stdout] 687 | fn from(generics: Generics) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 690 | params, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 691 | gt_token, [INFO] [stdout] 692 | where_clause, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 697 | params: params [INFO] [stdout] | _____________________^ [INFO] [stdout] 698 | | .into_pairs() [INFO] [stdout] 699 | | .map(|pair| match pair { [INFO] [stdout] 700 | | Pair::::Punctuated(p, comma) => { [INFO] [stdout] ... | [INFO] [stdout] 706 | | }) [INFO] [stdout] 707 | | .collect::>(), [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:733:23 [INFO] [stdout] | [INFO] [stdout] 715 | fn from(item_const_impl: ItemConstImpl) -> Self { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 716 | let ItemConstImpl { [INFO] [stdout] 717 | attrs, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 721 | generics, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 722 | constness: _constness, [INFO] [stdout] 723 | trait_, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 724 | self_ty, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 725 | brace_token, [INFO] [stdout] 726 | items, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 733 | generics: generics.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:860:5 [INFO] [stdout] | [INFO] [stdout] 857 | pub fn unconst_trait_impl(item: TokenStream) -> TokenStream { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 858 | let item_const_impl = parse_macro_input!(item as ItemConstImpl); [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] 859 | let item_impl: ItemImpl = item_const_impl.into(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 860 | item_impl.to_token_stream().into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `const_trait_impl` (lib) due to 9 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `inner` is never used [INFO] [stdout] --> src/lib.rs:346:8 [INFO] [stdout] | [INFO] [stdout] 342 | trait FilterAttrs<'a> { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 346 | fn inner(self) -> Self::Ret; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 172 | let lifetimes: Option = input.parse()?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 173 | [INFO] [stdout] 174 | let mut path: Path = input.parse()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 202 | Ok(TraitBound { [INFO] [stdout] | ____________^ [INFO] [stdout] 203 | | paren_token: None, [INFO] [stdout] 204 | | modifier, [INFO] [stdout] 205 | | lifetimes, [INFO] [stdout] 206 | | path, [INFO] [stdout] 207 | | }) [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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:305:12 [INFO] [stdout] | [INFO] [stdout] 260 | 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] 261 | let ident: Ident = input.parse()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 266 | 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] 293 | let default = if eq_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] 305 | Ok(TypeParam { [INFO] [stdout] | ____________^ [INFO] [stdout] 306 | | attrs, [INFO] [stdout] 307 | | ident, [INFO] [stdout] 308 | | colon_token, [INFO] [stdout] ... | [INFO] [stdout] 311 | | default, [INFO] [stdout] 312 | | }) [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] --> src/lib.rs:432:12 [INFO] [stdout] | [INFO] [stdout] 387 | 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] 432 | Ok(Generics { [INFO] [stdout] | ____________^ [INFO] [stdout] 433 | | lt_token: Some(lt_token), [INFO] [stdout] 434 | | params, [INFO] [stdout] 435 | | gt_token: Some(gt_token), [INFO] [stdout] 436 | | where_clause: None, [INFO] [stdout] 437 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:497:8 [INFO] [stdout] | [INFO] [stdout] 496 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 497 | Ok(Attribute { [INFO] [stdout] | ________^ [INFO] [stdout] 498 | | pound_token: input.parse::()?, [INFO] [stdout] 499 | | style: AttrStyle::Inner(input.parse::()?), [INFO] [stdout] 500 | | bracket_token: bracketed!(content in input), [INFO] [stdout] 501 | | path: content.call(Path::parse_mod_style)?, [INFO] [stdout] 502 | | tokens: content.parse::()?, [INFO] [stdout] 503 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:659:21 [INFO] [stdout] | [INFO] [stdout] 646 | fn from(t: TypeParam) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 647 | let TypeParam { [INFO] [stdout] 648 | attrs, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 649 | ident, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 650 | colon_token, [INFO] [stdout] 651 | bounds, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 652 | eq_token, [INFO] [stdout] 653 | default, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 659 | bounds: bounds [INFO] [stdout] | _____________________^ [INFO] [stdout] 660 | | .into_pairs() [INFO] [stdout] 661 | | .map(|pair| match pair { [INFO] [stdout] 662 | | Pair::::Punctuated(b, add) => { [INFO] [stdout] ... | [INFO] [stdout] 668 | | }) [INFO] [stdout] 669 | | .collect::>(), [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:697:21 [INFO] [stdout] | [INFO] [stdout] 687 | fn from(generics: Generics) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 690 | params, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 691 | gt_token, [INFO] [stdout] 692 | where_clause, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 697 | params: params [INFO] [stdout] | _____________________^ [INFO] [stdout] 698 | | .into_pairs() [INFO] [stdout] 699 | | .map(|pair| match pair { [INFO] [stdout] 700 | | Pair::::Punctuated(p, comma) => { [INFO] [stdout] ... | [INFO] [stdout] 706 | | }) [INFO] [stdout] 707 | | .collect::>(), [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:733:23 [INFO] [stdout] | [INFO] [stdout] 715 | fn from(item_const_impl: ItemConstImpl) -> Self { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 716 | let ItemConstImpl { [INFO] [stdout] 717 | attrs, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 721 | generics, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 722 | constness: _constness, [INFO] [stdout] 723 | trait_, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 724 | self_ty, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 725 | brace_token, [INFO] [stdout] 726 | items, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 733 | generics: generics.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:860:5 [INFO] [stdout] | [INFO] [stdout] 857 | pub fn unconst_trait_impl(item: TokenStream) -> TokenStream { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 858 | let item_const_impl = parse_macro_input!(item as ItemConstImpl); [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] 859 | let item_impl: ItemImpl = item_const_impl.into(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 860 | item_impl.to_token_stream().into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `const_trait_impl` (lib test) due to 9 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "e60450139fe041fdf8533dcd263fa6ce89db495949c63e6c57fd50eac33aa0fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e60450139fe041fdf8533dcd263fa6ce89db495949c63e6c57fd50eac33aa0fb", kill_on_drop: false }` [INFO] [stdout] e60450139fe041fdf8533dcd263fa6ce89db495949c63e6c57fd50eac33aa0fb