[INFO] fetching crate asammdf 0.1.0... [INFO] checking asammdf-0.1.0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate asammdf 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate asammdf 0.1.0 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate asammdf 0.1.0 [INFO] finished tweaking crates.io crate asammdf 0.1.0 [INFO] tweaked toml for crates.io crate asammdf 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 75 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding darling v0.14.4 (latest: v0.20.10) [INFO] [stderr] Adding darling_core v0.14.4 (latest: v0.20.10) [INFO] [stderr] Adding darling_macro v0.14.4 (latest: v0.20.10) [INFO] [stderr] Adding derive_builder v0.11.2 (latest: v0.20.1) [INFO] [stderr] Adding derive_builder_core v0.11.2 (latest: v0.20.1) [INFO] [stderr] Adding derive_builder_macro v0.11.2 (latest: v0.20.1) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.13.0) [INFO] [stderr] Adding libflate v1.4.0 (latest: v2.1.0) [INFO] [stderr] Adding libflate_lz77 v1.2.0 (latest: v2.1.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding strsim v0.10.0 (latest: v0.11.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strum v0.26.3 [INFO] [stderr] Downloaded indextree v4.7.2 [INFO] [stderr] Downloaded libflate_lz77 v1.2.0 [INFO] [stderr] Downloaded libflate v1.4.0 [INFO] [stderr] Downloaded derive_builder_macro v0.11.2 [INFO] [stderr] Downloaded asammdf_derive v0.1.0 [INFO] [stderr] Downloaded rle-decode-fast v1.0.3 [INFO] [stderr] Downloaded indextree-macros v0.1.1 [INFO] [stderr] Downloaded derive_builder_core v0.11.2 [INFO] [stderr] Downloaded strum_macros v0.26.4 [INFO] [stderr] Downloaded derive_builder v0.11.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc2f57cf8ac81f379d97808fe2466aaa177eccab76123bea7f14fbb23076344c [INFO] running `Command { std: "docker" "start" "-a" "cc2f57cf8ac81f379d97808fe2466aaa177eccab76123bea7f14fbb23076344c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc2f57cf8ac81f379d97808fe2466aaa177eccab76123bea7f14fbb23076344c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc2f57cf8ac81f379d97808fe2466aaa177eccab76123bea7f14fbb23076344c", kill_on_drop: false }` [INFO] [stdout] cc2f57cf8ac81f379d97808fe2466aaa177eccab76123bea7f14fbb23076344c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71f1bb3b06a80f0116cc9ea07e3f76be95f3707603706837b3590a9392b0cb35 [INFO] running `Command { std: "docker" "start" "-a" "71f1bb3b06a80f0116cc9ea07e3f76be95f3707603706837b3590a9392b0cb35", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Checking rle-decode-fast v1.0.3 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking libflate_lz77 v1.2.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking libflate v1.4.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling asammdf_derive v0.1.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.11.2 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling indextree-macros v0.1.1 [INFO] [stderr] Compiling derive_builder_macro v0.11.2 [INFO] [stderr] Checking derive_builder v0.11.2 [INFO] [stderr] Checking indextree v4.7.2 [INFO] [stderr] Checking asammdf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::time` [INFO] [stdout] --> src/v4/parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::time; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ByteOrder` [INFO] [stdout] --> src/v4/parser.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{ByteOrder, ConversionType}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DTBlock` [INFO] [stdout] --> src/v4/parser.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | DGBlock, DLBlock, DTBlock, DZBlock, EVBlock, FHBlock, HDBlock, HLBlock, IDBlock, SIBlock, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/v4/mod.rs:1489:17 [INFO] [stdout] | [INFO] [stdout] 1489 | ) -> Result<(BlockId), MDFErrorKind> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1489 - ) -> Result<(BlockId), MDFErrorKind> { [INFO] [stdout] 1489 + ) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::time` [INFO] [stdout] --> src/v4/parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::time; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ByteOrder` [INFO] [stdout] --> src/v4/parser.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{ByteOrder, ConversionType}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DTBlock` [INFO] [stdout] --> src/v4/parser.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | DGBlock, DLBlock, DTBlock, DZBlock, EVBlock, FHBlock, HDBlock, HLBlock, IDBlock, SIBlock, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/v4/mod.rs:1489:17 [INFO] [stdout] | [INFO] [stdout] 1489 | ) -> Result<(BlockId), MDFErrorKind> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1489 - ) -> Result<(BlockId), MDFErrorKind> { [INFO] [stdout] 1489 + ) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::datetime_from_str`: use `DateTime::parse_from_str` or `NaiveDateTime::parse_from_str` with `and_utc()` or `and_local_timezone()` instead [INFO] [stdout] --> src/v3/mod.rs:250:21 [INFO] [stdout] | [INFO] [stdout] 250 | Utc.datetime_from_str(&time_str, "%d:%m:%Y %H:%M:%S") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::datetime_from_str`: use `DateTime::parse_from_str` or `NaiveDateTime::parse_from_str` with `and_utc()` or `and_local_timezone()` instead [INFO] [stdout] --> src/v3/mod.rs:250:21 [INFO] [stdout] | [INFO] [stdout] 250 | Utc.datetime_from_str(&time_str, "%d:%m:%Y %H:%M:%S") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/v4/mod.rs:576:19 [INFO] [stdout] | [INFO] [stdout] 575 | dependencies: todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 576 | name: Default::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/v4/mod.rs:576:19 [INFO] [stdout] | [INFO] [stdout] 575 | dependencies: todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 576 | name: Default::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CNObject` [INFO] [stdout] --> src/v4/mod.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | use crate::{CNObject, PermanentBlock}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/misc.rs:85:47 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) fn save_to_arena_store_block_id(block: B, parent_id: BlockId, mdf_file: &mut MDFFile) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent_id` [INFO] [stdout] --> src/misc.rs:85:57 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) fn save_to_arena_store_block_id(block: B, parent_id: BlockId, mdf_file: &mut MDFFile) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mdf_file` [INFO] [stdout] --> src/misc.rs:85:77 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) fn save_to_arena_store_block_id(block: B, parent_id: BlockId, mdf_file: &mut MDFFile) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mdf_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CNObject` [INFO] [stdout] --> src/v4/mod.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | use crate::{CNObject, PermanentBlock}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/misc.rs:85:47 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) fn save_to_arena_store_block_id(block: B, parent_id: BlockId, mdf_file: &mut MDFFile) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent_id` [INFO] [stdout] --> src/misc.rs:85:57 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) fn save_to_arena_store_block_id(block: B, parent_id: BlockId, mdf_file: &mut MDFFile) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mdf_file` [INFO] [stdout] --> src/misc.rs:85:77 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) fn save_to_arena_store_block_id(block: B, parent_id: BlockId, mdf_file: &mut MDFFile) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mdf_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precision` [INFO] [stdout] --> src/v4/parser.rs:351:35 [INFO] [stdout] | [INFO] [stdout] 351 | let (input, (conversion_type, precision, conversion_flags, ref_count, tab_size, min, max)) = [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ref_count` [INFO] [stdout] --> src/v4/parser.rs:351:64 [INFO] [stdout] | [INFO] [stdout] 351 | let (input, (conversion_type, precision, conversion_flags, ref_count, tab_size, min, max)) = [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ref_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tab_size` [INFO] [stdout] --> src/v4/parser.rs:351:75 [INFO] [stdout] | [INFO] [stdout] 351 | let (input, (conversion_type, precision, conversion_flags, ref_count, tab_size, min, max)) = [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tab_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `conv_type` is never read [INFO] [stdout] --> src/v4/parser.rs:360:13 [INFO] [stdout] | [INFO] [stdout] 360 | let mut conv_type = None; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precision` [INFO] [stdout] --> src/v4/parser.rs:351:35 [INFO] [stdout] | [INFO] [stdout] 351 | let (input, (conversion_type, precision, conversion_flags, ref_count, tab_size, min, max)) = [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ref_count` [INFO] [stdout] --> src/v4/parser.rs:351:64 [INFO] [stdout] | [INFO] [stdout] 351 | let (input, (conversion_type, precision, conversion_flags, ref_count, tab_size, min, max)) = [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ref_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tab_size` [INFO] [stdout] --> src/v4/parser.rs:351:75 [INFO] [stdout] | [INFO] [stdout] 351 | let (input, (conversion_type, precision, conversion_flags, ref_count, tab_size, min, max)) = [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tab_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `conv_type` is never read [INFO] [stdout] --> src/v4/parser.rs:360:13 [INFO] [stdout] | [INFO] [stdout] 360 | let mut conv_type = None; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fn_username` [INFO] [stdout] --> src/v4/mod.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | fn_username: String, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fn_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fn_text` [INFO] [stdout] --> src/v4/mod.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | fn_text: String, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fn_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `links` [INFO] [stdout] --> src/v4/mod.rs:738:30 [INFO] [stdout] | [INFO] [stdout] 738 | let (id, block_size, links, next_pos) = read_v4_basic_info(link_id, instance)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_links` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `byte_order` [INFO] [stdout] --> src/v4/mod.rs:729:9 [INFO] [stdout] | [INFO] [stdout] 729 | byte_order: ByteOrder, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_byte_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_size` [INFO] [stdout] --> src/v4/mod.rs:771:22 [INFO] [stdout] | [INFO] [stdout] 771 | let (id, block_size, links, next_pos) = read_v4_basic_info(link_data, instance)?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `links` [INFO] [stdout] --> src/v4/mod.rs:771:34 [INFO] [stdout] | [INFO] [stdout] 771 | let (id, block_size, links, next_pos) = read_v4_basic_info(link_data, instance)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_links` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_pos` [INFO] [stdout] --> src/v4/mod.rs:771:41 [INFO] [stdout] | [INFO] [stdout] 771 | let (id, block_size, links, next_pos) = read_v4_basic_info(link_data, instance)?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `byte_order` [INFO] [stdout] --> src/v4/mod.rs:901:9 [INFO] [stdout] | [INFO] [stdout] 901 | byte_order: ByteOrder, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_byte_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/v4/mod.rs:1032:13 [INFO] [stdout] | [INFO] [stdout] 1032 | let pos = buf_reader.stream_position().unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/v4/mod.rs:1067:13 [INFO] [stdout] | [INFO] [stdout] 1067 | let pos = buf_reader.stream_position().unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blocks_ids` [INFO] [stdout] --> src/v4/mod.rs:1215:29 [INFO] [stdout] | [INFO] [stdout] 1215 | let (zipped_reader, blocks_ids) = DGBlock::read_data(instance, &links, dg_id, 2)?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocks_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mdf_file` [INFO] [stdout] --> src/v4/mod.rs:1325:28 [INFO] [stdout] | [INFO] [stdout] 1325 | pub fn dlblocks(&self, mdf_file: &'a MDFFile) -> Option> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mdf_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mdf_file` [INFO] [stdout] --> src/v4/mod.rs:1367:34 [INFO] [stdout] | [INFO] [stdout] 1367 | pub fn data_blocks(&self, mdf_file: &MDFFile) -> Option> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mdf_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/v4/mod.rs:1419:14 [INFO] [stdout] | [INFO] [stdout] 1419 | for (i, link) in links.iter().skip(1).enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_size` [INFO] [stdout] --> src/v4/mod.rs:1423:26 [INFO] [stdout] | [INFO] [stdout] 1423 | let (id, block_size, links, next_pos) = read_v4_basic_info(*link as u64, instance)?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `links` [INFO] [stdout] --> src/v4/mod.rs:1423:38 [INFO] [stdout] | [INFO] [stdout] 1423 | let (id, block_size, links, next_pos) = read_v4_basic_info(*link as u64, instance)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_links` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_pos` [INFO] [stdout] --> src/v4/mod.rs:1423:45 [INFO] [stdout] | [INFO] [stdout] 1423 | let (id, block_size, links, next_pos) = read_v4_basic_info(*link as u64, instance)?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_id` [INFO] [stdout] --> src/v4/mod.rs:1450:22 [INFO] [stdout] | [INFO] [stdout] 1450 | fn read_one_dt_block(block_id: BlockId, mdf_file: &mut MDFFile, position: u64) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mdf_file` [INFO] [stdout] --> src/v4/mod.rs:1450:41 [INFO] [stdout] | [INFO] [stdout] 1450 | fn read_one_dt_block(block_id: BlockId, mdf_file: &mut MDFFile, position: u64) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mdf_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/v4/mod.rs:1450:65 [INFO] [stdout] | [INFO] [stdout] 1450 | fn read_one_dt_block(block_id: BlockId, mdf_file: &mut MDFFile, position: u64) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `byte_order` [INFO] [stdout] --> src/v4/mod.rs:1485:9 [INFO] [stdout] | [INFO] [stdout] 1485 | byte_order: ByteOrder, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_byte_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `byte_order` [INFO] [stdout] --> src/v4/mod.rs:1570:9 [INFO] [stdout] | [INFO] [stdout] 1570 | byte_order: ByteOrder, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_byte_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/v4/mod.rs:1586:13 [INFO] [stdout] | [INFO] [stdout] 1586 | let mut dz_block = dz_block_basic(&data, id, block_size, links.len() as u64) [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: unused variable: `fn_username` [INFO] [stdout] --> src/v4/mod.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | fn_username: String, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fn_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fn_text` [INFO] [stdout] --> src/v4/mod.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | fn_text: String, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fn_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_size` [INFO] [stdout] --> src/v4/mod.rs:2109:26 [INFO] [stdout] | [INFO] [stdout] 2109 | let (id, block_size, links, next_pos) = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `links` [INFO] [stdout] --> src/v4/mod.rs:2109:38 [INFO] [stdout] | [INFO] [stdout] 2109 | let (id, block_size, links, next_pos) = [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_links` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_pos` [INFO] [stdout] --> src/v4/mod.rs:2109:45 [INFO] [stdout] | [INFO] [stdout] 2109 | let (id, block_size, links, next_pos) = [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `links` [INFO] [stdout] --> src/v4/mod.rs:738:30 [INFO] [stdout] | [INFO] [stdout] 738 | let (id, block_size, links, next_pos) = read_v4_basic_info(link_id, instance)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_links` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `byte_order` [INFO] [stdout] --> src/v4/mod.rs:729:9 [INFO] [stdout] | [INFO] [stdout] 729 | byte_order: ByteOrder, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_byte_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_size` [INFO] [stdout] --> src/v4/mod.rs:771:22 [INFO] [stdout] | [INFO] [stdout] 771 | let (id, block_size, links, next_pos) = read_v4_basic_info(link_data, instance)?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `links` [INFO] [stdout] --> src/v4/mod.rs:771:34 [INFO] [stdout] | [INFO] [stdout] 771 | let (id, block_size, links, next_pos) = read_v4_basic_info(link_data, instance)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_links` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_pos` [INFO] [stdout] --> src/v4/mod.rs:771:41 [INFO] [stdout] | [INFO] [stdout] 771 | let (id, block_size, links, next_pos) = read_v4_basic_info(link_data, instance)?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `idx` is assigned to, but never used [INFO] [stdout] --> src/v4/mod.rs:2461:33 [INFO] [stdout] | [INFO] [stdout] 2461 | let mut idx = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_idx` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `byte_order` [INFO] [stdout] --> src/v4/mod.rs:901:9 [INFO] [stdout] | [INFO] [stdout] 901 | byte_order: ByteOrder, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_byte_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/v4/mod.rs:1032:13 [INFO] [stdout] | [INFO] [stdout] 1032 | let pos = buf_reader.stream_position().unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/v4/mod.rs:2536:9 [INFO] [stdout] | [INFO] [stdout] 2536 | flags: Option, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/v4/mod.rs:1067:13 [INFO] [stdout] | [INFO] [stdout] 1067 | let pos = buf_reader.stream_position().unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blocks_ids` [INFO] [stdout] --> src/v4/mod.rs:1215:29 [INFO] [stdout] | [INFO] [stdout] 1215 | let (zipped_reader, blocks_ids) = DGBlock::read_data(instance, &links, dg_id, 2)?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocks_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mdf_file` [INFO] [stdout] --> src/v4/mod.rs:1325:28 [INFO] [stdout] | [INFO] [stdout] 1325 | pub fn dlblocks(&self, mdf_file: &'a MDFFile) -> Option> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mdf_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mdf_file` [INFO] [stdout] --> src/v4/mod.rs:1367:34 [INFO] [stdout] | [INFO] [stdout] 1367 | pub fn data_blocks(&self, mdf_file: &MDFFile) -> Option> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mdf_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/v4/mod.rs:1419:14 [INFO] [stdout] | [INFO] [stdout] 1419 | for (i, link) in links.iter().skip(1).enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_size` [INFO] [stdout] --> src/v4/mod.rs:1423:26 [INFO] [stdout] | [INFO] [stdout] 1423 | let (id, block_size, links, next_pos) = read_v4_basic_info(*link as u64, instance)?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `links` [INFO] [stdout] --> src/v4/mod.rs:1423:38 [INFO] [stdout] | [INFO] [stdout] 1423 | let (id, block_size, links, next_pos) = read_v4_basic_info(*link as u64, instance)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_links` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_pos` [INFO] [stdout] --> src/v4/mod.rs:1423:45 [INFO] [stdout] | [INFO] [stdout] 1423 | let (id, block_size, links, next_pos) = read_v4_basic_info(*link as u64, instance)?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_id` [INFO] [stdout] --> src/v4/mod.rs:1450:22 [INFO] [stdout] | [INFO] [stdout] 1450 | fn read_one_dt_block(block_id: BlockId, mdf_file: &mut MDFFile, position: u64) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mdf_file` [INFO] [stdout] --> src/v4/mod.rs:1450:41 [INFO] [stdout] | [INFO] [stdout] 1450 | fn read_one_dt_block(block_id: BlockId, mdf_file: &mut MDFFile, position: u64) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mdf_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/v4/mod.rs:1450:65 [INFO] [stdout] | [INFO] [stdout] 1450 | fn read_one_dt_block(block_id: BlockId, mdf_file: &mut MDFFile, position: u64) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `byte_order` [INFO] [stdout] --> src/v4/mod.rs:1485:9 [INFO] [stdout] | [INFO] [stdout] 1485 | byte_order: ByteOrder, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_byte_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `byte_order` [INFO] [stdout] --> src/v4/mod.rs:1570:9 [INFO] [stdout] | [INFO] [stdout] 1570 | byte_order: ByteOrder, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_byte_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/v4/mod.rs:1586:13 [INFO] [stdout] | [INFO] [stdout] 1586 | let mut dz_block = dz_block_basic(&data, id, block_size, links.len() as u64) [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: unused variable: `block_size` [INFO] [stdout] --> src/v4/mod.rs:2109:26 [INFO] [stdout] | [INFO] [stdout] 2109 | let (id, block_size, links, next_pos) = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `links` [INFO] [stdout] --> src/v4/mod.rs:2109:38 [INFO] [stdout] | [INFO] [stdout] 2109 | let (id, block_size, links, next_pos) = [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_links` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_pos` [INFO] [stdout] --> src/v4/mod.rs:2109:45 [INFO] [stdout] | [INFO] [stdout] 2109 | let (id, block_size, links, next_pos) = [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cgblock` [INFO] [stdout] --> src/lib.rs:559:42 [INFO] [stdout] | [INFO] [stdout] 559 | pub fn get_master_cnblock(&mut self, cgblock: BlockId) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cgblock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `idx` is assigned to, but never used [INFO] [stdout] --> src/v4/mod.rs:2461:33 [INFO] [stdout] | [INFO] [stdout] 2461 | let mut idx = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_idx` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lib.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 48 | impl Annotation { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 49 | fn new>(timestamp: f64, text: S) -> Annotation { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AnnotationList` is never used [INFO] [stdout] --> src/lib.rs:58:6 [INFO] [stdout] | [INFO] [stdout] 58 | type AnnotationList = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_node` and `append_node` are never used [INFO] [stdout] --> src/lib.rs:538:8 [INFO] [stdout] | [INFO] [stdout] 360 | impl MDFFile { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 538 | fn remove_node(&mut self, id: BlockId, recursive: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 547 | fn append_node(&mut self, parent_id: BlockId, child_id: BlockId) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_to_arena_store_block_id` is never used [INFO] [stdout] --> src/misc.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) fn save_to_arena_store_block_id(block: B, parent_id: BlockId, mdf_file: &mut MDFFile) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HDObjectV3` is never used [INFO] [stdout] --> src/v3/mod.rs:233:7 [INFO] [stdout] | [INFO] [stdout] 233 | trait HDObjectV3<'a>: HDObject<'a, DGBlock> {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CGObjectV3` is never used [INFO] [stdout] --> src/v3/mod.rs:432:7 [INFO] [stdout] | [INFO] [stdout] 432 | trait CGObjectV3<'a>: CGObject<'a, CNBlock, DGBlock, SRBlock> {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CNObjectV3` is never used [INFO] [stdout] --> src/v3/mod.rs:632:7 [INFO] [stdout] | [INFO] [stdout] 632 | trait CNObjectV3<'a>: CNObject<'a, CCBlock, CDBlock, CEBlock, CGBlock> {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CCObjectV3` is never used [INFO] [stdout] --> src/v3/mod.rs:936:7 [INFO] [stdout] | [INFO] [stdout] 936 | trait CCObjectV3<'a>: CCObject<'a, CCBlock> {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `chblocks` is never used [INFO] [stdout] --> src/v4/mod.rs:590:8 [INFO] [stdout] | [INFO] [stdout] 571 | impl<'a> CHBlock { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 590 | fn chblocks(&self, mdf_file: &'a MDFFile) -> Option> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/v4/mod.rs:2536:9 [INFO] [stdout] | [INFO] [stdout] 2536 | flags: Option, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clone_file_handler` is never used [INFO] [stdout] --> src/v4/mod.rs:866:15 [INFO] [stdout] | [INFO] [stdout] 866 | pub(crate) fn clone_file_handler(file: Option<&mut File>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `blocks` is never read [INFO] [stdout] --> src/v4/mod.rs:981:16 [INFO] [stdout] | [INFO] [stdout] 975 | pub struct DGBlock { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 981 | pub(crate) blocks: Vec<(u64, BlockId)>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DGBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CRCHelper` is never constructed [INFO] [stdout] --> src/v4/mod.rs:1111:8 [INFO] [stdout] | [INFO] [stdout] 1111 | struct CRCHelper { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_crc_val`, and `build_crc` are never used [INFO] [stdout] --> src/v4/mod.rs:1117:12 [INFO] [stdout] | [INFO] [stdout] 1116 | impl CRCHelper { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 1117 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1120 | pub fn get_crc_val(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1123 | pub fn build_crc(&mut self, data: &[u8], offset: i32, length: i32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `link_dl_data` is never read [INFO] [stdout] --> src/v4/mod.rs:1337:16 [INFO] [stdout] | [INFO] [stdout] 1333 | pub struct DLBlock { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1337 | pub(crate) link_dl_data: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DLBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_one_dt_block` is never used [INFO] [stdout] --> src/v4/mod.rs:1450:4 [INFO] [stdout] | [INFO] [stdout] 1450 | fn read_one_dt_block(block_id: BlockId, mdf_file: &mut MDFFile, position: u64) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `None` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:136:11 [INFO] [stdout] | [INFO] [stdout] 136 | const None = 0; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `NONE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `PrecisionValid` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:137:11 [INFO] [stdout] | [INFO] [stdout] 137 | const PrecisionValid = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PRECISION_VALID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `LimitRangeValid` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:138:11 [INFO] [stdout] | [INFO] [stdout] 138 | const LimitRangeValid = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `LIMIT_RANGE_VALID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `StatusString` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:139:11 [INFO] [stdout] | [INFO] [stdout] 139 | const StatusString = 4; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `STATUS_STRING` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `None` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:154:11 [INFO] [stdout] | [INFO] [stdout] 154 | const None = 0; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `NONE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Invalid` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:155:11 [INFO] [stdout] | [INFO] [stdout] 155 | const Invalid = 1; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `INVALID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `InvalBytesValid` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:156:11 [INFO] [stdout] | [INFO] [stdout] 156 | const InvalBytesValid = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `INVAL_BYTES_VALID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `PrecisionValid` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:157:11 [INFO] [stdout] | [INFO] [stdout] 157 | const PrecisionValid = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PRECISION_VALID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `ValueRangeValid` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:158:11 [INFO] [stdout] | [INFO] [stdout] 158 | const ValueRangeValid = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `VALUE_RANGE_VALID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `LimitRangeValid` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:159:11 [INFO] [stdout] | [INFO] [stdout] 159 | const LimitRangeValid = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `LIMIT_RANGE_VALID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `ExtendedLimitRangeValid` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:160:11 [INFO] [stdout] | [INFO] [stdout] 160 | const ExtendedLimitRangeValid = 32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `EXTENDED_LIMIT_RANGE_VALID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `DiscreteValue` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:161:11 [INFO] [stdout] | [INFO] [stdout] 161 | const DiscreteValue = 64; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `DISCRETE_VALUE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Calibration` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:162:11 [INFO] [stdout] | [INFO] [stdout] 162 | const Calibration = 128; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `CALIBRATION` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Calculated` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:163:11 [INFO] [stdout] | [INFO] [stdout] 163 | const Calculated = 256; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `CALCULATED` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Virtual` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:164:11 [INFO] [stdout] | [INFO] [stdout] 164 | const Virtual = 512; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `VIRTUAL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `BusEvent` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:165:11 [INFO] [stdout] | [INFO] [stdout] 165 | const BusEvent = 1024; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `BUS_EVENT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Montonous` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:166:11 [INFO] [stdout] | [INFO] [stdout] 166 | const Montonous = 2048; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `MONTONOUS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `DefaultXAxis` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:167:11 [INFO] [stdout] | [INFO] [stdout] 167 | const DefaultXAxis = 4096; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `DEFAULT_XAXIS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `None` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:197:15 [INFO] [stdout] | [INFO] [stdout] 197 | const None = 0; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `NONE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `EmbeddedData` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:198:15 [INFO] [stdout] | [INFO] [stdout] 198 | const EmbeddedData = 1; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `EMBEDDED_DATA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `CompressedEmbbeddedData` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:199:15 [INFO] [stdout] | [INFO] [stdout] 199 | const CompressedEmbbeddedData = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `COMPRESSED_EMBBEDDED_DATA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `MD5ChecksumValid` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:200:15 [INFO] [stdout] | [INFO] [stdout] 200 | const MD5ChecksumValid = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `MD5_CHECKSUM_VALID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/v4/mod.rs:1080:9 [INFO] [stdout] | [INFO] [stdout] 1080 | buf_writer.flush(); [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] 1080 | let _ = buf_writer.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cgblock` [INFO] [stdout] --> src/lib.rs:559:42 [INFO] [stdout] | [INFO] [stdout] 559 | pub fn get_master_cnblock(&mut self, cgblock: BlockId) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cgblock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lib.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 48 | impl Annotation { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 49 | fn new>(timestamp: f64, text: S) -> Annotation { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AnnotationList` is never used [INFO] [stdout] --> src/lib.rs:58:6 [INFO] [stdout] | [INFO] [stdout] 58 | type AnnotationList = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_node` and `append_node` are never used [INFO] [stdout] --> src/lib.rs:538:8 [INFO] [stdout] | [INFO] [stdout] 360 | impl MDFFile { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 538 | fn remove_node(&mut self, id: BlockId, recursive: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 547 | fn append_node(&mut self, parent_id: BlockId, child_id: BlockId) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_to_arena_store_block_id` is never used [INFO] [stdout] --> src/misc.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) fn save_to_arena_store_block_id(block: B, parent_id: BlockId, mdf_file: &mut MDFFile) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HDObjectV3` is never used [INFO] [stdout] --> src/v3/mod.rs:233:7 [INFO] [stdout] | [INFO] [stdout] 233 | trait HDObjectV3<'a>: HDObject<'a, DGBlock> {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CGObjectV3` is never used [INFO] [stdout] --> src/v3/mod.rs:432:7 [INFO] [stdout] | [INFO] [stdout] 432 | trait CGObjectV3<'a>: CGObject<'a, CNBlock, DGBlock, SRBlock> {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CNObjectV3` is never used [INFO] [stdout] --> src/v3/mod.rs:632:7 [INFO] [stdout] | [INFO] [stdout] 632 | trait CNObjectV3<'a>: CNObject<'a, CCBlock, CDBlock, CEBlock, CGBlock> {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CCObjectV3` is never used [INFO] [stdout] --> src/v3/mod.rs:936:7 [INFO] [stdout] | [INFO] [stdout] 936 | trait CCObjectV3<'a>: CCObject<'a, CCBlock> {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `chblocks` is never used [INFO] [stdout] --> src/v4/mod.rs:590:8 [INFO] [stdout] | [INFO] [stdout] 571 | impl<'a> CHBlock { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 590 | fn chblocks(&self, mdf_file: &'a MDFFile) -> Option> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clone_file_handler` is never used [INFO] [stdout] --> src/v4/mod.rs:866:15 [INFO] [stdout] | [INFO] [stdout] 866 | pub(crate) fn clone_file_handler(file: Option<&mut File>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `blocks` is never read [INFO] [stdout] --> src/v4/mod.rs:981:16 [INFO] [stdout] | [INFO] [stdout] 975 | pub struct DGBlock { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 981 | pub(crate) blocks: Vec<(u64, BlockId)>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DGBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CRCHelper` is never constructed [INFO] [stdout] --> src/v4/mod.rs:1111:8 [INFO] [stdout] | [INFO] [stdout] 1111 | struct CRCHelper { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_crc_val`, and `build_crc` are never used [INFO] [stdout] --> src/v4/mod.rs:1117:12 [INFO] [stdout] | [INFO] [stdout] 1116 | impl CRCHelper { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 1117 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1120 | pub fn get_crc_val(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1123 | pub fn build_crc(&mut self, data: &[u8], offset: i32, length: i32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `link_dl_data` is never read [INFO] [stdout] --> src/v4/mod.rs:1337:16 [INFO] [stdout] | [INFO] [stdout] 1333 | pub struct DLBlock { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1337 | pub(crate) link_dl_data: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DLBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_one_dt_block` is never used [INFO] [stdout] --> src/v4/mod.rs:1450:4 [INFO] [stdout] | [INFO] [stdout] 1450 | fn read_one_dt_block(block_id: BlockId, mdf_file: &mut MDFFile, position: u64) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 81 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `None` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:136:11 [INFO] [stdout] | [INFO] [stdout] 136 | const None = 0; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `NONE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `PrecisionValid` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:137:11 [INFO] [stdout] | [INFO] [stdout] 137 | const PrecisionValid = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PRECISION_VALID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `LimitRangeValid` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:138:11 [INFO] [stdout] | [INFO] [stdout] 138 | const LimitRangeValid = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `LIMIT_RANGE_VALID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `StatusString` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:139:11 [INFO] [stdout] | [INFO] [stdout] 139 | const StatusString = 4; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `STATUS_STRING` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `None` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:154:11 [INFO] [stdout] | [INFO] [stdout] 154 | const None = 0; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `NONE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Invalid` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:155:11 [INFO] [stdout] | [INFO] [stdout] 155 | const Invalid = 1; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `INVALID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `InvalBytesValid` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:156:11 [INFO] [stdout] | [INFO] [stdout] 156 | const InvalBytesValid = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `INVAL_BYTES_VALID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `PrecisionValid` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:157:11 [INFO] [stdout] | [INFO] [stdout] 157 | const PrecisionValid = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PRECISION_VALID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `ValueRangeValid` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:158:11 [INFO] [stdout] | [INFO] [stdout] 158 | const ValueRangeValid = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `VALUE_RANGE_VALID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `LimitRangeValid` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:159:11 [INFO] [stdout] | [INFO] [stdout] 159 | const LimitRangeValid = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `LIMIT_RANGE_VALID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `ExtendedLimitRangeValid` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:160:11 [INFO] [stdout] | [INFO] [stdout] 160 | const ExtendedLimitRangeValid = 32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `EXTENDED_LIMIT_RANGE_VALID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `DiscreteValue` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:161:11 [INFO] [stdout] | [INFO] [stdout] 161 | const DiscreteValue = 64; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `DISCRETE_VALUE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Calibration` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:162:11 [INFO] [stdout] | [INFO] [stdout] 162 | const Calibration = 128; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `CALIBRATION` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Calculated` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:163:11 [INFO] [stdout] | [INFO] [stdout] 163 | const Calculated = 256; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `CALCULATED` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Virtual` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:164:11 [INFO] [stdout] | [INFO] [stdout] 164 | const Virtual = 512; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `VIRTUAL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `BusEvent` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:165:11 [INFO] [stdout] | [INFO] [stdout] 165 | const BusEvent = 1024; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `BUS_EVENT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Montonous` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:166:11 [INFO] [stdout] | [INFO] [stdout] 166 | const Montonous = 2048; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `MONTONOUS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `DefaultXAxis` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:167:11 [INFO] [stdout] | [INFO] [stdout] 167 | const DefaultXAxis = 4096; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `DEFAULT_XAXIS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `None` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:197:15 [INFO] [stdout] | [INFO] [stdout] 197 | const None = 0; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `NONE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `EmbeddedData` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:198:15 [INFO] [stdout] | [INFO] [stdout] 198 | const EmbeddedData = 1; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `EMBEDDED_DATA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `CompressedEmbbeddedData` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:199:15 [INFO] [stdout] | [INFO] [stdout] 199 | const CompressedEmbbeddedData = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `COMPRESSED_EMBBEDDED_DATA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `MD5ChecksumValid` should have an upper case name [INFO] [stdout] --> src/v4/mod.rs:200:15 [INFO] [stdout] | [INFO] [stdout] 200 | const MD5ChecksumValid = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `MD5_CHECKSUM_VALID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/v4/mod.rs:1080:9 [INFO] [stdout] | [INFO] [stdout] 1080 | buf_writer.flush(); [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] 1080 | let _ = buf_writer.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 81 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.58s [INFO] running `Command { std: "docker" "inspect" "71f1bb3b06a80f0116cc9ea07e3f76be95f3707603706837b3590a9392b0cb35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71f1bb3b06a80f0116cc9ea07e3f76be95f3707603706837b3590a9392b0cb35", kill_on_drop: false }` [INFO] [stdout] 71f1bb3b06a80f0116cc9ea07e3f76be95f3707603706837b3590a9392b0cb35