[INFO] fetching crate druid-derive 0.5.1... [INFO] checking druid-derive-0.5.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate druid-derive 0.5.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate druid-derive 0.5.1 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 druid-derive 0.5.1 [INFO] finished tweaking crates.io crate druid-derive 0.5.1 [INFO] tweaked toml for crates.io crate druid-derive 0.5.1 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 173 packages to latest compatible versions [INFO] [stderr] Adding associative-cache v1.0.1 (latest: v2.0.0) [INFO] [stderr] Adding atk v0.16.0 (latest: v0.18.0) [INFO] [stderr] Adding atk-sys v0.16.0 (latest: v0.18.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding cairo-rs v0.16.7 (latest: v0.20.1) [INFO] [stderr] Adding cairo-sys-rs v0.16.3 (latest: v0.20.0) [INFO] [stderr] Adding cfg-expr v0.15.8 (latest: v0.16.0) [INFO] [stderr] Adding cocoa v0.24.1 (latest: v0.26.0) [INFO] [stderr] Adding cocoa-foundation v0.1.2 (latest: v0.2.0) [INFO] [stderr] Adding core-foundation v0.9.4 (latest: v0.10.0) [INFO] [stderr] Adding core-graphics v0.22.3 (latest: v0.24.0) [INFO] [stderr] Adding core-graphics-types v0.1.3 (latest: v0.2.0) [INFO] [stderr] Adding core-text v19.2.0 (latest: v21.0.0) [INFO] [stderr] Adding fluent-langneg v0.13.0 (latest: v0.14.1) [INFO] [stderr] Adding foreign-types v0.3.2 (latest: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (latest: v0.3.1) [INFO] [stderr] Adding gdk v0.16.2 (latest: v0.18.0) [INFO] [stderr] Adding gdk-pixbuf v0.16.7 (latest: v0.20.1) [INFO] [stderr] Adding gdk-pixbuf-sys v0.16.3 (latest: v0.20.1) [INFO] [stderr] Adding gdk-sys v0.16.0 (latest: v0.18.0) [INFO] [stderr] Adding gio v0.16.7 (latest: v0.20.1) [INFO] [stderr] Adding gio-sys v0.16.3 (latest: v0.20.1) [INFO] [stderr] Adding glib v0.16.9 (latest: v0.20.2) [INFO] [stderr] Adding glib-macros v0.16.8 (latest: v0.20.2) [INFO] [stderr] Adding glib-sys v0.16.3 (latest: v0.20.2) [INFO] [stderr] Adding gobject-sys v0.16.3 (latest: v0.20.1) [INFO] [stderr] Adding gtk v0.16.2 (latest: v0.18.1) [INFO] [stderr] Adding gtk-sys v0.16.0 (latest: v0.18.0) [INFO] [stderr] Adding gtk3-macros v0.16.3 (latest: v0.18.0) [INFO] [stderr] Adding heck v0.4.1 (latest: v0.5.0) [INFO] [stderr] Adding keyboard-types v0.6.2 (latest: v0.7.0) [INFO] [stderr] Adding kurbo v0.9.5 (latest: v0.11.0) [INFO] [stderr] Adding malloc_buf v0.0.6 (latest: v1.0.0) [INFO] [stderr] Adding nu-ansi-term v0.46.0 (latest: v0.50.1) [INFO] [stderr] Adding pango v0.16.5 (latest: v0.20.1) [INFO] [stderr] Adding pango-sys v0.16.3 (latest: v0.20.1) [INFO] [stderr] Adding pangocairo v0.16.3 (latest: v0.20.1) [INFO] [stderr] Adding pangocairo-sys v0.16.3 (latest: v0.20.1) [INFO] [stderr] Adding proc-macro-crate v1.3.1 (latest: v3.2.0) [INFO] [stderr] Adding rustc-hash v1.1.0 (latest: v2.0.0) [INFO] [stderr] Adding self_cell v0.10.3 (latest: v1.0.4) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding system-deps v6.2.2 (latest: v7.0.2) [INFO] [stderr] Adding toml_edit v0.19.15 (latest: v0.22.20) [INFO] [stderr] Adding winnow v0.5.40 (latest: v0.6.18) [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] e29bdcab8ebd52589567cdcd9185ab36abe0d139cc68178c9c88627268bf7896 [INFO] running `Command { std: "docker" "start" "-a" "e29bdcab8ebd52589567cdcd9185ab36abe0d139cc68178c9c88627268bf7896", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e29bdcab8ebd52589567cdcd9185ab36abe0d139cc68178c9c88627268bf7896", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e29bdcab8ebd52589567cdcd9185ab36abe0d139cc68178c9c88627268bf7896", kill_on_drop: false }` [INFO] [stdout] e29bdcab8ebd52589567cdcd9185ab36abe0d139cc68178c9c88627268bf7896 [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] 0d90c2f5a33bc9b0f0d720d790a1ec351c1a3a53b70a381d21cae01332699e36 [INFO] running `Command { std: "docker" "start" "-a" "0d90c2f5a33bc9b0f0d720d790a1ec351c1a3a53b70a381d21cae01332699e36", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling version-compare v0.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.7 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling gio v0.16.7 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking kurbo v0.9.5 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Compiling gtk v0.16.2 [INFO] [stderr] Checking type-map v0.5.0 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Compiling toml_edit v0.22.20 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking unic-ucd-bidi v0.9.0 [INFO] [stderr] Compiling druid-shell v0.8.3 [INFO] [stderr] Checking self_cell v1.0.4 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking keyboard-types v0.6.2 [INFO] [stderr] Compiling trybuild v1.0.99 [INFO] [stderr] Checking self_cell v0.10.3 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking unic-bidi v0.9.0 [INFO] [stderr] Checking piet v0.6.2 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling system-deps v6.2.2 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking druid-derive v0.5.1 (/opt/rustwide/workdir) [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:61:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn derive_data(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | let input = parse_macro_input!(input as syn::DeriveInput); [INFO] [stdout] | ----- --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | / data::derive_data_impl(input) [INFO] [stdout] 62 | | .unwrap_or_else(|err| err.to_compile_error()) [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:99:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn derive_lens(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 98 | let input = parse_macro_input!(input as syn::DeriveInput); [INFO] [stdout] | ----- --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | / lens::derive_lens_impl(input) [INFO] [stdout] 100 | | .unwrap_or_else(|err| err.to_compile_error()) [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/attr.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 93 | let fields = fields [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | Ok(Fields { kind, fields }) [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] [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:116:12 [INFO] [stdout] | [INFO] [stdout] 110 | let fields = fields [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | Ok(Fields { kind, fields }) [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] [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:184:12 [INFO] [stdout] | [INFO] [stdout] 137 | let ty = field.ty.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | [INFO] [stdout] 139 | let mut data_attr = DataAttr::Empty; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 184 | Ok(Field { [INFO] [stdout] | ____________^ [INFO] [stdout] 185 | | ident, [INFO] [stdout] 186 | | ty, [INFO] [stdout] 187 | | attrs: data_attr, [INFO] [stdout] 188 | | }) [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/attr.rs:263:12 [INFO] [stdout] | [INFO] [stdout] 213 | let ty = field.ty.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 216 | let mut lens_name_override = None; [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 263 | Ok(Field { [INFO] [stdout] | ____________^ [INFO] [stdout] 264 | | ident, [INFO] [stdout] 265 | | ty, [INFO] [stdout] 266 | | attrs: LensAttrs { [INFO] [stdout] ... | [INFO] [stdout] 269 | | }, [INFO] [stdout] 270 | | }) [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/data.rs:48:36 [INFO] [stdout] | [INFO] [stdout] 48 | .filter(|f| f.attrs != DataAttr::Ignore) [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/data.rs:52:36 [INFO] [stdout] | [INFO] [stdout] 52 | .filter(|f| f.attrs != DataAttr::Ignore) [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/data.rs:109:40 [INFO] [stdout] | [INFO] [stdout] 109 | .filter(|f| f.attrs != DataAttr::Ignore) [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 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `druid-derive` (lib) due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "0d90c2f5a33bc9b0f0d720d790a1ec351c1a3a53b70a381d21cae01332699e36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d90c2f5a33bc9b0f0d720d790a1ec351c1a3a53b70a381d21cae01332699e36", kill_on_drop: false }` [INFO] [stdout] 0d90c2f5a33bc9b0f0d720d790a1ec351c1a3a53b70a381d21cae01332699e36