[INFO] fetching crate nmd-core 0.39.0... [INFO] checking nmd-core-0.39.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate nmd-core 0.39.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate nmd-core 0.39.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 nmd-core 0.39.0 [INFO] finished tweaking crates.io crate nmd-core 0.39.0 [INFO] tweaked toml for crates.io crate nmd-core 0.39.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate nmd-core 0.39.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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] b1688605bd92df0760882edab401141b5c35d14f2e203e4d052a17c61e8d70a8 [INFO] running `Command { std: "docker" "start" "-a" "b1688605bd92df0760882edab401141b5c35d14f2e203e4d052a17c61e8d70a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1688605bd92df0760882edab401141b5c35d14f2e203e4d052a17c61e8d70a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1688605bd92df0760882edab401141b5c35d14f2e203e4d052a17c61e8d70a8", kill_on_drop: false }` [INFO] [stdout] b1688605bd92df0760882edab401141b5c35d14f2e203e4d052a17c61e8d70a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 6b9435f3b5bd54eb673d1c4eb169e9919e9a8203343195d6edfde02a70b35a42 [INFO] running `Command { std: "docker" "start" "-a" "6b9435f3b5bd54eb673d1c4eb169e9919e9a8203343195d6edfde02a70b35a42", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.104 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling syn v2.0.69 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Compiling clap_lex v0.7.1 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling clap_builder v4.5.8 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling libdeflate-sys v1.20.0 [INFO] [stderr] Checking tinyvec v1.7.0 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling roff v0.2.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling clap v4.5.8 [INFO] [stderr] Compiling clap_mangen v0.2.22 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Compiling oxipng v9.1.1 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking lockfree-object-pool v0.1.6 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking bytemuck v1.16.1 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking zopfli v0.8.1 [INFO] [stderr] Checking rgb v0.8.40 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking libdeflater v1.20.0 [INFO] [stderr] Checking cfb v0.7.3 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking hyper v0.14.29 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking plotters-backend v0.3.6 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking plotters-svg v0.3.6 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking infer v0.16.0 [INFO] [stderr] Checking simple_logger v4.3.3 [INFO] [stderr] Compiling getset v0.1.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking build_html v2.5.0 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking plotters v0.3.6 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking nmd-core v0.39.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::compiler::compilation_rule::constants::ESCAPE_HTML` [INFO] [stdout] --> src/compiler/compilation_rule/html_image_rule.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::compiler::compilation_rule::constants::ESCAPE_HTML; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utility::text_utility` [INFO] [stdout] --> src/compiler/compilation_rule/html_image_rule.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::utility::text_utility; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CompilableContent` [INFO] [stdout] --> src/compiler/compilation_rule.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | use super::{compilable::{Compilable, CompilableContent}, compilation_configuration::{compilation_configuration_overlay::CompilationConfig... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/compiler.rs:19:117 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::{bibliography::{Bibliography, BIBLIOGRAPHY_FICTITIOUS_DOCUMENT}, dossier::{document::{chapter::heading::{self, Heading}, Chapt... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt::format` and `hash::Hash` [INFO] [stdout] --> src/utility/nmd_unique_identifier.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fmt::format, hash::Hash}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `document::Paragraph` [INFO] [stdout] --> src/utility/nmd_unique_identifier.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::dossier::{document::Paragraph, Document}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::compilation_rule::constants::ESCAPE_HTML` [INFO] [stdout] --> src/compiler/compilation_rule/html_image_rule.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::compiler::compilation_rule::constants::ESCAPE_HTML; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `images`, `documents`, and `styles` are never read [INFO] [stdout] --> src/artifact/artifact_assets.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ArtifactAssets { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 6 | // TODO [INFO] [stdout] 7 | images: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | documents: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | styles: Vec [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArtifactAssets` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CHAPTER_STYLE_PATTERN_REGEX` is never used [INFO] [stdout] --> src/loader.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | static CHAPTER_STYLE_PATTERN_REGEX: Lazy = Lazy::new(|| Regex::new(CHAPTER_STYLE_PATTERN).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load_chapter_style_from_str` is never used [INFO] [stdout] --> src/loader.rs:339:8 [INFO] [stdout] | [INFO] [stdout] 63 | impl Loader { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 339 | fn load_chapter_style_from_str(content: &str, _codex: &Codex, _configuration: &LoaderConfiguration) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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/dossier/document/chapter/chapter_tag.rs:8:59 [INFO] [stdout] | [INFO] [stdout] 8 | static FROM_STR_PATTERN_REGEX: Lazy = Lazy::new(|| Regex::new(r"@(\w+) (.*)").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] = 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/compiler.rs:249:102 [INFO] [stdout] | [INFO] [stdout] 246 | ... let compilation_configuration_overlay = compilation_configuration_overlay.clone(); [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 249 | ... Self::compile_paragraph(paragraph, format, codex, compilation_configuration, Arc::clone(&compilation_configuration_overlay)) [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] warning: unused import: `crate::utility::text_utility` [INFO] [stdout] --> src/compiler/compilation_rule/html_image_rule.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::utility::text_utility; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CompilableContent` [INFO] [stdout] --> src/compiler/compilation_rule.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | use super::{compilable::{Compilable, CompilableContent}, compilation_configuration::{compilation_configuration_overlay::CompilationConfig... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/compiler.rs:19:117 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::{bibliography::{Bibliography, BIBLIOGRAPHY_FICTITIOUS_DOCUMENT}, dossier::{document::{chapter::heading::{self, Heading}, Chapt... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt::format` and `hash::Hash` [INFO] [stdout] --> src/utility/nmd_unique_identifier.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fmt::format, hash::Hash}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ [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/compiler.rs:486:64 [INFO] [stdout] | [INFO] [stdout] 485 | ...at: &OutputFormat, codex: &Codex, compilation_configuration: &CompilationConfiguration, compilation_configuration_overlay: Arc>) -... [INFO] [stdout] | ------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 486 | ...h, ModifiersBucket::None, format, codex, compilation_configuration, compilation_configuration_overlay) [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/compiler.rs:524:146 [INFO] [stdout] | [INFO] [stdout] 524 | ...pile_str_excluding_modifiers(&mutable_part.content(), excluded_modifiers.clone(), format, codex, compilation_configuration, compilatio... [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/compiler.rs:524:216 [INFO] [stdout] | [INFO] [stdout] 524 | ...(), format, codex, compilation_configuration, compilation_configuration_overlay.clone()))?; [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/compiler/compilation_rule/replacement_rule.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn new_fixed(replacer: R) -> Self { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | post_replacing: 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/compiler/compilation_rule/replacement_rule.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new_mutable(replacer: R) -> Self { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | post_replacing: 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/compiler/compilation_rule/replacement_rule.rs:100:35 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn new(searching_pattern: String, replacers: Vec>) -> Self { [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | search_pattern_regex: Regex::new(&searching_pattern).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] warning: unused import: `document::Paragraph` [INFO] [stdout] --> src/utility/nmd_unique_identifier.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::dossier::{document::Paragraph, Document}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [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/compiler/compilation_rule/html_image_rule.rs:29:61 [INFO] [stdout] | [INFO] [stdout] 29 | static ALIGN_ITEM_PATTERN_REGEX: Lazy = Lazy::new(|| Regex::new(ALIGN_ITEM_PATTERN).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/compiler/compilation_rule/html_image_rule.rs:410:150 [INFO] [stdout] | [INFO] [stdout] 408 | ... &CompilationConfiguration, compilation_configuration_overlay: Arc>) -> Result [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/compiler/compilation_rule/html_list_rule.rs:9:59 [INFO] [stdout] | [INFO] [stdout] 9 | static SEARCH_LIST_ITEM_REGEX: Lazy = Lazy::new(|| Regex::new(&StandardParagraphModifier::ListItem.modifier_pattern()).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/compiler/compilation_rule/html_extended_block_quote_rule.rs:9:69 [INFO] [stdout] | [INFO] [stdout] 9 | static CHECK_EXTENDED_BLOCK_QUOTE_REGEX: Lazy = Lazy::new(|| Regex::new(r"(?:^(?m:^> \[!(.*)\]))").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/compiler/compilation_rule/html_table_rule.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | ...Lazy = Lazy::new(|| Regex::new(&format!(r"(?:\[(.*)\])?(?:{})?(?:\{{(.*)\}})?", IDENTIFIER_PATTERN)).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/compiler/compilation_rule/constants.rs:7:62 [INFO] [stdout] | [INFO] [stdout] 7 | pub static DOUBLE_NEW_LINE_REGEX: Lazy = Lazy::new(|| Regex::new(&format!("{}{{2}}", NEW_LINE)).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/loader.rs:30:64 [INFO] [stdout] | [INFO] [stdout] 30 | static CHAPTER_STYLE_PATTERN_REGEX: Lazy = Lazy::new(|| Regex::new(CHAPTER_STYLE_PATTERN).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/loader.rs:31:64 [INFO] [stdout] | [INFO] [stdout] 31 | static FIND_EXTENDED_VERSION_REGEX: Lazy = Lazy::new(|| Regex::new(r"heading-[[:digit:]]+-extended-version").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/loader.rs:32:63 [INFO] [stdout] | [INFO] [stdout] 32 | static FIND_COMPACT_VERSION_REGEX: Lazy = Lazy::new(|| Regex::new(r"heading-[[:digit:]]+-compact-version").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/loader.rs:231:15 [INFO] [stdout] | [INFO] [stdout] 231 | match Self::load_document_from_str(document_name, &content, codex, configuration) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/codex.rs:467:78 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn of_html(configuration: CodexConfiguration) -> Self { [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | [INFO] [stdout] 100 | let text_rules: HashMap> = HashMap::from([ [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 328 | let paragraph_rules: HashMap> = HashMap::from([ [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 465 | let chapter_rules: HashMap> = HashMap::new(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 466 | [INFO] [stdout] 467 | Self::new(configuration, text_rules, paragraph_rules, chapter_rules, HashMap::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/codex/codex_configuration.rs:54:104 [INFO] [stdout] | [INFO] [stdout] 54 | ...ardTextModifier::ordered().into_iter().map(|m| Box::new(Into::::into(m)) as Box)), [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/codex/codex_configuration.rs:55:114 [INFO] [stdout] | [INFO] [stdout] 55 | ...ragraphModifier::ordered().into_iter().map(|m| Box::new(Into::::into(m)) as Box)), [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/codex/codex_configuration.rs:56:109 [INFO] [stdout] | [INFO] [stdout] 56 | ...ChapterModifier::ordered().into_iter().map(|m| Box::new(Into::::into(m)) as Box)), [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/codex/modifier/modifiers_bucket.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 25 | fn add(self, new_modifiers_excluded: Self) -> Self::Output { [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] 26 | match new_modifiers_excluded.clone() { [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/codex/modifier/base_modifier.rs:17:37 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(identifier: ModifierIdentifier, modifier_pattern: ModifierPattern, incompatible_modifiers: ModifiersBucket) -> Self { [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | Self { [INFO] [stdout] 17 | modifier_pattern_regex: Regex::new(&modifier_pattern).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/resource/dynamic_resource.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 17 | let resource = ImageResource::from_str(s); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | let resource = DiskResource::from_str(s); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | let resource = RemoteResource::from_str(s); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | Err(ResourceError::InvalidResource) [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/resource/resource_reference.rs:9:63 [INFO] [stdout] | [INFO] [stdout] 9 | static OF_INTERNAL_RESOURCE_REGEX: 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: aborting due to 26 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nmd-core` (lib) due to 27 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `images`, `documents`, and `styles` are never read [INFO] [stdout] --> src/artifact/artifact_assets.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ArtifactAssets { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 6 | // TODO [INFO] [stdout] 7 | images: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | documents: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | styles: Vec [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArtifactAssets` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CHAPTER_STYLE_PATTERN_REGEX` is never used [INFO] [stdout] --> src/loader.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | static CHAPTER_STYLE_PATTERN_REGEX: Lazy = Lazy::new(|| Regex::new(CHAPTER_STYLE_PATTERN).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load_chapter_style_from_str` is never used [INFO] [stdout] --> src/loader.rs:339:8 [INFO] [stdout] | [INFO] [stdout] 63 | impl Loader { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 339 | fn load_chapter_style_from_str(content: &str, _codex: &Codex, _configuration: &LoaderConfiguration) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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/dossier/document/chapter/chapter_tag.rs:8:59 [INFO] [stdout] | [INFO] [stdout] 8 | static FROM_STR_PATTERN_REGEX: Lazy = Lazy::new(|| Regex::new(r"@(\w+) (.*)").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] = 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/compiler.rs:249:102 [INFO] [stdout] | [INFO] [stdout] 246 | ... let compilation_configuration_overlay = compilation_configuration_overlay.clone(); [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 249 | ... Self::compile_paragraph(paragraph, format, codex, compilation_configuration, Arc::clone(&compilation_configuration_overlay)) [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/compiler.rs:486:64 [INFO] [stdout] | [INFO] [stdout] 485 | ...at: &OutputFormat, codex: &Codex, compilation_configuration: &CompilationConfiguration, compilation_configuration_overlay: Arc>) -... [INFO] [stdout] | ------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 486 | ...h, ModifiersBucket::None, format, codex, compilation_configuration, compilation_configuration_overlay) [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/compiler.rs:524:146 [INFO] [stdout] | [INFO] [stdout] 524 | ...pile_str_excluding_modifiers(&mutable_part.content(), excluded_modifiers.clone(), format, codex, compilation_configuration, compilatio... [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/compiler.rs:524:216 [INFO] [stdout] | [INFO] [stdout] 524 | ...(), format, codex, compilation_configuration, compilation_configuration_overlay.clone()))?; [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/compiler/compilation_rule/replacement_rule.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn new_fixed(replacer: R) -> Self { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | post_replacing: 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/compiler/compilation_rule/replacement_rule.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new_mutable(replacer: R) -> Self { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | post_replacing: 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/compiler/compilation_rule/replacement_rule.rs:100:35 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn new(searching_pattern: String, replacers: Vec>) -> Self { [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | search_pattern_regex: Regex::new(&searching_pattern).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/compiler/compilation_rule/html_image_rule.rs:29:61 [INFO] [stdout] | [INFO] [stdout] 29 | static ALIGN_ITEM_PATTERN_REGEX: Lazy = Lazy::new(|| Regex::new(ALIGN_ITEM_PATTERN).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/compiler/compilation_rule/html_image_rule.rs:410:150 [INFO] [stdout] | [INFO] [stdout] 408 | ... &CompilationConfiguration, compilation_configuration_overlay: Arc>) -> Result [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/compiler/compilation_rule/html_list_rule.rs:9:59 [INFO] [stdout] | [INFO] [stdout] 9 | static SEARCH_LIST_ITEM_REGEX: Lazy = Lazy::new(|| Regex::new(&StandardParagraphModifier::ListItem.modifier_pattern()).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/compiler/compilation_rule/html_extended_block_quote_rule.rs:9:69 [INFO] [stdout] | [INFO] [stdout] 9 | static CHECK_EXTENDED_BLOCK_QUOTE_REGEX: Lazy = Lazy::new(|| Regex::new(r"(?:^(?m:^> \[!(.*)\]))").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/compiler/compilation_rule/html_table_rule.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | ...Lazy = Lazy::new(|| Regex::new(&format!(r"(?:\[(.*)\])?(?:{})?(?:\{{(.*)\}})?", IDENTIFIER_PATTERN)).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/compiler/compilation_rule/constants.rs:7:62 [INFO] [stdout] | [INFO] [stdout] 7 | pub static DOUBLE_NEW_LINE_REGEX: Lazy = Lazy::new(|| Regex::new(&format!("{}{{2}}", NEW_LINE)).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/loader.rs:30:64 [INFO] [stdout] | [INFO] [stdout] 30 | static CHAPTER_STYLE_PATTERN_REGEX: Lazy = Lazy::new(|| Regex::new(CHAPTER_STYLE_PATTERN).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/loader.rs:31:64 [INFO] [stdout] | [INFO] [stdout] 31 | static FIND_EXTENDED_VERSION_REGEX: Lazy = Lazy::new(|| Regex::new(r"heading-[[:digit:]]+-extended-version").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/loader.rs:32:63 [INFO] [stdout] | [INFO] [stdout] 32 | static FIND_COMPACT_VERSION_REGEX: Lazy = Lazy::new(|| Regex::new(r"heading-[[:digit:]]+-compact-version").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/loader.rs:231:15 [INFO] [stdout] | [INFO] [stdout] 231 | match Self::load_document_from_str(document_name, &content, codex, configuration) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/codex.rs:467:78 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn of_html(configuration: CodexConfiguration) -> Self { [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | [INFO] [stdout] 100 | let text_rules: HashMap> = HashMap::from([ [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 328 | let paragraph_rules: HashMap> = HashMap::from([ [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 465 | let chapter_rules: HashMap> = HashMap::new(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 466 | [INFO] [stdout] 467 | Self::new(configuration, text_rules, paragraph_rules, chapter_rules, HashMap::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/codex/codex_configuration.rs:54:104 [INFO] [stdout] | [INFO] [stdout] 54 | ...ardTextModifier::ordered().into_iter().map(|m| Box::new(Into::::into(m)) as Box)), [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/codex/codex_configuration.rs:55:114 [INFO] [stdout] | [INFO] [stdout] 55 | ...ragraphModifier::ordered().into_iter().map(|m| Box::new(Into::::into(m)) as Box)), [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/codex/codex_configuration.rs:56:109 [INFO] [stdout] | [INFO] [stdout] 56 | ...ChapterModifier::ordered().into_iter().map(|m| Box::new(Into::::into(m)) as Box)), [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/codex/modifier/modifiers_bucket.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 25 | fn add(self, new_modifiers_excluded: Self) -> Self::Output { [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] 26 | match new_modifiers_excluded.clone() { [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/codex/modifier/base_modifier.rs:17:37 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(identifier: ModifierIdentifier, modifier_pattern: ModifierPattern, incompatible_modifiers: ModifiersBucket) -> Self { [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | Self { [INFO] [stdout] 17 | modifier_pattern_regex: Regex::new(&modifier_pattern).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/resource/dynamic_resource.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 17 | let resource = ImageResource::from_str(s); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | let resource = DiskResource::from_str(s); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | let resource = RemoteResource::from_str(s); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | Err(ResourceError::InvalidResource) [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/resource/resource_reference.rs:9:63 [INFO] [stdout] | [INFO] [stdout] 9 | static OF_INTERNAL_RESOURCE_REGEX: 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: aborting due to 26 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nmd-core` (lib test) due to 27 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6b9435f3b5bd54eb673d1c4eb169e9919e9a8203343195d6edfde02a70b35a42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b9435f3b5bd54eb673d1c4eb169e9919e9a8203343195d6edfde02a70b35a42", kill_on_drop: false }` [INFO] [stdout] 6b9435f3b5bd54eb673d1c4eb169e9919e9a8203343195d6edfde02a70b35a42