[INFO] fetching crate indra-proc-macro 0.1.0... [INFO] checking indra-proc-macro-0.1.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate indra-proc-macro 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate indra-proc-macro 0.1.0 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 indra-proc-macro 0.1.0 [INFO] finished tweaking crates.io crate indra-proc-macro 0.1.0 [INFO] tweaked toml for crates.io crate indra-proc-macro 0.1.0 written to /workspace/builds/worker-7-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] Updating crates.io index [INFO] [stderr] Locking 16 packages to latest compatible versions [INFO] [stderr] Adding heck v0.3.3 (available: v0.5.0) [INFO] [stderr] Adding proc-macro-crate v0.1.5 (available: v3.2.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding synstructure v0.12.6 (available: v0.13.1) [INFO] [stderr] Adding toml v0.5.11 (available: v0.8.19) [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] a5ade1e05fec274dc43adc8d5585fa0261fd564d44b08f97d96e5018a32d087e [INFO] running `Command { std: "docker" "start" "-a" "a5ade1e05fec274dc43adc8d5585fa0261fd564d44b08f97d96e5018a32d087e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5ade1e05fec274dc43adc8d5585fa0261fd564d44b08f97d96e5018a32d087e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5ade1e05fec274dc43adc8d5585fa0261fd564d44b08f97d96e5018a32d087e", kill_on_drop: false }` [INFO] [stdout] a5ade1e05fec274dc43adc8d5585fa0261fd564d44b08f97d96e5018a32d087e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] a93dff6183d48723a46425fbf72fc7ef630aff4c3d16ebab6f2d2b1b5eea7d44 [INFO] running `Command { std: "docker" "start" "-a" "a93dff6183d48723a46425fbf72fc7ef630aff4c3d16ebab6f2d2b1b5eea7d44", kill_on_drop: false }` [INFO] [stderr] Checking unicode-ident v1.0.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking proc-macro2 v1.0.86 [INFO] [stderr] Checking heck v0.3.3 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking proc-macro-crate v0.1.5 [INFO] [stderr] Checking synstructure v0.12.6 [INFO] [stderr] Checking proc-macro-error v1.0.4 [INFO] [stderr] Checking indra-proc-macro v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `syn::punctuated::IntoIter` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/store.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 45 | let attrs: StoreAttrs = syn::parse2(attr.tokens.clone()) [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | attrs.attrs.into_iter().next().map(|attr| { [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 `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/store.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 48 | attrs.attrs.into_iter().next().map(|attr| { [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] 49 | let StoreAttr::Returns(attr) = attr; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | let ty = attr.value; [INFO] [stdout] 51 | if let Some(inner) = utils::parse_option(&ty) { [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::punctuated::IntoIter` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/store.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 45 | let attrs: StoreAttrs = syn::parse2(attr.tokens.clone()) [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | attrs.attrs.into_iter().next().map(|attr| { [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 `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/store.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 48 | attrs.attrs.into_iter().next().map(|attr| { [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] 49 | let StoreAttr::Returns(attr) = attr; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | let ty = attr.value; [INFO] [stdout] 51 | if let Some(inner) = utils::parse_option(&ty) { [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] warning: field `0` is never read [INFO] [stdout] --> src/module.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | Ignore(kw::ignore), [INFO] [stdout] | ------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ModuleAttr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 32 | Ignore(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `paren` is never read [INFO] [stdout] --> src/utils.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct Attrs { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 173 | pub paren: syn::token::Paren, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Attrs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `eq` is never read [INFO] [stdout] --> src/utils.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 187 | pub struct Attr { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 188 | pub key: K, [INFO] [stdout] 189 | pub eq: syn::token::Eq, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Attr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `paren` is never read [INFO] [stdout] --> src/utils.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 204 | pub struct UniAttr { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 205 | pub paren: syn::token::Paren, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UniAttr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/module.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | Ignore(kw::ignore), [INFO] [stdout] | ------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ModuleAttr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 32 | Ignore(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `paren` is never read [INFO] [stdout] --> src/utils.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct Attrs { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 173 | pub paren: syn::token::Paren, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Attrs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `eq` is never read [INFO] [stdout] --> src/utils.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 187 | pub struct Attr { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 188 | pub key: K, [INFO] [stdout] 189 | pub eq: syn::token::Eq, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Attr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `indra-proc-macro` (lib test) due to 3 previous errors; 4 warnings emitted [INFO] [stdout] warning: field `paren` is never read [INFO] [stdout] --> src/utils.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 204 | pub struct UniAttr { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 205 | pub paren: syn::token::Paren, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UniAttr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `indra-proc-macro` (lib) due to 3 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a93dff6183d48723a46425fbf72fc7ef630aff4c3d16ebab6f2d2b1b5eea7d44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a93dff6183d48723a46425fbf72fc7ef630aff4c3d16ebab6f2d2b1b5eea7d44", kill_on_drop: false }` [INFO] [stdout] a93dff6183d48723a46425fbf72fc7ef630aff4c3d16ebab6f2d2b1b5eea7d44