[INFO] fetching crate byteserde_derive 0.6.2... [INFO] checking byteserde_derive-0.6.2 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate byteserde_derive 0.6.2 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate byteserde_derive 0.6.2 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate byteserde_derive 0.6.2 [INFO] finished tweaking crates.io crate byteserde_derive 0.6.2 [INFO] tweaked toml for crates.io crate byteserde_derive 0.6.2 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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "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 46 packages to latest compatible versions [INFO] [stderr] Adding env_logger v0.10.2 (available: v0.11.5) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec18f7172b84a9f5a5b9aac83a308f876843e150fcc0a78bf2f4d0733b3b8349 [INFO] running `Command { std: "docker" "start" "-a" "ec18f7172b84a9f5a5b9aac83a308f876843e150fcc0a78bf2f4d0733b3b8349", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec18f7172b84a9f5a5b9aac83a308f876843e150fcc0a78bf2f4d0733b3b8349", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec18f7172b84a9f5a5b9aac83a308f876843e150fcc0a78bf2f4d0733b3b8349", kill_on_drop: false }` [INFO] [stdout] ec18f7172b84a9f5a5b9aac83a308f876843e150fcc0a78bf2f4d0733b3b8349 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94947db8549b0237fd448bde54c6f05fac3b27ae6b4aa010bc509ef714f38397 [INFO] running `Command { std: "docker" "start" "-a" "94947db8549b0237fd448bde54c6f05fac3b27ae6b4aa010bc509ef714f38397", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking unicode-ident v1.0.13 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Compiling trybuild v1.0.99 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking dissimilar v1.0.9 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking byteserde v0.6.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking byteserde_derive v0.6.2 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `syn::Ident` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tokens_struct.rs:275:38 [INFO] [stdout] | [INFO] [stdout] 194 | let replace = replace_attr(&fld.attrs); [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] 195 | let endian = endian_attr(&ast.attrs, &fld.attrs); [INFO] [stdout] 196 | let ser_endian_method_xx = ser_endian_method_xx(&endian); [INFO] [stdout] | -------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 197 | let des_endian_method_xx = des_endian_method_xx(&endian); [INFO] [stdout] | -------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 254 | let len_var = match member { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 275 | ser_uses_stck: ser_uses_xxx(&Ident::new("byte_serialize_stack", Span::call_site())), [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: this value of type `syn::Ident` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tokens_struct.rs:404:38 [INFO] [stdout] | [INFO] [stdout] 288 | let deplete = deplete_attr(&fld.attrs); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 289 | let replace = replace_attr(&fld.attrs); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 290 | let endian = endian_attr(&ast.attrs, &fld.attrs); [INFO] [stdout] 291 | let ser_endian_method_xx = ser_endian_method_xx(&endian); [INFO] [stdout] | -------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 292 | let des_endian_method_xx = des_endian_method_xx(&endian); [INFO] [stdout] | -------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 293 | [INFO] [stdout] 294 | let member_name = match member { [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 329 | let assert_vec_len_gt_then_deplete = match deplete { [INFO] [stdout] | ------------------------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 335 | let vec_deplete_len = match deplete { [INFO] [stdout] | --------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 352 | let des_vars_byte = match deplete { [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 360 | let des_vars_numerics = match deplete { [INFO] [stdout] | ----------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 368 | let des_vars_other = match deplete { [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 404 | ser_uses_stck: ser_uses_xxx(&Ident::new("byte_serialize_stack", Span::call_site())), [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 `syn::Ident` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tokens_struct.rs:500:38 [INFO] [stdout] | [INFO] [stdout] 457 | let fld_name = match member { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 461 | let replace = replace_attr(&fld.attrs); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 462 | let eq = match eq_attr(&fld.attrs) { [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 500 | ser_uses_stck: ser_uses_xxx(&Ident::new("byte_serialize_stack", Span::call_site())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex v1.10.6 [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/attr_struct.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | Set(Ident), [INFO] [stdout] | --- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 85 | Set(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `byteserde_derive` (lib) due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "94947db8549b0237fd448bde54c6f05fac3b27ae6b4aa010bc509ef714f38397", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94947db8549b0237fd448bde54c6f05fac3b27ae6b4aa010bc509ef714f38397", kill_on_drop: false }` [INFO] [stdout] 94947db8549b0237fd448bde54c6f05fac3b27ae6b4aa010bc509ef714f38397