[INFO] fetching crate musli-macros 0.0.124... [INFO] checking musli-macros-0.0.124 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate musli-macros 0.0.124 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate musli-macros 0.0.124 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate musli-macros 0.0.124 [INFO] finished tweaking crates.io crate musli-macros 0.0.124 [INFO] tweaked toml for crates.io crate musli-macros 0.0.124 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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 56 packages to latest compatible versions [INFO] [stderr] Adding matchers v0.1.0 (available: v0.2.0) [INFO] [stderr] Adding nu-ansi-term v0.46.0 (available: v0.50.1) [INFO] [stderr] Adding regex-automata v0.1.10 (available: v0.4.7) [INFO] [stderr] Adding regex-syntax v0.6.29 (available: v0.8.4) [INFO] [stderr] Adding windows-strings v0.1.0 (available: v0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2fbf4d966d0e9f1fd5f275611a1fd4595235e49f504c6796597fe0b062bbd86 [INFO] running `Command { std: "docker" "start" "-a" "f2fbf4d966d0e9f1fd5f275611a1fd4595235e49f504c6796597fe0b062bbd86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2fbf4d966d0e9f1fd5f275611a1fd4595235e49f504c6796597fe0b062bbd86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2fbf4d966d0e9f1fd5f275611a1fd4595235e49f504c6796597fe0b062bbd86", kill_on_drop: false }` [INFO] [stdout] f2fbf4d966d0e9f1fd5f275611a1fd4595235e49f504c6796597fe0b062bbd86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 961ece47b659fa4acc3b1eac2a9c58f94dbda4a06d32ab7f02637c4bdeedf2b2 [INFO] running `Command { std: "docker" "start" "-a" "961ece47b659fa4acc3b1eac2a9c58f94dbda4a06d32ab7f02637c4bdeedf2b2", kill_on_drop: false }` [INFO] [stderr] Checking proc-macro2 v1.0.86 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking musli-macros v0.0.124 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/de.rs:283:17 [INFO] [stdout] | [INFO] [stdout] 183 | let mut output_arms = Vec::new(); [INFO] [stdout] | --------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 184 | [INFO] [stdout] 185 | let mut fallback = match en.fallback { [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 200 | let decode_name; [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 201 | let output_enum; [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 202 | let name_type; [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 283 | let mut arms = Vec::new(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 305 | Ok(quote! {{ [INFO] [stdout] | ________________________- [INFO] [stdout] | |________________________| [INFO] [stdout] | |________________________| [INFO] [stdout] 306 | | let #value_var: #name_type = #decode_t_decode(#ctx_var, #decoder_var)?; [INFO] [stdout] 307 | | [INFO] [stdout] 308 | | match #value_var { #(#arms,)* } [INFO] [stdout] 309 | | }}) [INFO] [stdout] | | - [INFO] [stdout] | |______________________| [INFO] [stdout] | |______________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |______________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 315 | Ok(quote! { [INFO] [stdout] | ________________________- [INFO] [stdout] | |________________________| [INFO] [stdout] | |________________________| [INFO] [stdout] | |________________________| [INFO] [stdout] 316 | | #decoder_t::#method(#decoder_var, |#value_var: &#visit_type| { [INFO] [stdout] 317 | | match #value_var { #(#arms,)* } [INFO] [stdout] 318 | | }) [INFO] [stdout] 319 | | }) [INFO] [stdout] | | - [INFO] [stdout] | |_____________________| [INFO] [stdout] | |_____________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 367 | Ok(quote! {{ [INFO] [stdout] | ________________- [INFO] [stdout] | |________________| [INFO] [stdout] | |________________| [INFO] [stdout] | |________________| [INFO] [stdout] | |________________| [INFO] [stdout] | |________________| [INFO] [stdout] | |________________| [INFO] [stdout] | |________________| [INFO] [stdout] | |________________| [INFO] [stdout] 368 | | #output_enum [INFO] [stdout] 369 | | #enter [INFO] [stdout] ... | [INFO] [stdout] 386 | | Ok(#output_var) [INFO] [stdout] 387 | | }}) [INFO] [stdout] | | - [INFO] [stdout] | |______________| [INFO] [stdout] | |______________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |______________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |______________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |______________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |______________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |______________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |______________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |______________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 503 | Ok(quote! {{ [INFO] [stdout] | ________________- [INFO] [stdout] | |________________| [INFO] [stdout] | |________________| [INFO] [stdout] | |________________| [INFO] [stdout] | |________________| [INFO] [stdout] | |________________| [INFO] [stdout] | |________________| [INFO] [stdout] 504 | | static #tag_static: #static_type = #tag; [INFO] [stdout] 505 | | [INFO] [stdout] 506 | | #output_enum [INFO] [stdout] ... | [INFO] [stdout] 533 | | #result_ok(#output_var) [INFO] [stdout] 534 | | }}) [INFO] [stdout] | | - [INFO] [stdout] | |______________| [INFO] [stdout] | |______________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |______________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |______________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |______________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |______________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |______________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 580 | decode_match = quote! { [INFO] [stdout] | ____________________________________- [INFO] [stdout] | |____________________________________| [INFO] [stdout] | |____________________________________| [INFO] [stdout] | |____________________________________| [INFO] [stdout] | |____________________________________| [INFO] [stdout] | |____________________________________| [INFO] [stdout] | |____________________________________| [INFO] [stdout] | |____________________________________| [INFO] [stdout] | |____________________________________| [INFO] [stdout] 581 | | let #value_var: #name_type = #decode_t_decode(#ctx_var, #field_name_var)?; [INFO] [stdout] 582 | | [INFO] [stdout] 583 | | match #value_var { [INFO] [stdout] ... | [INFO] [stdout] 606 | | } [INFO] [stdout] 607 | | }; [INFO] [stdout] | | - [INFO] [stdout] | |_____________________| [INFO] [stdout] | |_____________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 620 | decode_match = quote! { [INFO] [stdout] | ____________________________________- [INFO] [stdout] | |____________________________________| [INFO] [stdout] | |____________________________________| [INFO] [stdout] | |____________________________________| [INFO] [stdout] | |____________________________________| [INFO] [stdout] | |____________________________________| [INFO] [stdout] | |____________________________________| [INFO] [stdout] | |____________________________________| [INFO] [stdout] | |____________________________________| [INFO] [stdout] 621 | | let #outcome_var = #decoder_t::#method(#field_name_var, |#value_var: &#visit_type| { [INFO] [stdout] 622 | | #result_ok(match #value_var { [INFO] [stdout] 623 | | #tag_arm => #outcome_type::Tag, [INFO] [stdout] ... | [INFO] [stdout] 653 | | } [INFO] [stdout] 654 | | }; [INFO] [stdout] | | - [INFO] [stdout] | |_____________________| [INFO] [stdout] | |_____________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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] [stderr] Compiling musli-macros v0.0.124 [INFO] [stdout] error: this value of type `std::result::Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:73:11 [INFO] [stdout] | [INFO] [stdout] 70 | let input = syn::parse_macro_input!(input as syn::DeriveInput); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | let expander = expander::Expander::new(&input, crate_default); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | [INFO] [stdout] 73 | match expander.expand_encode() { [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: this value of type `std::result::Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:83:11 [INFO] [stdout] | [INFO] [stdout] 80 | let input = syn::parse_macro_input!(input as syn::DeriveInput); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | let expander = expander::Expander::new(&input, crate_default); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | [INFO] [stdout] 83 | match expander.expand_decode() { [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: this value of type `std::result::Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 91 | let attr = syn::parse_macro_input!(attr as types::Attr); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | match input.expand( [INFO] [stdout] | ___________^ [INFO] [stdout] 95 | | CRATE_DEFAULT, [INFO] [stdout] 96 | | &attr, [INFO] [stdout] 97 | | "decoder", [INFO] [stdout] ... | [INFO] [stdout] 102 | | types::Kind::SelfCx, [INFO] [stdout] 103 | | ) { [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: this value of type `std::result::Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:114:11 [INFO] [stdout] | [INFO] [stdout] 111 | let attr = syn::parse_macro_input!(attr as types::Attr); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | match input.expand( [INFO] [stdout] | ___________^ [INFO] [stdout] 115 | | CRATE_DEFAULT, [INFO] [stdout] 116 | | &attr, [INFO] [stdout] 117 | | "encoder", [INFO] [stdout] ... | [INFO] [stdout] 122 | | types::Kind::SelfCx, [INFO] [stdout] 123 | | ) { [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: this value of type `std::result::Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:134:11 [INFO] [stdout] | [INFO] [stdout] 131 | let attr = syn::parse_macro_input!(attr as types::Attr); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 134 | match input.expand( [INFO] [stdout] | ___________^ [INFO] [stdout] 135 | | CRATE_DEFAULT, [INFO] [stdout] 136 | | &attr, [INFO] [stdout] 137 | | "visitor", [INFO] [stdout] ... | [INFO] [stdout] 142 | | types::Kind::GenericCx, [INFO] [stdout] 143 | | ) { [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 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `musli-macros` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "961ece47b659fa4acc3b1eac2a9c58f94dbda4a06d32ab7f02637c4bdeedf2b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "961ece47b659fa4acc3b1eac2a9c58f94dbda4a06d32ab7f02637c4bdeedf2b2", kill_on_drop: false }` [INFO] [stdout] 961ece47b659fa4acc3b1eac2a9c58f94dbda4a06d32ab7f02637c4bdeedf2b2