[INFO] fetching crate wrath-macros 0.1.0... [INFO] checking wrath-macros-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate wrath-macros 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate wrath-macros 0.1.0 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 wrath-macros 0.1.0 [INFO] finished tweaking crates.io crate wrath-macros 0.1.0 [INFO] tweaked toml for crates.io crate wrath-macros 0.1.0 written to /workspace/builds/worker-4-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] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 7 packages to latest compatible versions [INFO] [stderr] Adding heck v0.4.1 (latest: v0.5.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 660254117bbd809ab9e6116340fe14f40254b6eea5e4ef281317be2e80b9ef31 [INFO] running `Command { std: "docker" "start" "-a" "660254117bbd809ab9e6116340fe14f40254b6eea5e4ef281317be2e80b9ef31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "660254117bbd809ab9e6116340fe14f40254b6eea5e4ef281317be2e80b9ef31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "660254117bbd809ab9e6116340fe14f40254b6eea5e4ef281317be2e80b9ef31", kill_on_drop: false }` [INFO] [stdout] 660254117bbd809ab9e6116340fe14f40254b6eea5e4ef281317be2e80b9ef31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 39533a354af2c308dd0f7b2cff1cdb0d8ee02abb0e68c4352fcdaae3f2cd12b2 [INFO] running `Command { std: "docker" "start" "-a" "39533a354af2c308dd0f7b2cff1cdb0d8ee02abb0e68c4352fcdaae3f2cd12b2", kill_on_drop: false }` [INFO] [stderr] Checking heck v0.4.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking syn v2.0.77 [INFO] [stderr] Checking wrath-macros v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `unused_tuple_struct_fields` has been renamed to `dead_code` [INFO] [stdout] | [INFO] [stdout] = help: use the new name `dead_code` [INFO] [stdout] = note: requested on the command line with `-W unused_tuple_struct_fields` [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `pointer_structural_match` has been removed: converted into hard error, see RFC #3535 for more information [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W pointer_structural_match` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `unused_tuple_struct_fields` has been renamed to `dead_code` [INFO] [stdout] | [INFO] [stdout] = help: use the new name `dead_code` [INFO] [stdout] = note: requested on the command line with `-W unused_tuple_struct_fields` [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `pointer_structural_match` has been removed: converted into hard error, see RFC #3535 for more information [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W pointer_structural_match` [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:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn try_from_env(input: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | / match try_from_env2(input.into()) { [INFO] [stdout] 14 | | Ok(x) => x, [INFO] [stdout] 15 | | Err(e) => e.into_compile_error(), [INFO] [stdout] 16 | | } [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/syn_ext.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 73 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 75 | | attrs: input.call(Attribute::parse_outer)?, [INFO] [stdout] 76 | | vis: input.parse::()?, [INFO] [stdout] 77 | | struct_token: input.parse::()?, [INFO] [stdout] ... | [INFO] [stdout] 84 | | fields: content.parse_terminated(NamedField::parse, Token![,])?, [INFO] [stdout] 85 | | }) [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/syn_ext.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 170 | let value; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 171 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 172 | | key: input.call(Ident::parse_any)?, [INFO] [stdout] 173 | | sep: { [INFO] [stdout] 174 | | if input.peek(Token![=]) { [INFO] [stdout] ... | [INFO] [stdout] 200 | | value, [INFO] [stdout] 201 | | }) [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/syn_ext.rs:336:12 [INFO] [stdout] | [INFO] [stdout] 263 | let known_keys = [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 flattened_fields = Vec::new(); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 291 | let mut field_occurrences = HashMap::<_, Vec<_>>::new(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 303 | let mut unique_fields = HashMap::new(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 336 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 337 | | error: { [INFO] [stdout] 338 | | let key = attr_container_key_error(); [INFO] [stdout] 339 | | let tokens = unique_fields [INFO] [stdout] ... | [INFO] [stdout] 356 | | .transpose()?, [INFO] [stdout] 357 | | }) [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 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wrath-macros` (lib test) due to 5 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn try_from_env(input: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | / match try_from_env2(input.into()) { [INFO] [stdout] 14 | | Ok(x) => x, [INFO] [stdout] 15 | | Err(e) => e.into_compile_error(), [INFO] [stdout] 16 | | } [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/syn_ext.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 73 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 75 | | attrs: input.call(Attribute::parse_outer)?, [INFO] [stdout] 76 | | vis: input.parse::()?, [INFO] [stdout] 77 | | struct_token: input.parse::()?, [INFO] [stdout] ... | [INFO] [stdout] 84 | | fields: content.parse_terminated(NamedField::parse, Token![,])?, [INFO] [stdout] 85 | | }) [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/syn_ext.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 170 | let value; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 171 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 172 | | key: input.call(Ident::parse_any)?, [INFO] [stdout] 173 | | sep: { [INFO] [stdout] 174 | | if input.peek(Token![=]) { [INFO] [stdout] ... | [INFO] [stdout] 200 | | value, [INFO] [stdout] 201 | | }) [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/syn_ext.rs:336:12 [INFO] [stdout] | [INFO] [stdout] 263 | let known_keys = [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 flattened_fields = Vec::new(); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 291 | let mut field_occurrences = HashMap::<_, Vec<_>>::new(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 303 | let mut unique_fields = HashMap::new(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 336 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 337 | | error: { [INFO] [stdout] 338 | | let key = attr_container_key_error(); [INFO] [stdout] 339 | | let tokens = unique_fields [INFO] [stdout] ... | [INFO] [stdout] 356 | | .transpose()?, [INFO] [stdout] 357 | | }) [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 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wrath-macros` (lib) due to 5 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "39533a354af2c308dd0f7b2cff1cdb0d8ee02abb0e68c4352fcdaae3f2cd12b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39533a354af2c308dd0f7b2cff1cdb0d8ee02abb0e68c4352fcdaae3f2cd12b2", kill_on_drop: false }` [INFO] [stdout] 39533a354af2c308dd0f7b2cff1cdb0d8ee02abb0e68c4352fcdaae3f2cd12b2