[INFO] fetching crate html5ever 0.29.0... [INFO] checking html5ever-0.29.0 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate html5ever 0.29.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate html5ever 0.29.0 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate html5ever 0.29.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate html5ever 0.29.0 [INFO] tweaked toml for crates.io crate html5ever 0.29.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate html5ever 0.29.0 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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f7c262034f09ab7a8ab49514ffb7b8c6182217f9cb8416161897eca720a49e5 [INFO] running `Command { std: "docker" "start" "-a" "1f7c262034f09ab7a8ab49514ffb7b8c6182217f9cb8416161897eca720a49e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f7c262034f09ab7a8ab49514ffb7b8c6182217f9cb8416161897eca720a49e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f7c262034f09ab7a8ab49514ffb7b8c6182217f9cb8416161897eca720a49e5", kill_on_drop: false }` [INFO] [stdout] 1f7c262034f09ab7a8ab49514ffb7b8c6182217f9cb8416161897eca720a49e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8024428d8664839aeaf4c39b395170fd078e1669e4a73dba87994b3ec27e06bf [INFO] running `Command { std: "docker" "start" "-a" "8024428d8664839aeaf4c39b395170fd078e1669e4a73dba87994b3ec27e06bf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling getrandom v0.2.13 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling markup5ever v0.14.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling html5ever v0.29.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking string_cache v0.8.7 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stdout] error: this value of type `Tag` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/html5ever-a242ce346dc1195a/out/rules.rs:398:49 [INFO] [stdout] | [INFO] [stdout] 14 | pub (crate) fn step (& self , mode : InsertionMode , token : Token) -> ProcessResult < Handle > { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 398 | } , crate :: tree_builder :: types :: TagToken (tag @ crate :: tokenizer :: Tag { [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 `(bool, types::Token)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/html5ever-a242ce346dc1195a/out/rules.rs:1636:11 [INFO] [stdout] | [INFO] [stdout] 1523 | } pub (crate) fn step_foreign (& self , token : Token) -> ProcessResult < Handle > { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1636 | } ; match (enable_wildcards , last_arm_token) { [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 `::ElemName<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tree_builder/mod.rs:696:13 [INFO] [stdout] | [INFO] [stdout] 692 | fn current_node_in(&self, set: TagSet) -> bool [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 696 | set(self.sink.elem_name(&self.current_node()).expanded()) [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 `Handle` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tree_builder/mod.rs:719:34 [INFO] [stdout] | [INFO] [stdout] 705 | fn adoption_agency(&self, subject: LocalName) { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 719 | let (fmt_elem_index, fmt_elem, fmt_elem_tag) = unwrap_or_return!( [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 `::ElemName<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tree_builder/mod.rs:1063:13 [INFO] [stdout] | [INFO] [stdout] 1059 | fn elem_in(&self, elem: &Handle, set: TagSet) -> bool [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1063 | set(self.sink.elem_name(elem).expanded()) [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 `Ref<'_, Vec>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tree_builder/mod.rs:1072:9 [INFO] [stdout] | [INFO] [stdout] 1071 | fn in_html_elem_named(&self, name: LocalName) -> bool { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1072 | / self.open_elems [INFO] [stdout] 1073 | | .borrow() [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 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `html5ever` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "8024428d8664839aeaf4c39b395170fd078e1669e4a73dba87994b3ec27e06bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8024428d8664839aeaf4c39b395170fd078e1669e4a73dba87994b3ec27e06bf", kill_on_drop: false }` [INFO] [stdout] 8024428d8664839aeaf4c39b395170fd078e1669e4a73dba87994b3ec27e06bf