[INFO] fetching crate tsfile 0.0.2... [INFO] checking tsfile-0.0.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate tsfile 0.0.2 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate tsfile 0.0.2 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 tsfile 0.0.2 [INFO] finished tweaking crates.io crate tsfile 0.0.2 [INFO] tweaked toml for crates.io crate tsfile 0.0.2 written to /workspace/builds/worker-1-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] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 15 packages to latest compatible versions [INFO] [stderr] Adding bit-set v0.5.3 (latest: v0.8.0) [INFO] [stderr] Adding bit-vec v0.6.3 (latest: v0.8.0) [INFO] [stderr] Adding snafu v0.6.10 (latest: v0.8.4) [INFO] [stderr] Adding snafu-derive v0.6.10 (latest: v0.8.4) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] bcc3b88e4de62e4f9885fef9e2c35bbd52a70ca7a01c6aaf15cb094e7342925c [INFO] running `Command { std: "docker" "start" "-a" "bcc3b88e4de62e4f9885fef9e2c35bbd52a70ca7a01c6aaf15cb094e7342925c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bcc3b88e4de62e4f9885fef9e2c35bbd52a70ca7a01c6aaf15cb094e7342925c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcc3b88e4de62e4f9885fef9e2c35bbd52a70ca7a01c6aaf15cb094e7342925c", kill_on_drop: false }` [INFO] [stdout] bcc3b88e4de62e4f9885fef9e2c35bbd52a70ca7a01c6aaf15cb094e7342925c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 9db076b1572fa6ed39fae3cc2f026cc47ddc8fab40adb109ad7a7843ee9df0cb [INFO] running `Command { std: "docker" "start" "-a" "9db076b1572fa6ed39fae3cc2f026cc47ddc8fab40adb109ad7a7843ee9df0cb", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling snap v1.1.1 [INFO] [stderr] Checking bit_utils v0.1.1 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking murmurhash3 v0.0.5 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking varint v0.9.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Checking snafu v0.6.10 [INFO] [stderr] Checking tsfile v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `TimeseriesMetadataType` [INFO] [stdout] --> src/file/tsfile_search_reader.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | TimeseriesMetadataType, TsFileMetadata, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cursor` [INFO] [stdout] --> src/utils/io.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{Cursor, Read, Result, Seek, SeekFrom}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TimeseriesMetadataType` [INFO] [stdout] --> src/file/tsfile_search_reader.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | TimeseriesMetadataType, TsFileMetadata, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cursor` [INFO] [stdout] --> src/utils/io.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{Cursor, Read, Result, Seek, SeekFrom}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InternalDevice` and `LeafDevice` [INFO] [stdout] --> src/lib.rs:13:56 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::file::metadata::MetadataIndexNodeType::{InternalDevice, LeafDevice}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAGIC_STRING` is never used [INFO] [stdout] --> src/lib.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const MAGIC_STRING: &str = "TsFile"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VERSION_NUMBER_V2` is never used [INFO] [stdout] --> src/lib.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const VERSION_NUMBER_V2: &str = "000002"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VERSION_NUMBER` is never used [INFO] [stdout] --> src/lib.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const VERSION_NUMBER: u8 = 0x03; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cursor`, `header`, and `statistic` are never read [INFO] [stdout] --> src/chunk/reader.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct DefaultChunkReader { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 110 | cursor: Cursor>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 111 | header: ChunkHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 112 | pages: Vec>, [INFO] [stdout] 113 | statistic: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `uncompressed_size`, `compressed_size`, and `statistics` are never read [INFO] [stdout] --> src/chunk/reader.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 265 | pub struct PageHeader { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 266 | uncompressed_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 267 | compressed_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 268 | statistics: Arc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PageHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `measurement_id`, `compression_type`, and `encoding_type` are never read [INFO] [stdout] --> src/chunk/reader.rs:283:5 [INFO] [stdout] | [INFO] [stdout] 281 | pub struct ChunkHeader { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 282 | chunk_type: u8, [INFO] [stdout] 283 | measurement_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 286 | compression_type: CompressionType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 287 | encoding_type: TSEncoding, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/file/metadata.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct TsFileMetadata { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 39 | size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TsFileMetadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `meta_offset` is never read [INFO] [stdout] --> src/file/metadata.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct FileMeta { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 51 | metadata_index: Arc, [INFO] [stdout] 52 | meta_offset: i64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileMeta` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `minimal_size`, `maximal_hash_function_size`, `seeds`, and `size` are never read [INFO] [stdout] --> src/file/metadata.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct BloomFilter { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 76 | minimal_size: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 77 | maximal_hash_function_size: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 78 | seeds: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 79 | size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BloomFilter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `chunk_metadata_list_size`, `data_type`, and `metadata_type` are never read [INFO] [stdout] --> src/file/metadata.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 195 | pub struct TimeseriesMetadata { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 196 | chunk_metadata_list: Vec, [INFO] [stdout] 197 | chunk_metadata_list_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 198 | measurement_id: String, [INFO] [stdout] 199 | data_type: TSDataType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 200 | metadata_type: TimeseriesMetadataType, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TimeseriesMetadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `int_id` is never used [INFO] [stdout] --> src/file/metadata.rs:369:8 [INFO] [stdout] | [INFO] [stdout] 346 | impl TSDataType { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 369 | fn int_id(&self) -> u8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `measurement_uid` is never read [INFO] [stdout] --> src/file/metadata.rs:383:5 [INFO] [stdout] | [INFO] [stdout] 382 | pub struct ChunkMetadata { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 383 | measurement_uid: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChunkMetadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current_row_group`, `num_row_groups`, and `iters` are never read [INFO] [stdout] --> src/file/reader.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct RowIter { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 78 | current_row_group: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 79 | num_row_groups: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 80 | iters: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_empty`, `count`, `start_time`, and `end_time` are never read [INFO] [stdout] --> src/file/statistics.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct StatisticHeader { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 33 | is_empty: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 34 | count: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 35 | start_time: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 36 | end_time: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatisticHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header`, `first_value`, and `last_value` are never read [INFO] [stdout] --> src/file/statistics.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct BinaryStatistics { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 41 | header: StatisticHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 42 | first_value: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 43 | last_value: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinaryStatistics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header`, `first_value`, `last_value`, and `sum_value` are never read [INFO] [stdout] --> src/file/statistics.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct BooleanStatistics { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 48 | header: StatisticHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 49 | first_value: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 50 | last_value: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 51 | sum_value: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BooleanStatistics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header`, `min_value`, `max_value`, `first_value`, `last_value`, and `sum_value` are never read [INFO] [stdout] --> src/file/statistics.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct IntegerStatistics { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 56 | header: StatisticHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 57 | min_value: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 58 | max_value: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 59 | first_value: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 60 | last_value: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 61 | sum_value: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IntegerStatistics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header`, `min_value`, `max_value`, `first_value`, `last_value`, and `sum_value` are never read [INFO] [stdout] --> src/file/statistics.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct LongStatistics { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 66 | header: StatisticHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 67 | min_value: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 68 | max_value: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 69 | first_value: i64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 70 | last_value: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 71 | sum_value: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LongStatistics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header`, `min_value`, `max_value`, `first_value`, `last_value`, and `sum_value` are never read [INFO] [stdout] --> src/file/statistics.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct DoubleStatistics { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 76 | header: StatisticHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 77 | min_value: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 78 | max_value: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 79 | first_value: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 80 | last_value: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 81 | sum_value: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DoubleStatistics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header`, `min_value`, `max_value`, `first_value`, `last_value`, and `sum_value` are never read [INFO] [stdout] --> src/file/statistics.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct FloatStatistics { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 86 | header: StatisticHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 87 | min_value: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 88 | max_value: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 89 | first_value: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 90 | last_value: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 91 | sum_value: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FloatStatistics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `all_devices` is never read [INFO] [stdout] --> src/file/tsfile_search_reader.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct TsFileSearchReader { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 69 | all_devices: Vec, [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/chunk/reader.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | Ok(Box::new(DefaultChunkReader::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 100 | | self.reader [INFO] [stdout] 101 | | .get_cursor(first_page, chunk_header.data_size as usize) [INFO] [stdout] 102 | | .context(GetCursor {})?, [INFO] [stdout] 103 | | chunk_header, [INFO] [stdout] 104 | | chunk.statistic(), [INFO] [stdout] 105 | | )?)) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/chunk/reader.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 120 | statistic: Arc, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | ) -> Result { [INFO] [stdout] 122 | let mut pages: Vec> = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 213 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 214 | | cursor, [INFO] [stdout] 215 | | header, [INFO] [stdout] 216 | | pages, [INFO] [stdout] 217 | | statistic, [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] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/chunk/reader.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | data.read_exact(&mut time_data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 246 | let _ = data.read_exact(&mut time_data); [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/file/footer.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 34 | let mut result = reader.get_read(file_size - FOOTER_SIZE as u64, FOOTER_SIZE); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | let metadata_reader = reader.get_read(footer_metadata_pos, metadata_len as usize); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | let mut metadata_reader = Box::new(metadata_reader); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | TsFileMetadata::parser(Cursor::new(data)).context(ParserMetadata) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/file/metadata.rs:313:12 [INFO] [stdout] | [INFO] [stdout] 222 | let statistics = Arc::new(match data_type { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 255 | let mut chunk_metadata_list = Vec::new(); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 313 | Ok(TimeseriesMetadata { [INFO] [stdout] | ____________^ [INFO] [stdout] 314 | | measurement_id, [INFO] [stdout] 315 | | data_type, [INFO] [stdout] 316 | | metadata_type: meta_type, [INFO] [stdout] 317 | | chunk_metadata_list_size, [INFO] [stdout] 318 | | chunk_metadata_list, [INFO] [stdout] 319 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/file/metadata.rs:436:12 [INFO] [stdout] | [INFO] [stdout] 436 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 437 | | size: 0, [INFO] [stdout] 438 | | file_meta: FileMeta::new(metadata_index, meta_offset, bloom_filter), [INFO] [stdout] 439 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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 `std::result::Result` that must be used [INFO] [stdout] --> src/file/metadata.rs:485:9 [INFO] [stdout] | [INFO] [stdout] 485 | data.read_exact(&mut vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 485 | let _ = data.read_exact(&mut vec); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/file/tsfile_search_reader.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | reader.read_exact(&mut data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 143 | let _ = reader.read_exact(&mut data); [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/file/tsfile_search_reader.rs:224:23 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn new(reader: Arc, stack: Vec, device: String) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 224 | ts_stack: Vec::new(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/file/tsfile_search_reader.rs:335:12 [INFO] [stdout] | [INFO] [stdout] 333 | pub fn new(file: R) -> Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 334 | let metadata = footer::parser_metadata(&file).context(ParserFooter)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 335 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 336 | | reader: Arc::new(file), [INFO] [stdout] 337 | | metadata, [INFO] [stdout] 338 | | all_devices: vec![], [INFO] [stdout] 339 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tsfile` (lib test) due to 8 previous errors; 26 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: constant `MAGIC_STRING` is never used [INFO] [stdout] --> src/lib.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const MAGIC_STRING: &str = "TsFile"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VERSION_NUMBER_V2` is never used [INFO] [stdout] --> src/lib.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const VERSION_NUMBER_V2: &str = "000002"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VERSION_NUMBER` is never used [INFO] [stdout] --> src/lib.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const VERSION_NUMBER: u8 = 0x03; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cursor`, `header`, and `statistic` are never read [INFO] [stdout] --> src/chunk/reader.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct DefaultChunkReader { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 110 | cursor: Cursor>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 111 | header: ChunkHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 112 | pages: Vec>, [INFO] [stdout] 113 | statistic: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `uncompressed_size`, `compressed_size`, and `statistics` are never read [INFO] [stdout] --> src/chunk/reader.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 265 | pub struct PageHeader { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 266 | uncompressed_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 267 | compressed_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 268 | statistics: Arc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PageHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `measurement_id`, `compression_type`, and `encoding_type` are never read [INFO] [stdout] --> src/chunk/reader.rs:283:5 [INFO] [stdout] | [INFO] [stdout] 281 | pub struct ChunkHeader { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 282 | chunk_type: u8, [INFO] [stdout] 283 | measurement_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 286 | compression_type: CompressionType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 287 | encoding_type: TSEncoding, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/file/metadata.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct TsFileMetadata { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 39 | size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TsFileMetadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `meta_offset` is never read [INFO] [stdout] --> src/file/metadata.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct FileMeta { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 51 | metadata_index: Arc, [INFO] [stdout] 52 | meta_offset: i64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileMeta` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `minimal_size`, `maximal_hash_function_size`, `seeds`, and `size` are never read [INFO] [stdout] --> src/file/metadata.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct BloomFilter { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 76 | minimal_size: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 77 | maximal_hash_function_size: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 78 | seeds: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 79 | size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BloomFilter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `chunk_metadata_list_size`, `data_type`, and `metadata_type` are never read [INFO] [stdout] --> src/file/metadata.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 195 | pub struct TimeseriesMetadata { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 196 | chunk_metadata_list: Vec, [INFO] [stdout] 197 | chunk_metadata_list_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 198 | measurement_id: String, [INFO] [stdout] 199 | data_type: TSDataType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 200 | metadata_type: TimeseriesMetadataType, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TimeseriesMetadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `int_id` is never used [INFO] [stdout] --> src/file/metadata.rs:369:8 [INFO] [stdout] | [INFO] [stdout] 346 | impl TSDataType { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 369 | fn int_id(&self) -> u8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `measurement_uid` is never read [INFO] [stdout] --> src/file/metadata.rs:383:5 [INFO] [stdout] | [INFO] [stdout] 382 | pub struct ChunkMetadata { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 383 | measurement_uid: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChunkMetadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current_row_group`, `num_row_groups`, and `iters` are never read [INFO] [stdout] --> src/file/reader.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct RowIter { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 78 | current_row_group: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 79 | num_row_groups: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 80 | iters: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_empty`, `count`, `start_time`, and `end_time` are never read [INFO] [stdout] --> src/file/statistics.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct StatisticHeader { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 33 | is_empty: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 34 | count: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 35 | start_time: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 36 | end_time: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatisticHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header`, `first_value`, and `last_value` are never read [INFO] [stdout] --> src/file/statistics.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct BinaryStatistics { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 41 | header: StatisticHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 42 | first_value: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 43 | last_value: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinaryStatistics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header`, `first_value`, `last_value`, and `sum_value` are never read [INFO] [stdout] --> src/file/statistics.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct BooleanStatistics { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 48 | header: StatisticHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 49 | first_value: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 50 | last_value: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 51 | sum_value: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BooleanStatistics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header`, `min_value`, `max_value`, `first_value`, `last_value`, and `sum_value` are never read [INFO] [stdout] --> src/file/statistics.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct IntegerStatistics { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 56 | header: StatisticHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 57 | min_value: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 58 | max_value: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 59 | first_value: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 60 | last_value: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 61 | sum_value: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IntegerStatistics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header`, `min_value`, `max_value`, `first_value`, `last_value`, and `sum_value` are never read [INFO] [stdout] --> src/file/statistics.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct LongStatistics { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 66 | header: StatisticHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 67 | min_value: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 68 | max_value: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 69 | first_value: i64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 70 | last_value: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 71 | sum_value: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LongStatistics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header`, `min_value`, `max_value`, `first_value`, `last_value`, and `sum_value` are never read [INFO] [stdout] --> src/file/statistics.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct DoubleStatistics { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 76 | header: StatisticHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 77 | min_value: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 78 | max_value: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 79 | first_value: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 80 | last_value: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 81 | sum_value: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DoubleStatistics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header`, `min_value`, `max_value`, `first_value`, `last_value`, and `sum_value` are never read [INFO] [stdout] --> src/file/statistics.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct FloatStatistics { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 86 | header: StatisticHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 87 | min_value: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 88 | max_value: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 89 | first_value: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 90 | last_value: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 91 | sum_value: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FloatStatistics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `all_devices` is never read [INFO] [stdout] --> src/file/tsfile_search_reader.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct TsFileSearchReader { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 69 | all_devices: Vec, [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/chunk/reader.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | Ok(Box::new(DefaultChunkReader::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 100 | | self.reader [INFO] [stdout] 101 | | .get_cursor(first_page, chunk_header.data_size as usize) [INFO] [stdout] 102 | | .context(GetCursor {})?, [INFO] [stdout] 103 | | chunk_header, [INFO] [stdout] 104 | | chunk.statistic(), [INFO] [stdout] 105 | | )?)) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/chunk/reader.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 120 | statistic: Arc, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | ) -> Result { [INFO] [stdout] 122 | let mut pages: Vec> = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 213 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 214 | | cursor, [INFO] [stdout] 215 | | header, [INFO] [stdout] 216 | | pages, [INFO] [stdout] 217 | | statistic, [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] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/chunk/reader.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | data.read_exact(&mut time_data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 246 | let _ = data.read_exact(&mut time_data); [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/file/footer.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 34 | let mut result = reader.get_read(file_size - FOOTER_SIZE as u64, FOOTER_SIZE); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | let metadata_reader = reader.get_read(footer_metadata_pos, metadata_len as usize); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | let mut metadata_reader = Box::new(metadata_reader); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | TsFileMetadata::parser(Cursor::new(data)).context(ParserMetadata) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/file/metadata.rs:313:12 [INFO] [stdout] | [INFO] [stdout] 222 | let statistics = Arc::new(match data_type { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 255 | let mut chunk_metadata_list = Vec::new(); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 313 | Ok(TimeseriesMetadata { [INFO] [stdout] | ____________^ [INFO] [stdout] 314 | | measurement_id, [INFO] [stdout] 315 | | data_type, [INFO] [stdout] 316 | | metadata_type: meta_type, [INFO] [stdout] 317 | | chunk_metadata_list_size, [INFO] [stdout] 318 | | chunk_metadata_list, [INFO] [stdout] 319 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/file/metadata.rs:436:12 [INFO] [stdout] | [INFO] [stdout] 436 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 437 | | size: 0, [INFO] [stdout] 438 | | file_meta: FileMeta::new(metadata_index, meta_offset, bloom_filter), [INFO] [stdout] 439 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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 `std::result::Result` that must be used [INFO] [stdout] --> src/file/metadata.rs:485:9 [INFO] [stdout] | [INFO] [stdout] 485 | data.read_exact(&mut vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 485 | let _ = data.read_exact(&mut vec); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/file/tsfile_search_reader.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | reader.read_exact(&mut data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 143 | let _ = reader.read_exact(&mut data); [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/file/tsfile_search_reader.rs:224:23 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn new(reader: Arc, stack: Vec, device: String) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 224 | ts_stack: Vec::new(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/file/tsfile_search_reader.rs:335:12 [INFO] [stdout] | [INFO] [stdout] 333 | pub fn new(file: R) -> Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 334 | let metadata = footer::parser_metadata(&file).context(ParserFooter)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 335 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 336 | | reader: Arc::new(file), [INFO] [stdout] 337 | | metadata, [INFO] [stdout] 338 | | all_devices: vec![], [INFO] [stdout] 339 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tsfile` (lib) due to 8 previous errors; 27 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9db076b1572fa6ed39fae3cc2f026cc47ddc8fab40adb109ad7a7843ee9df0cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9db076b1572fa6ed39fae3cc2f026cc47ddc8fab40adb109ad7a7843ee9df0cb", kill_on_drop: false }` [INFO] [stdout] 9db076b1572fa6ed39fae3cc2f026cc47ddc8fab40adb109ad7a7843ee9df0cb