[INFO] fetching crate defy 0.1.5... [INFO] checking defy-0.1.5 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate defy 0.1.5 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate defy 0.1.5 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 defy 0.1.5 [INFO] finished tweaking crates.io crate defy 0.1.5 [INFO] tweaked toml for crates.io crate defy 0.1.5 written to /workspace/builds/worker-4-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 96 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding gloo v0.8.1 (latest: v0.11.0) [INFO] [stderr] Adding gloo-console v0.2.3 (latest: v0.3.0) [INFO] [stderr] Adding gloo-dialogs v0.1.1 (latest: v0.2.0) [INFO] [stderr] Adding gloo-events v0.1.2 (latest: v0.2.0) [INFO] [stderr] Adding gloo-file v0.2.3 (latest: v0.3.0) [INFO] [stderr] Adding gloo-history v0.1.5 (latest: v0.2.2) [INFO] [stderr] Adding gloo-net v0.3.1 (latest: v0.6.0) [INFO] [stderr] Adding gloo-render v0.1.1 (latest: v0.2.0) [INFO] [stderr] Adding gloo-storage v0.2.2 (latest: v0.3.0) [INFO] [stderr] Adding gloo-timers v0.2.6 (latest: v0.3.0) [INFO] [stderr] Adding gloo-utils v0.1.7 (latest: v0.2.0) [INFO] [stderr] Adding gloo-worker v0.2.1 (latest: v0.5.0) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.5) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding http v0.2.12 (latest: v1.1.0) [INFO] [stderr] Adding implicit-clone v0.3.9 (latest: v0.5.0) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.5.0) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding prettyplease v0.1.25 (latest: v0.2.22) [INFO] [stderr] Adding serde-wasm-bindgen v0.5.0 (latest: v0.6.5) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding yew v0.20.0 (latest: v0.21.0) [INFO] [stderr] Adding yew-macro v0.20.0 (latest: v0.21.0) [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] [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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 776be48990c9150b78b465d36408e56b5e9b55a3665471bd3a9247ab71359407 [INFO] running `Command { std: "docker" "start" "-a" "776be48990c9150b78b465d36408e56b5e9b55a3665471bd3a9247ab71359407", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "776be48990c9150b78b465d36408e56b5e9b55a3665471bd3a9247ab71359407", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "776be48990c9150b78b465d36408e56b5e9b55a3665471bd3a9247ab71359407", kill_on_drop: false }` [INFO] [stdout] 776be48990c9150b78b465d36408e56b5e9b55a3665471bd3a9247ab71359407 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 3997d55a3e0c1eb64b8f83da626f38082f5378b9ce2f16200841de7b99f30cab [INFO] running `Command { std: "docker" "start" "-a" "3997d55a3e0c1eb64b8f83da626f38082f5378b9ce2f16200841de7b99f30cab", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.93 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.93 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking anymap2 v0.13.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking utf8-width v0.1.7 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Checking syn v2.0.77 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking html-escape v0.2.13 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.93 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling yew-macro v0.20.0 [INFO] [stderr] Checking implicit-clone v0.3.9 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.93 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.93 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking js-sys v0.3.70 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking pinned v0.1.0 [INFO] [stderr] Checking defy v0.1.5 (/opt/rustwide/workdir) [INFO] [stderr] Checking prokio v0.1.0 [INFO] [stdout] warning: fields `at` and `kw` are never read [INFO] [stdout] --> src/ast.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | DebugPrint { at: syn::Token![@], kw: config_kw::__debug_print }, [INFO] [stdout] | ---------- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `at` and `kw` are never read [INFO] [stdout] --> src/ast.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | MacroPath { at: syn::Token![@], kw: config_kw::macro_path, path: syn::Path }, [INFO] [stdout] | --------- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `semi` is never read [INFO] [stdout] --> src/ast.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 210 | pub struct Text { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 213 | pub semi: syn::Token![;], [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `paren` is never read [INFO] [stdout] --> src/ast.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | Named { paren: syn::token::Paren, args: Punctuated }, [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [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/lib.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn defy(ts: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 153 | run(ts.into()).unwrap_or_else(Error::into_compile_error).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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 206 | fn stmt_to_html(macro_path: &syn::Path, stmt: ast::Stmt) -> Result { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | Ok(match stmt { [INFO] [stdout] | ________^ [INFO] [stdout] 208 | | ast::Stmt::If(ast::If { [INFO] [stdout] 209 | | if_, [INFO] [stdout] 210 | | expr, [INFO] [stdout] ... | [INFO] [stdout] 285 | | } [INFO] [stdout] 286 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:290:8 [INFO] [stdout] | [INFO] [stdout] 289 | fn args_to_html(args: ast::NodeArgs) -> Result { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 290 | Ok(match args { [INFO] [stdout] | ________^ [INFO] [stdout] 291 | | ast::NodeArgs::None => TokenStream::new(), [INFO] [stdout] 292 | | ast::NodeArgs::Named { paren: _, args } => args [INFO] [stdout] 293 | | .into_iter() [INFO] [stdout] ... | [INFO] [stdout] 305 | | }, [INFO] [stdout] 306 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 12 | let mut configs = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | Ok(Self { configs, nodes: 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 48 | let mut stmts = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | Ok(Self { stmts }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 95 | let inner; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 97 | | if_: input.parse()?, [INFO] [stdout] 98 | | expr: Box::new(input.call(syn::Expr::parse_without_eager_brace)?), [INFO] [stdout] 99 | | braces: syn::braced!(inner in input), [INFO] [stdout] 100 | | body: inner.parse()?, [INFO] [stdout] 101 | | else_: if input.peek(syn::Token![else]) { Some(input.parse()?) } else { None }, [INFO] [stdout] 102 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 112 | let inner; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 113 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 114 | | else_: input.parse()?, [INFO] [stdout] 115 | | braces: syn::braced!(inner in input), [INFO] [stdout] 116 | | body: inner.parse()?, [INFO] [stdout] 117 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 129 | let inner; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 130 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 131 | | match_: input.parse()?, [INFO] [stdout] 132 | | expr: Box::new(input.call(syn::Expr::parse_without_eager_brace)?), [INFO] [stdout] 133 | | braces: syn::braced!(inner in input), [INFO] [stdout] ... | [INFO] [stdout] 140 | | }, [INFO] [stdout] 141 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 154 | let inner; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 155 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 156 | | pat: syn::Pat::parse_multi_with_leading_vert(input)?, [INFO] [stdout] 157 | | guard: if input.peek(syn::Token![if]) { [INFO] [stdout] 158 | | Some((input.parse()?, input.parse()?)) [INFO] [stdout] ... | [INFO] [stdout] 164 | | body: inner.parse()?, [INFO] [stdout] 165 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 179 | let inner; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 180 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 181 | | for_: input.parse()?, [INFO] [stdout] 182 | | pat: Box::new(syn::Pat::parse_multi_with_leading_vert(input)?), [INFO] [stdout] 183 | | in_: input.parse()?, [INFO] [stdout] ... | [INFO] [stdout] 186 | | body: inner.parse()?, [INFO] [stdout] 187 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast.rs:278:8 [INFO] [stdout] | [INFO] [stdout] 261 | let mut segments = Punctuated::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 278 | Ok(syn::Path { leading_colon, segments }) [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 11 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `defy` (lib) due to 12 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "3997d55a3e0c1eb64b8f83da626f38082f5378b9ce2f16200841de7b99f30cab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3997d55a3e0c1eb64b8f83da626f38082f5378b9ce2f16200841de7b99f30cab", kill_on_drop: false }` [INFO] [stdout] 3997d55a3e0c1eb64b8f83da626f38082f5378b9ce2f16200841de7b99f30cab