[INFO] fetching crate rust_abf 0.4.4... [INFO] testing rust_abf-0.4.4 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate rust_abf 0.4.4 into /workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rust_abf 0.4.4 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a9c0e87c30bc6938292b7c5386154d19d18eb1ecabad15b976a06889bb5aec7 [INFO] running `Command { std: "docker" "start" "-a" "5a9c0e87c30bc6938292b7c5386154d19d18eb1ecabad15b976a06889bb5aec7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a9c0e87c30bc6938292b7c5386154d19d18eb1ecabad15b976a06889bb5aec7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a9c0e87c30bc6938292b7c5386154d19d18eb1ecabad15b976a06889bb5aec7", kill_on_drop: false }` [INFO] [stdout] 5a9c0e87c30bc6938292b7c5386154d19d18eb1ecabad15b976a06889bb5aec7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4f45007250a4f42362384eb2e783f7e02937642ae48e67556066a33bf96da93 [INFO] running `Command { std: "docker" "start" "-a" "a4f45007250a4f42362384eb2e783f7e02937642ae48e67556066a33bf96da93", kill_on_drop: false }` [INFO] [stderr] Compiling memmap2 v0.9.9 [INFO] [stderr] Compiling rayon v1.11.0 [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 3.14s [INFO] running `Command { std: "docker" "inspect" "a4f45007250a4f42362384eb2e783f7e02937642ae48e67556066a33bf96da93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4f45007250a4f42362384eb2e783f7e02937642ae48e67556066a33bf96da93", kill_on_drop: false }` [INFO] [stdout] a4f45007250a4f42362384eb2e783f7e02937642ae48e67556066a33bf96da93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4cecef48dc5586235494d9692177b9c2882a7076905440a1ab11a25012e5b494 [INFO] running `Command { std: "docker" "start" "-a" "4cecef48dc5586235494d9692177b9c2882a7076905440a1ab11a25012e5b494", kill_on_drop: false }` [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] [stderr] Compiling rust_abf v0.4.4 (/opt/rustwide/workdir) [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" "4cecef48dc5586235494d9692177b9c2882a7076905440a1ab11a25012e5b494", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cecef48dc5586235494d9692177b9c2882a7076905440a1ab11a25012e5b494", kill_on_drop: false }` [INFO] [stdout] 4cecef48dc5586235494d9692177b9c2882a7076905440a1ab11a25012e5b494 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c209fbd636a16aa095f28d98d791cbfedc90f081c653da0ef44499e583dca4d8 [INFO] running `Command { std: "docker" "start" "-a" "c209fbd636a16aa095f28d98d791cbfedc90f081c653da0ef44499e583dca4d8", 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 10 suggestions) [INFO] [stderr] warning: `rust_abf` (lib test) generated 11 warnings (11 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_abf-11b0a2a6545ca80b) [INFO] [stderr] Running tests/lib.rs (/opt/rustwide/target/debug/deps/lib-8d7ed912d4317986) [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] [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_sampling_rate ... ok [INFO] [stdout] test tests::test_get_path ... ok [INFO] [stdout] test tests::test_abfv2_2 ... ok [INFO] [stdout] test tests::test_iterator_over_channels ... ok [INFO] [stdout] test tests::iterate_over_sweep_and_channel ... ok [INFO] [stdout] test tests::test_abfv2_1 ... ok [INFO] [stdout] test tests::test_iterator_over_channels_and_sweeps ... ok [INFO] [stdout] test tests::test_access_abf_by_channel ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 1.93s [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" "c209fbd636a16aa095f28d98d791cbfedc90f081c653da0ef44499e583dca4d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c209fbd636a16aa095f28d98d791cbfedc90f081c653da0ef44499e583dca4d8", kill_on_drop: false }` [INFO] [stdout] c209fbd636a16aa095f28d98d791cbfedc90f081c653da0ef44499e583dca4d8