[INFO] fetching crate preflate-rs 0.6.0... [INFO] checking preflate-rs-0.6.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate preflate-rs 0.6.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate preflate-rs 0.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 preflate-rs 0.6.0 [INFO] finished tweaking crates.io crate preflate-rs 0.6.0 [INFO] tweaked toml for crates.io crate preflate-rs 0.6.0 written to /workspace/builds/worker-0-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 34 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding cabac v0.6.0 (latest: v0.8.0) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a6a1a804f1ddc0602aaba0e4957d86a6523e40080d960f72fa742e579d3d936 [INFO] running `Command { std: "docker" "start" "-a" "8a6a1a804f1ddc0602aaba0e4957d86a6523e40080d960f72fa742e579d3d936", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a6a1a804f1ddc0602aaba0e4957d86a6523e40080d960f72fa742e579d3d936", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a6a1a804f1ddc0602aaba0e4957d86a6523e40080d960f72fa742e579d3d936", kill_on_drop: false }` [INFO] [stdout] 8a6a1a804f1ddc0602aaba0e4957d86a6523e40080d960f72fa742e579d3d936 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a270df5441069e2811e9e9720a16b98d92dc3e076984520b5b7373ad5d36fd2 [INFO] running `Command { std: "docker" "start" "-a" "2a270df5441069e2811e9e9720a16b98d92dc3e076984520b5b7373ad5d36fd2", kill_on_drop: false }` [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking cabac v0.6.0 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Compiling libdeflate-sys v1.21.0 [INFO] [stderr] Compiling libz-sys v1.1.20 [INFO] [stderr] Compiling default-boxed-derive v0.2.0 [INFO] [stderr] Checking default-boxed v0.2.0 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking preflate-rs v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `bad` [INFO] [stdout] --> src/hash_chain.rs:266:11 [INFO] [stdout] | [INFO] [stdout] 266 | #[cfg(bad)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bad)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bad)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bad` [INFO] [stdout] --> src/hash_chain.rs:298:11 [INFO] [stdout] | [INFO] [stdout] 298 | #[cfg(bad)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bad)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bad)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bad` [INFO] [stdout] --> src/hash_chain.rs:266:11 [INFO] [stdout] | [INFO] [stdout] 266 | #[cfg(bad)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bad)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bad)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bad` [INFO] [stdout] --> src/hash_chain.rs:298:11 [INFO] [stdout] | [INFO] [stdout] 298 | #[cfg(bad)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bad)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bad)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reference_count` and `unfound_references` are never read [INFO] [stdout] --> src/complevel_estimator.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct CompLevelInfo { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 19 | pub zlib_compatible: bool, [INFO] [stdout] 20 | pub reference_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | pub unfound_references: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HashChainTrait` is never used [INFO] [stdout] --> src/hash_chain.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub trait HashChainTrait: Default {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/predictor_state.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | DistanceLargerThanHop0(u32, u32), [INFO] [stdout] | ---------------------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MatchResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 20 | DistanceLargerThanHop0((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/predictor_state.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | MaxChainExceeded(u32), [INFO] [stdout] | ---------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MatchResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] 23 | MaxChainExceeded(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `requested_match_depth` and `condensed_hops` are never read [INFO] [stdout] --> src/predictor_state.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct PreflateRematchInfo { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 28 | pub requested_match_depth: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | pub condensed_hops: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `signature` is never read [INFO] [stdout] --> src/scan_deflate.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct DeflateStreamLocation { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 41 | pub signature: Signature, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeflateStreamLocation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/scan_deflate.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct ZipLocalFileHeader { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 79 | pub local_file_header_signature: u32, [INFO] [stdout] 80 | pub version_needed_to_extract: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 81 | pub general_purpose_bit_flag: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 82 | pub compression_method: u16, [INFO] [stdout] 83 | pub last_mod_file_time: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 84 | pub last_mod_file_date: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 85 | pub crc32: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 86 | pub compressed_size: u64, // only 4 bytes in the regular header but can be 8 bytes if Zip64 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 87 | pub uncompressed_size: u64, // only 4 bytes in the regular header but can be 8 bytes if Zip64 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cabac_codec.rs:264:22 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn new(writer: W) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 263 | Self { [INFO] [stdout] 264 | context: PredictionCabacContext::::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] = 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/cabac_codec.rs:311:22 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn new(reader: R) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 310 | Self { [INFO] [stdout] 311 | context: PredictionCabacContext::::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] --> src/deflate_reader.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(compressed_text: R) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | DeflateReader { [INFO] [stdout] 28 | input: BitReader::new(compressed_text), [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/scan_deflate.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | Err(anyhow::Error::msg("No deflate stream found")) [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 4 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `preflate-rs` (lib) due to 5 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `reference_count` and `unfound_references` are never read [INFO] [stdout] --> src/complevel_estimator.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct CompLevelInfo { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 19 | pub zlib_compatible: bool, [INFO] [stdout] 20 | pub reference_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | pub unfound_references: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HashChainTrait` is never used [INFO] [stdout] --> src/hash_chain.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub trait HashChainTrait: Default {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/predictor_state.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | DistanceLargerThanHop0(u32, u32), [INFO] [stdout] | ---------------------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MatchResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 20 | DistanceLargerThanHop0((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/predictor_state.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | MaxChainExceeded(u32), [INFO] [stdout] | ---------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MatchResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] 23 | MaxChainExceeded(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `requested_match_depth` and `condensed_hops` are never read [INFO] [stdout] --> src/predictor_state.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct PreflateRematchInfo { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 28 | pub requested_match_depth: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | pub condensed_hops: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `signature` is never read [INFO] [stdout] --> src/scan_deflate.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct DeflateStreamLocation { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 41 | pub signature: Signature, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeflateStreamLocation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/scan_deflate.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct ZipLocalFileHeader { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 79 | pub local_file_header_signature: u32, [INFO] [stdout] 80 | pub version_needed_to_extract: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 81 | pub general_purpose_bit_flag: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 82 | pub compression_method: u16, [INFO] [stdout] 83 | pub last_mod_file_time: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 84 | pub last_mod_file_date: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 85 | pub crc32: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 86 | pub compressed_size: u64, // only 4 bytes in the regular header but can be 8 bytes if Zip64 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 87 | pub uncompressed_size: u64, // only 4 bytes in the regular header but can be 8 bytes if Zip64 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cabac_codec.rs:264:22 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn new(writer: W) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 263 | Self { [INFO] [stdout] 264 | context: PredictionCabacContext::::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] = 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/cabac_codec.rs:311:22 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn new(reader: R) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 310 | Self { [INFO] [stdout] 311 | context: PredictionCabacContext::::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] --> src/deflate_reader.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(compressed_text: R) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | DeflateReader { [INFO] [stdout] 28 | input: BitReader::new(compressed_text), [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/scan_deflate.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | Err(anyhow::Error::msg("No deflate stream found")) [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 4 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `preflate-rs` (lib test) due to 5 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2a270df5441069e2811e9e9720a16b98d92dc3e076984520b5b7373ad5d36fd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a270df5441069e2811e9e9720a16b98d92dc3e076984520b5b7373ad5d36fd2", kill_on_drop: false }` [INFO] [stdout] 2a270df5441069e2811e9e9720a16b98d92dc3e076984520b5b7373ad5d36fd2