[INFO] fetching crate niffler 2.6.0... [INFO] checking niffler-2.6.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate niffler 2.6.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate niffler 2.6.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 niffler 2.6.0 [INFO] finished tweaking crates.io crate niffler 2.6.0 [INFO] tweaked toml for crates.io crate niffler 2.6.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 105 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding bytes v0.4.12 (latest: v1.7.1) [INFO] [stderr] Adding clap v2.34.0 (latest: v4.5.16) [INFO] [stderr] Adding criterion v0.3.6 (latest: v0.5.1) [INFO] [stderr] Adding criterion-plot v0.4.5 (latest: v0.5.0) [INFO] [stderr] Adding futures v0.1.31 (latest: v0.3.30) [INFO] [stderr] Adding half v1.8.3 (latest: v2.4.1) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.4.0) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding textwrap v0.11.0 (latest: v0.16.1) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] d838c2319194ad2ef8d7b62400d9e06b885e676180a61f710bc78d4365146cdb [INFO] running `Command { std: "docker" "start" "-a" "d838c2319194ad2ef8d7b62400d9e06b885e676180a61f710bc78d4365146cdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d838c2319194ad2ef8d7b62400d9e06b885e676180a61f710bc78d4365146cdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d838c2319194ad2ef8d7b62400d9e06b885e676180a61f710bc78d4365146cdb", kill_on_drop: false }` [INFO] [stdout] d838c2319194ad2ef8d7b62400d9e06b885e676180a61f710bc78d4365146cdb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 7ff7e34adbcf8a5afdced52d45413953ae2c7e7085c1940fa428781e431694a3 [INFO] running `Command { std: "docker" "start" "-a" "7ff7e34adbcf8a5afdced52d45413953ae2c7e7085c1940fa428781e431694a3", kill_on_drop: false }` [INFO] [stderr] warning: invalid feature `xz2` in required-features of target `lzma`: `xz2` is not present in [features] section [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking plotters-backend v0.3.6 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling liblzma-sys v0.3.7 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking plotters-svg v0.3.6 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Checking plotters v0.3.6 [INFO] [stderr] Checking bgzip v0.3.1 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking liblzma v0.3.4 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking niffler v2.6.0 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/basic/mod.rs:162:16 [INFO] [stdout] | [INFO] [stdout] 159 | path: P, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 160 | ) -> Result<(Box, compression::Format), Error> { [INFO] [stdout] 161 | let readable = io::BufReader::new(std::fs::File::open(path)?); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 162 | get_reader(Box::new(readable)) [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] = 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/basic/mod.rs:192:16 [INFO] [stdout] | [INFO] [stdout] 187 | path: P, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 191 | let writable = io::BufWriter::new(std::fs::File::create(path)?); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 192 | get_writer(Box::new(writable), format, level) [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/basic/compression.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) fn new_gz_encoder<'a>(out: Box, level: Level) -> Result, Error> { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | Ok(Box::new(flate2::write::GzEncoder::new( [INFO] [stdout] | ________________^ [INFO] [stdout] 45 | | out, [INFO] [stdout] 46 | | level.into(), [INFO] [stdout] 47 | | ))) [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/basic/compression.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 51 | inp: Box, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | ) -> Result<(Box, Format), Error> { [INFO] [stdout] 53 | Ok(( [INFO] [stdout] | ________________^ [INFO] [stdout] 54 | | Box::new(flate2::read::MultiGzDecoder::new(inp)), [INFO] [stdout] 55 | | Format::Gzip, [INFO] [stdout] 56 | | )) [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/basic/compression.rs:72:16 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) fn new_bz2_encoder<'a>(out: Box, level: Level) -> Result, Error> { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | Ok(Box::new(bzip2::write::BzEncoder::new( [INFO] [stdout] | ________________^ [INFO] [stdout] 73 | | out, [INFO] [stdout] 74 | | level.into(), [INFO] [stdout] 75 | | ))) [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/basic/compression.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 79 | inp: Box, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | ) -> Result<(Box, Format), Error> { [INFO] [stdout] 81 | Ok(( [INFO] [stdout] | ________________^ [INFO] [stdout] 82 | | Box::new(bzip2::read::MultiBzDecoder::new(inp)), [INFO] [stdout] 83 | | Format::Bzip, [INFO] [stdout] 84 | | )) [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/basic/compression.rs:100:16 [INFO] [stdout] | [INFO] [stdout] 99 | pub(crate) fn new_lzma_encoder<'a>(out: Box, level: Level) -> Result, Error> { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | Ok(Box::new(liblzma::write::XzEncoder::new(out, level.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] --> src/basic/compression.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 104 | inp: Box, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | ) -> Result<(Box, Format), Error> { [INFO] [stdout] 106 | Ok(( [INFO] [stdout] | ________________^ [INFO] [stdout] 107 | | Box::new(liblzma::read::XzDecoder::new(inp)), [INFO] [stdout] 108 | | Format::Lzma, [INFO] [stdout] 109 | | )) [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/basic/compression.rs:125:16 [INFO] [stdout] | [INFO] [stdout] 124 | pub(crate) fn new_zstd_encoder<'a>(out: Box, level: Level) -> Result, Error> { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 125 | Ok(Box::new(zstd::stream::write::Encoder::new( [INFO] [stdout] | ________________^ [INFO] [stdout] 126 | | out, [INFO] [stdout] 127 | | level.into(), [INFO] [stdout] 128 | | )?.auto_finish())) [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/basic/compression.rs:134:16 [INFO] [stdout] | [INFO] [stdout] 132 | inp: Box, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 133 | ) -> Result<(Box, Format), Error> { [INFO] [stdout] 134 | Ok((Box::new(zstd::stream::read::Decoder::new(inp)?), [INFO] [stdout] | ________________^ [INFO] [stdout] 135 | | Format::Zstd, [INFO] [stdout] 136 | | )) [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/seek/mod.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 60 | path: P, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | ) -> Result<(Box, compression::Format), Error> { [INFO] [stdout] 62 | let readable = io::BufReader::new(std::fs::File::open(path)?); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | get_reader(Box::new(readable)) [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/seek/mod.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 70 | path: P, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | let writable = io::BufWriter::new(std::fs::File::create(path)?); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | get_writer(Box::new(writable), format, level) [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/seeksend/mod.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 53 | path: P, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | ) -> Result<(Box, compression::Format), Error> { [INFO] [stdout] 55 | let readable = io::BufReader::new(std::fs::File::open(path)?); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | get_reader(Box::new(readable)) [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/seeksend/mod.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 61 | path: P, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | let writable = io::BufWriter::new(std::fs::File::create(path)?); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | get_writer(Box::new(writable), format, level) [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/send/mod.rs:65:16 [INFO] [stdout] | [INFO] [stdout] 62 | path: P, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | ) -> Result<(Box, compression::Format), Error> { [INFO] [stdout] 64 | let readable = io::BufReader::new(std::fs::File::open(path)?); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | get_reader(Box::new(readable)) [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/send/mod.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 70 | path: P, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | let writable = io::BufWriter::new(std::fs::File::create(path)?); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | get_writer(Box::new(writable), format, level) [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/send/compression.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) fn new_gz_encoder<'a>(out: Box, level: Level) -> Result, Err... [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | Ok(Box::new(flate2::write::GzEncoder::new( [INFO] [stdout] | ________________^ [INFO] [stdout] 44 | | out, [INFO] [stdout] 45 | | level.into(), [INFO] [stdout] 46 | | ))) [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/send/compression.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 50 | inp: Box, [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | ) -> Result<(Box, Format), Error> { [INFO] [stdout] 52 | Ok(( [INFO] [stdout] | ________________^ [INFO] [stdout] 53 | | Box::new(flate2::read::MultiGzDecoder::new(inp)), [INFO] [stdout] 54 | | Format::Gzip, [INFO] [stdout] 55 | | )) [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/send/compression.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn new_bz2_encoder<'a>(out: Box, level: Level) -> Result, Er... [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | Ok(Box::new(bzip2::write::BzEncoder::new( [INFO] [stdout] | ________________^ [INFO] [stdout] 72 | | out, [INFO] [stdout] 73 | | level.into(), [INFO] [stdout] 74 | | ))) [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/send/compression.rs:80:16 [INFO] [stdout] | [INFO] [stdout] 78 | inp: Box, [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | ) -> Result<(Box, Format), Error> { [INFO] [stdout] 80 | Ok(( [INFO] [stdout] | ________________^ [INFO] [stdout] 81 | | Box::new(bzip2::read::BzDecoder::new(inp)), [INFO] [stdout] 82 | | Format::Bzip, [INFO] [stdout] 83 | | )) [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/send/compression.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 98 | pub(crate) fn new_lzma_encoder<'a>(out: Box, level: Level) -> Result, Error> { [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | Ok(Box::new(liblzma::write::XzEncoder::new(out, level.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] --> src/send/compression.rs:105:16 [INFO] [stdout] | [INFO] [stdout] 103 | inp: Box, [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | ) -> Result<(Box, Format), Error> { [INFO] [stdout] 105 | Ok(( [INFO] [stdout] | ________________^ [INFO] [stdout] 106 | | Box::new(liblzma::read::XzDecoder::new(inp)), [INFO] [stdout] 107 | | Format::Lzma, [INFO] [stdout] 108 | | )) [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/send/compression.rs:124:16 [INFO] [stdout] | [INFO] [stdout] 123 | pub(crate) fn new_zstd_encoder<'a>(out: Box, level: Level) -> Result, Er... [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 124 | Ok(Box::new(zstd::stream::write::Encoder::new( [INFO] [stdout] | ________________^ [INFO] [stdout] 125 | | out, [INFO] [stdout] 126 | | level.into(), [INFO] [stdout] 127 | | )?.auto_finish())) [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/send/compression.rs:133:16 [INFO] [stdout] | [INFO] [stdout] 131 | inp: Box, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | ) -> Result<(Box, Format), Error> { [INFO] [stdout] 133 | Ok((Box::new(zstd::stream::read::Decoder::new(inp)?), [INFO] [stdout] | ________________^ [INFO] [stdout] 134 | | Format::Zstd, [INFO] [stdout] 135 | | )) [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/utils.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn get_first_five<'a, T>(mut in_stream: T) -> Result<([u8; 5], T), Error> [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 13 | match in_stream.read_exact(&mut buf) { [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `niffler` (lib) due to 26 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/basic/mod.rs:162:16 [INFO] [stdout] | [INFO] [stdout] 159 | path: P, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 160 | ) -> Result<(Box, compression::Format), Error> { [INFO] [stdout] 161 | let readable = io::BufReader::new(std::fs::File::open(path)?); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 162 | get_reader(Box::new(readable)) [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] = 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/basic/mod.rs:192:16 [INFO] [stdout] | [INFO] [stdout] 187 | path: P, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 191 | let writable = io::BufWriter::new(std::fs::File::create(path)?); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 192 | get_writer(Box::new(writable), format, level) [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/basic/compression.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) fn new_gz_encoder<'a>(out: Box, level: Level) -> Result, Error> { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | Ok(Box::new(flate2::write::GzEncoder::new( [INFO] [stdout] | ________________^ [INFO] [stdout] 45 | | out, [INFO] [stdout] 46 | | level.into(), [INFO] [stdout] 47 | | ))) [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/basic/compression.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 51 | inp: Box, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | ) -> Result<(Box, Format), Error> { [INFO] [stdout] 53 | Ok(( [INFO] [stdout] | ________________^ [INFO] [stdout] 54 | | Box::new(flate2::read::MultiGzDecoder::new(inp)), [INFO] [stdout] 55 | | Format::Gzip, [INFO] [stdout] 56 | | )) [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/basic/compression.rs:72:16 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) fn new_bz2_encoder<'a>(out: Box, level: Level) -> Result, Error> { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | Ok(Box::new(bzip2::write::BzEncoder::new( [INFO] [stdout] | ________________^ [INFO] [stdout] 73 | | out, [INFO] [stdout] 74 | | level.into(), [INFO] [stdout] 75 | | ))) [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/basic/compression.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 79 | inp: Box, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | ) -> Result<(Box, Format), Error> { [INFO] [stdout] 81 | Ok(( [INFO] [stdout] | ________________^ [INFO] [stdout] 82 | | Box::new(bzip2::read::MultiBzDecoder::new(inp)), [INFO] [stdout] 83 | | Format::Bzip, [INFO] [stdout] 84 | | )) [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/basic/compression.rs:100:16 [INFO] [stdout] | [INFO] [stdout] 99 | pub(crate) fn new_lzma_encoder<'a>(out: Box, level: Level) -> Result, Error> { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | Ok(Box::new(liblzma::write::XzEncoder::new(out, level.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] --> src/basic/compression.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 104 | inp: Box, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | ) -> Result<(Box, Format), Error> { [INFO] [stdout] 106 | Ok(( [INFO] [stdout] | ________________^ [INFO] [stdout] 107 | | Box::new(liblzma::read::XzDecoder::new(inp)), [INFO] [stdout] 108 | | Format::Lzma, [INFO] [stdout] 109 | | )) [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/basic/compression.rs:125:16 [INFO] [stdout] | [INFO] [stdout] 124 | pub(crate) fn new_zstd_encoder<'a>(out: Box, level: Level) -> Result, Error> { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 125 | Ok(Box::new(zstd::stream::write::Encoder::new( [INFO] [stdout] | ________________^ [INFO] [stdout] 126 | | out, [INFO] [stdout] 127 | | level.into(), [INFO] [stdout] 128 | | )?.auto_finish())) [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/basic/compression.rs:134:16 [INFO] [stdout] | [INFO] [stdout] 132 | inp: Box, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 133 | ) -> Result<(Box, Format), Error> { [INFO] [stdout] 134 | Ok((Box::new(zstd::stream::read::Decoder::new(inp)?), [INFO] [stdout] | ________________^ [INFO] [stdout] 135 | | Format::Zstd, [INFO] [stdout] 136 | | )) [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/seek/mod.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 60 | path: P, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | ) -> Result<(Box, compression::Format), Error> { [INFO] [stdout] 62 | let readable = io::BufReader::new(std::fs::File::open(path)?); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | get_reader(Box::new(readable)) [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/seek/mod.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 70 | path: P, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | let writable = io::BufWriter::new(std::fs::File::create(path)?); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | get_writer(Box::new(writable), format, level) [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/seeksend/mod.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 53 | path: P, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | ) -> Result<(Box, compression::Format), Error> { [INFO] [stdout] 55 | let readable = io::BufReader::new(std::fs::File::open(path)?); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | get_reader(Box::new(readable)) [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/seeksend/mod.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 61 | path: P, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | let writable = io::BufWriter::new(std::fs::File::create(path)?); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | get_writer(Box::new(writable), format, level) [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/send/mod.rs:65:16 [INFO] [stdout] | [INFO] [stdout] 62 | path: P, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | ) -> Result<(Box, compression::Format), Error> { [INFO] [stdout] 64 | let readable = io::BufReader::new(std::fs::File::open(path)?); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | get_reader(Box::new(readable)) [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/send/mod.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 70 | path: P, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | let writable = io::BufWriter::new(std::fs::File::create(path)?); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | get_writer(Box::new(writable), format, level) [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/send/compression.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) fn new_gz_encoder<'a>(out: Box, level: Level) -> Result, Err... [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | Ok(Box::new(flate2::write::GzEncoder::new( [INFO] [stdout] | ________________^ [INFO] [stdout] 44 | | out, [INFO] [stdout] 45 | | level.into(), [INFO] [stdout] 46 | | ))) [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/send/compression.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 50 | inp: Box, [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | ) -> Result<(Box, Format), Error> { [INFO] [stdout] 52 | Ok(( [INFO] [stdout] | ________________^ [INFO] [stdout] 53 | | Box::new(flate2::read::MultiGzDecoder::new(inp)), [INFO] [stdout] 54 | | Format::Gzip, [INFO] [stdout] 55 | | )) [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/send/compression.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn new_bz2_encoder<'a>(out: Box, level: Level) -> Result, Er... [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | Ok(Box::new(bzip2::write::BzEncoder::new( [INFO] [stdout] | ________________^ [INFO] [stdout] 72 | | out, [INFO] [stdout] 73 | | level.into(), [INFO] [stdout] 74 | | ))) [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/send/compression.rs:80:16 [INFO] [stdout] | [INFO] [stdout] 78 | inp: Box, [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | ) -> Result<(Box, Format), Error> { [INFO] [stdout] 80 | Ok(( [INFO] [stdout] | ________________^ [INFO] [stdout] 81 | | Box::new(bzip2::read::BzDecoder::new(inp)), [INFO] [stdout] 82 | | Format::Bzip, [INFO] [stdout] 83 | | )) [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/send/compression.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 98 | pub(crate) fn new_lzma_encoder<'a>(out: Box, level: Level) -> Result, Error> { [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | Ok(Box::new(liblzma::write::XzEncoder::new(out, level.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] --> src/send/compression.rs:105:16 [INFO] [stdout] | [INFO] [stdout] 103 | inp: Box, [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | ) -> Result<(Box, Format), Error> { [INFO] [stdout] 105 | Ok(( [INFO] [stdout] | ________________^ [INFO] [stdout] 106 | | Box::new(liblzma::read::XzDecoder::new(inp)), [INFO] [stdout] 107 | | Format::Lzma, [INFO] [stdout] 108 | | )) [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/send/compression.rs:124:16 [INFO] [stdout] | [INFO] [stdout] 123 | pub(crate) fn new_zstd_encoder<'a>(out: Box, level: Level) -> Result, Er... [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 124 | Ok(Box::new(zstd::stream::write::Encoder::new( [INFO] [stdout] | ________________^ [INFO] [stdout] 125 | | out, [INFO] [stdout] 126 | | level.into(), [INFO] [stdout] 127 | | )?.auto_finish())) [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/send/compression.rs:133:16 [INFO] [stdout] | [INFO] [stdout] 131 | inp: Box, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | ) -> Result<(Box, Format), Error> { [INFO] [stdout] 133 | Ok((Box::new(zstd::stream::read::Decoder::new(inp)?), [INFO] [stdout] | ________________^ [INFO] [stdout] 134 | | Format::Zstd, [INFO] [stdout] 135 | | )) [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/utils.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn get_first_five<'a, T>(mut in_stream: T) -> Result<([u8; 5], T), Error> [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 13 | match in_stream.read_exact(&mut buf) { [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `niffler` (lib test) due to 26 previous errors [INFO] running `Command { std: "docker" "inspect" "7ff7e34adbcf8a5afdced52d45413953ae2c7e7085c1940fa428781e431694a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ff7e34adbcf8a5afdced52d45413953ae2c7e7085c1940fa428781e431694a3", kill_on_drop: false }` [INFO] [stdout] 7ff7e34adbcf8a5afdced52d45413953ae2c7e7085c1940fa428781e431694a3