[INFO] fetching crate rust_abf 0.4.4... [INFO] checking rust_abf-0.4.4 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [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 cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a45344095a2ac01c7bd248fd3493df1abd6f156fd1870665bcdce9d08070bd47 [INFO] running `Command { std: "docker" "start" "-a" "a45344095a2ac01c7bd248fd3493df1abd6f156fd1870665bcdce9d08070bd47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a45344095a2ac01c7bd248fd3493df1abd6f156fd1870665bcdce9d08070bd47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a45344095a2ac01c7bd248fd3493df1abd6f156fd1870665bcdce9d08070bd47", kill_on_drop: false }` [INFO] [stdout] a45344095a2ac01c7bd248fd3493df1abd6f156fd1870665bcdce9d08070bd47 [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fd22d5c9059913c1d559cb18ef2ad19888619e2432fa63fcf25a9b05ad073b2 [INFO] running `Command { std: "docker" "start" "-a" "8fd22d5c9059913c1d559cb18ef2ad19888619e2432fa63fcf25a9b05ad073b2", kill_on_drop: false }` [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking rust_abf v0.4.4 (/opt/rustwide/workdir) [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)]` on by default [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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/abf_v2/section.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | fn new(mmap: &'a Mmap, from: usize, section_type:std::marker::PhantomData) -> Section { [INFO] [stdout] | ^^ this lifetime flows to the output ---------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_protocol_section(&self) -> Section<'_, ProtocolSectionType> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 15 | pub fn get_adc_section(&self) -> Section<'_, AdcSectionType> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get_dac_section(&self) -> Section<'_, DacSectionType> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 31 | pub fn get_strings_section(&self) -> Section<'_, StringsSectionType> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_data_section(&self) -> Section<'_, DataSectionType> { [INFO] [stdout] | +++ [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/abf_v2/section.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | fn new(mmap: &'a Mmap, from: usize, section_type:std::marker::PhantomData) -> Section { [INFO] [stdout] | ^^ this lifetime flows to the output ---------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_protocol_section(&self) -> Section<'_, ProtocolSectionType> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 15 | pub fn get_adc_section(&self) -> Section<'_, AdcSectionType> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get_dac_section(&self) -> Section<'_, DacSectionType> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 31 | pub fn get_strings_section(&self) -> Section<'_, StringsSectionType> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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.22s [INFO] running `Command { std: "docker" "inspect" "8fd22d5c9059913c1d559cb18ef2ad19888619e2432fa63fcf25a9b05ad073b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fd22d5c9059913c1d559cb18ef2ad19888619e2432fa63fcf25a9b05ad073b2", kill_on_drop: false }` [INFO] [stdout] 8fd22d5c9059913c1d559cb18ef2ad19888619e2432fa63fcf25a9b05ad073b2