[INFO] fetching crate asammdf 0.1.0... [INFO] testing asammdf-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate asammdf 0.1.0 into /workspace/builds/worker-6-tc1/source [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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate asammdf 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 92 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.9.1) [INFO] [stderr] Adding derive_builder v0.11.2 (available: v0.20.2) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.14.0) [INFO] [stderr] Adding libflate v1.4.0 (available: v2.1.0) [INFO] [stderr] Adding nom v7.1.3 (available: v8.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded indextree-macros v0.1.3 [INFO] [stderr] Downloaded libflate_lz77 v1.2.0 [INFO] [stderr] Downloaded libflate v1.4.0 [INFO] [stderr] Downloaded indextree v4.7.4 [INFO] [stderr] Downloaded asammdf_derive v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 02b1aef9cfa0304509fe653dedca307204a6c1c7bfff21413ab4e0f62258f016 [INFO] running `Command { std: "docker" "start" "-a" "02b1aef9cfa0304509fe653dedca307204a6c1c7bfff21413ab4e0f62258f016", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02b1aef9cfa0304509fe653dedca307204a6c1c7bfff21413ab4e0f62258f016", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02b1aef9cfa0304509fe653dedca307204a6c1c7bfff21413ab4e0f62258f016", kill_on_drop: false }` [INFO] [stdout] 02b1aef9cfa0304509fe653dedca307204a6c1c7bfff21413ab4e0f62258f016 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d7eb7e9b3756bce366f2a138214aec7c56d360b057010c75a531f045591fa366 [INFO] running `Command { std: "docker" "start" "-a" "d7eb7e9b3756bce366f2a138214aec7c56d360b057010c75a531f045591fa366", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rle-decode-fast v1.0.3 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling libflate_lz77 v1.2.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling libflate v1.4.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling strum v0.27.1 [INFO] [stderr] Compiling indextree-macros v0.1.3 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling indextree v4.7.4 [INFO] [stderr] Compiling asammdf_derive v0.1.0 [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 derive_builder_macro v0.11.2 [INFO] [stderr] Compiling derive_builder v0.11.2 [INFO] [stderr] Compiling 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: 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: 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: `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: `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: 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: `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: `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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.87s [INFO] running `Command { std: "docker" "inspect" "d7eb7e9b3756bce366f2a138214aec7c56d360b057010c75a531f045591fa366", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7eb7e9b3756bce366f2a138214aec7c56d360b057010c75a531f045591fa366", kill_on_drop: false }` [INFO] [stdout] d7eb7e9b3756bce366f2a138214aec7c56d360b057010c75a531f045591fa366 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 12855ca5db1ffc689676e0aa1f9beed0a034a1ed8bd190d799988a8a3f3ce71c [INFO] running `Command { std: "docker" "start" "-a" "12855ca5db1ffc689676e0aa1f9beed0a034a1ed8bd190d799988a8a3f3ce71c", kill_on_drop: false }` [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: 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 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: `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: 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: `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: `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] [stderr] Compiling asammdf v0.1.0 (/opt/rustwide/workdir) [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: 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 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: 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 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: `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: 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: `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: `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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.69s [INFO] running `Command { std: "docker" "inspect" "12855ca5db1ffc689676e0aa1f9beed0a034a1ed8bd190d799988a8a3f3ce71c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12855ca5db1ffc689676e0aa1f9beed0a034a1ed8bd190d799988a8a3f3ce71c", kill_on_drop: false }` [INFO] [stdout] 12855ca5db1ffc689676e0aa1f9beed0a034a1ed8bd190d799988a8a3f3ce71c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f92ec9d73e3aeb6f3a199b19fbf3a5f975c5517f1cf480671d870c200295851e [INFO] running `Command { std: "docker" "start" "-a" "f92ec9d73e3aeb6f3a199b19fbf3a5f975c5517f1cf480671d870c200295851e", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `core::time` [INFO] [stderr] --> src/v4/parser.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use core::time; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `ByteOrder` [INFO] [stderr] --> src/v4/parser.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::{ByteOrder, ConversionType}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `DTBlock` [INFO] [stderr] --> src/v4/parser.rs:7:23 [INFO] [stderr] | [INFO] [stderr] 7 | DGBlock, DLBlock, DTBlock, DZBlock, EVBlock, FHBlock, HDBlock, HLBlock, IDBlock, SIBlock, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/v4/mod.rs:1489:17 [INFO] [stderr] | [INFO] [stderr] 1489 | ) -> Result<(BlockId), MDFErrorKind> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1489 - ) -> Result<(BlockId), MDFErrorKind> { [INFO] [stderr] 1489 + ) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/v3/mod.rs:250:21 [INFO] [stderr] | [INFO] [stderr] 250 | Utc.datetime_from_str(&time_str, "%d:%m:%Y %H:%M:%S") [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/v4/mod.rs:576:19 [INFO] [stderr] | [INFO] [stderr] 575 | dependencies: todo!(), [INFO] [stderr] | ------- any code following this expression is unreachable [INFO] [stderr] 576 | name: Default::default(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `CNObject` [INFO] [stderr] --> src/v4/mod.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | use crate::{CNObject, PermanentBlock}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `block` [INFO] [stderr] --> src/misc.rs:85:47 [INFO] [stderr] | [INFO] [stderr] 85 | pub(crate) fn save_to_arena_store_block_id(block: B, parent_id: BlockId, mdf_file: &mut MDFFile) [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `parent_id` [INFO] [stderr] --> src/misc.rs:85:57 [INFO] [stderr] | [INFO] [stderr] 85 | pub(crate) fn save_to_arena_store_block_id(block: B, parent_id: BlockId, mdf_file: &mut MDFFile) [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mdf_file` [INFO] [stderr] --> src/misc.rs:85:77 [INFO] [stderr] | [INFO] [stderr] 85 | pub(crate) fn save_to_arena_store_block_id(block: B, parent_id: BlockId, mdf_file: &mut MDFFile) [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mdf_file` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `precision` [INFO] [stderr] --> src/v4/parser.rs:351:35 [INFO] [stderr] | [INFO] [stderr] 351 | let (input, (conversion_type, precision, conversion_flags, ref_count, tab_size, min, max)) = [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ref_count` [INFO] [stderr] --> src/v4/parser.rs:351:64 [INFO] [stderr] | [INFO] [stderr] 351 | let (input, (conversion_type, precision, conversion_flags, ref_count, tab_size, min, max)) = [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ref_count` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tab_size` [INFO] [stderr] --> src/v4/parser.rs:351:75 [INFO] [stderr] | [INFO] [stderr] 351 | let (input, (conversion_type, precision, conversion_flags, ref_count, tab_size, min, max)) = [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tab_size` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `conv_type` is never read [INFO] [stderr] --> src/v4/parser.rs:360:13 [INFO] [stderr] | [INFO] [stderr] 360 | let mut conv_type = None; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fn_username` [INFO] [stderr] --> src/v4/mod.rs:280:9 [INFO] [stderr] | [INFO] [stderr] 280 | fn_username: String, [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fn_username` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fn_text` [INFO] [stderr] --> src/v4/mod.rs:281:9 [INFO] [stderr] | [INFO] [stderr] 281 | fn_text: String, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fn_text` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `links` [INFO] [stderr] --> src/v4/mod.rs:738:30 [INFO] [stderr] | [INFO] [stderr] 738 | let (id, block_size, links, next_pos) = read_v4_basic_info(link_id, instance)?; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_links` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `byte_order` [INFO] [stderr] --> src/v4/mod.rs:729:9 [INFO] [stderr] | [INFO] [stderr] 729 | byte_order: ByteOrder, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_byte_order` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `block_size` [INFO] [stderr] --> src/v4/mod.rs:771:22 [INFO] [stderr] | [INFO] [stderr] 771 | let (id, block_size, links, next_pos) = read_v4_basic_info(link_data, instance)?; [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_size` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `links` [INFO] [stderr] --> src/v4/mod.rs:771:34 [INFO] [stderr] | [INFO] [stderr] 771 | let (id, block_size, links, next_pos) = read_v4_basic_info(link_data, instance)?; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_links` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `next_pos` [INFO] [stderr] --> src/v4/mod.rs:771:41 [INFO] [stderr] | [INFO] [stderr] 771 | let (id, block_size, links, next_pos) = read_v4_basic_info(link_data, instance)?; [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_pos` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `byte_order` [INFO] [stderr] --> src/v4/mod.rs:901:9 [INFO] [stderr] | [INFO] [stderr] 901 | byte_order: ByteOrder, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_byte_order` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pos` [INFO] [stderr] --> src/v4/mod.rs:1032:13 [INFO] [stderr] | [INFO] [stderr] 1032 | let pos = buf_reader.stream_position().unwrap(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pos` [INFO] [stderr] --> src/v4/mod.rs:1067:13 [INFO] [stderr] | [INFO] [stderr] 1067 | let pos = buf_reader.stream_position().unwrap(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `blocks_ids` [INFO] [stderr] --> src/v4/mod.rs:1215:29 [INFO] [stderr] | [INFO] [stderr] 1215 | let (zipped_reader, blocks_ids) = DGBlock::read_data(instance, &links, dg_id, 2)?; [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocks_ids` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mdf_file` [INFO] [stderr] --> src/v4/mod.rs:1325:28 [INFO] [stderr] | [INFO] [stderr] 1325 | pub fn dlblocks(&self, mdf_file: &'a MDFFile) -> Option> { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mdf_file` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mdf_file` [INFO] [stderr] --> src/v4/mod.rs:1367:34 [INFO] [stderr] | [INFO] [stderr] 1367 | pub fn data_blocks(&self, mdf_file: &MDFFile) -> Option> { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mdf_file` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/v4/mod.rs:1419:14 [INFO] [stderr] | [INFO] [stderr] 1419 | for (i, link) in links.iter().skip(1).enumerate() { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `block_size` [INFO] [stderr] --> src/v4/mod.rs:1423:26 [INFO] [stderr] | [INFO] [stderr] 1423 | let (id, block_size, links, next_pos) = read_v4_basic_info(*link as u64, instance)?; [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_size` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `links` [INFO] [stderr] --> src/v4/mod.rs:1423:38 [INFO] [stderr] | [INFO] [stderr] 1423 | let (id, block_size, links, next_pos) = read_v4_basic_info(*link as u64, instance)?; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_links` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `next_pos` [INFO] [stderr] --> src/v4/mod.rs:1423:45 [INFO] [stderr] | [INFO] [stderr] 1423 | let (id, block_size, links, next_pos) = read_v4_basic_info(*link as u64, instance)?; [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_pos` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `block_id` [INFO] [stderr] --> src/v4/mod.rs:1450:22 [INFO] [stderr] | [INFO] [stderr] 1450 | fn read_one_dt_block(block_id: BlockId, mdf_file: &mut MDFFile, position: u64) {} [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mdf_file` [INFO] [stderr] --> src/v4/mod.rs:1450:41 [INFO] [stderr] | [INFO] [stderr] 1450 | fn read_one_dt_block(block_id: BlockId, mdf_file: &mut MDFFile, position: u64) {} [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mdf_file` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `position` [INFO] [stderr] --> src/v4/mod.rs:1450:65 [INFO] [stderr] | [INFO] [stderr] 1450 | fn read_one_dt_block(block_id: BlockId, mdf_file: &mut MDFFile, position: u64) {} [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `byte_order` [INFO] [stderr] --> src/v4/mod.rs:1485:9 [INFO] [stderr] | [INFO] [stderr] 1485 | byte_order: ByteOrder, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_byte_order` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `byte_order` [INFO] [stderr] --> src/v4/mod.rs:1570:9 [INFO] [stderr] | [INFO] [stderr] 1570 | byte_order: ByteOrder, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_byte_order` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/v4/mod.rs:1586:13 [INFO] [stderr] | [INFO] [stderr] 1586 | let mut dz_block = dz_block_basic(&data, id, block_size, links.len() as u64) [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `block_size` [INFO] [stderr] --> src/v4/mod.rs:2109:26 [INFO] [stderr] | [INFO] [stderr] 2109 | let (id, block_size, links, next_pos) = [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_size` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `links` [INFO] [stderr] --> src/v4/mod.rs:2109:38 [INFO] [stderr] | [INFO] [stderr] 2109 | let (id, block_size, links, next_pos) = [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_links` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `next_pos` [INFO] [stderr] --> src/v4/mod.rs:2109:45 [INFO] [stderr] | [INFO] [stderr] 2109 | let (id, block_size, links, next_pos) = [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_pos` [INFO] [stderr] [INFO] [stderr] warning: variable `idx` is assigned to, but never used [INFO] [stderr] --> src/v4/mod.rs:2461:33 [INFO] [stderr] | [INFO] [stderr] 2461 | let mut idx = 0; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_idx` instead [INFO] [stderr] [INFO] [stderr] warning: unused variable: `flags` [INFO] [stderr] --> src/v4/mod.rs:2536:9 [INFO] [stderr] | [INFO] [stderr] 2536 | flags: Option, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cgblock` [INFO] [stderr] --> src/lib.rs:559:42 [INFO] [stderr] | [INFO] [stderr] 559 | pub fn get_master_cnblock(&mut self, cgblock: BlockId) {} [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cgblock` [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/lib.rs:49:8 [INFO] [stderr] | [INFO] [stderr] 48 | impl Annotation { [INFO] [stderr] | --------------- associated function in this implementation [INFO] [stderr] 49 | fn new>(timestamp: f64, text: S) -> Annotation { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type alias `AnnotationList` is never used [INFO] [stderr] --> src/lib.rs:58:6 [INFO] [stderr] | [INFO] [stderr] 58 | type AnnotationList = Vec; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `remove_node` and `append_node` are never used [INFO] [stderr] --> src/lib.rs:538:8 [INFO] [stderr] | [INFO] [stderr] 360 | impl MDFFile { [INFO] [stderr] | ------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 538 | fn remove_node(&mut self, id: BlockId, recursive: bool) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 547 | fn append_node(&mut self, parent_id: BlockId, child_id: BlockId) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `save_to_arena_store_block_id` is never used [INFO] [stderr] --> src/misc.rs:85:15 [INFO] [stderr] | [INFO] [stderr] 85 | pub(crate) fn save_to_arena_store_block_id(block: B, parent_id: BlockId, mdf_file: &mut MDFFile) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `HDObjectV3` is never used [INFO] [stderr] --> src/v3/mod.rs:233:7 [INFO] [stderr] | [INFO] [stderr] 233 | trait HDObjectV3<'a>: HDObject<'a, DGBlock> {} [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `CGObjectV3` is never used [INFO] [stderr] --> src/v3/mod.rs:432:7 [INFO] [stderr] | [INFO] [stderr] 432 | trait CGObjectV3<'a>: CGObject<'a, CNBlock, DGBlock, SRBlock> {} [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `CNObjectV3` is never used [INFO] [stderr] --> src/v3/mod.rs:632:7 [INFO] [stderr] | [INFO] [stderr] 632 | trait CNObjectV3<'a>: CNObject<'a, CCBlock, CDBlock, CEBlock, CGBlock> {} [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `CCObjectV3` is never used [INFO] [stderr] --> src/v3/mod.rs:936:7 [INFO] [stderr] | [INFO] [stderr] 936 | trait CCObjectV3<'a>: CCObject<'a, CCBlock> {} [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `chblocks` is never used [INFO] [stderr] --> src/v4/mod.rs:590:8 [INFO] [stderr] | [INFO] [stderr] 571 | impl<'a> CHBlock { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 590 | fn chblocks(&self, mdf_file: &'a MDFFile) -> Option> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `clone_file_handler` is never used [INFO] [stderr] --> src/v4/mod.rs:866:15 [INFO] [stderr] | [INFO] [stderr] 866 | pub(crate) fn clone_file_handler(file: Option<&mut File>) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `blocks` is never read [INFO] [stderr] --> src/v4/mod.rs:981:16 [INFO] [stderr] | [INFO] [stderr] 975 | pub struct DGBlock { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 981 | pub(crate) blocks: Vec<(u64, BlockId)>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DGBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `CRCHelper` is never constructed [INFO] [stderr] --> src/v4/mod.rs:1111:8 [INFO] [stderr] | [INFO] [stderr] 1111 | struct CRCHelper { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `get_crc_val`, and `build_crc` are never used [INFO] [stderr] --> src/v4/mod.rs:1117:12 [INFO] [stderr] | [INFO] [stderr] 1116 | impl CRCHelper { [INFO] [stderr] | -------------- associated items in this implementation [INFO] [stderr] 1117 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 1120 | pub fn get_crc_val(&self) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1123 | pub fn build_crc(&mut self, data: &[u8], offset: i32, length: i32) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `link_dl_data` is never read [INFO] [stderr] --> src/v4/mod.rs:1337:16 [INFO] [stderr] | [INFO] [stderr] 1333 | pub struct DLBlock { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 1337 | pub(crate) link_dl_data: Vec, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DLBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `read_one_dt_block` is never used [INFO] [stderr] --> src/v4/mod.rs:1450:4 [INFO] [stderr] | [INFO] [stderr] 1450 | fn read_one_dt_block(block_id: BlockId, mdf_file: &mut MDFFile, position: u64) {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant `None` should have an upper case name [INFO] [stderr] --> src/v4/mod.rs:136:11 [INFO] [stderr] | [INFO] [stderr] 136 | const None = 0; [INFO] [stderr] | ^^^^ help: convert the identifier to upper case: `NONE` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated constant `PrecisionValid` should have an upper case name [INFO] [stderr] --> src/v4/mod.rs:137:11 [INFO] [stderr] | [INFO] [stderr] 137 | const PrecisionValid = 1; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PRECISION_VALID` [INFO] [stderr] [INFO] [stderr] warning: associated constant `LimitRangeValid` should have an upper case name [INFO] [stderr] --> src/v4/mod.rs:138:11 [INFO] [stderr] | [INFO] [stderr] 138 | const LimitRangeValid = 2; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `LIMIT_RANGE_VALID` [INFO] [stderr] [INFO] [stderr] warning: associated constant `StatusString` should have an upper case name [INFO] [stderr] --> src/v4/mod.rs:139:11 [INFO] [stderr] | [INFO] [stderr] 139 | const StatusString = 4; [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `STATUS_STRING` [INFO] [stderr] [INFO] [stderr] warning: associated constant `None` should have an upper case name [INFO] [stderr] --> src/v4/mod.rs:154:11 [INFO] [stderr] | [INFO] [stderr] 154 | const None = 0; [INFO] [stderr] | ^^^^ help: convert the identifier to upper case: `NONE` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Invalid` should have an upper case name [INFO] [stderr] --> src/v4/mod.rs:155:11 [INFO] [stderr] | [INFO] [stderr] 155 | const Invalid = 1; [INFO] [stderr] | ^^^^^^^ help: convert the identifier to upper case: `INVALID` [INFO] [stderr] [INFO] [stderr] warning: associated constant `InvalBytesValid` should have an upper case name [INFO] [stderr] --> src/v4/mod.rs:156:11 [INFO] [stderr] | [INFO] [stderr] 156 | const InvalBytesValid = 2; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `INVAL_BYTES_VALID` [INFO] [stderr] [INFO] [stderr] warning: associated constant `PrecisionValid` should have an upper case name [INFO] [stderr] --> src/v4/mod.rs:157:11 [INFO] [stderr] | [INFO] [stderr] 157 | const PrecisionValid = 4; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PRECISION_VALID` [INFO] [stderr] [INFO] [stderr] warning: associated constant `ValueRangeValid` should have an upper case name [INFO] [stderr] --> src/v4/mod.rs:158:11 [INFO] [stderr] | [INFO] [stderr] 158 | const ValueRangeValid = 8; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `VALUE_RANGE_VALID` [INFO] [stderr] [INFO] [stderr] warning: associated constant `LimitRangeValid` should have an upper case name [INFO] [stderr] --> src/v4/mod.rs:159:11 [INFO] [stderr] | [INFO] [stderr] 159 | const LimitRangeValid = 16; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `LIMIT_RANGE_VALID` [INFO] [stderr] [INFO] [stderr] warning: associated constant `ExtendedLimitRangeValid` should have an upper case name [INFO] [stderr] --> src/v4/mod.rs:160:11 [INFO] [stderr] | [INFO] [stderr] 160 | const ExtendedLimitRangeValid = 32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `EXTENDED_LIMIT_RANGE_VALID` [INFO] [stderr] [INFO] [stderr] warning: associated constant `DiscreteValue` should have an upper case name [INFO] [stderr] --> src/v4/mod.rs:161:11 [INFO] [stderr] | [INFO] [stderr] 161 | const DiscreteValue = 64; [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `DISCRETE_VALUE` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Calibration` should have an upper case name [INFO] [stderr] --> src/v4/mod.rs:162:11 [INFO] [stderr] | [INFO] [stderr] 162 | const Calibration = 128; [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper case: `CALIBRATION` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Calculated` should have an upper case name [INFO] [stderr] --> src/v4/mod.rs:163:11 [INFO] [stderr] | [INFO] [stderr] 163 | const Calculated = 256; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to upper case: `CALCULATED` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Virtual` should have an upper case name [INFO] [stderr] --> src/v4/mod.rs:164:11 [INFO] [stderr] | [INFO] [stderr] 164 | const Virtual = 512; [INFO] [stderr] | ^^^^^^^ help: convert the identifier to upper case: `VIRTUAL` [INFO] [stderr] [INFO] [stderr] warning: associated constant `BusEvent` should have an upper case name [INFO] [stderr] --> src/v4/mod.rs:165:11 [INFO] [stderr] | [INFO] [stderr] 165 | const BusEvent = 1024; [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper case: `BUS_EVENT` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Montonous` should have an upper case name [INFO] [stderr] --> src/v4/mod.rs:166:11 [INFO] [stderr] | [INFO] [stderr] 166 | const Montonous = 2048; [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper case: `MONTONOUS` [INFO] [stderr] [INFO] [stderr] warning: associated constant `DefaultXAxis` should have an upper case name [INFO] [stderr] --> src/v4/mod.rs:167:11 [INFO] [stderr] | [INFO] [stderr] 167 | const DefaultXAxis = 4096; [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `DEFAULT_XAXIS` [INFO] [stderr] [INFO] [stderr] warning: associated constant `None` should have an upper case name [INFO] [stderr] --> src/v4/mod.rs:197:15 [INFO] [stderr] | [INFO] [stderr] 197 | const None = 0; [INFO] [stderr] | ^^^^ help: convert the identifier to upper case: `NONE` [INFO] [stderr] [INFO] [stderr] warning: associated constant `EmbeddedData` should have an upper case name [INFO] [stderr] --> src/v4/mod.rs:198:15 [INFO] [stderr] | [INFO] [stderr] 198 | const EmbeddedData = 1; [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `EMBEDDED_DATA` [INFO] [stderr] [INFO] [stderr] warning: associated constant `CompressedEmbbeddedData` should have an upper case name [INFO] [stderr] --> src/v4/mod.rs:199:15 [INFO] [stderr] | [INFO] [stderr] 199 | const CompressedEmbbeddedData = 2; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `COMPRESSED_EMBBEDDED_DATA` [INFO] [stderr] [INFO] [stderr] warning: associated constant `MD5ChecksumValid` should have an upper case name [INFO] [stderr] --> src/v4/mod.rs:200:15 [INFO] [stderr] | [INFO] [stderr] 200 | const MD5ChecksumValid = 4; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `MD5_CHECKSUM_VALID` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/v4/mod.rs:1080:9 [INFO] [stderr] | [INFO] [stderr] 1080 | buf_writer.flush(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 1080 | let _ = buf_writer.flush(); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `asammdf` (lib) generated 81 warnings (run `cargo fix --lib -p asammdf` to apply 5 suggestions) [INFO] [stderr] warning: `asammdf` (lib test) generated 81 warnings (81 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/asammdf-69b52171c2173ba2) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test tests::mdf3_file_init ... FAILED [INFO] [stdout] test tests::error_file_init - should panic ... ok [INFO] [stdout] test tests::mdf4_file_init ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::mdf3_file_init stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::mdf3_file_init' panicked at src/lib.rs:824:33: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: IOError(Os { code: 2, kind: NotFound, message: "No such file or directory" }) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x746150780232 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x746150780232 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x746150780232 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x746150780232 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x7461507baae3 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x7461507baae3 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x74615077d3c3 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x74615077d3c3 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x746150780082 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x746150781a4c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x7461507818a2 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x7461506fa464 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x7461506fa464 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7461507823d3 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x7461507823d3 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x74615078219a - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x746150780729 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x746150781e2d - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x746150629f10 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x74615062a3d6 - core::result::unwrap_failed::h8476ffaa6db8205b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/result.rs:1761:5 [INFO] [stdout] 20: 0x74615069ca52 - core::result::Result::unwrap::h19e69aae7e011d0f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/result.rs:1167:23 [INFO] [stdout] 21: 0x74615069ca52 - asammdf::tests::mdf3_file_init::hcf2f225f74315e6a [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:824:33 [INFO] [stdout] 22: 0x74615069c927 - asammdf::tests::mdf3_file_init::{{closure}}::h76ca7246d08e70a2 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:822:24 [INFO] [stdout] 23: 0x7461506a7b46 - core::ops::function::FnOnce::call_once::h72dc50cd615c17f5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x7461506ffb5b - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x7461506ffb5b - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x7461506fedce - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x7461506fedce - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x7461506fedce - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x7461506fedce - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x7461506fedce - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x7461506fedce - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x7461506fedce - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x7461506c3c54 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x7461506c3c54 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x7461506c744a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x7461506c744a - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x7461506c744a - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x7461506c744a - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x7461506c744a - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x7461506c744a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x7461506c744a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x746150784e27 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x746150784e27 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x746150784e27 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] [INFO] [stdout] ---- tests::mdf4_file_init stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::mdf4_file_init' panicked at src/lib.rs:860:33: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: IOError(Os { code: 2, kind: NotFound, message: "No such file or directory" }) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x746150780232 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x746150780232 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x746150780232 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x746150780232 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x7461507baae3 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x7461507baae3 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x74615077d3c3 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x74615077d3c3 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x746150780082 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x746150781a4c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x7461507818a2 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x7461506fa464 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x7461506fa464 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7461507823d3 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x7461507823d3 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x74615078219a - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x746150780729 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x746150781e2d - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x746150629f10 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x74615062a3d6 - core::result::unwrap_failed::h8476ffaa6db8205b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/result.rs:1761:5 [INFO] [stdout] 20: 0x74615069d57a - core::result::Result::unwrap::h19e69aae7e011d0f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/result.rs:1167:23 [INFO] [stdout] 21: 0x74615069d57a - asammdf::tests::mdf4_file_init::h5fe52e64a2c68971 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:860:33 [INFO] [stdout] 22: 0x74615069d487 - asammdf::tests::mdf4_file_init::{{closure}}::h8a83e8478fcdcb71 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:858:24 [INFO] [stdout] 23: 0x7461506a7bd6 - core::ops::function::FnOnce::call_once::h823e3b46160cc326 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x7461506ffb5b - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x7461506ffb5b - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x7461506fedce - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x7461506fedce - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x7461506fedce - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x7461506fedce - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x7461506fedce - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x7461506fedce - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x7461506fedce - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x7461506c3c54 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x7461506c3c54 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x7461506c744a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x7461506c744a - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x7461506c744a - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x7461506c744a - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x7461506c744a - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x7461506c744a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x7461506c744a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x746150784e27 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x746150784e27 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x746150784e27 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::mdf3_file_init [INFO] [stdout] tests::mdf4_file_init [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "f92ec9d73e3aeb6f3a199b19fbf3a5f975c5517f1cf480671d870c200295851e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f92ec9d73e3aeb6f3a199b19fbf3a5f975c5517f1cf480671d870c200295851e", kill_on_drop: false }` [INFO] [stdout] f92ec9d73e3aeb6f3a199b19fbf3a5f975c5517f1cf480671d870c200295851e