[INFO] fetching crate templar_macros 0.5.0... [INFO] checking templar_macros-0.5.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate templar_macros 0.5.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate templar_macros 0.5.0 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 crates.io crate templar_macros 0.5.0 [INFO] finished tweaking crates.io crate templar_macros 0.5.0 [INFO] tweaked toml for crates.io crate templar_macros 0.5.0 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [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] 2b993fe5c5471dd0ceb827b92e8462fd95aef7e71038feb070bb93e56974119d [INFO] running `Command { std: "docker" "start" "-a" "2b993fe5c5471dd0ceb827b92e8462fd95aef7e71038feb070bb93e56974119d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b993fe5c5471dd0ceb827b92e8462fd95aef7e71038feb070bb93e56974119d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b993fe5c5471dd0ceb827b92e8462fd95aef7e71038feb070bb93e56974119d", kill_on_drop: false }` [INFO] [stdout] 2b993fe5c5471dd0ceb827b92e8462fd95aef7e71038feb070bb93e56974119d [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] 015f99857d4576faefb2f1791b76d938b9cc3a7adf8f5a59030e3e0fb1b82e3b [INFO] running `Command { std: "docker" "start" "-a" "015f99857d4576faefb2f1791b76d938b9cc3a7adf8f5a59030e3e0fb1b82e3b", kill_on_drop: false }` [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking proc-macro2 v1.0.86 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking syn v1.0.109 [INFO] [stderr] Checking templar_macros v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `ident`, `equal`, and `val` are never read [INFO] [stdout] --> src/attr.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct BindingAttrValues { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 8 | pub ident: syn::Ident, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub equal: Token![=], [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | pub val: syn::Expr, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `parens` and `contents` are never read [INFO] [stdout] --> src/attr.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) struct BindingAttrParens { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 25 | pub parens: syn::token::Paren, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | pub contents: Punctuated, [INFO] [stdout] | ^^^^^^^^ [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] --> src/attr.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 31 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | let parens = parenthesized!(content in input); [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | let contents = content.parse_terminated(BindingAttrValues::parse)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | Ok(BindingAttrParens { parens, contents }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will 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] [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] --> src/transforms.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn parse_str(ty: &str, ident: Ident) -> Option { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | / match ty { [INFO] [stdout] 24 | | $( [INFO] [stdout] 25 | | $( $tystr )* => Some( DataType:: $type (ident) ), [INFO] [stdout] 26 | | )* [INFO] [stdout] 27 | | _ => None, [INFO] [stdout] 28 | | }.into() [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 44 | / data_types! { [INFO] [stdout] 45 | | String {String} ("String" | "&str"), [INFO] [stdout] 46 | | Char {Char} ("char"), [INFO] [stdout] 47 | | F64 {Number} ("f64"), [INFO] [stdout] ... | [INFO] [stdout] 58 | | U8 {Number} ("u8"), [INFO] [stdout] 59 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `data_types` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> src/transforms.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 146 | fail!(return_ty.span(), "This return type is not supported!"), [INFO] [stdout] | ------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 153 | / match return_ty_string.as_str() { [INFO] [stdout] 154 | | "Result" => quote! { [INFO] [stdout] 155 | | match result { [INFO] [stdout] 156 | | Ok(result) => Data::new(result), [INFO] [stdout] ... | [INFO] [stdout] 168 | | }, [INFO] [stdout] 169 | | }, [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 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `templar_macros` (lib) due to 4 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `ident`, `equal`, and `val` are never read [INFO] [stdout] --> src/attr.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct BindingAttrValues { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 8 | pub ident: syn::Ident, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub equal: Token![=], [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | pub val: syn::Expr, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `parens` and `contents` are never read [INFO] [stdout] --> src/attr.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) struct BindingAttrParens { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 25 | pub parens: syn::token::Paren, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | pub contents: Punctuated, [INFO] [stdout] | ^^^^^^^^ [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] --> src/attr.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 31 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | let parens = parenthesized!(content in input); [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | let contents = content.parse_terminated(BindingAttrValues::parse)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | Ok(BindingAttrParens { parens, contents }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will 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] [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] --> src/transforms.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn parse_str(ty: &str, ident: Ident) -> Option { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | / match ty { [INFO] [stdout] 24 | | $( [INFO] [stdout] 25 | | $( $tystr )* => Some( DataType:: $type (ident) ), [INFO] [stdout] 26 | | )* [INFO] [stdout] 27 | | _ => None, [INFO] [stdout] 28 | | }.into() [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 44 | / data_types! { [INFO] [stdout] 45 | | String {String} ("String" | "&str"), [INFO] [stdout] 46 | | Char {Char} ("char"), [INFO] [stdout] 47 | | F64 {Number} ("f64"), [INFO] [stdout] ... | [INFO] [stdout] 58 | | U8 {Number} ("u8"), [INFO] [stdout] 59 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `data_types` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> src/transforms.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 146 | fail!(return_ty.span(), "This return type is not supported!"), [INFO] [stdout] | ------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 153 | / match return_ty_string.as_str() { [INFO] [stdout] 154 | | "Result" => quote! { [INFO] [stdout] 155 | | match result { [INFO] [stdout] 156 | | Ok(result) => Data::new(result), [INFO] [stdout] ... | [INFO] [stdout] 168 | | }, [INFO] [stdout] 169 | | }, [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 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `templar_macros` (lib test) due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "015f99857d4576faefb2f1791b76d938b9cc3a7adf8f5a59030e3e0fb1b82e3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "015f99857d4576faefb2f1791b76d938b9cc3a7adf8f5a59030e3e0fb1b82e3b", kill_on_drop: false }` [INFO] [stdout] 015f99857d4576faefb2f1791b76d938b9cc3a7adf8f5a59030e3e0fb1b82e3b