[INFO] fetching crate html5tokenizer 0.5.2... [INFO] checking html5tokenizer-0.5.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate html5tokenizer 0.5.2 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate html5tokenizer 0.5.2 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 html5tokenizer 0.5.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate html5tokenizer 0.5.2 [INFO] tweaked toml for crates.io crate html5tokenizer 0.5.2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate html5tokenizer 0.5.2 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] [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-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4bc75da934f294630156f08a183692e18b7f84f20bc34d56fb58364ccd2b83e4 [INFO] running `Command { std: "docker" "start" "-a" "4bc75da934f294630156f08a183692e18b7f84f20bc34d56fb58364ccd2b83e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4bc75da934f294630156f08a183692e18b7f84f20bc34d56fb58364ccd2b83e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bc75da934f294630156f08a183692e18b7f84f20bc34d56fb58364ccd2b83e4", kill_on_drop: false }` [INFO] [stdout] 4bc75da934f294630156f08a183692e18b7f84f20bc34d56fb58364ccd2b83e4 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83c6e95debcfd01ed3ffd717f122a859e2616a372d53fb9733e947ac64e7253d [INFO] running `Command { std: "docker" "start" "-a" "83c6e95debcfd01ed3ffd717f122a859e2616a372d53fb9733e947ac64e7253d", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking html5tokenizer v0.5.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking walkdir v2.3.3 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stdout] warning: cannot find macro `file_url` in this scope [INFO] [stdout] --> src/lib.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | #![doc = concat!("[`examples/spans.rs`]: ", file_url!("examples/spans.rs"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #124535 [INFO] [stdout] = help: import `macro_rules` with `use` to make it callable above its definition [INFO] [stdout] = note: `#[warn(out_of_scope_macro_calls)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find macro `file_url` in this scope [INFO] [stdout] --> src/lib.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | #![doc = concat!("[changelog]: ", file_url!("CHANGELOG.md"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #124535 [INFO] [stdout] = help: import `macro_rules` with `use` to make it callable above its definition [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find macro `file_url` in this scope [INFO] [stdout] --> src/lib.rs:7:42 [INFO] [stdout] | [INFO] [stdout] 7 | #![doc = concat!("[the LICENSE file]: ", file_url!("LICENSE"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #124535 [INFO] [stdout] = help: import `macro_rules` with `use` to make it callable above its definition [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking similar v2.2.1 [INFO] [stderr] Checking similar-asserts v1.5.0 [INFO] [stderr] Checking insta v1.31.0 [INFO] [stdout] warning: cannot find macro `file_url` in this scope [INFO] [stdout] --> src/lib.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | #![doc = concat!("[`examples/spans.rs`]: ", file_url!("examples/spans.rs"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #124535 [INFO] [stdout] = help: import `macro_rules` with `use` to make it callable above its definition [INFO] [stdout] = note: `#[warn(out_of_scope_macro_calls)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find macro `file_url` in this scope [INFO] [stdout] --> src/lib.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | #![doc = concat!("[changelog]: ", file_url!("CHANGELOG.md"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #124535 [INFO] [stdout] = help: import `macro_rules` with `use` to make it callable above its definition [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find macro `file_url` in this scope [INFO] [stdout] --> src/lib.rs:7:42 [INFO] [stdout] | [INFO] [stdout] 7 | #![doc = concat!("[the LICENSE file]: ", file_url!("LICENSE"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #124535 [INFO] [stdout] = help: import `macro_rules` with `use` to make it callable above its definition [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/tokenizer.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new<'a>(reader: impl IntoReader<'a, Reader = R>, emitter: E) -> Self { [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] 44 | Tokenizer { [INFO] [stdout] 45 | machine: machine::Machine::new(reader.into_reader(), emitter), [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/offset.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn new<'a>(into_reader: impl IntoReader<'a, Reader = R>) -> Self { [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | Self { [INFO] [stdout] 63 | reader: into_reader.into_reader(), [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/reader.rs:169:20 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn new(reader: R) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 169 | error: None, [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/token.rs:256:20 [INFO] [stdout] | [INFO] [stdout] 254 | fn from_iter>(iter: T) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 255 | Self { [INFO] [stdout] 256 | inner: iter [INFO] [stdout] | ____________________^ [INFO] [stdout] 257 | | .into_iter() [INFO] [stdout] 258 | | .map(|(name, value)| { [INFO] [stdout] 259 | | ( [INFO] [stdout] ... | [INFO] [stdout] 265 | | ) [INFO] [stdout] 266 | | }) [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 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `html5tokenizer` (lib) due to 5 previous errors; 3 warnings emitted [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] --> src/tokenizer.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new<'a>(reader: impl IntoReader<'a, Reader = R>, emitter: E) -> Self { [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] 44 | Tokenizer { [INFO] [stdout] 45 | machine: machine::Machine::new(reader.into_reader(), emitter), [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/offset.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn new<'a>(into_reader: impl IntoReader<'a, Reader = R>) -> Self { [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | Self { [INFO] [stdout] 63 | reader: into_reader.into_reader(), [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/reader.rs:169:20 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn new(reader: R) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 169 | error: None, [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/token.rs:256:20 [INFO] [stdout] | [INFO] [stdout] 254 | fn from_iter>(iter: T) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 255 | Self { [INFO] [stdout] 256 | inner: iter [INFO] [stdout] | ____________________^ [INFO] [stdout] 257 | | .into_iter() [INFO] [stdout] 258 | | .map(|(name, value)| { [INFO] [stdout] 259 | | ( [INFO] [stdout] ... | [INFO] [stdout] 265 | | ) [INFO] [stdout] 266 | | }) [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 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `html5tokenizer` (lib test) due to 5 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "83c6e95debcfd01ed3ffd717f122a859e2616a372d53fb9733e947ac64e7253d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83c6e95debcfd01ed3ffd717f122a859e2616a372d53fb9733e947ac64e7253d", kill_on_drop: false }` [INFO] [stdout] 83c6e95debcfd01ed3ffd717f122a859e2616a372d53fb9733e947ac64e7253d