[INFO] cloning repository https://github.com/Kilerd/rust-derive-macro-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kilerd/rust-derive-macro-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKilerd%2Frust-derive-macro-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKilerd%2Frust-derive-macro-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 44515567a1c6ce8e051aa64c2d6d65176c1d6d44 [INFO] checking Kilerd/rust-derive-macro-demo/44515567a1c6ce8e051aa64c2d6d65176c1d6d44 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKilerd%2Frust-derive-macro-demo" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kilerd/rust-derive-macro-demo 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 git repo https://github.com/Kilerd/rust-derive-macro-demo [INFO] finished tweaking git repo https://github.com/Kilerd/rust-derive-macro-demo [INFO] tweaked toml for git repo https://github.com/Kilerd/rust-derive-macro-demo written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Kilerd/rust-derive-macro-demo already has a lockfile, it will not be regenerated [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] 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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff002fcc7f6cd4639d105cac5d373e0c6d96443fea8548dcf5b5c486d42ecb6a [INFO] running `Command { std: "docker" "start" "-a" "ff002fcc7f6cd4639d105cac5d373e0c6d96443fea8548dcf5b5c486d42ecb6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff002fcc7f6cd4639d105cac5d373e0c6d96443fea8548dcf5b5c486d42ecb6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff002fcc7f6cd4639d105cac5d373e0c6d96443fea8548dcf5b5c486d42ecb6a", kill_on_drop: false }` [INFO] [stdout] ff002fcc7f6cd4639d105cac5d373e0c6d96443fea8548dcf5b5c486d42ecb6a [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a6e141d47fba839f73a5b0bb5cb14d4472983c71da575132acea1d786944b87 [INFO] running `Command { std: "docker" "start" "-a" "3a6e141d47fba839f73a5b0bb5cb14d4472983c71da575132acea1d786944b87", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking unicode-xid v0.2.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Checking quote v1.0.7 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Checking Inflector v0.11.4 [INFO] [stderr] Checking darling_core v0.10.2 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Checking detail_error v0.1.0 (/opt/rustwide/workdir/detail_error) [INFO] [stdout] warning: unused import: `parse_macro_input` [INFO] [stdout] --> detail_error/src/lib.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use syn::{parse_macro_input, parse2, DeriveInput}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proc_macro2::Ident` [INFO] [stdout] --> detail_error/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use proc_macro2::Ident; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse_macro_input` [INFO] [stdout] --> detail_error/src/lib.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use syn::{parse_macro_input, parse2, DeriveInput}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proc_macro2::Ident` [INFO] [stdout] --> detail_error/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use proc_macro2::Ident; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse_macro_input` [INFO] [stdout] --> detail_error/src/lib.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use syn::{parse_macro_input, parse2, DeriveInput}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proc_macro2::Ident` [INFO] [stdout] --> detail_error/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use proc_macro2::Ident; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fields` is never read [INFO] [stdout] --> detail_error/src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct DetailErrorVariant { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 18 | ident: syn::Ident, [INFO] [stdout] 19 | fields: darling::ast::Fields, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DetailErrorVariant` 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] [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] --> detail_error/src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn detail_error_fn(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | handler(input.into()).into() [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: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `detail_error` (lib) due to 2 previous errors; 3 warnings emitted [INFO] [stdout] warning: field `fields` is never read [INFO] [stdout] --> detail_error/src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct DetailErrorVariant { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 18 | ident: syn::Ident, [INFO] [stdout] 19 | fields: darling::ast::Fields, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DetailErrorVariant` 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] [INFO] [stdout] [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] --> detail_error/src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn detail_error_fn(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | handler(input.into()).into() [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: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fields` is never read [INFO] [stdout] --> detail_error/src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct DetailErrorVariant { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 18 | ident: syn::Ident, [INFO] [stdout] 19 | fields: darling::ast::Fields, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DetailErrorVariant` 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] [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] --> detail_error/src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn detail_error_fn(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | handler(input.into()).into() [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] [stderr] error: could not compile `detail_error` (lib test) due to 2 previous errors; 3 warnings emitted [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `detail_error` (lib) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3a6e141d47fba839f73a5b0bb5cb14d4472983c71da575132acea1d786944b87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a6e141d47fba839f73a5b0bb5cb14d4472983c71da575132acea1d786944b87", kill_on_drop: false }` [INFO] [stdout] 3a6e141d47fba839f73a5b0bb5cb14d4472983c71da575132acea1d786944b87