[INFO] fetching crate divans 0.0.1... [INFO] checking divans-0.0.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate divans 0.0.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate divans 0.0.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 divans 0.0.1 [INFO] finished tweaking crates.io crate divans 0.0.1 [INFO] tweaked toml for crates.io crate divans 0.0.1 written to /workspace/builds/worker-2-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 12 packages to latest compatible versions [INFO] [stderr] Adding alloc-no-stdlib v1.3.0 (latest: v2.0.4) [INFO] [stderr] Adding bitflags v0.7.0 (latest: v2.6.0) [INFO] [stderr] Adding brotli v2.5.1 (latest: v6.0.0) [INFO] [stderr] Adding brotli-decompressor v1.3.1 (latest: v4.0.1) [INFO] [stderr] Adding time v0.1.45 (latest: v0.3.36) [INFO] [stderr] Adding vergen v0.1.1 (latest: v9.0.0) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [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] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e12b7827e2d2756f92798971957dc68467ca11461eb3a87a0e05f169c3743e81 [INFO] running `Command { std: "docker" "start" "-a" "e12b7827e2d2756f92798971957dc68467ca11461eb3a87a0e05f169c3743e81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e12b7827e2d2756f92798971957dc68467ca11461eb3a87a0e05f169c3743e81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e12b7827e2d2756f92798971957dc68467ca11461eb3a87a0e05f169c3743e81", kill_on_drop: false }` [INFO] [stdout] e12b7827e2d2756f92798971957dc68467ca11461eb3a87a0e05f169c3743e81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3ce6c73781ecc76eeb3cd1eca14f7e32a0c79282371d18e7b87d87114e7d4e6 [INFO] running `Command { std: "docker" "start" "-a" "d3ce6c73781ecc76eeb3cd1eca14f7e32a0c79282371d18e7b87d87114e7d4e6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Checking alloc-no-stdlib v1.3.0 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Checking brotli-decompressor v1.3.1 [INFO] [stderr] Compiling vergen v0.1.1 [INFO] [stderr] Compiling divans v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking brotli v2.5.1 [INFO] [stdout] warning: unexpected `cfg` condition value: `division_table_gen` [INFO] [stdout] --> src/probability/numeric.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(not(feature="division_table_gen"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `avoid-divide`, `avx2`, `benchmark`, `billing`, `blend`, `debug_entropy`, `external-literal-probability`, `findspeed`, `no-inline`, `no-stdlib`, `no-stdlib-rust-binding`, `portable-simd`, `safe`, `simd`, `threadlog`, and `uncached_frequentist` [INFO] [stdout] = help: consider adding `division_table_gen` as a feature in `Cargo.toml` [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 value: `division_table_gen` [INFO] [stdout] --> src/probability/numeric.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(not(feature="division_table_gen"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `avoid-divide`, `avx2`, `benchmark`, `billing`, `blend`, `debug_entropy`, `external-literal-probability`, `findspeed`, `no-inline`, `no-stdlib`, `no-stdlib-rust-binding`, `portable-simd`, `safe`, `simd`, `threadlog`, and `uncached_frequentist` [INFO] [stdout] = help: consider adding `division_table_gen` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `division_table_gen` [INFO] [stdout] --> src/probability/numeric.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature="division_table_gen")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `avoid-divide`, `avx2`, `benchmark`, `billing`, `blend`, `debug_entropy`, `external-literal-probability`, `findspeed`, `no-inline`, `no-stdlib`, `no-stdlib-rust-binding`, `portable-simd`, `safe`, `simd`, `threadlog`, and `uncached_frequentist` [INFO] [stdout] = help: consider adding `division_table_gen` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `division_table_gen` [INFO] [stdout] --> src/probability/numeric.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(not(feature="division_table_gen"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `avoid-divide`, `avx2`, `benchmark`, `billing`, `blend`, `debug_entropy`, `external-literal-probability`, `findspeed`, `no-inline`, `no-stdlib`, `no-stdlib-rust-binding`, `portable-simd`, `safe`, `simd`, `threadlog`, and `uncached_frequentist` [INFO] [stdout] = help: consider adding `division_table_gen` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `division_table_gen` [INFO] [stdout] --> src/probability/numeric.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | #[cfg(not(feature="division_table_gen"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `avoid-divide`, `avx2`, `benchmark`, `billing`, `blend`, `debug_entropy`, `external-literal-probability`, `findspeed`, `no-inline`, `no-stdlib`, `no-stdlib-rust-binding`, `portable-simd`, `safe`, `simd`, `threadlog`, and `uncached_frequentist` [INFO] [stdout] = help: consider adding `division_table_gen` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/arithmetic_coder.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | fn push_data(&mut self, &[u8]) -> usize; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/arithmetic_coder.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | fn pop_data(&mut self, &mut [u8]) -> usize; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut [u8]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AllocatedStackMemory`, `Allocator`, and `StackAllocator` [INFO] [stdout] --> src/cmd_to_raw/mod.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | pub use alloc::{AllocatedStackMemory, Allocator, SliceWrapper, SliceWrapperMut, StackAllocator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FeatureFlagSliceType` and `LiteralCommand` [INFO] [stdout] --> src/cmd_to_raw/mod.rs:22:49 [INFO] [stdout] | [INFO] [stdout] 22 | pub use super::interface::{Command, Compressor, LiteralCommand, CopyCommand, DictCommand, FeatureFlagSliceType}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AllocatedStackMemory`, `SliceWrapperMut`, `SliceWrapper`, and `StackAllocator` [INFO] [stdout] --> src/raw_to_cmd/hash_match.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | pub use alloc::{AllocatedStackMemory, Allocator, SliceWrapper, SliceWrapperMut, StackAllocator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AllocatedStackMemory` and `StackAllocator` [INFO] [stdout] --> src/raw_to_cmd/mod.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | pub use alloc::{AllocatedStackMemory, Allocator, SliceWrapper, SliceWrapperMut, StackAllocator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::slice_util::SliceReference` [INFO] [stdout] --> src/raw_to_cmd/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub use super::slice_util::SliceReference; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CopyCommand` and `DictCommand` [INFO] [stdout] --> src/raw_to_cmd/mod.rs:22:91 [INFO] [stdout] | [INFO] [stdout] 22 | pub use super::interface::{PredictionModeContextMap, Command, Compressor, LiteralCommand, CopyCommand, DictCommand, FeatureFlagSliceType}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `features` [INFO] [stdout] --> src/codec/weights.rs:84:7 [INFO] [stdout] | [INFO] [stdout] 84 | #[cfg(features="floating_point_context_mixing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected values for `feature` are: `avoid-divide`, `avx2`, `benchmark`, `billing`, `blend`, `debug_entropy`, `external-literal-probability`, `findspeed`, `no-inline`, `no-stdlib`, `no-stdlib-rust-binding`, `portable-simd`, `safe`, `simd`, `threadlog`, and `uncached_frequentist` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] help: there is a config with a similar name and different values [INFO] [stdout] | [INFO] [stdout] 84 | #[cfg(feature = "avoid-divide")] [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `features` [INFO] [stdout] --> src/codec/weights.rs:108:11 [INFO] [stdout] | [INFO] [stdout] 108 | #[cfg(not(features="floating_point_context_mixing"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected values for `feature` are: `avoid-divide`, `avx2`, `benchmark`, `billing`, `blend`, `debug_entropy`, `external-literal-probability`, `findspeed`, `no-inline`, `no-stdlib`, `no-stdlib-rust-binding`, `portable-simd`, `safe`, `simd`, `threadlog`, and `uncached_frequentist` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] help: there is a config with a similar name and different values [INFO] [stdout] | [INFO] [stdout] 108 | #[cfg(not(feature = "avoid-divide"))] [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CrossCommandBookKeeping` [INFO] [stdout] --> src/codec/specializations.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | pub use super::interface::{CrossCommandBookKeeping,LiteralBookKeeping}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/codec/interface.rs:87:68 [INFO] [stdout] | [INFO] [stdout] 87 | fn get_source_copy_command<'a, ISlice:SliceWrapper>(&self, &'a Command, &'a CopyCommand) -> &'a CopyCommand; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'a Command` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/codec/interface.rs:87:89 [INFO] [stdout] | [INFO] [stdout] 87 | fn get_source_copy_command<'a, ISlice:SliceWrapper>(&self, &'a Command, &'a CopyCommand) -> &'a CopyCommand; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'a CopyCommand` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/codec/interface.rs:88:79 [INFO] [stdout] | [INFO] [stdout] 88 | fn get_source_literal_command<'a, ISlice:SliceWrapper+Default>(&self, &'a Command, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'a Command` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/codec/interface.rs:89:72 [INFO] [stdout] | [INFO] [stdout] 89 | ... &'a LiteralCommand) -> &'a LiteralCommand; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'a LiteralCommand` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/codec/interface.rs:90:68 [INFO] [stdout] | [INFO] [stdout] 90 | fn get_source_dict_command<'a, ISlice:SliceWrapper>(&self, &'a Command, &'a DictCommand) -> &'a DictCommand; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'a Command` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/codec/interface.rs:90:89 [INFO] [stdout] | [INFO] [stdout] 90 | fn get_source_dict_command<'a, ISlice:SliceWrapper>(&self, &'a Command, &'a DictCommand) -> &'a DictCommand; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'a DictCommand` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CrossCommandBookKeeping` [INFO] [stdout] --> src/codec/mod.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | CrossCommandBookKeeping, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ans.rs:139:24 [INFO] [stdout] | [INFO] [stdout] 139 | const SCALE_MASK:u64 = ((1u64 << LOG2_SCALE) - 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 139 - const SCALE_MASK:u64 = ((1u64 << LOG2_SCALE) - 1); [INFO] [stdout] 139 + const SCALE_MASK:u64 = (1u64 << LOG2_SCALE) - 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AllocatedStackMemory`, `SliceWrapperMut`, and `StackAllocator` [INFO] [stdout] --> src/brotli_ir_gen.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | pub use super::alloc::{AllocatedStackMemory, Allocator, SliceWrapper, SliceWrapperMut, StackAllocator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockSwitch`, `CopyCommand`, `Decompressor`, `DictCommand`, `FeatureFlagSliceType`, `LiteralBlockSwitch`, `LiteralCommand`, `LiteralPredictionModeNibble`, `Nop`, and `free_cmd` [INFO] [stdout] --> src/brotli_ir_gen.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | ...::{BlockSwitch, LiteralBlockSwitch, Command, Compressor, CopyCommand, Decompressor, DictCommand, LiteralCommand, Nop, NewWithAllocator, ArithmeticEncoderOrDecoder, LiteralPredictionModeNibble, PredictionModeContextMap, free_cmd, FeatureFlagSliceTy... [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EncoderOrDecoderSpecialization` and `StrideSelection` [INFO] [stdout] --> src/brotli_ir_gen.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | pub use codec::{EncoderOrDecoderSpecialization, DivansCodec, StrideSelection}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AllocatedStackMemory` and `StackAllocator` [INFO] [stdout] --> src/divans_compressor.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | pub use super::alloc::{AllocatedStackMemory, Allocator, SliceWrapper, SliceWrapperMut, StackAllocator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockSwitch`, `CopyCommand`, `Decompressor`, `DictCommand`, `LiteralBlockSwitch`, `LiteralPredictionModeNibble`, `Nop`, and `free_cmd` [INFO] [stdout] --> src/divans_compressor.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | BlockSwitch, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 33 | LiteralBlockSwitch, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | CopyCommand, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 37 | Decompressor, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 38 | DictCommand, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 39 | LiteralCommand, [INFO] [stdout] 40 | Nop, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | LiteralPredictionModeNibble, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | free_cmd, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EncoderOrDecoderSpecialization`, `StrideSelection`, and `default_crc` [INFO] [stdout] --> src/divans_compressor.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | pub use codec::{EncoderOrDecoderSpecialization, DivansCodec, StrideSelection, default_crc, CommandArray, CommandSliceArray}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AllocatedStackMemory` and `StackAllocator` [INFO] [stdout] --> src/reader.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | pub use alloc::{AllocatedStackMemory, Allocator, SliceWrapper, SliceWrapperMut, StackAllocator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AllocatedStackMemory` and `StackAllocator` [INFO] [stdout] --> src/writer.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | pub use alloc::{AllocatedStackMemory, Allocator, SliceWrapper, SliceWrapperMut, StackAllocator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `division_table_gen` [INFO] [stdout] --> src/probability/numeric.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(not(feature="division_table_gen"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `avoid-divide`, `avx2`, `benchmark`, `billing`, `blend`, `debug_entropy`, `external-literal-probability`, `findspeed`, `no-inline`, `no-stdlib`, `no-stdlib-rust-binding`, `portable-simd`, `safe`, `simd`, `threadlog`, and `uncached_frequentist` [INFO] [stdout] = help: consider adding `division_table_gen` as a feature in `Cargo.toml` [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 value: `division_table_gen` [INFO] [stdout] --> src/probability/numeric.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(not(feature="division_table_gen"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `avoid-divide`, `avx2`, `benchmark`, `billing`, `blend`, `debug_entropy`, `external-literal-probability`, `findspeed`, `no-inline`, `no-stdlib`, `no-stdlib-rust-binding`, `portable-simd`, `safe`, `simd`, `threadlog`, and `uncached_frequentist` [INFO] [stdout] = help: consider adding `division_table_gen` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `division_table_gen` [INFO] [stdout] --> src/probability/numeric.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature="division_table_gen")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `avoid-divide`, `avx2`, `benchmark`, `billing`, `blend`, `debug_entropy`, `external-literal-probability`, `findspeed`, `no-inline`, `no-stdlib`, `no-stdlib-rust-binding`, `portable-simd`, `safe`, `simd`, `threadlog`, and `uncached_frequentist` [INFO] [stdout] = help: consider adding `division_table_gen` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `division_table_gen` [INFO] [stdout] --> src/probability/numeric.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(not(feature="division_table_gen"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `avoid-divide`, `avx2`, `benchmark`, `billing`, `blend`, `debug_entropy`, `external-literal-probability`, `findspeed`, `no-inline`, `no-stdlib`, `no-stdlib-rust-binding`, `portable-simd`, `safe`, `simd`, `threadlog`, and `uncached_frequentist` [INFO] [stdout] = help: consider adding `division_table_gen` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `division_table_gen` [INFO] [stdout] --> src/probability/numeric.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | #[cfg(not(feature="division_table_gen"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `avoid-divide`, `avx2`, `benchmark`, `billing`, `blend`, `debug_entropy`, `external-literal-probability`, `findspeed`, `no-inline`, `no-stdlib`, `no-stdlib-rust-binding`, `portable-simd`, `safe`, `simd`, `threadlog`, and `uncached_frequentist` [INFO] [stdout] = help: consider adding `division_table_gen` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/arithmetic_coder.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | fn push_data(&mut self, &[u8]) -> usize; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/arithmetic_coder.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | fn pop_data(&mut self, &mut [u8]) -> usize; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut [u8]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AllocatedStackMemory`, `Allocator`, and `StackAllocator` [INFO] [stdout] --> src/cmd_to_raw/mod.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | pub use alloc::{AllocatedStackMemory, Allocator, SliceWrapper, SliceWrapperMut, StackAllocator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AllocatedStackMemory`, `SliceWrapperMut`, `SliceWrapper`, and `StackAllocator` [INFO] [stdout] --> src/raw_to_cmd/hash_match.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | pub use alloc::{AllocatedStackMemory, Allocator, SliceWrapper, SliceWrapperMut, StackAllocator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AllocatedStackMemory` and `StackAllocator` [INFO] [stdout] --> src/raw_to_cmd/mod.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | pub use alloc::{AllocatedStackMemory, Allocator, SliceWrapper, SliceWrapperMut, StackAllocator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::slice_util::SliceReference` [INFO] [stdout] --> src/raw_to_cmd/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub use super::slice_util::SliceReference; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CopyCommand` and `DictCommand` [INFO] [stdout] --> src/raw_to_cmd/mod.rs:22:91 [INFO] [stdout] | [INFO] [stdout] 22 | pub use super::interface::{PredictionModeContextMap, Command, Compressor, LiteralCommand, CopyCommand, DictCommand, FeatureFlagSliceType}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `features` [INFO] [stdout] --> src/codec/weights.rs:84:7 [INFO] [stdout] | [INFO] [stdout] 84 | #[cfg(features="floating_point_context_mixing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected values for `feature` are: `avoid-divide`, `avx2`, `benchmark`, `billing`, `blend`, `debug_entropy`, `external-literal-probability`, `findspeed`, `no-inline`, `no-stdlib`, `no-stdlib-rust-binding`, `portable-simd`, `safe`, `simd`, `threadlog`, and `uncached_frequentist` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] help: there is a config with a similar name and different values [INFO] [stdout] | [INFO] [stdout] 84 | #[cfg(feature = "avoid-divide")] [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `features` [INFO] [stdout] --> src/codec/weights.rs:108:11 [INFO] [stdout] | [INFO] [stdout] 108 | #[cfg(not(features="floating_point_context_mixing"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected values for `feature` are: `avoid-divide`, `avx2`, `benchmark`, `billing`, `blend`, `debug_entropy`, `external-literal-probability`, `findspeed`, `no-inline`, `no-stdlib`, `no-stdlib-rust-binding`, `portable-simd`, `safe`, `simd`, `threadlog`, and `uncached_frequentist` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] help: there is a config with a similar name and different values [INFO] [stdout] | [INFO] [stdout] 108 | #[cfg(not(feature = "avoid-divide"))] [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CrossCommandBookKeeping` [INFO] [stdout] --> src/codec/specializations.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | pub use super::interface::{CrossCommandBookKeeping,LiteralBookKeeping}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/codec/interface.rs:87:68 [INFO] [stdout] | [INFO] [stdout] 87 | fn get_source_copy_command<'a, ISlice:SliceWrapper>(&self, &'a Command, &'a CopyCommand) -> &'a CopyCommand; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'a Command` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/codec/interface.rs:87:89 [INFO] [stdout] | [INFO] [stdout] 87 | fn get_source_copy_command<'a, ISlice:SliceWrapper>(&self, &'a Command, &'a CopyCommand) -> &'a CopyCommand; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'a CopyCommand` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/codec/interface.rs:88:79 [INFO] [stdout] | [INFO] [stdout] 88 | fn get_source_literal_command<'a, ISlice:SliceWrapper+Default>(&self, &'a Command, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'a Command` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/codec/interface.rs:89:72 [INFO] [stdout] | [INFO] [stdout] 89 | ... &'a LiteralCommand) -> &'a LiteralCommand; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'a LiteralCommand` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/codec/interface.rs:90:68 [INFO] [stdout] | [INFO] [stdout] 90 | fn get_source_dict_command<'a, ISlice:SliceWrapper>(&self, &'a Command, &'a DictCommand) -> &'a DictCommand; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'a Command` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/codec/interface.rs:90:89 [INFO] [stdout] | [INFO] [stdout] 90 | fn get_source_dict_command<'a, ISlice:SliceWrapper>(&self, &'a Command, &'a DictCommand) -> &'a DictCommand; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'a DictCommand` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CrossCommandBookKeeping` [INFO] [stdout] --> src/codec/mod.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | CrossCommandBookKeeping, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ans.rs:139:24 [INFO] [stdout] | [INFO] [stdout] 139 | const SCALE_MASK:u64 = ((1u64 << LOG2_SCALE) - 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 139 - const SCALE_MASK:u64 = ((1u64 << LOG2_SCALE) - 1); [INFO] [stdout] 139 + const SCALE_MASK:u64 = (1u64 << LOG2_SCALE) - 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AllocatedStackMemory`, `SliceWrapperMut`, and `StackAllocator` [INFO] [stdout] --> src/brotli_ir_gen.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | pub use super::alloc::{AllocatedStackMemory, Allocator, SliceWrapper, SliceWrapperMut, StackAllocator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockSwitch`, `CopyCommand`, `Decompressor`, `DictCommand`, `FeatureFlagSliceType`, `LiteralBlockSwitch`, `LiteralCommand`, `LiteralPredictionModeNibble`, `Nop`, and `free_cmd` [INFO] [stdout] --> src/brotli_ir_gen.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | ...::{BlockSwitch, LiteralBlockSwitch, Command, Compressor, CopyCommand, Decompressor, DictCommand, LiteralCommand, Nop, NewWithAllocator, ArithmeticEncoderOrDecoder, LiteralPredictionModeNibble, PredictionModeContextMap, free_cmd, FeatureFlagSliceTy... [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EncoderOrDecoderSpecialization` and `StrideSelection` [INFO] [stdout] --> src/brotli_ir_gen.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | pub use codec::{EncoderOrDecoderSpecialization, DivansCodec, StrideSelection}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AllocatedStackMemory` and `StackAllocator` [INFO] [stdout] --> src/divans_compressor.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | pub use super::alloc::{AllocatedStackMemory, Allocator, SliceWrapper, SliceWrapperMut, StackAllocator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockSwitch`, `CopyCommand`, `Decompressor`, `DictCommand`, `LiteralBlockSwitch`, `LiteralPredictionModeNibble`, `Nop`, and `free_cmd` [INFO] [stdout] --> src/divans_compressor.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | BlockSwitch, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 33 | LiteralBlockSwitch, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | CopyCommand, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 37 | Decompressor, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 38 | DictCommand, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 39 | LiteralCommand, [INFO] [stdout] 40 | Nop, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | LiteralPredictionModeNibble, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | free_cmd, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EncoderOrDecoderSpecialization`, `StrideSelection`, and `default_crc` [INFO] [stdout] --> src/divans_compressor.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | pub use codec::{EncoderOrDecoderSpecialization, DivansCodec, StrideSelection, default_crc, CommandArray, CommandSliceArray}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AllocatedStackMemory` and `StackAllocator` [INFO] [stdout] --> src/reader.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | pub use alloc::{AllocatedStackMemory, Allocator, SliceWrapper, SliceWrapperMut, StackAllocator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AllocatedStackMemory` and `StackAllocator` [INFO] [stdout] --> src/writer.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | pub use alloc::{AllocatedStackMemory, Allocator, SliceWrapper, SliceWrapperMut, StackAllocator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 256 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 258 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 262 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 266 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:274:5 [INFO] [stdout] | [INFO] [stdout] 274 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 276 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 280 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 284 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 286 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:368:5 [INFO] [stdout] | [INFO] [stdout] 368 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:386:5 [INFO] [stdout] | [INFO] [stdout] 386 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:390:5 [INFO] [stdout] | [INFO] [stdout] 390 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:393:5 [INFO] [stdout] | [INFO] [stdout] 393 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:405:5 [INFO] [stdout] | [INFO] [stdout] 405 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/arithmetic_coder.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/arithmetic_coder.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/arithmetic_coder.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/arithmetic_coder.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/threading.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/threading.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/threading.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/threading.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/threading.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/threading.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/threading.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 256 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 258 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 262 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 266 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/threading.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:274:5 [INFO] [stdout] | [INFO] [stdout] 274 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 276 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 280 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 284 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 286 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:368:5 [INFO] [stdout] | [INFO] [stdout] 368 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:386:5 [INFO] [stdout] | [INFO] [stdout] 386 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:390:5 [INFO] [stdout] | [INFO] [stdout] 390 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:393:5 [INFO] [stdout] | [INFO] [stdout] 393 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:405:5 [INFO] [stdout] | [INFO] [stdout] 405 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/ffi/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 4 | use core; [INFO] [stdout] | --------- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/ffi/interface.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 8 | pub type DivansReturnCode = u8; [INFO] [stdout] | ------------------------------- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/ffi/interface.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 42 | #[derive(Clone)] [INFO] [stdout] 43 | / pub struct CAllocator { [INFO] [stdout] 44 | | pub alloc_func: Option *mut c_void>, [INFO] [stdout] 45 | | pub free_func: Option ()>, [INFO] [stdout] 46 | | pub opaque: *mut c_void, [INFO] [stdout] 47 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/ffi/compressor.rs:267:1 [INFO] [stdout] | [INFO] [stdout] 267 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 268 | / pub struct DivansCompressorState { [INFO] [stdout] 269 | | pub custom_allocator: CAllocator, [INFO] [stdout] 270 | | pub compressor: CompressorState [INFO] [stdout] 271 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/ffi/decompressor.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | / pub struct DivansDecompressorState { [INFO] [stdout] 11 | | pub custom_allocator: CAllocator, [INFO] [stdout] 12 | | pub decompressor: ::DivansDecompressor<, SubclassableAl... [INFO] [stdout] 13 | | SubclassableAllocator, [INFO] [stdout] 14 | | SubclassableAllocator<::DefaultCDF16>, [INFO] [stdout] 15 | | SubclassableAllocator>, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/arithmetic_coder.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/arithmetic_coder.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/arithmetic_coder.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/arithmetic_coder.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/threading.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/threading.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/threading.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/threading.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/threading.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/threading.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/threading.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/threading.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/ffi/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 4 | use core; [INFO] [stdout] | --------- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/ffi/interface.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 8 | pub type DivansReturnCode = u8; [INFO] [stdout] | ------------------------------- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/ffi/interface.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 42 | #[derive(Clone)] [INFO] [stdout] 43 | / pub struct CAllocator { [INFO] [stdout] 44 | | pub alloc_func: Option *mut c_void>, [INFO] [stdout] 45 | | pub free_func: Option ()>, [INFO] [stdout] 46 | | pub opaque: *mut c_void, [INFO] [stdout] 47 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/ffi/compressor.rs:267:1 [INFO] [stdout] | [INFO] [stdout] 267 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 268 | / pub struct DivansCompressorState { [INFO] [stdout] 269 | | pub custom_allocator: CAllocator, [INFO] [stdout] 270 | | pub compressor: CompressorState [INFO] [stdout] 271 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/ffi/decompressor.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | / pub struct DivansDecompressorState { [INFO] [stdout] 11 | | pub custom_allocator: CAllocator, [INFO] [stdout] 12 | | pub decompressor: ::DivansDecompressor<, SubclassableAl... [INFO] [stdout] 13 | | SubclassableAllocator, [INFO] [stdout] 14 | | SubclassableAllocator<::DefaultCDF16>, [INFO] [stdout] 15 | | SubclassableAllocator>, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | fn cause(&self) -> Option<&error::Error> {None} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | fn cause(&self) -> Option<&dyn error::Error> {None} [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | fn cause(&self) -> Option<&error::Error> {None} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | fn cause(&self) -> Option<&dyn error::Error> {None} [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/copy.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | let mut nibble_prob = superstate.bk.copy_priors.get( [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/copy.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | let mut nibble_prob = superstate.bk.copy_priors.get( [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/copy.rs:129:25 [INFO] [stdout] | [INFO] [stdout] 129 | let mut nibble_prob = superstate.bk.copy_priors.get( [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/copy.rs:145:25 [INFO] [stdout] | [INFO] [stdout] 145 | let mut nibble_prob = superstate.bk.copy_priors.get( [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/copy.rs:175:29 [INFO] [stdout] | [INFO] [stdout] 175 | let mut nibble_prob = superstate.bk.copy_priors.get( [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/copy.rs:204:25 [INFO] [stdout] | [INFO] [stdout] 204 | let mut nibble_prob = superstate.bk.copy_priors.get( [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/copy.rs:231:25 [INFO] [stdout] | [INFO] [stdout] 231 | let mut nibble_prob = superstate.bk.copy_priors.get( [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/copy.rs:250:33 [INFO] [stdout] | [INFO] [stdout] 250 | ... let mut nibble_prob = superstate.bk.copy_priors.get( [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/dict.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | let mut nibble_prob = superstate.bk.dict_priors.get(DictCommandNibblePriorType::SizeBegNib, (ctype,)); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/dict.rs:100:25 [INFO] [stdout] | [INFO] [stdout] 100 | let mut nibble_prob = superstate.bk.dict_priors.get(DictCommandNibblePriorType::SizeLastNib, (ctype,)); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/dict.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | let mut nibble_prob = superstate.bk.dict_priors.get( [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/dict.rs:139:25 [INFO] [stdout] | [INFO] [stdout] 139 | let mut nibble_prob = superstate.bk.dict_priors.get(DictCommandNibblePriorType::Transform, [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/dict.rs:150:25 [INFO] [stdout] | [INFO] [stdout] 150 | let mut nibble_prob = superstate.bk.dict_priors.get(DictCommandNibblePriorType::Transform, [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/literal.rs:294:16 [INFO] [stdout] | [INFO] [stdout] 294 | let mut byte_to_encode_val = specialization.get_literal_byte(in_cmd, [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/literal.rs:572:25 [INFO] [stdout] | [INFO] [stdout] 572 | let mut nibble_prob = superstate.bk.lit_len_priors.get( [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/literal.rs:600:25 [INFO] [stdout] | [INFO] [stdout] 600 | let mut nibble_prob = superstate.bk.lit_len_priors.get(LiteralCommandPriorType::SizeBegNib, (ctype,)); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/literal.rs:625:25 [INFO] [stdout] | [INFO] [stdout] 625 | let mut nibble_prob = superstate.bk.lit_len_priors.get(LiteralCommandPriorType::SizeLastNib, (ctype,)); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/literal.rs:640:25 [INFO] [stdout] | [INFO] [stdout] 640 | let mut nibble_prob = superstate.bk.lit_len_priors.get(LiteralCommandPriorType::SizeMantissaNib, (ctype,)); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/literal.rs:707:30 [INFO] [stdout] | [INFO] [stdout] 707 | Some(mut lc) => { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/context_map.rs:174:28 [INFO] [stdout] | [INFO] [stdout] 174 | let mut nibble_prob = superstate.bk.prediction_priors.get(PredictionModePriorType::Only, (0,)); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/context_map.rs:195:28 [INFO] [stdout] | [INFO] [stdout] 195 | let mut nibble_prob = superstate.bk.prediction_priors.get( [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/context_map.rs:211:28 [INFO] [stdout] | [INFO] [stdout] 211 | let mut nibble_prob = superstate.bk.prediction_priors.get( [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/context_map.rs:235:24 [INFO] [stdout] | [INFO] [stdout] 235 | let mut nibble_prob = superstate.bk.prediction_priors.get(PredictionModePriorType::ContextMapSpeedPalette, [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/context_map.rs:291:28 [INFO] [stdout] | [INFO] [stdout] 291 | ... let mut nibble_prob = superstate.bk.prediction_priors.get(PredictionModePriorType::Mnemonic, (context_map_type as usize,)); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/context_map.rs:320:28 [INFO] [stdout] | [INFO] [stdout] 320 | let mut out_context_map = match context_map_type { [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/context_map.rs:343:24 [INFO] [stdout] | [INFO] [stdout] 343 | ... let mut nibble_prob = superstate.bk.prediction_priors.get(PredictionModePriorType::FirstNibble, (context_map_type as usize,)); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/context_map.rs:363:28 [INFO] [stdout] | [INFO] [stdout] 363 | ... let mut nibble_prob = superstate.bk.prediction_priors.get(PredictionModePriorType::SecondNibble, (context_map_type as usize,)); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/context_map.rs:371:24 [INFO] [stdout] | [INFO] [stdout] 371 | let mut out_context_map = match context_map_type { [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/context_map.rs:395:24 [INFO] [stdout] | [INFO] [stdout] 395 | let mut prior = if index >= 256 && self.pm.has_context_speeds() { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/context_map.rs:401:28 [INFO] [stdout] | [INFO] [stdout] 401 | let mut nibble_prob = superstate.bk.prediction_priors.get( [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/block_type.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 72 | let mut nibble_prob = superstate.bk.btype_priors.get(BlockTypePriorType::Mnemonic, [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/block_type.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | let mut nibble_prob = superstate.bk.btype_priors.get(BlockTypePriorType::FirstNibble, [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/block_type.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | let mut nibble_prob = superstate.bk.btype_priors.get(BlockTypePriorType::SecondNibble, [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/block_type.rs:181:25 [INFO] [stdout] | [INFO] [stdout] 181 | let mut nibble_prob = superstate.bk.btype_priors.get(BlockTypePriorType::StrideNibble, [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ir_optimize/mod.rs:198:21 [INFO] [stdout] | [INFO] [stdout] 198 | let mut should_merge = match should_merge(lit, copy, index, mb, &mut actuary, &mut distance_cache) { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/copy.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | let mut nibble_prob = superstate.bk.copy_priors.get( [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/copy.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | let mut nibble_prob = superstate.bk.copy_priors.get( [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/copy.rs:129:25 [INFO] [stdout] | [INFO] [stdout] 129 | let mut nibble_prob = superstate.bk.copy_priors.get( [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/copy.rs:145:25 [INFO] [stdout] | [INFO] [stdout] 145 | let mut nibble_prob = superstate.bk.copy_priors.get( [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/copy.rs:175:29 [INFO] [stdout] | [INFO] [stdout] 175 | let mut nibble_prob = superstate.bk.copy_priors.get( [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/copy.rs:204:25 [INFO] [stdout] | [INFO] [stdout] 204 | let mut nibble_prob = superstate.bk.copy_priors.get( [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/copy.rs:231:25 [INFO] [stdout] | [INFO] [stdout] 231 | let mut nibble_prob = superstate.bk.copy_priors.get( [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/copy.rs:250:33 [INFO] [stdout] | [INFO] [stdout] 250 | ... let mut nibble_prob = superstate.bk.copy_priors.get( [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/dict.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | let mut nibble_prob = superstate.bk.dict_priors.get(DictCommandNibblePriorType::SizeBegNib, (ctype,)); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/dict.rs:100:25 [INFO] [stdout] | [INFO] [stdout] 100 | let mut nibble_prob = superstate.bk.dict_priors.get(DictCommandNibblePriorType::SizeLastNib, (ctype,)); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/dict.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | let mut nibble_prob = superstate.bk.dict_priors.get( [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/dict.rs:139:25 [INFO] [stdout] | [INFO] [stdout] 139 | let mut nibble_prob = superstate.bk.dict_priors.get(DictCommandNibblePriorType::Transform, [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/dict.rs:150:25 [INFO] [stdout] | [INFO] [stdout] 150 | let mut nibble_prob = superstate.bk.dict_priors.get(DictCommandNibblePriorType::Transform, [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mux.rs:463:20 [INFO] [stdout] | [INFO] [stdout] 463 | let mut is_lagging = max_flush > MAX_FLUSH_VARIANCE + self.last_flush[index]; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/literal.rs:294:16 [INFO] [stdout] | [INFO] [stdout] 294 | let mut byte_to_encode_val = specialization.get_literal_byte(in_cmd, [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/literal.rs:572:25 [INFO] [stdout] | [INFO] [stdout] 572 | let mut nibble_prob = superstate.bk.lit_len_priors.get( [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/literal.rs:600:25 [INFO] [stdout] | [INFO] [stdout] 600 | let mut nibble_prob = superstate.bk.lit_len_priors.get(LiteralCommandPriorType::SizeBegNib, (ctype,)); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/literal.rs:625:25 [INFO] [stdout] | [INFO] [stdout] 625 | let mut nibble_prob = superstate.bk.lit_len_priors.get(LiteralCommandPriorType::SizeLastNib, (ctype,)); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/literal.rs:640:25 [INFO] [stdout] | [INFO] [stdout] 640 | let mut nibble_prob = superstate.bk.lit_len_priors.get(LiteralCommandPriorType::SizeMantissaNib, (ctype,)); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/literal.rs:707:30 [INFO] [stdout] | [INFO] [stdout] 707 | Some(mut lc) => { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/context_map.rs:174:28 [INFO] [stdout] | [INFO] [stdout] 174 | let mut nibble_prob = superstate.bk.prediction_priors.get(PredictionModePriorType::Only, (0,)); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/context_map.rs:195:28 [INFO] [stdout] | [INFO] [stdout] 195 | let mut nibble_prob = superstate.bk.prediction_priors.get( [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/context_map.rs:211:28 [INFO] [stdout] | [INFO] [stdout] 211 | let mut nibble_prob = superstate.bk.prediction_priors.get( [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/context_map.rs:235:24 [INFO] [stdout] | [INFO] [stdout] 235 | let mut nibble_prob = superstate.bk.prediction_priors.get(PredictionModePriorType::ContextMapSpeedPalette, [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/context_map.rs:291:28 [INFO] [stdout] | [INFO] [stdout] 291 | ... let mut nibble_prob = superstate.bk.prediction_priors.get(PredictionModePriorType::Mnemonic, (context_map_type as usize,)); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/context_map.rs:320:28 [INFO] [stdout] | [INFO] [stdout] 320 | let mut out_context_map = match context_map_type { [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/context_map.rs:343:24 [INFO] [stdout] | [INFO] [stdout] 343 | ... let mut nibble_prob = superstate.bk.prediction_priors.get(PredictionModePriorType::FirstNibble, (context_map_type as usize,)); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/context_map.rs:363:28 [INFO] [stdout] | [INFO] [stdout] 363 | ... let mut nibble_prob = superstate.bk.prediction_priors.get(PredictionModePriorType::SecondNibble, (context_map_type as usize,)); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/context_map.rs:371:24 [INFO] [stdout] | [INFO] [stdout] 371 | let mut out_context_map = match context_map_type { [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/context_map.rs:395:24 [INFO] [stdout] | [INFO] [stdout] 395 | let mut prior = if index >= 256 && self.pm.has_context_speeds() { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/context_map.rs:401:28 [INFO] [stdout] | [INFO] [stdout] 401 | let mut nibble_prob = superstate.bk.prediction_priors.get( [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/block_type.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 72 | let mut nibble_prob = superstate.bk.btype_priors.get(BlockTypePriorType::Mnemonic, [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/block_type.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | let mut nibble_prob = superstate.bk.btype_priors.get(BlockTypePriorType::FirstNibble, [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/block_type.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | let mut nibble_prob = superstate.bk.btype_priors.get(BlockTypePriorType::SecondNibble, [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codec/block_type.rs:181:25 [INFO] [stdout] | [INFO] [stdout] 181 | let mut nibble_prob = superstate.bk.btype_priors.get(BlockTypePriorType::StrideNibble, [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `put_8bit` is never used [INFO] [stdout] --> src/arithmetic_coder.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub trait EntropyEncoder { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 122 | fn put_8bit(&mut self, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/multithreading.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | struct ThreadEvent(ThreadEventType, u32, Duration); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `ThreadEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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/alloc_util.rs:121:32 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn new(alloc: AllocT) -> Self { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 121 | cached_allocation: AllocT::AllocatedMemory::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] warning: variable does not need to be mutable [INFO] [stdout] --> src/test_ans.rs:215:17 [INFO] [stdout] | [INFO] [stdout] 215 | let mut q = e.get_internal_buffer_mut(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/test_ans.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | let mut q = e.get_internal_buffer_mut(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/test_ans.rs:317:17 [INFO] [stdout] | [INFO] [stdout] 317 | let mut q = d.get_internal_buffer_mut(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/test_ans.rs:338:13 [INFO] [stdout] | [INFO] [stdout] 338 | let mut q = d.get_internal_buffer_mut(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/test_ans.rs:380:17 [INFO] [stdout] | [INFO] [stdout] 380 | let mut q = e.get_internal_buffer_mut(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/test_ans.rs:443:17 [INFO] [stdout] | [INFO] [stdout] 443 | let mut q = d.get_internal_buffer_mut(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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/priors.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 114 | fn get(&mut self, billing: $billing_type, index: I) -> &mut T { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | &mut self.priors.slice_mut()[linearized_index] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | / define_prior_struct!(TestPriorSet, PriorType, [INFO] [stdout] 321 | | (PriorType::Foo, 5, 8, 2), (PriorType::Bar, 6, 2), (PriorType::Cat, 3)); [INFO] [stdout] | |________________________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `define_prior_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [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/raw_to_cmd/mod.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new(m32:&mut AllocU32, rb:RingBuffer) -> Self { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | hash_match:HashMatch::::new(m32), [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/codec/interface.rs:260:28 [INFO] [stdout] | [INFO] [stdout] 246 | fn new(literal_context_map:AllocU8::AllocatedMemory) -> Self { [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 260 | lit_cm_priors: LiteralCommandPriorsCM { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 261 | | priors: AllocCDF16::AllocatedMemory::default() [INFO] [stdout] 262 | | }, [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/codec/interface.rs:377:29 [INFO] [stdout] | [INFO] [stdout] 348 | fn new(lit_len_prior:AllocCDF16::AllocatedMemory, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 349 | cc_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 350 | copy_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 351 | dict_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 352 | pred_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 353 | btype_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 354 | distance_context_map: AllocU8::AllocatedMemory, [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 377 | lit_len_priors: LiteralCommandPriors { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 378 | | priors: lit_len_prior, [INFO] [stdout] 379 | | }, [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/codec/interface.rs:380:32 [INFO] [stdout] | [INFO] [stdout] 348 | fn new(lit_len_prior:AllocCDF16::AllocatedMemory, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 349 | cc_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 350 | copy_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 351 | dict_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 352 | pred_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 353 | btype_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 354 | distance_context_map: AllocU8::AllocatedMemory, [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 380 | prediction_priors: PredictionModePriors { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 381 | | priors: pred_prior, [INFO] [stdout] 382 | | }, [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/codec/interface.rs:383:24 [INFO] [stdout] | [INFO] [stdout] 348 | fn new(lit_len_prior:AllocCDF16::AllocatedMemory, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 349 | cc_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 350 | copy_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 351 | dict_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 352 | pred_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 353 | btype_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 354 | distance_context_map: AllocU8::AllocatedMemory, [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 383 | cc_priors: CrossCommandPriors:: { [INFO] [stdout] | ________________________^ [INFO] [stdout] 384 | | priors: cc_prior [INFO] [stdout] 385 | | }, [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/codec/interface.rs:386:26 [INFO] [stdout] | [INFO] [stdout] 348 | fn new(lit_len_prior:AllocCDF16::AllocatedMemory, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 349 | cc_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 350 | copy_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 351 | dict_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 352 | pred_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 353 | btype_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 354 | distance_context_map: AllocU8::AllocatedMemory, [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 386 | copy_priors: CopyCommandPriors { [INFO] [stdout] | __________________________^ [INFO] [stdout] 387 | | priors: copy_prior [INFO] [stdout] 388 | | }, [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/codec/interface.rs:389:26 [INFO] [stdout] | [INFO] [stdout] 348 | fn new(lit_len_prior:AllocCDF16::AllocatedMemory, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 349 | cc_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 350 | copy_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 351 | dict_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 352 | pred_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 353 | btype_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 354 | distance_context_map: AllocU8::AllocatedMemory, [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 389 | dict_priors: DictCommandPriors { [INFO] [stdout] | __________________________^ [INFO] [stdout] 390 | | priors: dict_prior [INFO] [stdout] 391 | | }, [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/codec/interface.rs:393:27 [INFO] [stdout] | [INFO] [stdout] 348 | fn new(lit_len_prior:AllocCDF16::AllocatedMemory, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 349 | cc_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 350 | copy_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 351 | dict_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 352 | pred_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 353 | btype_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 354 | distance_context_map: AllocU8::AllocatedMemory, [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 393 | btype_priors: BlockTypePriors { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 394 | | priors: btype_prior [INFO] [stdout] 395 | | }, [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/codec/interface.rs:569:32 [INFO] [stdout] | [INFO] [stdout] 559 | pub fn dismantle(self) -> ( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 569 | (self.m8, self.mcdf16, (self.recoder, self.lbk, self.lit_low_priors, self.lit_high_priors, self.lit_coder)) [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/codec/interface.rs:749:25 [INFO] [stdout] | [INFO] [stdout] 713 | pub fn new(mut m8: AllocU8, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 714 | mut mcdf16:AllocCDF16, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 717 | cmd_coder: ArithmeticCoder, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 718 | lit_coder: ArithmeticCoder, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 719 | spc: Specialization, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 720 | linear_input_bytes: LinearInputBytes, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 727 | let ring_buffer = m8.alloc_cell(1 << ring_buffer_size); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 728 | let lit_low_priors = mcdf16.alloc_cell(LiteralNibblePriors::::NUM_ALL_PRIORS); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 729 | let lit_high_priors = mcdf16.alloc_cell(LiteralNibblePriors::::NUM_ALL_PRIORS); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 730 | let lit_len_priors = mcdf16.alloc_cell(LiteralCommandPriors::::NUM_ALL_PRIORS); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 731 | let copy_priors = mcdf16.alloc_cell(CopyCommandPriors::::NUM_ALL_PRIORS); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 732 | let dict_priors = mcdf16.alloc_cell(DictCommandPriors::::NUM_ALL_PRIORS); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 733 | let cc_priors = mcdf16.alloc_cell(CrossCommandPriors::::NUM_ALL_PRIORS); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 734 | let pred_priors = mcdf16.alloc_cell(PredictionModePriors::::NUM_ALL_PRIORS); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 735 | let btype_priors = mcdf16.alloc_cell(BlockTypePriors::::NUM_ALL_PRIORS); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 736 | let literal_context_map = m8.alloc_cell(MAX_LITERAL_CONTEXT_MAP_SIZE); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 737 | let distance_context_map = m8.alloc_cell(4 * NUM_BLOCK_TYPES); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 749 | thread_ctx: ThreadContext::MainThread(MainThreadContext::{ [INFO] [stdout] | _________________________^ [INFO] [stdout] 750 | | recoder: DivansRecodeState::::new( [INFO] [stdout] 751 | | ring_buffer), [INFO] [stdout] 752 | | m8: RepurposingAlloc::::new(m8), [INFO] [stdout] ... | [INFO] [stdout] 761 | | lit_coder: lit_coder, [INFO] [stdout] 762 | | }), [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/codec/interface.rs:764:19 [INFO] [stdout] | [INFO] [stdout] 713 | pub fn new(mut m8: AllocU8, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 714 | mut mcdf16:AllocCDF16, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 717 | cmd_coder: ArithmeticCoder, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 718 | lit_coder: ArithmeticCoder, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 719 | spc: Specialization, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 720 | linear_input_bytes: LinearInputBytes, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 727 | let ring_buffer = m8.alloc_cell(1 << ring_buffer_size); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 728 | let lit_low_priors = mcdf16.alloc_cell(LiteralNibblePriors::::NUM_ALL_PRIORS); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 729 | let lit_high_priors = mcdf16.alloc_cell(LiteralNibblePriors::::NUM_ALL_PRIORS); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 730 | let lit_len_priors = mcdf16.alloc_cell(LiteralCommandPriors::::NUM_ALL_PRIORS); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 731 | let copy_priors = mcdf16.alloc_cell(CopyCommandPriors::::NUM_ALL_PRIORS); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 732 | let dict_priors = mcdf16.alloc_cell(DictCommandPriors::::NUM_ALL_PRIORS); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 733 | let cc_priors = mcdf16.alloc_cell(CrossCommandPriors::::NUM_ALL_PRIORS); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 734 | let pred_priors = mcdf16.alloc_cell(PredictionModePriors::::NUM_ALL_PRIORS); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 735 | let btype_priors = mcdf16.alloc_cell(BlockTypePriors::::NUM_ALL_PRIORS); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 736 | let literal_context_map = m8.alloc_cell(MAX_LITERAL_CONTEXT_MAP_SIZE); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 737 | let distance_context_map = m8.alloc_cell(4 * NUM_BLOCK_TYPES); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 764 | muxer:LinearOutputBytes::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/codec/interface.rs:765:16 [INFO] [stdout] | [INFO] [stdout] 713 | pub fn new(mut m8: AllocU8, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 714 | mut mcdf16:AllocCDF16, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 717 | cmd_coder: ArithmeticCoder, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 718 | lit_coder: ArithmeticCoder, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 719 | spc: Specialization, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 720 | linear_input_bytes: LinearInputBytes, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 727 | let ring_buffer = m8.alloc_cell(1 << ring_buffer_size); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 728 | let lit_low_priors = mcdf16.alloc_cell(LiteralNibblePriors::::NUM_ALL_PRIORS); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 729 | let lit_high_priors = mcdf16.alloc_cell(LiteralNibblePriors::::NUM_ALL_PRIORS); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 730 | let lit_len_priors = mcdf16.alloc_cell(LiteralCommandPriors::::NUM_ALL_PRIORS); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 731 | let copy_priors = mcdf16.alloc_cell(CopyCommandPriors::::NUM_ALL_PRIORS); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 732 | let dict_priors = mcdf16.alloc_cell(DictCommandPriors::::NUM_ALL_PRIORS); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 733 | let cc_priors = mcdf16.alloc_cell(CrossCommandPriors::::NUM_ALL_PRIORS); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 734 | let pred_priors = mcdf16.alloc_cell(PredictionModePriors::::NUM_ALL_PRIORS); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 735 | let btype_priors = mcdf16.alloc_cell(BlockTypePriors::::NUM_ALL_PRIORS); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 736 | let literal_context_map = m8.alloc_cell(MAX_LITERAL_CONTEXT_MAP_SIZE); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 737 | let distance_context_map = m8.alloc_cell(4 * NUM_BLOCK_TYPES); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 765 | bk:CrossCommandBookKeeping::new(lit_len_priors, cc_priors, copy_priors, [INFO] [stdout] | ________________^ [INFO] [stdout] 766 | | dict_priors, pred_priors, btype_priors, [INFO] [stdout] 767 | | distance_context_map, [INFO] [stdout] 768 | | dynamic_context_mixing, [INFO] [stdout] ... | [INFO] [stdout] 772 | | force_stride, [INFO] [stdout] 773 | | ), [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/codec/interface.rs:863:10 [INFO] [stdout] | [INFO] [stdout] 857 | pub fn free(mut self) -> (AllocU8, AllocCDF16) { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 858 | self.free_internal(); [INFO] [stdout] 859 | let mt = match self.thread_ctx { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 860 | ThreadContext::MainThread(x) => x, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 863 | (mt.m8.free(), mt.mcdf16) [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/priors.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 114 | fn get(&mut self, billing: $billing_type, index: I) -> &mut T { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | &mut self.priors.slice_mut()[linearized_index] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/codec/priors.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / define_prior_struct!(CrossCommandPriors, CrossCommandBilling, [INFO] [stdout] 13 | | (CrossCommandBilling::FullSelection, 16, 1), [INFO] [stdout] 14 | | (CrossCommandBilling::EndIndicator, 1, NUM_BLOCK_TYPES)); [INFO] [stdout] | |_____________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `define_prior_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [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/priors.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 114 | fn get(&mut self, billing: $billing_type, index: I) -> &mut T { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | &mut self.priors.slice_mut()[linearized_index] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/codec/priors.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / define_prior_struct!(LiteralNibblePriors, LiteralNibblePriorType, [INFO] [stdout] 36 | | (LiteralNibblePriorType::CombinedNibble, 3, 256, NUM_BLOCK_TYPES) [INFO] [stdout] 37 | | ); [INFO] [stdout] | |______________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `define_prior_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [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/priors.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 114 | fn get(&mut self, billing: $billing_type, index: I) -> &mut T { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | &mut self.priors.slice_mut()[linearized_index] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/codec/priors.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / define_prior_struct!(LiteralCommandPriors, LiteralCommandPriorType, [INFO] [stdout] 40 | | (LiteralCommandPriorType::CountSmall, NUM_BLOCK_TYPES, 16), [INFO] [stdout] 41 | | (LiteralCommandPriorType::SizeBegNib, NUM_BLOCK_TYPES), [INFO] [stdout] 42 | | (LiteralCommandPriorType::SizeLastNib, NUM_BLOCK_TYPES), [INFO] [stdout] 43 | | (LiteralCommandPriorType::SizeMantissaNib, NUM_BLOCK_TYPES)); [INFO] [stdout] | |_________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `define_prior_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [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/priors.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 114 | fn get(&mut self, billing: $billing_type, index: I) -> &mut T { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | &mut self.priors.slice_mut()[linearized_index] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/codec/priors.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / define_prior_struct!(LiteralCommandPriorsCM, LiteralCMPriorType, [INFO] [stdout] 46 | | (LiteralCMPriorType::FirstNibble, 1, NUM_BLOCK_TYPES), [INFO] [stdout] 47 | | (LiteralCMPriorType::SecondNibble, 1, 16, NUM_BLOCK_TYPES)); [INFO] [stdout] | |________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `define_prior_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [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/priors.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 114 | fn get(&mut self, billing: $billing_type, index: I) -> &mut T { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | &mut self.priors.slice_mut()[linearized_index] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/codec/priors.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / define_prior_struct!(RandLiteralCommandPriors, RandLiteralNibblePriorType, [INFO] [stdout] 57 | | (RandLiteralNibblePriorType::CountSmall, NUM_BLOCK_TYPES, 16), [INFO] [stdout] 58 | | (RandLiteralNibblePriorType::SizeBegNib, NUM_BLOCK_TYPES), [INFO] [stdout] 59 | | (RandLiteralNibblePriorType::SizeLastNib, NUM_BLOCK_TYPES), [INFO] [stdout] 60 | | (RandLiteralNibblePriorType::SizeMantissaNib, NUM_BLOCK_TYPES)); [INFO] [stdout] | |____________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `define_prior_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [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/priors.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 114 | fn get(&mut self, billing: $billing_type, index: I) -> &mut T { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | &mut self.priors.slice_mut()[linearized_index] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/codec/priors.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | / define_prior_struct!(CopyCommandPriors, CopyCommandNibblePriorType, [INFO] [stdout] 76 | | (CopyCommandNibblePriorType::DistanceBegNib, NUM_BLOCK_TYPES, NUM_COPY_COMMAND_ORGANIC_PRIORS), [INFO] [stdout] 77 | | (CopyCommandNibblePriorType::DistanceMnemonic, NUM_BLOCK_TYPES, 2), [INFO] [stdout] 78 | | (CopyCommandNibblePriorType::DistanceLastNib, NUM_BLOCK_TYPES, 1), [INFO] [stdout] ... | [INFO] [stdout] 82 | | (CopyCommandNibblePriorType::CountLastNib, NUM_BLOCK_TYPES, NUM_COPY_COMMAND_ORGANIC_PRIORS), [INFO] [stdout] 83 | | (CopyCommandNibblePriorType::CountMantissaNib, NUM_BLOCK_TYPES, NUM_COPY_COMMAND_ORGANIC_PRIORS)); [INFO] [stdout] | |______________________________________________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `define_prior_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [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/priors.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 114 | fn get(&mut self, billing: $billing_type, index: I) -> &mut T { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | &mut self.priors.slice_mut()[linearized_index] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/codec/priors.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | / define_prior_struct!(DictCommandPriors, DictCommandNibblePriorType, [INFO] [stdout] 94 | | (DictCommandNibblePriorType::SizeBegNib, NUM_BLOCK_TYPES), [INFO] [stdout] 95 | | (DictCommandNibblePriorType::SizeLastNib, NUM_BLOCK_TYPES), [INFO] [stdout] 96 | | (DictCommandNibblePriorType::Index, NUM_BLOCK_TYPES, NUM_ORGANIC_DICT_DISTANCE_PRIORS), [INFO] [stdout] 97 | | (DictCommandNibblePriorType::Transform, 2, 25)); [INFO] [stdout] | |____________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `define_prior_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [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/priors.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 114 | fn get(&mut self, billing: $billing_type, index: I) -> &mut T { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | &mut self.priors.slice_mut()[linearized_index] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/codec/priors.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / define_prior_struct!(BlockTypePriors, BlockTypePriorType, [INFO] [stdout] 107 | | (BlockTypePriorType::Mnemonic, 3), // 3 for each of ltype, ctype, dtype switches. [INFO] [stdout] 108 | | (BlockTypePriorType::FirstNibble, 3), [INFO] [stdout] 109 | | (BlockTypePriorType::SecondNibble, 3), [INFO] [stdout] 110 | | (BlockTypePriorType::StrideNibble, 1)); [INFO] [stdout] | |___________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `define_prior_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [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/priors.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 114 | fn get(&mut self, billing: $billing_type, index: I) -> &mut T { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | &mut self.priors.slice_mut()[linearized_index] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/codec/priors.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | / define_prior_struct!(PredictionModePriors, PredictionModePriorType, [INFO] [stdout] 126 | | (PredictionModePriorType::Only, 1), [INFO] [stdout] 127 | | (PredictionModePriorType::LiteralSpeed, 1), [INFO] [stdout] 128 | | (PredictionModePriorType::FirstNibble, 2), [INFO] [stdout] ... | [INFO] [stdout] 132 | | (PredictionModePriorType::ContextMapSpeedPalette, 4) [INFO] [stdout] 133 | | ); [INFO] [stdout] | |______________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `define_prior_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [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/codec/decoder.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn new(main_thread_context: MainThreadContext, [INFO] [stdout] | ----------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | demuxer: LinearInputBytes::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/codec/decoder.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn new(main_thread_context: MainThreadContext, [INFO] [stdout] | ----------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | state_lit: LiteralState { [INFO] [stdout] | ________________________^ [INFO] [stdout] 82 | | lc:LiteralCommand::>::nop(), [INFO] [stdout] 83 | | state:LiteralSubstate::FullyDecoded, [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/codec/decoder.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn new(main_thread_context: MainThreadContext, [INFO] [stdout] | ----------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | devnull: DevNull::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/codec/decoder.rs:86:18 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn new(main_thread_context: MainThreadContext, [INFO] [stdout] | ----------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | nop: LiteralCommand::>::nop(), [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/codec/decoder.rs:88:40 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn new(main_thread_context: MainThreadContext, [INFO] [stdout] | ----------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | state_populate_ring_buffer:Command::nop(), [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/codec/decoder.rs:97:24 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn new(main_thread_context: MainThreadContext, [INFO] [stdout] | ----------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | cmd_buffer:AllocatedMemoryPrefix::realloc(mcommand.alloc_cell(NUM_SERIAL_COMMANDS_BUFFERED),0), [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/codec/decoder.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn new(main_thread_context: MainThreadContext, [INFO] [stdout] | ----------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | pred_buffer: [empty_prediction_mode_context_map::>(), [INFO] [stdout] | __________________________^ [INFO] [stdout] 100 | | empty_prediction_mode_context_map::>()], [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/ans.rs:276:24 [INFO] [stdout] | [INFO] [stdout] 273 | let old_q = self.q.mov(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 276 | start_freq:self.start_freq.mov(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/brotli_ir_gen.rs:131:16 [INFO] [stdout] | [INFO] [stdout] 131 | panic!(m) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 131 | panic!("{}", m) [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 131 | std::panic::panic_any(m) [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/divans_compressor.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 87 | fn new(mut m8: AllocU8, mut m32: AllocU32, mcdf16:AllocCDF16, [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 91 | let ring_buffer = m8.alloc_cell(1<>, Mux [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used [INFO] [stdout] --> src/divans_decompressor.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | / core::mem::replace(self, [INFO] [stdout] 283 | | DivansDecompressor::Decode( [INFO] [stdout] 284 | | DivansProcess:: { [INFO] [stdout] 285 | | codec:Some(codec), [INFO] [stdout] ... | [INFO] [stdout] 288 | | mcommand:mcommand, [INFO] [stdout] 289 | | })); [INFO] [stdout] | |__________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 282 | let _ = core::mem::replace(self, [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/divans_decompressor.rs:443:36 [INFO] [stdout] | [INFO] [stdout] 438 | fn new(m8: AllocU8, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 439 | mcdf16:AllocCDF16, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 440 | mc: AllocCommand, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 443 | DivansDecompressor::Header(HeaderParser{header:[0u8;interface::HEADER_LENGTH], read_offset:0, [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 444 | | m8:Some(m8), mcdf16:Some(mcdf16), mcommand:Some(mc), [INFO] [stdout] 445 | | skip_crc:skip_crc, [INFO] [stdout] 446 | | multithread:multithread, [INFO] [stdout] 447 | | }) [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/parallel_decompressor.rs:137:29 [INFO] [stdout] | [INFO] [stdout] 62 | let mut m8:AllocU8; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | let mcdf16:AllocCDF16; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | let mut mc: AllocCommand; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | let cmd_decoder = DefaultDecoder::new(&mut m8); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | let lit_decoder = DefaultDecoder::new(&mut m8); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | let linear_input_bytes = ThreadToMainDemuxer::>::new( [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | BufferedMultiWorker::::new(&mut mc)); [INFO] [stdout] 77 | let mut codec = codec::DivansCodec:: [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used [INFO] [stdout] --> src/ir_optimize/mod.rs:205:21 [INFO] [stdout] | [INFO] [stdout] 205 | core::mem::replace(copy, CopyCommand::nop()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 205 | let _ = core::mem::replace(copy, CopyCommand::nop()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used [INFO] [stdout] --> src/ir_optimize/mod.rs:219:21 [INFO] [stdout] | [INFO] [stdout] 219 | core::mem::replace(&mut item_a[0], Command::Copy(CopyCommand::nop())); // replace with a copy [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 219 | let _ = core::mem::replace(&mut item_a[0], Command::Copy(CopyCommand::nop())); // replace with a copy [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/threading.rs:279:20 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn new(w:WorkerInterface) -> Self { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 279 | slice: AllocatedMemoryRange::::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/multithreading.rs:379:21 [INFO] [stdout] | [INFO] [stdout] 375 | let worker = MultiWorker::::new(mc); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 379 | buffer: AllocatedMemoryPrefix::realloc(mc.alloc_cell(NUM_SERIAL_COMMANDS_BUFFERED), 0), [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/ffi/mod.rs:36:56 [INFO] [stdout] | [INFO] [stdout] 35 | fn divans_new_compressor_without_custom_alloc(to_box: DivansCompressorState) -> *mut DivansCompressorState{ [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | alloc_util::Box::::into_raw(alloc_util::Box::::new(to_box)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/mod.rs:208:58 [INFO] [stdout] | [INFO] [stdout] 207 | fn divans_new_decompressor_without_custom_alloc(to_box: DivansDecompressorState) -> *mut DivansDecompressorState{ [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 208 | alloc_util::Box::::into_raw(alloc_util::Box::::new(to_box)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/ffi/alloc_util.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | Box::from_raw(slice_ref); // free on drop [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 213 | let _ = Box::from_raw(slice_ref); // free on drop [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used [INFO] [stdout] --> src/ffi/compressor.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | / core::mem::replace(self, [INFO] [stdout] 177 | | CompressorState::InternalCompressor( [INFO] [stdout] 178 | | InternalCompressorFactory::new( [INFO] [stdout] 179 | | SubclassableAllocator::::new(allocators.clone()), [INFO] [stdout] ... | [INFO] [stdout] 182 | | opts, [INFO] [stdout] 183 | | ()))); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 176 | let _ = core::mem::replace(self, [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used [INFO] [stdout] --> src/ffi/compressor.rs:186:17 [INFO] [stdout] | [INFO] [stdout] 186 | / core::mem::replace(self, [INFO] [stdout] 187 | | CompressorState::BrotliCompressor( [INFO] [stdout] 188 | | BrotliFactory::new( [INFO] [stdout] 189 | | SubclassableAllocator::::new(allocators.clone()), [INFO] [stdout] ... | [INFO] [stdout] 209 | | SubclassableAllocator::::new(allocators.clone()), [INFO] [stdout] 210 | | )))); [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 186 | let _ = core::mem::replace(self, [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/reader.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn new(reader:R, compressor:C, buffer:BufferType, needs_flush: bool) ->Self { [INFO] [stdout] | -------- ------------ ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 120 | read_error: 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/reader.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn new(reader: R, opts: interface::DivansCompressorOptions, mut buffer_size: usize) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 181 | let buffer = m8.alloc_cell(buffer_size); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 182 | DivansBrotliHybridCompressorReader::( [INFO] [stdout] 183 | / GenReader:: as Allocator>::AllocatedMemory>::new( [INFO] [stdout] 186 | | reader, [INFO] [stdout] ... | [INFO] [stdout] 211 | | true, [INFO] [stdout] 212 | | )) [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:239:12 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn new(reader: R, opts: interface::DivansCompressorOptions, mut buffer_size: usize) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 237 | let buffer = m8.alloc_cell(buffer_size); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 238 | DivansExperimentalCompressorReader::( [INFO] [stdout] 239 | / GenReader:: as Allocator>::AllocatedMemory>::new( [INFO] [stdout] 242 | | reader, [INFO] [stdout] ... | [INFO] [stdout] 250 | | true, [INFO] [stdout] 251 | | )) [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:300:12 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn new(reader: R, mut buffer_size: usize, skip_crc:bool, multithread:bool) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 298 | let buffer = m8.alloc_cell(buffer_size); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 299 | DivansDecompressorReader::( [INFO] [stdout] 300 | / GenReader:: as Allocator>::AllocatedMemory>::new( [INFO] [stdout] 303 | | reader, [INFO] [stdout] ... | [INFO] [stdout] 312 | | false, [INFO] [stdout] 313 | | )) [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:146:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn new(writer: W, opts: interface::DivansCompressorOptions, mut buffer_size: usize) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | let buffer = m8.alloc_cell(buffer_size); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 145 | DivansBrotliHybridCompressorWriter::( [INFO] [stdout] 146 | / GenWriter:: as Allocator>::AllocatedMemory>::new( [INFO] [stdout] 149 | | writer, [INFO] [stdout] ... | [INFO] [stdout] 175 | | true, [INFO] [stdout] 176 | | )) [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:206:12 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn new(writer: W, opts: interface::DivansCompressorOptions, mut buffer_size: usize) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 204 | let buffer = m8.alloc_cell(buffer_size); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 205 | DivansExperimentalCompressorWriter::( [INFO] [stdout] 206 | / GenWriter:: as Allocator>::AllocatedMemory>::new( [INFO] [stdout] 209 | | writer, [INFO] [stdout] ... | [INFO] [stdout] 217 | | true, [INFO] [stdout] 218 | | )) [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:268:12 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn new(writer: W, mut buffer_size: usize, skip_crc:bool, multithread: bool) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 266 | let buffer = m8.alloc_cell(buffer_size); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 267 | DivansDecompressorWriter::( [INFO] [stdout] 268 | / GenWriter:: as Allocator>::AllocatedMemory>::new( [INFO] [stdout] 271 | | writer, [INFO] [stdout] ... | [INFO] [stdout] 280 | | false, [INFO] [stdout] 281 | | )) [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ir_optimize/mod.rs:198:21 [INFO] [stdout] | [INFO] [stdout] 198 | let mut should_merge = match should_merge(lit, copy, index, mb, &mut actuary, &mut distance_cache) { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mux.rs:463:20 [INFO] [stdout] | [INFO] [stdout] 463 | let mut is_lagging = max_flush > MAX_FLUSH_VARIANCE + self.last_flush[index]; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 46 previous errors; 115 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `divans` (lib) due to 47 previous errors; 115 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `put_8bit` is never used [INFO] [stdout] --> src/arithmetic_coder.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub trait EntropyEncoder { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 122 | fn put_8bit(&mut self, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/multithreading.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | struct ThreadEvent(ThreadEventType, u32, Duration); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `ThreadEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `read_offset` is never read [INFO] [stdout] --> src/writer.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 292 | pub struct UnlimitedBuffer { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 293 | pub data: Vec, [INFO] [stdout] 294 | pub read_offset: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/alloc_util.rs:121:32 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn new(alloc: AllocT) -> Self { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 121 | cached_allocation: AllocT::AllocatedMemory::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] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/probability/numeric.rs:78:23 [INFO] [stdout] | [INFO] [stdout] 78 | for n in nums.into_iter() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 78 | for n in nums.iter() { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or remove `.into_iter()` to iterate by value [INFO] [stdout] | [INFO] [stdout] 78 - for n in nums.into_iter() { [INFO] [stdout] 78 + for n in nums { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/probability/numeric.rs:79:29 [INFO] [stdout] | [INFO] [stdout] 79 | for d in denoms.into_iter() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 79 | for d in denoms.iter() { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or remove `.into_iter()` to iterate by value [INFO] [stdout] | [INFO] [stdout] 79 - for d in denoms.into_iter() { [INFO] [stdout] 79 + for d in denoms { [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/priors.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 114 | fn get(&mut self, billing: $billing_type, index: I) -> &mut T { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | &mut self.priors.slice_mut()[linearized_index] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | / define_prior_struct!(TestPriorSet, PriorType, [INFO] [stdout] 321 | | (PriorType::Foo, 5, 8, 2), (PriorType::Bar, 6, 2), (PriorType::Cat, 3)); [INFO] [stdout] | |________________________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `define_prior_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [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/raw_to_cmd/mod.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new(m32:&mut AllocU32, rb:RingBuffer) -> Self { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | hash_match:HashMatch::::new(m32), [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/codec/interface.rs:260:28 [INFO] [stdout] | [INFO] [stdout] 246 | fn new(literal_context_map:AllocU8::AllocatedMemory) -> Self { [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 260 | lit_cm_priors: LiteralCommandPriorsCM { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 261 | | priors: AllocCDF16::AllocatedMemory::default() [INFO] [stdout] 262 | | }, [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/codec/interface.rs:377:29 [INFO] [stdout] | [INFO] [stdout] 348 | fn new(lit_len_prior:AllocCDF16::AllocatedMemory, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 349 | cc_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 350 | copy_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 351 | dict_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 352 | pred_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 353 | btype_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 354 | distance_context_map: AllocU8::AllocatedMemory, [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 377 | lit_len_priors: LiteralCommandPriors { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 378 | | priors: lit_len_prior, [INFO] [stdout] 379 | | }, [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/codec/interface.rs:380:32 [INFO] [stdout] | [INFO] [stdout] 348 | fn new(lit_len_prior:AllocCDF16::AllocatedMemory, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 349 | cc_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 350 | copy_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 351 | dict_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 352 | pred_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 353 | btype_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 354 | distance_context_map: AllocU8::AllocatedMemory, [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 380 | prediction_priors: PredictionModePriors { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 381 | | priors: pred_prior, [INFO] [stdout] 382 | | }, [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/codec/interface.rs:383:24 [INFO] [stdout] | [INFO] [stdout] 348 | fn new(lit_len_prior:AllocCDF16::AllocatedMemory, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 349 | cc_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 350 | copy_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 351 | dict_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 352 | pred_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 353 | btype_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 354 | distance_context_map: AllocU8::AllocatedMemory, [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 383 | cc_priors: CrossCommandPriors:: { [INFO] [stdout] | ________________________^ [INFO] [stdout] 384 | | priors: cc_prior [INFO] [stdout] 385 | | }, [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/codec/interface.rs:386:26 [INFO] [stdout] | [INFO] [stdout] 348 | fn new(lit_len_prior:AllocCDF16::AllocatedMemory, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 349 | cc_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 350 | copy_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 351 | dict_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 352 | pred_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 353 | btype_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 354 | distance_context_map: AllocU8::AllocatedMemory, [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 386 | copy_priors: CopyCommandPriors { [INFO] [stdout] | __________________________^ [INFO] [stdout] 387 | | priors: copy_prior [INFO] [stdout] 388 | | }, [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/codec/interface.rs:389:26 [INFO] [stdout] | [INFO] [stdout] 348 | fn new(lit_len_prior:AllocCDF16::AllocatedMemory, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 349 | cc_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 350 | copy_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 351 | dict_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 352 | pred_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 353 | btype_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 354 | distance_context_map: AllocU8::AllocatedMemory, [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 389 | dict_priors: DictCommandPriors { [INFO] [stdout] | __________________________^ [INFO] [stdout] 390 | | priors: dict_prior [INFO] [stdout] 391 | | }, [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/codec/interface.rs:393:27 [INFO] [stdout] | [INFO] [stdout] 348 | fn new(lit_len_prior:AllocCDF16::AllocatedMemory, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 349 | cc_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 350 | copy_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 351 | dict_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 352 | pred_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 353 | btype_prior: AllocCDF16::AllocatedMemory, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 354 | distance_context_map: AllocU8::AllocatedMemory, [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 393 | btype_priors: BlockTypePriors { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 394 | | priors: btype_prior [INFO] [stdout] 395 | | }, [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/codec/interface.rs:569:32 [INFO] [stdout] | [INFO] [stdout] 559 | pub fn dismantle(self) -> ( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 569 | (self.m8, self.mcdf16, (self.recoder, self.lbk, self.lit_low_priors, self.lit_high_priors, self.lit_coder)) [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/codec/interface.rs:749:25 [INFO] [stdout] | [INFO] [stdout] 713 | pub fn new(mut m8: AllocU8, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 714 | mut mcdf16:AllocCDF16, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 717 | cmd_coder: ArithmeticCoder, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 718 | lit_coder: ArithmeticCoder, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 719 | spc: Specialization, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 720 | linear_input_bytes: LinearInputBytes, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 727 | let ring_buffer = m8.alloc_cell(1 << ring_buffer_size); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 728 | let lit_low_priors = mcdf16.alloc_cell(LiteralNibblePriors::::NUM_ALL_PRIORS); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 729 | let lit_high_priors = mcdf16.alloc_cell(LiteralNibblePriors::::NUM_ALL_PRIORS); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 730 | let lit_len_priors = mcdf16.alloc_cell(LiteralCommandPriors::::NUM_ALL_PRIORS); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 731 | let copy_priors = mcdf16.alloc_cell(CopyCommandPriors::::NUM_ALL_PRIORS); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 732 | let dict_priors = mcdf16.alloc_cell(DictCommandPriors::::NUM_ALL_PRIORS); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 733 | let cc_priors = mcdf16.alloc_cell(CrossCommandPriors::::NUM_ALL_PRIORS); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 734 | let pred_priors = mcdf16.alloc_cell(PredictionModePriors::::NUM_ALL_PRIORS); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 735 | let btype_priors = mcdf16.alloc_cell(BlockTypePriors::::NUM_ALL_PRIORS); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 736 | let literal_context_map = m8.alloc_cell(MAX_LITERAL_CONTEXT_MAP_SIZE); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 737 | let distance_context_map = m8.alloc_cell(4 * NUM_BLOCK_TYPES); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 749 | thread_ctx: ThreadContext::MainThread(MainThreadContext::{ [INFO] [stdout] | _________________________^ [INFO] [stdout] 750 | | recoder: DivansRecodeState::::new( [INFO] [stdout] 751 | | ring_buffer), [INFO] [stdout] 752 | | m8: RepurposingAlloc::::new(m8), [INFO] [stdout] ... | [INFO] [stdout] 761 | | lit_coder: lit_coder, [INFO] [stdout] 762 | | }), [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/codec/interface.rs:764:19 [INFO] [stdout] | [INFO] [stdout] 713 | pub fn new(mut m8: AllocU8, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 714 | mut mcdf16:AllocCDF16, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 717 | cmd_coder: ArithmeticCoder, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 718 | lit_coder: ArithmeticCoder, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 719 | spc: Specialization, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 720 | linear_input_bytes: LinearInputBytes, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 727 | let ring_buffer = m8.alloc_cell(1 << ring_buffer_size); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 728 | let lit_low_priors = mcdf16.alloc_cell(LiteralNibblePriors::::NUM_ALL_PRIORS); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 729 | let lit_high_priors = mcdf16.alloc_cell(LiteralNibblePriors::::NUM_ALL_PRIORS); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 730 | let lit_len_priors = mcdf16.alloc_cell(LiteralCommandPriors::::NUM_ALL_PRIORS); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 731 | let copy_priors = mcdf16.alloc_cell(CopyCommandPriors::::NUM_ALL_PRIORS); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 732 | let dict_priors = mcdf16.alloc_cell(DictCommandPriors::::NUM_ALL_PRIORS); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 733 | let cc_priors = mcdf16.alloc_cell(CrossCommandPriors::::NUM_ALL_PRIORS); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 734 | let pred_priors = mcdf16.alloc_cell(PredictionModePriors::::NUM_ALL_PRIORS); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 735 | let btype_priors = mcdf16.alloc_cell(BlockTypePriors::::NUM_ALL_PRIORS); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 736 | let literal_context_map = m8.alloc_cell(MAX_LITERAL_CONTEXT_MAP_SIZE); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 737 | let distance_context_map = m8.alloc_cell(4 * NUM_BLOCK_TYPES); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 764 | muxer:LinearOutputBytes::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/codec/interface.rs:765:16 [INFO] [stdout] | [INFO] [stdout] 713 | pub fn new(mut m8: AllocU8, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 714 | mut mcdf16:AllocCDF16, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 717 | cmd_coder: ArithmeticCoder, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 718 | lit_coder: ArithmeticCoder, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 719 | spc: Specialization, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 720 | linear_input_bytes: LinearInputBytes, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 727 | let ring_buffer = m8.alloc_cell(1 << ring_buffer_size); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 728 | let lit_low_priors = mcdf16.alloc_cell(LiteralNibblePriors::::NUM_ALL_PRIORS); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 729 | let lit_high_priors = mcdf16.alloc_cell(LiteralNibblePriors::::NUM_ALL_PRIORS); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 730 | let lit_len_priors = mcdf16.alloc_cell(LiteralCommandPriors::::NUM_ALL_PRIORS); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 731 | let copy_priors = mcdf16.alloc_cell(CopyCommandPriors::::NUM_ALL_PRIORS); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 732 | let dict_priors = mcdf16.alloc_cell(DictCommandPriors::::NUM_ALL_PRIORS); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 733 | let cc_priors = mcdf16.alloc_cell(CrossCommandPriors::::NUM_ALL_PRIORS); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 734 | let pred_priors = mcdf16.alloc_cell(PredictionModePriors::::NUM_ALL_PRIORS); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 735 | let btype_priors = mcdf16.alloc_cell(BlockTypePriors::::NUM_ALL_PRIORS); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 736 | let literal_context_map = m8.alloc_cell(MAX_LITERAL_CONTEXT_MAP_SIZE); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 737 | let distance_context_map = m8.alloc_cell(4 * NUM_BLOCK_TYPES); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 765 | bk:CrossCommandBookKeeping::new(lit_len_priors, cc_priors, copy_priors, [INFO] [stdout] | ________________^ [INFO] [stdout] 766 | | dict_priors, pred_priors, btype_priors, [INFO] [stdout] 767 | | distance_context_map, [INFO] [stdout] 768 | | dynamic_context_mixing, [INFO] [stdout] ... | [INFO] [stdout] 772 | | force_stride, [INFO] [stdout] 773 | | ), [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/codec/interface.rs:863:10 [INFO] [stdout] | [INFO] [stdout] 857 | pub fn free(mut self) -> (AllocU8, AllocCDF16) { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 858 | self.free_internal(); [INFO] [stdout] 859 | let mt = match self.thread_ctx { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 860 | ThreadContext::MainThread(x) => x, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 863 | (mt.m8.free(), mt.mcdf16) [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/priors.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 114 | fn get(&mut self, billing: $billing_type, index: I) -> &mut T { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | &mut self.priors.slice_mut()[linearized_index] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/codec/priors.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / define_prior_struct!(CrossCommandPriors, CrossCommandBilling, [INFO] [stdout] 13 | | (CrossCommandBilling::FullSelection, 16, 1), [INFO] [stdout] 14 | | (CrossCommandBilling::EndIndicator, 1, NUM_BLOCK_TYPES)); [INFO] [stdout] | |_____________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `define_prior_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [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/priors.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 114 | fn get(&mut self, billing: $billing_type, index: I) -> &mut T { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | &mut self.priors.slice_mut()[linearized_index] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/codec/priors.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / define_prior_struct!(LiteralNibblePriors, LiteralNibblePriorType, [INFO] [stdout] 36 | | (LiteralNibblePriorType::CombinedNibble, 3, 256, NUM_BLOCK_TYPES) [INFO] [stdout] 37 | | ); [INFO] [stdout] | |______________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `define_prior_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [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/priors.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 114 | fn get(&mut self, billing: $billing_type, index: I) -> &mut T { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | &mut self.priors.slice_mut()[linearized_index] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/codec/priors.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / define_prior_struct!(LiteralCommandPriors, LiteralCommandPriorType, [INFO] [stdout] 40 | | (LiteralCommandPriorType::CountSmall, NUM_BLOCK_TYPES, 16), [INFO] [stdout] 41 | | (LiteralCommandPriorType::SizeBegNib, NUM_BLOCK_TYPES), [INFO] [stdout] 42 | | (LiteralCommandPriorType::SizeLastNib, NUM_BLOCK_TYPES), [INFO] [stdout] 43 | | (LiteralCommandPriorType::SizeMantissaNib, NUM_BLOCK_TYPES)); [INFO] [stdout] | |_________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `define_prior_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [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/priors.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 114 | fn get(&mut self, billing: $billing_type, index: I) -> &mut T { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | &mut self.priors.slice_mut()[linearized_index] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/codec/priors.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / define_prior_struct!(LiteralCommandPriorsCM, LiteralCMPriorType, [INFO] [stdout] 46 | | (LiteralCMPriorType::FirstNibble, 1, NUM_BLOCK_TYPES), [INFO] [stdout] 47 | | (LiteralCMPriorType::SecondNibble, 1, 16, NUM_BLOCK_TYPES)); [INFO] [stdout] | |________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `define_prior_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [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/priors.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 114 | fn get(&mut self, billing: $billing_type, index: I) -> &mut T { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | &mut self.priors.slice_mut()[linearized_index] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/codec/priors.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / define_prior_struct!(RandLiteralCommandPriors, RandLiteralNibblePriorType, [INFO] [stdout] 57 | | (RandLiteralNibblePriorType::CountSmall, NUM_BLOCK_TYPES, 16), [INFO] [stdout] 58 | | (RandLiteralNibblePriorType::SizeBegNib, NUM_BLOCK_TYPES), [INFO] [stdout] 59 | | (RandLiteralNibblePriorType::SizeLastNib, NUM_BLOCK_TYPES), [INFO] [stdout] 60 | | (RandLiteralNibblePriorType::SizeMantissaNib, NUM_BLOCK_TYPES)); [INFO] [stdout] | |____________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `define_prior_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [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/priors.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 114 | fn get(&mut self, billing: $billing_type, index: I) -> &mut T { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | &mut self.priors.slice_mut()[linearized_index] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/codec/priors.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | / define_prior_struct!(CopyCommandPriors, CopyCommandNibblePriorType, [INFO] [stdout] 76 | | (CopyCommandNibblePriorType::DistanceBegNib, NUM_BLOCK_TYPES, NUM_COPY_COMMAND_ORGANIC_PRIORS), [INFO] [stdout] 77 | | (CopyCommandNibblePriorType::DistanceMnemonic, NUM_BLOCK_TYPES, 2), [INFO] [stdout] 78 | | (CopyCommandNibblePriorType::DistanceLastNib, NUM_BLOCK_TYPES, 1), [INFO] [stdout] ... | [INFO] [stdout] 82 | | (CopyCommandNibblePriorType::CountLastNib, NUM_BLOCK_TYPES, NUM_COPY_COMMAND_ORGANIC_PRIORS), [INFO] [stdout] 83 | | (CopyCommandNibblePriorType::CountMantissaNib, NUM_BLOCK_TYPES, NUM_COPY_COMMAND_ORGANIC_PRIORS)); [INFO] [stdout] | |______________________________________________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `define_prior_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [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/priors.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 114 | fn get(&mut self, billing: $billing_type, index: I) -> &mut T { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | &mut self.priors.slice_mut()[linearized_index] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/codec/priors.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | / define_prior_struct!(DictCommandPriors, DictCommandNibblePriorType, [INFO] [stdout] 94 | | (DictCommandNibblePriorType::SizeBegNib, NUM_BLOCK_TYPES), [INFO] [stdout] 95 | | (DictCommandNibblePriorType::SizeLastNib, NUM_BLOCK_TYPES), [INFO] [stdout] 96 | | (DictCommandNibblePriorType::Index, NUM_BLOCK_TYPES, NUM_ORGANIC_DICT_DISTANCE_PRIORS), [INFO] [stdout] 97 | | (DictCommandNibblePriorType::Transform, 2, 25)); [INFO] [stdout] | |____________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `define_prior_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [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/priors.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 114 | fn get(&mut self, billing: $billing_type, index: I) -> &mut T { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | &mut self.priors.slice_mut()[linearized_index] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/codec/priors.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / define_prior_struct!(BlockTypePriors, BlockTypePriorType, [INFO] [stdout] 107 | | (BlockTypePriorType::Mnemonic, 3), // 3 for each of ltype, ctype, dtype switches. [INFO] [stdout] 108 | | (BlockTypePriorType::FirstNibble, 3), [INFO] [stdout] 109 | | (BlockTypePriorType::SecondNibble, 3), [INFO] [stdout] 110 | | (BlockTypePriorType::StrideNibble, 1)); [INFO] [stdout] | |___________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `define_prior_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [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/priors.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 114 | fn get(&mut self, billing: $billing_type, index: I) -> &mut T { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | &mut self.priors.slice_mut()[linearized_index] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/codec/priors.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | / define_prior_struct!(PredictionModePriors, PredictionModePriorType, [INFO] [stdout] 126 | | (PredictionModePriorType::Only, 1), [INFO] [stdout] 127 | | (PredictionModePriorType::LiteralSpeed, 1), [INFO] [stdout] 128 | | (PredictionModePriorType::FirstNibble, 2), [INFO] [stdout] ... | [INFO] [stdout] 132 | | (PredictionModePriorType::ContextMapSpeedPalette, 4) [INFO] [stdout] 133 | | ); [INFO] [stdout] | |______________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `define_prior_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [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/codec/decoder.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn new(main_thread_context: MainThreadContext, [INFO] [stdout] | ----------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | demuxer: LinearInputBytes::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/codec/decoder.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn new(main_thread_context: MainThreadContext, [INFO] [stdout] | ----------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | state_lit: LiteralState { [INFO] [stdout] | ________________________^ [INFO] [stdout] 82 | | lc:LiteralCommand::>::nop(), [INFO] [stdout] 83 | | state:LiteralSubstate::FullyDecoded, [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/codec/decoder.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn new(main_thread_context: MainThreadContext, [INFO] [stdout] | ----------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | devnull: DevNull::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/codec/decoder.rs:86:18 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn new(main_thread_context: MainThreadContext, [INFO] [stdout] | ----------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | nop: LiteralCommand::>::nop(), [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/codec/decoder.rs:88:40 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn new(main_thread_context: MainThreadContext, [INFO] [stdout] | ----------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | state_populate_ring_buffer:Command::nop(), [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/codec/decoder.rs:97:24 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn new(main_thread_context: MainThreadContext, [INFO] [stdout] | ----------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | cmd_buffer:AllocatedMemoryPrefix::realloc(mcommand.alloc_cell(NUM_SERIAL_COMMANDS_BUFFERED),0), [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/codec/decoder.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn new(main_thread_context: MainThreadContext, [INFO] [stdout] | ----------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | pred_buffer: [empty_prediction_mode_context_map::>(), [INFO] [stdout] | __________________________^ [INFO] [stdout] 100 | | empty_prediction_mode_context_map::>()], [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/ans.rs:276:24 [INFO] [stdout] | [INFO] [stdout] 273 | let old_q = self.q.mov(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 276 | start_freq:self.start_freq.mov(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/brotli_ir_gen.rs:131:16 [INFO] [stdout] | [INFO] [stdout] 131 | panic!(m) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 131 | panic!("{}", m) [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 131 | std::panic::panic_any(m) [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/divans_compressor.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 87 | fn new(mut m8: AllocU8, mut m32: AllocU32, mcdf16:AllocCDF16, [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 91 | let ring_buffer = m8.alloc_cell(1<>, Mux [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used [INFO] [stdout] --> src/divans_decompressor.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | / core::mem::replace(self, [INFO] [stdout] 283 | | DivansDecompressor::Decode( [INFO] [stdout] 284 | | DivansProcess:: { [INFO] [stdout] 285 | | codec:Some(codec), [INFO] [stdout] ... | [INFO] [stdout] 288 | | mcommand:mcommand, [INFO] [stdout] 289 | | })); [INFO] [stdout] | |__________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 282 | let _ = core::mem::replace(self, [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/divans_decompressor.rs:443:36 [INFO] [stdout] | [INFO] [stdout] 438 | fn new(m8: AllocU8, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 439 | mcdf16:AllocCDF16, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 440 | mc: AllocCommand, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 443 | DivansDecompressor::Header(HeaderParser{header:[0u8;interface::HEADER_LENGTH], read_offset:0, [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 444 | | m8:Some(m8), mcdf16:Some(mcdf16), mcommand:Some(mc), [INFO] [stdout] 445 | | skip_crc:skip_crc, [INFO] [stdout] 446 | | multithread:multithread, [INFO] [stdout] 447 | | }) [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/parallel_decompressor.rs:137:29 [INFO] [stdout] | [INFO] [stdout] 62 | let mut m8:AllocU8; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | let mcdf16:AllocCDF16; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | let mut mc: AllocCommand; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | let cmd_decoder = DefaultDecoder::new(&mut m8); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | let lit_decoder = DefaultDecoder::new(&mut m8); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | let linear_input_bytes = ThreadToMainDemuxer::>::new( [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | BufferedMultiWorker::::new(&mut mc)); [INFO] [stdout] 77 | let mut codec = codec::DivansCodec:: [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used [INFO] [stdout] --> src/ir_optimize/mod.rs:205:21 [INFO] [stdout] | [INFO] [stdout] 205 | core::mem::replace(copy, CopyCommand::nop()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 205 | let _ = core::mem::replace(copy, CopyCommand::nop()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used [INFO] [stdout] --> src/ir_optimize/mod.rs:219:21 [INFO] [stdout] | [INFO] [stdout] 219 | core::mem::replace(&mut item_a[0], Command::Copy(CopyCommand::nop())); // replace with a copy [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 219 | let _ = core::mem::replace(&mut item_a[0], Command::Copy(CopyCommand::nop())); // replace with a copy [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/threading.rs:279:20 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn new(w:WorkerInterface) -> Self { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 279 | slice: AllocatedMemoryRange::::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/multithreading.rs:379:21 [INFO] [stdout] | [INFO] [stdout] 375 | let worker = MultiWorker::::new(mc); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 379 | buffer: AllocatedMemoryPrefix::realloc(mc.alloc_cell(NUM_SERIAL_COMMANDS_BUFFERED), 0), [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/ffi/mod.rs:36:56 [INFO] [stdout] | [INFO] [stdout] 35 | fn divans_new_compressor_without_custom_alloc(to_box: DivansCompressorState) -> *mut DivansCompressorState{ [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | alloc_util::Box::::into_raw(alloc_util::Box::::new(to_box)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/mod.rs:208:58 [INFO] [stdout] | [INFO] [stdout] 207 | fn divans_new_decompressor_without_custom_alloc(to_box: DivansDecompressorState) -> *mut DivansDecompressorState{ [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 208 | alloc_util::Box::::into_raw(alloc_util::Box::::new(to_box)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/ffi/alloc_util.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | Box::from_raw(slice_ref); // free on drop [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 213 | let _ = Box::from_raw(slice_ref); // free on drop [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used [INFO] [stdout] --> src/ffi/compressor.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | / core::mem::replace(self, [INFO] [stdout] 177 | | CompressorState::InternalCompressor( [INFO] [stdout] 178 | | InternalCompressorFactory::new( [INFO] [stdout] 179 | | SubclassableAllocator::::new(allocators.clone()), [INFO] [stdout] ... | [INFO] [stdout] 182 | | opts, [INFO] [stdout] 183 | | ()))); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 176 | let _ = core::mem::replace(self, [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used [INFO] [stdout] --> src/ffi/compressor.rs:186:17 [INFO] [stdout] | [INFO] [stdout] 186 | / core::mem::replace(self, [INFO] [stdout] 187 | | CompressorState::BrotliCompressor( [INFO] [stdout] 188 | | BrotliFactory::new( [INFO] [stdout] 189 | | SubclassableAllocator::::new(allocators.clone()), [INFO] [stdout] ... | [INFO] [stdout] 209 | | SubclassableAllocator::::new(allocators.clone()), [INFO] [stdout] 210 | | )))); [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 186 | let _ = core::mem::replace(self, [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/reader.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn new(reader:R, compressor:C, buffer:BufferType, needs_flush: bool) ->Self { [INFO] [stdout] | -------- ------------ ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 120 | read_error: 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/reader.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn new(reader: R, opts: interface::DivansCompressorOptions, mut buffer_size: usize) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 181 | let buffer = m8.alloc_cell(buffer_size); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 182 | DivansBrotliHybridCompressorReader::( [INFO] [stdout] 183 | / GenReader:: as Allocator>::AllocatedMemory>::new( [INFO] [stdout] 186 | | reader, [INFO] [stdout] ... | [INFO] [stdout] 211 | | true, [INFO] [stdout] 212 | | )) [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:239:12 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn new(reader: R, opts: interface::DivansCompressorOptions, mut buffer_size: usize) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 237 | let buffer = m8.alloc_cell(buffer_size); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 238 | DivansExperimentalCompressorReader::( [INFO] [stdout] 239 | / GenReader:: as Allocator>::AllocatedMemory>::new( [INFO] [stdout] 242 | | reader, [INFO] [stdout] ... | [INFO] [stdout] 250 | | true, [INFO] [stdout] 251 | | )) [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:300:12 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn new(reader: R, mut buffer_size: usize, skip_crc:bool, multithread:bool) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 298 | let buffer = m8.alloc_cell(buffer_size); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 299 | DivansDecompressorReader::( [INFO] [stdout] 300 | / GenReader:: as Allocator>::AllocatedMemory>::new( [INFO] [stdout] 303 | | reader, [INFO] [stdout] ... | [INFO] [stdout] 312 | | false, [INFO] [stdout] 313 | | )) [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/reader.rs:401:32 [INFO] [stdout] | [INFO] [stdout] 401 | panic!(e) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 401 | panic!("{}", e) [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 401 | std::panic::panic_any(e) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/reader.rs:431:38 [INFO] [stdout] | [INFO] [stdout] 431 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 431 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 431 | Err(e) => std::panic::panic_any(e), [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/writer.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn new(writer: W, opts: interface::DivansCompressorOptions, mut buffer_size: usize) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | let buffer = m8.alloc_cell(buffer_size); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 145 | DivansBrotliHybridCompressorWriter::( [INFO] [stdout] 146 | / GenWriter:: as Allocator>::AllocatedMemory>::new( [INFO] [stdout] 149 | | writer, [INFO] [stdout] ... | [INFO] [stdout] 175 | | true, [INFO] [stdout] 176 | | )) [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:206:12 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn new(writer: W, opts: interface::DivansCompressorOptions, mut buffer_size: usize) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 204 | let buffer = m8.alloc_cell(buffer_size); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 205 | DivansExperimentalCompressorWriter::( [INFO] [stdout] 206 | / GenWriter:: as Allocator>::AllocatedMemory>::new( [INFO] [stdout] 209 | | writer, [INFO] [stdout] ... | [INFO] [stdout] 217 | | true, [INFO] [stdout] 218 | | )) [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:268:12 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn new(writer: W, mut buffer_size: usize, skip_crc:bool, multithread: bool) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 266 | let buffer = m8.alloc_cell(buffer_size); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 267 | DivansDecompressorWriter::( [INFO] [stdout] 268 | / GenWriter:: as Allocator>::AllocatedMemory>::new( [INFO] [stdout] 271 | | writer, [INFO] [stdout] ... | [INFO] [stdout] 280 | | false, [INFO] [stdout] 281 | | )) [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/writer.rs:364:38 [INFO] [stdout] | [INFO] [stdout] 364 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 364 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 364 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/writer.rs:374:25 [INFO] [stdout] | [INFO] [stdout] 374 | panic!(e); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 374 | panic!("{}", e); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 374 | std::panic::panic_any(e); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/writer.rs:399:38 [INFO] [stdout] | [INFO] [stdout] 399 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 399 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 399 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/writer.rs:409:25 [INFO] [stdout] | [INFO] [stdout] 409 | panic!(e); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 409 | panic!("{}", e); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 409 | std::panic::panic_any(e); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 46 previous errors; 129 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `divans` (lib test) due to 47 previous errors; 129 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d3ce6c73781ecc76eeb3cd1eca14f7e32a0c79282371d18e7b87d87114e7d4e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3ce6c73781ecc76eeb3cd1eca14f7e32a0c79282371d18e7b87d87114e7d4e6", kill_on_drop: false }` [INFO] [stdout] d3ce6c73781ecc76eeb3cd1eca14f7e32a0c79282371d18e7b87d87114e7d4e6