[INFO] fetching crate render_readme 0.12.0... [INFO] checking render_readme-0.12.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate render_readme 0.12.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate render_readme 0.12.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 render_readme 0.12.0 [INFO] finished tweaking crates.io crate render_readme 0.12.0 [INFO] tweaked toml for crates.io crate render_readme 0.12.0 written to /workspace/builds/worker-3-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 128 packages to latest compatible versions [INFO] [stderr] Adding bit-set v0.5.3 (latest: v0.8.0) [INFO] [stderr] Adding bit-vec v0.6.3 (latest: v0.8.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding comrak v0.26.0 (latest: v0.27.0) [INFO] [stderr] Adding deunicode v0.4.5 (latest: v1.6.0) [INFO] [stderr] Adding fancy-regex v0.11.0 (latest: v0.13.0) [INFO] [stderr] Adding html5ever v0.27.0 (latest: v0.28.0) [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.2) [INFO] [stderr] Adding markup5ever v0.12.1 (latest: v0.13.0) [INFO] [stderr] Adding phf_generator v0.10.0 (latest: v0.11.2) [INFO] [stderr] Adding phf_shared v0.10.0 (latest: v0.11.2) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding remove_dir_all v0.5.3 (latest: v0.8.3) [INFO] [stderr] Adding siphasher v0.3.11 (latest: v1.0.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 18504bf49629a7952b7c922343d92bb96bd1d168b5c999da0aec74344f1f1418 [INFO] running `Command { std: "docker" "start" "-a" "18504bf49629a7952b7c922343d92bb96bd1d168b5c999da0aec74344f1f1418", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18504bf49629a7952b7c922343d92bb96bd1d168b5c999da0aec74344f1f1418", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18504bf49629a7952b7c922343d92bb96bd1d168b5c999da0aec74344f1f1418", kill_on_drop: false }` [INFO] [stdout] 18504bf49629a7952b7c922343d92bb96bd1d168b5c999da0aec74344f1f1418 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 7273ca17799670fae6f241a6716232fb67ea4ed22da2f1cfb4a7cad461ad2dcc [INFO] running `Command { std: "docker" "start" "-a" "7273ca17799670fae6f241a6716232fb67ea4ed22da2f1cfb4a7cad461ad2dcc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking phf_shared v0.10.0 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking deunicode v1.6.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking slug v0.1.6 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Checking entities v1.0.1 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking deunicode v0.4.5 [INFO] [stderr] Checking gh-emoji v1.0.8 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rustc-hash v2.0.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking fancy-regex v0.11.0 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling html5ever v0.28.0 [INFO] [stderr] Compiling html5ever v0.27.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Compiling caseless v0.2.1 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling derive_builder_core v0.20.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling derive_builder_macro v0.20.1 [INFO] [stderr] Checking derive_builder v0.20.1 [INFO] [stderr] Checking comrak v0.26.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Compiling markup5ever v0.13.0 [INFO] [stderr] Compiling markup5ever v0.12.1 [INFO] [stderr] Checking string_cache v0.8.7 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking syntect v5.2.0 [INFO] [stderr] Checking xml5ever v0.19.0 [INFO] [stderr] Checking markup5ever_rcdom v0.4.0-unofficial [INFO] [stderr] Checking ammonia v4.0.0 [INFO] [stderr] Checking render_readme v0.12.0 (/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/highlight.rs:56:47 [INFO] [stdout] | [INFO] [stdout] 56 | ... Lazy::new(|| Regex::new(r#"\.(?:md|py|sh|c|cc|rs|toml|git|cpp|h|html|cmake\.in)$|^[A-Z_]+$|^/?(?:[a-zA-Z0-9_-]+/)+$"#).expect("regex")); [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/highlight.rs:57:46 [INFO] [stdout] | [INFO] [stdout] 57 | static PATH_LIKE: Lazy = Lazy::new(|| Regex::new(r#"^(?:\.\.?|~|\*|\*\*)?/\.?[a-zA-Z]\S+$|^[CD]:[/\\]|\.\*$"#).expect("regex")); [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/highlight.rs:58:46 [INFO] [stdout] | [INFO] [stdout] 58 | static TOML_LIKE: Lazy = Lazy::new(|| Regex::new(r#"^\[[a-z][a-z._-]+\]"#).expect("regex")); [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/highlight.rs:59:44 [INFO] [stdout] | [INFO] [stdout] 59 | ...|| Regex::new(r#"^(?:export [A-Z]|RUSTFLAGS|(?:cargo|make|git|cc|gcc|curl|tar|cd|brew|xcode-select|rustup|rustc|sudo|apt-get|yum) [a-z+-]|--[a-z]|\$[A-Z]|\$ |\.\.?/[a-z])"#).ex... [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/highlight.rs:60:45 [INFO] [stdout] | [INFO] [stdout] 60 | static BAT_LIKE: Lazy = Lazy::new(|| Regex::new(r#"^(?:set [A-Z]|VCPKG|(?:vcpkg|pacman) [a-z+-]|--[a-z])"#).expect("regex")); [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/highlight.rs:61:52 [INFO] [stdout] | [INFO] [stdout] 61 | static HYPHENATED_WORD: Lazy = Lazy::new(|| Regex::new(r#"^[a-z][a-z0-9_]*-[a-zA-Z0-9][a-zA-Z0-9_-]*$"#).expect("regex")); [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/highlight.rs:62:45 [INFO] [stdout] | [INFO] [stdout] 62 | static CMD_HELP: Lazy = Lazy::new(|| Regex::new(r#"^USAGE:|^README|^test result:|\.\.\. bench:"#).expect("regex")); [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/highlight.rs:63:42 [INFO] [stdout] | [INFO] [stdout] 63 | static MACRO: Lazy = Lazy::new(|| Regex::new(r#"^[a-z_]+!$"#).expect("regex")); [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/highlight.rs:64:45 [INFO] [stdout] | [INFO] [stdout] 64 | static XML_HTML: Lazy = Lazy::new(|| Regex::new(r#"^]*)?/?>$"#).expect("regex")); [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/markup.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn new(hilite: Option) -> Self { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | Self::new_filter(hilite, Arc::new(())) [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/markup.rs:297:58 [INFO] [stdout] | [INFO] [stdout] 297 | ...gex> = Lazy::new(|| Regex::new(r#"^\[([^]]+)\]:\s*(#.*|https?://.*|/.*|[a-zA-Z][a-zA-Z0-9_]*::[a-zA-Z0-9_:]*+)$"#).unwrap()); [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/markup.rs:298:59 [INFO] [stdout] | [INFO] [stdout] 298 | static LINK_TO_ANCHOR: Lazy = Lazy::new(|| Regex::new(r#"\[([^]]+)\](?:[^:]|$)"#).unwrap()); [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/markup.rs:416:9 [INFO] [stdout] | [INFO] [stdout] 349 | fn clean_html(&self, unsafe_html: &str, mut am: Builder<'_>, base_url: Option<(&str, &str)>, nofollow: Links, own_crate_name: Option<... [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 416 | am.clean(unsafe_html).to_string() [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/markup.rs:505:46 [INFO] [stdout] | [INFO] [stdout] 505 | static LINKS: Lazy = Lazy::new(|| Regex::new(r#"https?:([^ \[]+)\[([^\]]+)\]"#).unwrap()); [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/markup.rs:506:52 [INFO] [stdout] | [INFO] [stdout] 506 | static LOCAL_LINKS: Lazy = Lazy::new(|| Regex::new(r#"<<([^>]+)>>"#).unwrap()); [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/markup.rs:507:51 [INFO] [stdout] | [INFO] [stdout] 507 | static IMAGE_LINK: Lazy = Lazy::new(|| Regex::new(r#"image:([^]\[ #]+)\[link=([^]\[ ]+)\]"#).unwrap()); [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/markup.rs:508:50 [INFO] [stdout] | [INFO] [stdout] 508 | static IMAGE_ALT: Lazy = Lazy::new(|| Regex::new(r#"image:([^]\[ #]+)\[([^]]*)]"#).unwrap()); [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 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `render_readme` (lib) due to 18 previous errors [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/highlight.rs:56:47 [INFO] [stdout] | [INFO] [stdout] 56 | ... Lazy::new(|| Regex::new(r#"\.(?:md|py|sh|c|cc|rs|toml|git|cpp|h|html|cmake\.in)$|^[A-Z_]+$|^/?(?:[a-zA-Z0-9_-]+/)+$"#).expect("regex")); [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/highlight.rs:57:46 [INFO] [stdout] | [INFO] [stdout] 57 | static PATH_LIKE: Lazy = Lazy::new(|| Regex::new(r#"^(?:\.\.?|~|\*|\*\*)?/\.?[a-zA-Z]\S+$|^[CD]:[/\\]|\.\*$"#).expect("regex")); [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/highlight.rs:58:46 [INFO] [stdout] | [INFO] [stdout] 58 | static TOML_LIKE: Lazy = Lazy::new(|| Regex::new(r#"^\[[a-z][a-z._-]+\]"#).expect("regex")); [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/highlight.rs:59:44 [INFO] [stdout] | [INFO] [stdout] 59 | ...|| Regex::new(r#"^(?:export [A-Z]|RUSTFLAGS|(?:cargo|make|git|cc|gcc|curl|tar|cd|brew|xcode-select|rustup|rustc|sudo|apt-get|yum) [a-z+-]|--[a-z]|\$[A-Z]|\$ |\.\.?/[a-z])"#).ex... [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/highlight.rs:60:45 [INFO] [stdout] | [INFO] [stdout] 60 | static BAT_LIKE: Lazy = Lazy::new(|| Regex::new(r#"^(?:set [A-Z]|VCPKG|(?:vcpkg|pacman) [a-z+-]|--[a-z])"#).expect("regex")); [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/highlight.rs:61:52 [INFO] [stdout] | [INFO] [stdout] 61 | static HYPHENATED_WORD: Lazy = Lazy::new(|| Regex::new(r#"^[a-z][a-z0-9_]*-[a-zA-Z0-9][a-zA-Z0-9_-]*$"#).expect("regex")); [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/highlight.rs:62:45 [INFO] [stdout] | [INFO] [stdout] 62 | static CMD_HELP: Lazy = Lazy::new(|| Regex::new(r#"^USAGE:|^README|^test result:|\.\.\. bench:"#).expect("regex")); [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/highlight.rs:63:42 [INFO] [stdout] | [INFO] [stdout] 63 | static MACRO: Lazy = Lazy::new(|| Regex::new(r#"^[a-z_]+!$"#).expect("regex")); [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/highlight.rs:64:45 [INFO] [stdout] | [INFO] [stdout] 64 | static XML_HTML: Lazy = Lazy::new(|| Regex::new(r#"^]*)?/?>$"#).expect("regex")); [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/highlight.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 141 | let mut dom = RcDom::default(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 142 | let node: SerializableHandle = node_for_string(s, &mut dom, syntax, syntaxes, true).into(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 143 | crate::parser::serialize_node(&node).unwrap() [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/markup.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn new(hilite: Option) -> Self { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | Self::new_filter(hilite, Arc::new(())) [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/markup.rs:297:58 [INFO] [stdout] | [INFO] [stdout] 297 | ...gex> = Lazy::new(|| Regex::new(r#"^\[([^]]+)\]:\s*(#.*|https?://.*|/.*|[a-zA-Z][a-zA-Z0-9_]*::[a-zA-Z0-9_:]*+)$"#).unwrap()); [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/markup.rs:298:59 [INFO] [stdout] | [INFO] [stdout] 298 | static LINK_TO_ANCHOR: Lazy = Lazy::new(|| Regex::new(r#"\[([^]]+)\](?:[^:]|$)"#).unwrap()); [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/markup.rs:416:9 [INFO] [stdout] | [INFO] [stdout] 349 | fn clean_html(&self, unsafe_html: &str, mut am: Builder<'_>, base_url: Option<(&str, &str)>, nofollow: Links, own_crate_name: Option<... [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 416 | am.clean(unsafe_html).to_string() [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/markup.rs:505:46 [INFO] [stdout] | [INFO] [stdout] 505 | static LINKS: Lazy = Lazy::new(|| Regex::new(r#"https?:([^ \[]+)\[([^\]]+)\]"#).unwrap()); [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/markup.rs:506:52 [INFO] [stdout] | [INFO] [stdout] 506 | static LOCAL_LINKS: Lazy = Lazy::new(|| Regex::new(r#"<<([^>]+)>>"#).unwrap()); [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/markup.rs:507:51 [INFO] [stdout] | [INFO] [stdout] 507 | static IMAGE_LINK: Lazy = Lazy::new(|| Regex::new(r#"image:([^]\[ #]+)\[link=([^]\[ ]+)\]"#).unwrap()); [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/markup.rs:508:50 [INFO] [stdout] | [INFO] [stdout] 508 | static IMAGE_ALT: Lazy = Lazy::new(|| Regex::new(r#"image:([^]\[ #]+)\[([^]]*)]"#).unwrap()); [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 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `render_readme` (lib test) due to 19 previous errors [INFO] running `Command { std: "docker" "inspect" "7273ca17799670fae6f241a6716232fb67ea4ed22da2f1cfb4a7cad461ad2dcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7273ca17799670fae6f241a6716232fb67ea4ed22da2f1cfb4a7cad461ad2dcc", kill_on_drop: false }` [INFO] [stdout] 7273ca17799670fae6f241a6716232fb67ea4ed22da2f1cfb4a7cad461ad2dcc