[INFO] fetching crate sevenz-rust 0.6.1... [INFO] checking sevenz-rust-0.6.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate sevenz-rust 0.6.1 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate sevenz-rust 0.6.1 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 sevenz-rust 0.6.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate sevenz-rust 0.6.1 [INFO] tweaked toml for crates.io crate sevenz-rust 0.6.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate sevenz-rust 0.6.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1dbe0e7e991e334a1aaf49e12a94ebb99be2fa1fe09c0df5238ce51fda48ad9b [INFO] running `Command { std: "docker" "start" "-a" "1dbe0e7e991e334a1aaf49e12a94ebb99be2fa1fe09c0df5238ce51fda48ad9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1dbe0e7e991e334a1aaf49e12a94ebb99be2fa1fe09c0df5238ce51fda48ad9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dbe0e7e991e334a1aaf49e12a94ebb99be2fa1fe09c0df5238ce51fda48ad9b", kill_on_drop: false }` [INFO] [stdout] 1dbe0e7e991e334a1aaf49e12a94ebb99be2fa1fe09c0df5238ce51fda48ad9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b89055fe70e13bd3aaf0a49f5e2761d3c37735bfa7f13f16e385cc8e75769c63 [INFO] running `Command { std: "docker" "start" "-a" "b89055fe70e13bd3aaf0a49f5e2761d3c37735bfa7f13f16e385cc8e75769c63", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling rustix v0.38.26 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Checking crc-catalog v2.1.0 [INFO] [stderr] Checking bit-vec v0.7.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking cpufeatures v0.2.5 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Checking deranged v0.3.9 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking getrandom v0.2.9 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking crc v3.0.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking filetime_creation v0.2.0 [INFO] [stderr] Checking bit-set v0.6.0 [INFO] [stderr] Checking lzma-rust v0.1.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking nt-time v0.8.0 [INFO] [stderr] Checking tempfile v3.8.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking sevenz-rust v0.6.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `SeedRead` is never used [INFO] [stdout] --> src/reader.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) trait SeedRead: Read + Seek {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/bcj2/mod.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(inputs: Vec, uncompressed_size: u64) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | / Self { [INFO] [stdout] 40 | | base: Default::default(), [INFO] [stdout] 41 | | inputs, [INFO] [stdout] 42 | | decoder: Bcj2Decoder::new(), [INFO] [stdout] ... | [INFO] [stdout] 45 | | uncompressed_size, [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] = 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/bcj/mod.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 40 | fn new(inner: R, filter: BCJFilter) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | err: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/en_funcs.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn compress(src: impl AsRef, dest: W) -> Result { [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] 14 | let mut z = SevenZWriter::new(dest)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | z.finish().map_err(Error::io) [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/reader.rs:321:13 [INFO] [stdout] | [INFO] [stdout] 321 | Err(Error::other( [INFO] [stdout] | _____________^ [INFO] [stdout] 322 | | "Start header corrupt and unable to guess end header", [INFO] [stdout] 323 | | )) [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] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/reader.rs:430:12 [INFO] [stdout] | [INFO] [stdout] 405 | let mut decoder: Box = Box::new(input_reader); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 406 | let mut decoder = if coder_len > 0 { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 413 | let next = crate::decoders::add_decoder( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 430 | Ok((decoder, unpack_size)) [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] | 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/reader.rs:1129:12 [INFO] [stdout] | [INFO] [stdout] 1126 | pub fn new(mut source: R, reader_len: u64, password: Password) -> Result { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1127 | let password = password.to_vec(); [INFO] [stdout] 1128 | let archive = Archive::read(&mut source, reader_len, &password)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1129 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 1130 | | source, [INFO] [stdout] 1131 | | archive, [INFO] [stdout] 1132 | | password, [INFO] [stdout] 1133 | | }) [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] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/reader.rs:1196:12 [INFO] [stdout] | [INFO] [stdout] 1171 | let mut decoder: Box = Box::new(BoundedReader::new(source, pack_size)); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1196 | Ok((decoder, pack_size)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/reader.rs:1281:12 [INFO] [stdout] | [INFO] [stdout] 1259 | let mut inputs: Vec> = Vec::with_capacity(num_in_streams); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1270 | let mut decoder: Box = Box::new(crate::bcj2::BCJ2Reader::new( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1281 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] 1282 | | decoder, [INFO] [stdout] 1283 | | archive.pack_sizes[first_pack_stream_index] as usize, [INFO] [stdout] 1284 | | )) [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/writer.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn new(mut writer: W) -> Result { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 95 | | output: writer, [INFO] [stdout] 96 | | files: Default::default(), [INFO] [stdout] 97 | | content_methods: Arc::new(vec![SevenZMethodConfiguration::new(SevenZMethod::LZMA2)]), [INFO] [stdout] ... | [INFO] [stdout] 100 | | encrypt_header: true, [INFO] [stdout] 101 | | }) [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/writer/seq_reader.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn from_path_iter<'a>(paths: impl Iterator) -> std::io::Result { [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | let mut readers = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | Ok(Self::new(readers)) [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/writer/unpack_info.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn add(&mut self, methods: Arc>, sizes: Vec, crc: u32) { [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | self.folders.push(FolderInfo { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 13 | | methods, [INFO] [stdout] 14 | | sizes, [INFO] [stdout] 15 | | crc, [INFO] [stdout] 16 | | num_sub_unpack_streams: 1, [INFO] [stdout] 17 | | ..Default::default() [INFO] [stdout] 18 | | }) [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/writer/unpack_info.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 23 | methods: Arc>, [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | self.folders.push(FolderInfo { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 31 | | methods, [INFO] [stdout] 32 | | sizes, [INFO] [stdout] 33 | | crc, [INFO] [stdout] ... | [INFO] [stdout] 36 | | sub_stream_sizes, [INFO] [stdout] 37 | | }) [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 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sevenz-rust` (lib test) due to 13 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: trait `SeedRead` is never used [INFO] [stdout] --> src/reader.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) trait SeedRead: Read + Seek {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/bcj2/mod.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(inputs: Vec, uncompressed_size: u64) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | / Self { [INFO] [stdout] 40 | | base: Default::default(), [INFO] [stdout] 41 | | inputs, [INFO] [stdout] 42 | | decoder: Bcj2Decoder::new(), [INFO] [stdout] ... | [INFO] [stdout] 45 | | uncompressed_size, [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] = 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/bcj/mod.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 40 | fn new(inner: R, filter: BCJFilter) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | err: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/en_funcs.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn compress(src: impl AsRef, dest: W) -> Result { [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] 14 | let mut z = SevenZWriter::new(dest)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | z.finish().map_err(Error::io) [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/reader.rs:321:13 [INFO] [stdout] | [INFO] [stdout] 321 | Err(Error::other( [INFO] [stdout] | _____________^ [INFO] [stdout] 322 | | "Start header corrupt and unable to guess end header", [INFO] [stdout] 323 | | )) [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] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/reader.rs:430:12 [INFO] [stdout] | [INFO] [stdout] 405 | let mut decoder: Box = Box::new(input_reader); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 406 | let mut decoder = if coder_len > 0 { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 413 | let next = crate::decoders::add_decoder( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 430 | Ok((decoder, unpack_size)) [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] | 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/reader.rs:1129:12 [INFO] [stdout] | [INFO] [stdout] 1126 | pub fn new(mut source: R, reader_len: u64, password: Password) -> Result { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1127 | let password = password.to_vec(); [INFO] [stdout] 1128 | let archive = Archive::read(&mut source, reader_len, &password)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1129 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 1130 | | source, [INFO] [stdout] 1131 | | archive, [INFO] [stdout] 1132 | | password, [INFO] [stdout] 1133 | | }) [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] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/reader.rs:1196:12 [INFO] [stdout] | [INFO] [stdout] 1171 | let mut decoder: Box = Box::new(BoundedReader::new(source, pack_size)); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1196 | Ok((decoder, pack_size)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/reader.rs:1281:12 [INFO] [stdout] | [INFO] [stdout] 1259 | let mut inputs: Vec> = Vec::with_capacity(num_in_streams); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1270 | let mut decoder: Box = Box::new(crate::bcj2::BCJ2Reader::new( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1281 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] 1282 | | decoder, [INFO] [stdout] 1283 | | archive.pack_sizes[first_pack_stream_index] as usize, [INFO] [stdout] 1284 | | )) [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/writer.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn new(mut writer: W) -> Result { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 95 | | output: writer, [INFO] [stdout] 96 | | files: Default::default(), [INFO] [stdout] 97 | | content_methods: Arc::new(vec![SevenZMethodConfiguration::new(SevenZMethod::LZMA2)]), [INFO] [stdout] ... | [INFO] [stdout] 100 | | encrypt_header: true, [INFO] [stdout] 101 | | }) [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/writer/seq_reader.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn from_path_iter<'a>(paths: impl Iterator) -> std::io::Result { [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | let mut readers = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | Ok(Self::new(readers)) [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/writer/unpack_info.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn add(&mut self, methods: Arc>, sizes: Vec, crc: u32) { [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | self.folders.push(FolderInfo { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 13 | | methods, [INFO] [stdout] 14 | | sizes, [INFO] [stdout] 15 | | crc, [INFO] [stdout] 16 | | num_sub_unpack_streams: 1, [INFO] [stdout] 17 | | ..Default::default() [INFO] [stdout] 18 | | }) [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/writer/unpack_info.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 23 | methods: Arc>, [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | self.folders.push(FolderInfo { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 31 | | methods, [INFO] [stdout] 32 | | sizes, [INFO] [stdout] 33 | | crc, [INFO] [stdout] ... | [INFO] [stdout] 36 | | sub_stream_sizes, [INFO] [stdout] 37 | | }) [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 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sevenz-rust` (lib) due to 13 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "b89055fe70e13bd3aaf0a49f5e2761d3c37735bfa7f13f16e385cc8e75769c63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b89055fe70e13bd3aaf0a49f5e2761d3c37735bfa7f13f16e385cc8e75769c63", kill_on_drop: false }` [INFO] [stdout] b89055fe70e13bd3aaf0a49f5e2761d3c37735bfa7f13f16e385cc8e75769c63