[INFO] fetching crate rust_abf 0.4.4... [INFO] testing rust_abf-0.4.4 against 1.91.0 for beta-1.92-2 [INFO] extracting crate rust_abf 0.4.4 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate rust_abf 0.4.4 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rust_abf 0.4.4 [INFO] tweaked toml for crates.io crate rust_abf 0.4.4 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rust_abf 0.4.4 on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "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" "+1.91.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 9 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b297fd420b811d391472ea10eba0079fcfa5b0946c5a4c5f419fa5591ebaab9b [INFO] running `Command { std: "docker" "start" "-a" "b297fd420b811d391472ea10eba0079fcfa5b0946c5a4c5f419fa5591ebaab9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b297fd420b811d391472ea10eba0079fcfa5b0946c5a4c5f419fa5591ebaab9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b297fd420b811d391472ea10eba0079fcfa5b0946c5a4c5f419fa5591ebaab9b", kill_on_drop: false }` [INFO] [stdout] b297fd420b811d391472ea10eba0079fcfa5b0946c5a4c5f419fa5591ebaab9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e73c1527b90d2790911251d17c9bf9e520299a05827dd7eaf68452b2600c81a3 [INFO] running `Command { std: "docker" "start" "-a" "e73c1527b90d2790911251d17c9bf9e520299a05827dd7eaf68452b2600c81a3", kill_on_drop: false }` [INFO] [stderr] Compiling memmap2 v0.9.9 [INFO] [stderr] Compiling rust_abf v0.4.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/abf_v2.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | .map(|sf| (sf* protocol_section.adc_range())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 75 - .map(|sf| (sf* protocol_section.adc_range())) [INFO] [stdout] 75 + .map(|sf| sf* protocol_section.adc_range()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/abf_v2.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | .map(|sf| (sf/ protocol_section.adc_resolution() as f32)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 76 - .map(|sf| (sf/ protocol_section.adc_resolution() as f32)) [INFO] [stdout] 76 + .map(|sf| sf/ protocol_section.adc_resolution() as f32) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/abf_v2.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | .map(|(sf, ai)| (sf - ai.signal_offset)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 84 - .map(|(sf, ai)| (sf - ai.signal_offset)) [INFO] [stdout] 84 + .map(|(sf, ai)| sf - ai.signal_offset) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_format` [INFO] [stdout] --> src/abf_v2.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let data_format: u16 = cu::from_byte_array_to_u16(&memmap, 30); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_format` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/abf_v2/section/adc_section.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct AdcSectionInfo{ [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 4 | pub adc_num: i16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 5 | pub telegraph_enable: i16, [INFO] [stdout] 6 | pub telegraph_instrument: i16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | pub telegraph_addit_gain: f32, [INFO] [stdout] 8 | pub telegraph_filter: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub telegraph_membrane_cap: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub telegraph_mode: i16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 11 | pub telegraph_access_resistance: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub adc_p_to_l_channel_map: i16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub adc_sampling_seq: i16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | pub adc_programmable_gain: f32, [INFO] [stdout] 15 | pub adc_display_amplification: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub adc_display_offset: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub signal_lowpass_filter: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | pub signal_highpass_filter: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | pub lowpass_filter_type: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | pub highpass_filter_type: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | pub post_process_lowpass_filter: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | pub post_process_lowpass_filter_type: i8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | pub enabled_during_pn: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | pub stats_channel_polarity: i16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/abf_v2/section.rs:30:86 [INFO] [stdout] | [INFO] [stdout] 30 | fn new(mmap: &'a Mmap, from: usize, section_type:std::marker::PhantomData) -> Section { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 30 | fn new(mmap: &'a Mmap, from: usize, section_type:std::marker::PhantomData) -> Section<'a, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/abf_v2/section/section_producer.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_protocol_section(&self) -> Section { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_protocol_section(&self) -> Section<'_, ProtocolSectionType> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/abf_v2/section/section_producer.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn get_adc_section(&self) -> Section { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 15 | pub fn get_adc_section(&self) -> Section<'_, AdcSectionType> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/abf_v2/section/section_producer.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get_dac_section(&self) -> Section { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get_dac_section(&self) -> Section<'_, DacSectionType> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/abf_v2/section/section_producer.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn get_strings_section(&self) -> Section { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 31 | pub fn get_strings_section(&self) -> Section<'_, StringsSectionType> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/abf_v2/section/section_producer.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_data_section(&self) -> Section { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_data_section(&self) -> Section<'_, DataSectionType> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.99s [INFO] running `Command { std: "docker" "inspect" "e73c1527b90d2790911251d17c9bf9e520299a05827dd7eaf68452b2600c81a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e73c1527b90d2790911251d17c9bf9e520299a05827dd7eaf68452b2600c81a3", kill_on_drop: false }` [INFO] [stdout] e73c1527b90d2790911251d17c9bf9e520299a05827dd7eaf68452b2600c81a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0cf2d132b533b2ee89f822c7acd7609dfcf8b9af847f86f549db991164c915e8 [INFO] running `Command { std: "docker" "start" "-a" "0cf2d132b533b2ee89f822c7acd7609dfcf8b9af847f86f549db991164c915e8", kill_on_drop: false }` [INFO] [stderr] Compiling rust_abf v0.4.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/abf_v2.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | .map(|sf| (sf* protocol_section.adc_range())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 75 - .map(|sf| (sf* protocol_section.adc_range())) [INFO] [stdout] 75 + .map(|sf| sf* protocol_section.adc_range()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/abf_v2.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | .map(|sf| (sf/ protocol_section.adc_resolution() as f32)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 76 - .map(|sf| (sf/ protocol_section.adc_resolution() as f32)) [INFO] [stdout] 76 + .map(|sf| sf/ protocol_section.adc_resolution() as f32) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/abf_v2.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | .map(|(sf, ai)| (sf - ai.signal_offset)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 84 - .map(|(sf, ai)| (sf - ai.signal_offset)) [INFO] [stdout] 84 + .map(|(sf, ai)| sf - ai.signal_offset) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_format` [INFO] [stdout] --> src/abf_v2.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let data_format: u16 = cu::from_byte_array_to_u16(&memmap, 30); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_format` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/abf_v2/section/adc_section.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct AdcSectionInfo{ [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 4 | pub adc_num: i16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 5 | pub telegraph_enable: i16, [INFO] [stdout] 6 | pub telegraph_instrument: i16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | pub telegraph_addit_gain: f32, [INFO] [stdout] 8 | pub telegraph_filter: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub telegraph_membrane_cap: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub telegraph_mode: i16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 11 | pub telegraph_access_resistance: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub adc_p_to_l_channel_map: i16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub adc_sampling_seq: i16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | pub adc_programmable_gain: f32, [INFO] [stdout] 15 | pub adc_display_amplification: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub adc_display_offset: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub signal_lowpass_filter: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | pub signal_highpass_filter: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | pub lowpass_filter_type: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | pub highpass_filter_type: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | pub post_process_lowpass_filter: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | pub post_process_lowpass_filter_type: i8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | pub enabled_during_pn: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | pub stats_channel_polarity: i16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/abf_v2/section.rs:30:86 [INFO] [stdout] | [INFO] [stdout] 30 | fn new(mmap: &'a Mmap, from: usize, section_type:std::marker::PhantomData) -> Section { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 30 | fn new(mmap: &'a Mmap, from: usize, section_type:std::marker::PhantomData) -> Section<'a, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/abf_v2/section/section_producer.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_protocol_section(&self) -> Section { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_protocol_section(&self) -> Section<'_, ProtocolSectionType> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/abf_v2/section/section_producer.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn get_adc_section(&self) -> Section { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 15 | pub fn get_adc_section(&self) -> Section<'_, AdcSectionType> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/abf_v2/section/section_producer.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get_dac_section(&self) -> Section { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get_dac_section(&self) -> Section<'_, DacSectionType> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/abf_v2/section/section_producer.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn get_strings_section(&self) -> Section { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 31 | pub fn get_strings_section(&self) -> Section<'_, StringsSectionType> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/abf_v2/section/section_producer.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_data_section(&self) -> Section { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_data_section(&self) -> Section<'_, DataSectionType> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/abf_v2.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | .map(|sf| (sf* protocol_section.adc_range())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 75 - .map(|sf| (sf* protocol_section.adc_range())) [INFO] [stdout] 75 + .map(|sf| sf* protocol_section.adc_range()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/abf_v2.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | .map(|sf| (sf/ protocol_section.adc_resolution() as f32)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 76 - .map(|sf| (sf/ protocol_section.adc_resolution() as f32)) [INFO] [stdout] 76 + .map(|sf| sf/ protocol_section.adc_resolution() as f32) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/abf_v2.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | .map(|(sf, ai)| (sf - ai.signal_offset)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 84 - .map(|(sf, ai)| (sf - ai.signal_offset)) [INFO] [stdout] 84 + .map(|(sf, ai)| sf - ai.signal_offset) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_format` [INFO] [stdout] --> src/abf_v2.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let data_format: u16 = cu::from_byte_array_to_u16(&memmap, 30); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_format` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/abf_v2/section/adc_section.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct AdcSectionInfo{ [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 4 | pub adc_num: i16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 5 | pub telegraph_enable: i16, [INFO] [stdout] 6 | pub telegraph_instrument: i16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | pub telegraph_addit_gain: f32, [INFO] [stdout] 8 | pub telegraph_filter: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub telegraph_membrane_cap: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub telegraph_mode: i16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 11 | pub telegraph_access_resistance: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub adc_p_to_l_channel_map: i16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub adc_sampling_seq: i16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | pub adc_programmable_gain: f32, [INFO] [stdout] 15 | pub adc_display_amplification: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub adc_display_offset: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub signal_lowpass_filter: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | pub signal_highpass_filter: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | pub lowpass_filter_type: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | pub highpass_filter_type: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | pub post_process_lowpass_filter: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | pub post_process_lowpass_filter_type: i8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | pub enabled_during_pn: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | pub stats_channel_polarity: i16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/abf_v2/section.rs:30:86 [INFO] [stdout] | [INFO] [stdout] 30 | fn new(mmap: &'a Mmap, from: usize, section_type:std::marker::PhantomData) -> Section { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 30 | fn new(mmap: &'a Mmap, from: usize, section_type:std::marker::PhantomData) -> Section<'a, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/abf_v2/section/section_producer.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_protocol_section(&self) -> Section { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_protocol_section(&self) -> Section<'_, ProtocolSectionType> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/abf_v2/section/section_producer.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn get_adc_section(&self) -> Section { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 15 | pub fn get_adc_section(&self) -> Section<'_, AdcSectionType> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/abf_v2/section/section_producer.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get_dac_section(&self) -> Section { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get_dac_section(&self) -> Section<'_, DacSectionType> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/abf_v2/section/section_producer.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn get_strings_section(&self) -> Section { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 31 | pub fn get_strings_section(&self) -> Section<'_, StringsSectionType> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/abf_v2/section/section_producer.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_data_section(&self) -> Section { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_data_section(&self) -> Section<'_, DataSectionType> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.51s [INFO] running `Command { std: "docker" "inspect" "0cf2d132b533b2ee89f822c7acd7609dfcf8b9af847f86f549db991164c915e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cf2d132b533b2ee89f822c7acd7609dfcf8b9af847f86f549db991164c915e8", kill_on_drop: false }` [INFO] [stdout] 0cf2d132b533b2ee89f822c7acd7609dfcf8b9af847f86f549db991164c915e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b0b9eee5f99fd333d160c879e9e7573bd3684c63c9dc54c3429250ea4c85b8d5 [INFO] running `Command { std: "docker" "start" "-a" "b0b9eee5f99fd333d160c879e9e7573bd3684c63c9dc54c3429250ea4c85b8d5", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/abf_v2.rs:75:19 [INFO] [stderr] | [INFO] [stderr] 75 | .map(|sf| (sf* protocol_section.adc_range())) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 75 - .map(|sf| (sf* protocol_section.adc_range())) [INFO] [stderr] 75 + .map(|sf| sf* protocol_section.adc_range()) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/abf_v2.rs:76:19 [INFO] [stderr] | [INFO] [stderr] 76 | .map(|sf| (sf/ protocol_section.adc_resolution() as f32)) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 76 - .map(|sf| (sf/ protocol_section.adc_resolution() as f32)) [INFO] [stderr] 76 + .map(|sf| sf/ protocol_section.adc_resolution() as f32) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/abf_v2.rs:84:25 [INFO] [stderr] | [INFO] [stderr] 84 | .map(|(sf, ai)| (sf - ai.signal_offset)) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 84 - .map(|(sf, ai)| (sf - ai.signal_offset)) [INFO] [stderr] 84 + .map(|(sf, ai)| sf - ai.signal_offset) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data_format` [INFO] [stderr] --> src/abf_v2.rs:20:13 [INFO] [stderr] | [INFO] [stderr] 20 | let data_format: u16 = cu::from_byte_array_to_u16(&memmap, 30); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_format` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/abf_v2/section/adc_section.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 3 | pub struct AdcSectionInfo{ [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 4 | pub adc_num: i16, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 5 | pub telegraph_enable: i16, [INFO] [stderr] 6 | pub telegraph_instrument: i16, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 7 | pub telegraph_addit_gain: f32, [INFO] [stderr] 8 | pub telegraph_filter: f32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 9 | pub telegraph_membrane_cap: f32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 10 | pub telegraph_mode: i16, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 11 | pub telegraph_access_resistance: f32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 12 | pub adc_p_to_l_channel_map: i16, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 13 | pub adc_sampling_seq: i16, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 14 | pub adc_programmable_gain: f32, [INFO] [stderr] 15 | pub adc_display_amplification: f32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 16 | pub adc_display_offset: f32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 21 | pub signal_lowpass_filter: f32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 22 | pub signal_highpass_filter: f32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 23 | pub lowpass_filter_type: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 24 | pub highpass_filter_type: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 25 | pub post_process_lowpass_filter: f32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 26 | pub post_process_lowpass_filter_type: i8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 27 | pub enabled_during_pn: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 28 | pub stats_channel_polarity: i16, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/abf_v2/section.rs:30:86 [INFO] [stderr] | [INFO] [stderr] 30 | fn new(mmap: &'a Mmap, from: usize, section_type:std::marker::PhantomData) -> Section { [INFO] [stderr] | -- the lifetime is named here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 30 | fn new(mmap: &'a Mmap, from: usize, section_type:std::marker::PhantomData) -> Section<'a, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/abf_v2/section/section_producer.rs:12:33 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn get_protocol_section(&self) -> Section { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 12 | pub fn get_protocol_section(&self) -> Section<'_, ProtocolSectionType> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/abf_v2/section/section_producer.rs:15:28 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn get_adc_section(&self) -> Section { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 15 | pub fn get_adc_section(&self) -> Section<'_, AdcSectionType> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/abf_v2/section/section_producer.rs:19:28 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn get_dac_section(&self) -> Section { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 19 | pub fn get_dac_section(&self) -> Section<'_, DacSectionType> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/abf_v2/section/section_producer.rs:31:32 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn get_strings_section(&self) -> Section { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 31 | pub fn get_strings_section(&self) -> Section<'_, StringsSectionType> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/abf_v2/section/section_producer.rs:34:29 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn get_data_section(&self) -> Section { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 34 | pub fn get_data_section(&self) -> Section<'_, DataSectionType> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `rust_abf` (lib) generated 11 warnings (run `cargo fix --lib -p rust_abf` to apply 9 suggestions) [INFO] [stderr] warning: `rust_abf` (lib test) generated 11 warnings (11 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_abf-8e97844dacb0330a) [INFO] [stdout] [INFO] [stderr] Running tests/lib.rs (/opt/rustwide/target/debug/deps/lib-d25578830bc736df) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test tests::test_abfv2_heavy ... ignored, This test uses a very large file that is not versioned, and would break the ci [INFO] [stdout] test tests::test_iterator_over_channels_and_sweeps ... ok [INFO] [stdout] test tests::test_sampling_rate ... ok [INFO] [stdout] test tests::test_get_path ... ok [INFO] [stdout] test tests::test_access_abf_by_channel ... ok [INFO] [stdout] test tests::test_iterator_over_channels ... ok [INFO] [stdout] test tests::test_abfv2_2 ... ok [INFO] [stdout] test tests::iterate_over_sweep_and_channel ... ok [INFO] [stdout] test tests::test_abfv2_1 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 2.58s [INFO] [stdout] [INFO] [stderr] Doc-tests rust_abf [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/abf_v2.rs:75:19 [INFO] [stderr] | [INFO] [stderr] 75 | .map(|sf| (sf* protocol_section.adc_range())) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 75 - .map(|sf| (sf* protocol_section.adc_range())) [INFO] [stderr] 75 + .map(|sf| sf* protocol_section.adc_range()) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/abf_v2.rs:76:19 [INFO] [stderr] | [INFO] [stderr] 76 | .map(|sf| (sf/ protocol_section.adc_resolution() as f32)) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 76 - .map(|sf| (sf/ protocol_section.adc_resolution() as f32)) [INFO] [stderr] 76 + .map(|sf| sf/ protocol_section.adc_resolution() as f32) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/abf_v2.rs:84:25 [INFO] [stderr] | [INFO] [stderr] 84 | .map(|(sf, ai)| (sf - ai.signal_offset)) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 84 - .map(|(sf, ai)| (sf - ai.signal_offset)) [INFO] [stderr] 84 + .map(|(sf, ai)| sf - ai.signal_offset) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b0b9eee5f99fd333d160c879e9e7573bd3684c63c9dc54c3429250ea4c85b8d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0b9eee5f99fd333d160c879e9e7573bd3684c63c9dc54c3429250ea4c85b8d5", kill_on_drop: false }` [INFO] [stdout] b0b9eee5f99fd333d160c879e9e7573bd3684c63c9dc54c3429250ea4c85b8d5