[INFO] cloning repository https://github.com/bash/md [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bash/md" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbash%2Fmd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbash%2Fmd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b170cba5df5fed58106d6704cc5165cbeeba3951 [INFO] checking bash/md/b170cba5df5fed58106d6704cc5165cbeeba3951 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbash%2Fmd" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bash/md 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 git repo https://github.com/bash/md [INFO] finished tweaking git repo https://github.com/bash/md [INFO] tweaked toml for git repo https://github.com/bash/md written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/bash/md 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 36fc2e58b3ce4bc2420a7f6632e1bfa61c7058bbd7feb07d96a64440936af904 [INFO] running `Command { std: "docker" "start" "-a" "36fc2e58b3ce4bc2420a7f6632e1bfa61c7058bbd7feb07d96a64440936af904", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36fc2e58b3ce4bc2420a7f6632e1bfa61c7058bbd7feb07d96a64440936af904", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36fc2e58b3ce4bc2420a7f6632e1bfa61c7058bbd7feb07d96a64440936af904", kill_on_drop: false }` [INFO] [stdout] 36fc2e58b3ce4bc2420a7f6632e1bfa61c7058bbd7feb07d96a64440936af904 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c07b0c9fcb45ae5db20e5731b694166c1c202d63852fdc9f27af1c0722141411 [INFO] running `Command { std: "docker" "start" "-a" "c07b0c9fcb45ae5db20e5731b694166c1c202d63852fdc9f27af1c0722141411", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking unicode-width v0.1.12 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Checking miniz_oxide v0.7.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling bat v0.24.0 [INFO] [stderr] Compiling bytemuck v1.16.0 [INFO] [stderr] Compiling line-wrap v0.2.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling rgb v0.8.37 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling bstr v1.9.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling std_prelude v0.2.12 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling path_abs v0.5.1 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling ansi_colours v1.2.2 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling content_inspector v0.2.4 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling nu-ansi-term v0.49.0 [INFO] [stderr] Compiling bytesize v1.3.0 [INFO] [stderr] Compiling globset v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Compiling onig v6.4.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling pulldown-cmark v0.11.0 [INFO] [stderr] Checking winnow v0.6.9 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking pulldown-cmark-escape v0.11.0 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Compiling backtrace v0.3.72 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking hostname v0.4.0 [INFO] [stderr] Checking gimli v0.29.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking fmtastic v0.2.1 (https://github.com/bash/fmtastic.git#fb3ecc1f) [INFO] [stderr] Checking unicode-linebreak-chunked v0.1.0 (https://github.com/bash/unicode-linebreak-chunked.git?branch=tables#e5fe4073) [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking object v0.35.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking similar v2.5.0 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Compiling trait-set v0.3.0 [INFO] [stderr] Checking insta v1.39.0 [INFO] [stderr] Checking addr2line v0.22.0 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling plist v1.6.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling clircle v0.4.0 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking os_info v3.8.2 [INFO] [stderr] Checking toml_edit v0.22.14 [INFO] [stderr] Checking syntect v5.2.0 [INFO] [stderr] Checking toml v0.8.14 [INFO] [stderr] Checking human-panic v2.0.0 [INFO] [stderr] Compiling matte-language-names v0.1.0 (/opt/rustwide/workdir/crates/matte-language-names) [INFO] [stderr] Checking matte v0.1.0 (/opt/rustwide/workdir/crates/matte) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/matte/src/block/mod.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | Heading(HeadingLevel), [INFO] [stdout] | ------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BlockKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 | Heading(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `current_block` is never used [INFO] [stdout] --> crates/matte/src/context.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 83 | impl<'a, 'e> Context<'a, 'e, '_> { [INFO] [stdout] | -------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub(crate) fn current_block(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `alignments` is never read [INFO] [stdout] --> crates/matte/src/render/table.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) struct Table { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 7 | pub(crate) alignments: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `margin_size` is never used [INFO] [stdout] --> crates/matte/src/themes/mod.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) trait ThemeProvider: fmt::Debug { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] 30 | fn margin_size(&self, a: &BlockKind, b: &BlockKind, ctx: &Context<'_, '_, '_>) -> usize; [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] --> crates/matte/src/block/mod.rs:70:53 [INFO] [stdout] | [INFO] [stdout] 68 | let mut events = events.lookahead(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | block.is_blank(ctx) [INFO] [stdout] 70 | || (has_start_and_end_tag(kind) && matches!(events.next(), Some(Event::End(_)))) [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] --> crates/matte/src/block/event.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 23 | event: Event<'e>, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | Ok(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] --> crates/matte/src/block_quote/mod.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 73 | inlines: impl IntoIterator>, [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | let ctx = ctx.block(Prefix::continued(" ― "), Style::new()); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | w.inline_writer(&ctx).write_all(inlines) [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] --> crates/matte/src/block_quote/author.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 44 | event: Event<'e>, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | / try_into_inlines(event, ctx) [INFO] [stdout] 48 | | .map(|inline| buf.extend(inline)) [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] --> crates/matte/src/context.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 46 | pub(crate) fn new(options: Options) -> Self { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | footnotes: Footnotes::default(), [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] --> crates/matte/src/footnotes.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) fn push(&self, reference: &str, event: Event<'e>) { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | self.0.borrow_mut().push(reference, event) [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] --> crates/matte/src/heading/mod.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 24 | let prefix = ctx.theme().heading_prefix(self.level, ctx); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | let ctx = ctx.block(prefix, style); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | [INFO] [stdout] 27 | let writer = w.inline_writer(&ctx); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | writer.write_all( [INFO] [stdout] 29 | / terminated!(events, Event::End(TagEnd::Heading(..))) [INFO] [stdout] 30 | | .flat_map(|event| into_inlines(event, &ctx)), [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] --> crates/matte/src/inline/event.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) fn into_inlines<'a>(event: Event<'a>, ctx: &Context<'_, 'a, '_>) -> Inlines<'a> { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | try_into_inlines(event, ctx).unwrap_or_else(|event| panic!("Unhandled event {event:#?}")) [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] --> crates/matte/src/inline/hyperlink.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 15 | pub(super) fn new(url: Url, id: impl Into>) -> 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] 16 | Self { url, id: id.into() } [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] --> crates/matte/src/inline/writer.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 39 | write_prefix: F, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | chunk_layouter: ChunkLayouter::new(max_width), [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] --> crates/matte/src/inline/writer.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 39 | write_prefix: F, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | state: WriterState { [INFO] [stdout] | ____________________^ [INFO] [stdout] 44 | | style_stack: StyleStack::new(default_style), [INFO] [stdout] 45 | | link: None, [INFO] [stdout] 46 | | link_id: 0, [INFO] [stdout] 47 | | writer, [INFO] [stdout] 48 | | write_prefix, [INFO] [stdout] 49 | | }, [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] --> crates/matte/src/inline/writer.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 71 | inlines: impl IntoIterator>, [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | ) -> io::Result<()> { [INFO] [stdout] 73 | inlines.into_iter().try_for_each(|i| self.write(i)) [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] --> crates/matte/src/list/item.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 51 | first_event: Option>, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | let mut writer = w.inline_writer(ctx); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | Ok(ListItemState::Complete) [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] --> crates/matte/src/list/item.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 79 | first_event: Event<'e>, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | Ok(ListItemState::Complete) [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] --> crates/matte/src/lookahead.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) fn new(inner: I) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 25 | buffer: VecDeque::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] --> crates/matte/src/lookahead.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 85 | fn commit(mut self) -> impl Iterator { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | let buffer = mem::take(&mut self.buffer); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | buffer.into_iter().flatten() [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] --> crates/matte/src/prefix.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn uniform(value: impl Into>) -> Self { [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | Self { [INFO] [stdout] 27 | first: RefCell::new(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] --> crates/matte/src/prefix.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn uniform(value: impl Into>) -> Self { [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | rest: DisplayWidth::from(value.into()), [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] --> crates/matte/src/prefix.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) fn continued(value: impl Into>) -> Self { [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let value = value.into(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | let repeated = " ".repeat(value.0.width()); [INFO] [stdout] 37 | Self::uniform(StyledStr(repeated.into(), value.1)).with_first_special(value) [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] --> crates/matte/src/render/paragraph.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 18 | let writer = w.inline_writer(ctx); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | writer.write_all( [INFO] [stdout] 20 | / terminated!(events, Event::End(TagEnd::Paragraph)) [INFO] [stdout] 21 | | .flat_map(|event| into_inlines(event, ctx)), [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] --> crates/matte/src/style/str.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) fn new(s: impl Into>, style: Style) -> Self { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | Self(s.into(), style) [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] --> crates/matte/src/syntax_highlighting.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 18 | let assets = HighlightingAssets::from_binary(); // TODO: re-use [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | let config = bat_config(options, &assets); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | let controller = BatController::new(&config, &assets); [INFO] [stdout] 21 | let inputs = vec![Input::from_reader(Box::new(code.as_bytes()))]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | let mut output = String::new(); [INFO] [stdout] 23 | / controller [INFO] [stdout] 24 | | .run_with_error_handler(inputs, Some(&mut output), |e, _w| _ = dbg!(e)) [INFO] [stdout] 25 | | .inspect_err(|e| _ = dbg!(e)) [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] --> crates/matte/src/textwrap/mod.rs:167:43 [INFO] [stdout] | [INFO] [stdout] 167 | buffer.drain().try_for_each(|chunk| f(chunk.into()))?; [INFO] [stdout] | ----- ^^^^^^^^^^^^ [INFO] [stdout] | | [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: aborting due to 23 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `matte` (lib) due to 24 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/matte/src/block/mod.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | Heading(HeadingLevel), [INFO] [stdout] | ------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BlockKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 | Heading(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `current_block` is never used [INFO] [stdout] --> crates/matte/src/context.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 83 | impl<'a, 'e> Context<'a, 'e, '_> { [INFO] [stdout] | -------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub(crate) fn current_block(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `alignments` is never read [INFO] [stdout] --> crates/matte/src/render/table.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) struct Table { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 7 | pub(crate) alignments: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `margin_size` is never used [INFO] [stdout] --> crates/matte/src/themes/mod.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) trait ThemeProvider: fmt::Debug { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] 30 | fn margin_size(&self, a: &BlockKind, b: &BlockKind, ctx: &Context<'_, '_, '_>) -> usize; [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] --> crates/matte/src/block/mod.rs:70:53 [INFO] [stdout] | [INFO] [stdout] 68 | let mut events = events.lookahead(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | block.is_blank(ctx) [INFO] [stdout] 70 | || (has_start_and_end_tag(kind) && matches!(events.next(), Some(Event::End(_)))) [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] --> crates/matte/src/block/event.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 23 | event: Event<'e>, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | Ok(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] --> crates/matte/src/block_quote/mod.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 73 | inlines: impl IntoIterator>, [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | let ctx = ctx.block(Prefix::continued(" ― "), Style::new()); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | w.inline_writer(&ctx).write_all(inlines) [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] --> crates/matte/src/block_quote/author.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 44 | event: Event<'e>, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | / try_into_inlines(event, ctx) [INFO] [stdout] 48 | | .map(|inline| buf.extend(inline)) [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] --> crates/matte/src/context.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 46 | pub(crate) fn new(options: Options) -> Self { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | footnotes: Footnotes::default(), [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] --> crates/matte/src/footnotes.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) fn push(&self, reference: &str, event: Event<'e>) { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | self.0.borrow_mut().push(reference, event) [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] --> crates/matte/src/heading/mod.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 24 | let prefix = ctx.theme().heading_prefix(self.level, ctx); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | let ctx = ctx.block(prefix, style); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | [INFO] [stdout] 27 | let writer = w.inline_writer(&ctx); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | writer.write_all( [INFO] [stdout] 29 | / terminated!(events, Event::End(TagEnd::Heading(..))) [INFO] [stdout] 30 | | .flat_map(|event| into_inlines(event, &ctx)), [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] --> crates/matte/src/inline/event.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) fn into_inlines<'a>(event: Event<'a>, ctx: &Context<'_, 'a, '_>) -> Inlines<'a> { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | try_into_inlines(event, ctx).unwrap_or_else(|event| panic!("Unhandled event {event:#?}")) [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] --> crates/matte/src/inline/hyperlink.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 15 | pub(super) fn new(url: Url, id: impl Into>) -> 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] 16 | Self { url, id: id.into() } [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] --> crates/matte/src/inline/writer.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 39 | write_prefix: F, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | chunk_layouter: ChunkLayouter::new(max_width), [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] --> crates/matte/src/inline/writer.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 39 | write_prefix: F, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | state: WriterState { [INFO] [stdout] | ____________________^ [INFO] [stdout] 44 | | style_stack: StyleStack::new(default_style), [INFO] [stdout] 45 | | link: None, [INFO] [stdout] 46 | | link_id: 0, [INFO] [stdout] 47 | | writer, [INFO] [stdout] 48 | | write_prefix, [INFO] [stdout] 49 | | }, [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] --> crates/matte/src/inline/writer.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 71 | inlines: impl IntoIterator>, [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | ) -> io::Result<()> { [INFO] [stdout] 73 | inlines.into_iter().try_for_each(|i| self.write(i)) [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] --> crates/matte/src/list/item.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 51 | first_event: Option>, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | let mut writer = w.inline_writer(ctx); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | Ok(ListItemState::Complete) [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] --> crates/matte/src/list/item.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 79 | first_event: Event<'e>, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | Ok(ListItemState::Complete) [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] --> crates/matte/src/lookahead.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) fn new(inner: I) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 25 | buffer: VecDeque::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] --> crates/matte/src/lookahead.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 85 | fn commit(mut self) -> impl Iterator { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | let buffer = mem::take(&mut self.buffer); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | buffer.into_iter().flatten() [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] --> crates/matte/src/prefix.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn uniform(value: impl Into>) -> Self { [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | Self { [INFO] [stdout] 27 | first: RefCell::new(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] --> crates/matte/src/prefix.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn uniform(value: impl Into>) -> Self { [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | rest: DisplayWidth::from(value.into()), [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] --> crates/matte/src/prefix.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) fn continued(value: impl Into>) -> Self { [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let value = value.into(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | let repeated = " ".repeat(value.0.width()); [INFO] [stdout] 37 | Self::uniform(StyledStr(repeated.into(), value.1)).with_first_special(value) [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] --> crates/matte/src/render/paragraph.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 18 | let writer = w.inline_writer(ctx); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | writer.write_all( [INFO] [stdout] 20 | / terminated!(events, Event::End(TagEnd::Paragraph)) [INFO] [stdout] 21 | | .flat_map(|event| into_inlines(event, ctx)), [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] --> crates/matte/src/style/str.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) fn new(s: impl Into>, style: Style) -> Self { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | Self(s.into(), style) [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] --> crates/matte/src/syntax_highlighting.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 18 | let assets = HighlightingAssets::from_binary(); // TODO: re-use [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | let config = bat_config(options, &assets); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | let controller = BatController::new(&config, &assets); [INFO] [stdout] 21 | let inputs = vec![Input::from_reader(Box::new(code.as_bytes()))]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | let mut output = String::new(); [INFO] [stdout] 23 | / controller [INFO] [stdout] 24 | | .run_with_error_handler(inputs, Some(&mut output), |e, _w| _ = dbg!(e)) [INFO] [stdout] 25 | | .inspect_err(|e| _ = dbg!(e)) [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] --> crates/matte/src/textwrap/mod.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) fn text(s: impl Into>) -> Self { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | Chunk::Text(DisplayWidth::from(s.into())) [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] --> crates/matte/src/textwrap/mod.rs:167:43 [INFO] [stdout] | [INFO] [stdout] 167 | buffer.drain().try_for_each(|chunk| f(chunk.into()))?; [INFO] [stdout] | ----- ^^^^^^^^^^^^ [INFO] [stdout] | | [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] --> crates/matte/src/textwrap/fragment.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 106 | s: CowStr<'a>, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 109 | l.fragments(s).map(|f| match f { [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 25 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `matte` (lib test) due to 26 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c07b0c9fcb45ae5db20e5731b694166c1c202d63852fdc9f27af1c0722141411", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c07b0c9fcb45ae5db20e5731b694166c1c202d63852fdc9f27af1c0722141411", kill_on_drop: false }` [INFO] [stdout] c07b0c9fcb45ae5db20e5731b694166c1c202d63852fdc9f27af1c0722141411