[INFO] fetching crate rust_abf 0.4.4... [INFO] testing rust_abf-0.4.4 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [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 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a3f0fecb0f2bcc75dcbe758cca3ac596b3bccb1918639e9030b46a81e9efc74e [INFO] running `Command { std: "docker" "start" "-a" "a3f0fecb0f2bcc75dcbe758cca3ac596b3bccb1918639e9030b46a81e9efc74e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3f0fecb0f2bcc75dcbe758cca3ac596b3bccb1918639e9030b46a81e9efc74e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3f0fecb0f2bcc75dcbe758cca3ac596b3bccb1918639e9030b46a81e9efc74e", kill_on_drop: false }` [INFO] [stdout] a3f0fecb0f2bcc75dcbe758cca3ac596b3bccb1918639e9030b46a81e9efc74e [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61ccad523867816654f80d4149e52e9192212b89028c7bb02eeefa091dcfc7e1 [INFO] running `Command { std: "docker" "start" "-a" "61ccad523867816654f80d4149e52e9192212b89028c7bb02eeefa091dcfc7e1", kill_on_drop: false }` [INFO] [stderr] Compiling memmap2 v0.9.8 [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.82s [INFO] running `Command { std: "docker" "inspect" "61ccad523867816654f80d4149e52e9192212b89028c7bb02eeefa091dcfc7e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61ccad523867816654f80d4149e52e9192212b89028c7bb02eeefa091dcfc7e1", kill_on_drop: false }` [INFO] [stdout] 61ccad523867816654f80d4149e52e9192212b89028c7bb02eeefa091dcfc7e1 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e46b2d64088c2a60367df28f7ab72d35aba70a7d084e2953d80d304cebdfb00c [INFO] running `Command { std: "docker" "start" "-a" "e46b2d64088c2a60367df28f7ab72d35aba70a7d084e2953d80d304cebdfb00c", 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] [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] 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 `test` profile [unoptimized + debuginfo] target(s) in 0.58s [INFO] running `Command { std: "docker" "inspect" "e46b2d64088c2a60367df28f7ab72d35aba70a7d084e2953d80d304cebdfb00c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e46b2d64088c2a60367df28f7ab72d35aba70a7d084e2953d80d304cebdfb00c", kill_on_drop: false }` [INFO] [stdout] e46b2d64088c2a60367df28f7ab72d35aba70a7d084e2953d80d304cebdfb00c [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7da45cd6e762998cd541fc4916a94522a3b6b5bbefcfa0c757fcb82b28ab2b87 [INFO] running `Command { std: "docker" "start" "-a" "7da45cd6e762998cd541fc4916a94522a3b6b5bbefcfa0c757fcb82b28ab2b87", 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.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_abf-d48aaff118171d2e) [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] [stderr] Running tests/lib.rs (/opt/rustwide/target/debug/deps/lib-5cd88db1796ee35a) [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_get_path ... ok [INFO] [stdout] test tests::test_sampling_rate ... 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_2 ... ok [INFO] [stdout] test tests::test_iterator_over_channels_and_sweeps ... ok [INFO] [stdout] test tests::test_abfv2_1 ... 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 2.09s [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" "7da45cd6e762998cd541fc4916a94522a3b6b5bbefcfa0c757fcb82b28ab2b87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7da45cd6e762998cd541fc4916a94522a3b6b5bbefcfa0c757fcb82b28ab2b87", kill_on_drop: false }` [INFO] [stdout] 7da45cd6e762998cd541fc4916a94522a3b6b5bbefcfa0c757fcb82b28ab2b87