[INFO] fetching crate derive-adhoc-macros 0.8.4... [INFO] checking derive-adhoc-macros-0.8.4 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate derive-adhoc-macros 0.8.4 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate derive-adhoc-macros 0.8.4 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 derive-adhoc-macros 0.8.4 [INFO] finished tweaking crates.io crate derive-adhoc-macros 0.8.4 [INFO] tweaked toml for crates.io crate derive-adhoc-macros 0.8.4 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" "+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 29 packages to latest compatible versions [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding heck v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding itertools v0.12.1 (available: v0.13.0) [INFO] [stderr] Adding proc-macro-crate v2.0.2 (available: v3.2.0) [INFO] [stderr] Adding strum v0.25.0 (available: v0.26.3) [INFO] [stderr] Adding strum_macros v0.25.3 (available: v0.26.4) [INFO] [stderr] Adding toml_datetime v0.6.3 (available: v0.6.8) [INFO] [stderr] Adding toml_edit v0.20.2 (available: v0.20.7) [INFO] [stderr] Adding winnow v0.5.40 (available: v0.6.20) [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-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 001bb6330b8a28b0f616f87e5f4a4d5b26825e39d3e522ecc7492b89e5524e4f [INFO] running `Command { std: "docker" "start" "-a" "001bb6330b8a28b0f616f87e5f4a4d5b26825e39d3e522ecc7492b89e5524e4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "001bb6330b8a28b0f616f87e5f4a4d5b26825e39d3e522ecc7492b89e5524e4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "001bb6330b8a28b0f616f87e5f4a4d5b26825e39d3e522ecc7492b89e5524e4f", kill_on_drop: false }` [INFO] [stdout] 001bb6330b8a28b0f616f87e5f4a4d5b26825e39d3e522ecc7492b89e5524e4f [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ceb651233388dbf0d6d3cf7c969dbf551f20fa1a0cff8ace090a070dd7edb66 [INFO] running `Command { std: "docker" "start" "-a" "2ceb651233388dbf0d6d3cf7c969dbf551f20fa1a0cff8ace090a070dd7edb66", kill_on_drop: false }` [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking winnow v0.5.40 [INFO] [stderr] Checking toml_datetime v0.6.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling derive-adhoc-macros v0.8.4 (/opt/rustwide/workdir) [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking toml_edit v0.20.2 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Checking proc-macro-crate v2.0.2 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stdout] warning: unused import: `EnumCount` [INFO] [stdout] --> prelude.rs:23:36 [INFO] [stdout] | [INFO] [stdout] 23 | pub use strum::{AsRefStr, Display, EnumCount}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ResultVoidErrExt as _` [INFO] [stdout] --> prelude.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | pub use void::{ResultVoidErrExt as _, ResultVoidExt as _, Void}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Concatenated` and `Discard` [INFO] [stdout] --> prelude.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | pub use super::utils::{Concatenated, Discard}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bizarre` [INFO] [stdout] --> utils.rs:261:11 [INFO] [stdout] | [INFO] [stdout] 261 | #[cfg(feature = "bizarre")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `case`, `expect`, `heck`, and `sha3` [INFO] [stdout] = help: consider adding `bizarre` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> repeat.rs:354:68 [INFO] [stdout] | [INFO] [stdout] 317 | impl<'c> Context<'c> { [INFO] [stdout] | -- lifetime `'c` declared here [INFO] [stdout] ... [INFO] [stdout] 354 | fn within_level(&'c self, why: &dyn Spanned) -> syn::Result<&W> [INFO] [stdout] | ^ this elided lifetime gets resolved as `'c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bizarre` [INFO] [stdout] --> syntax.rs:825:15 [INFO] [stdout] | [INFO] [stdout] 825 | #[cfg(feature = "bizarre")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `case`, `expect`, `heck`, and `sha3` [INFO] [stdout] = help: consider adding `bizarre` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Concatenated` and `Discard` [INFO] [stdout] --> prelude.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | pub use super::utils::{Concatenated, Discard}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bizarre` [INFO] [stdout] --> utils.rs:261:11 [INFO] [stdout] | [INFO] [stdout] 261 | #[cfg(feature = "bizarre")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `case`, `expect`, `heck`, and `sha3` [INFO] [stdout] = help: consider adding `bizarre` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> repeat.rs:354:68 [INFO] [stdout] | [INFO] [stdout] 317 | impl<'c> Context<'c> { [INFO] [stdout] | -- lifetime `'c` declared here [INFO] [stdout] ... [INFO] [stdout] 354 | fn within_level(&'c self, why: &dyn Spanned) -> syn::Result<&W> [INFO] [stdout] | ^ this elided lifetime gets resolved as `'c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bizarre` [INFO] [stdout] --> syntax.rs:825:15 [INFO] [stdout] | [INFO] [stdout] 825 | #[cfg(feature = "bizarre")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `case`, `expect`, `heck`, and `sha3` [INFO] [stdout] = help: consider adding `bizarre` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [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] --> paste.rs:633:17 [INFO] [stdout] | [INFO] [stdout] 584 | items: Vec, [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 633 | let mut items = items; [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 `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> paste.rs:633:17 [INFO] [stdout] | [INFO] [stdout] 584 | items: Vec, [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 633 | let mut items = items; [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 `proc_macro2::TokenTree` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> syntax.rs:449:18 [INFO] [stdout] | [INFO] [stdout] 447 | let backtracked = input.fork(); [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 448 | [INFO] [stdout] 449 | Ok(match input.parse()? { [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 `proc_macro2::TokenTree` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> syntax.rs:449:18 [INFO] [stdout] | [INFO] [stdout] 447 | let backtracked = input.fork(); [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 448 | [INFO] [stdout] 449 | Ok(match input.parse()? { [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] --> utils.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Concatenated(pub Vec); [INFO] [stdout] | ------------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `equals` is never read [INFO] [stdout] --> framework.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | Value { equals: token::Eq, value: syn::Lit }, [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PreprocessedMetaValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `append_display` is never used [INFO] [stdout] --> framework.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 189 | pub trait ExpansionOutput: SubstParseContext { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 195 | fn append_display(&mut self, lit: &I); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `driver_brace` and `template_brace` are never read [INFO] [stdout] --> expand.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct DeriveAdhocExpandInput { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 14 | pub driver_brace: token::Brace, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 15 | pub driver: syn::DeriveInput, [INFO] [stdout] 16 | pub template_brace: token::Brace, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeriveAdhocExpandInput` 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 `0` is never read [INFO] [stdout] --> utils.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Concatenated(pub Vec); [INFO] [stdout] | ------------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `equals` is never read [INFO] [stdout] --> framework.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | Value { equals: token::Eq, value: syn::Lit }, [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PreprocessedMetaValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `append_display` is never used [INFO] [stdout] --> framework.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 189 | pub trait ExpansionOutput: SubstParseContext { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 195 | fn append_display(&mut self, lit: &I); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `driver_brace` and `template_brace` are never read [INFO] [stdout] --> expand.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct DeriveAdhocExpandInput { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 14 | pub driver_brace: token::Brace, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 15 | pub driver: syn::DeriveInput, [INFO] [stdout] 16 | pub template_brace: token::Brace, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeriveAdhocExpandInput` 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; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `derive-adhoc-macros` (lib test) due to 3 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `derive-adhoc-macros` (lib) due to 3 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2ceb651233388dbf0d6d3cf7c969dbf551f20fa1a0cff8ace090a070dd7edb66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ceb651233388dbf0d6d3cf7c969dbf551f20fa1a0cff8ace090a070dd7edb66", kill_on_drop: false }` [INFO] [stdout] 2ceb651233388dbf0d6d3cf7c969dbf551f20fa1a0cff8ace090a070dd7edb66