[INFO] fetching crate image-rider 0.10.0... [INFO] checking image-rider-0.10.0 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate image-rider 0.10.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate image-rider 0.10.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate image-rider 0.10.0 [INFO] tweaked toml for crates.io crate image-rider 0.10.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate image-rider 0.10.0 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] crate crates.io crate image-rider 0.10.0 already has a lockfile, it will not be regenerated [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] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded winnow v0.6.22 [INFO] [stderr] Downloaded forbidden-bands v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 7a4ff8d206809f255466756abf9a0168b0a79f1cb555c7041bd4f1b0ba106636 [INFO] running `Command { std: "docker" "start" "-a" "7a4ff8d206809f255466756abf9a0168b0a79f1cb555c7041bd4f1b0ba106636", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a4ff8d206809f255466756abf9a0168b0a79f1cb555c7041bd4f1b0ba106636", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a4ff8d206809f255466756abf9a0168b0a79f1cb555c7041bd4f1b0ba106636", kill_on_drop: false }` [INFO] [stdout] 7a4ff8d206809f255466756abf9a0168b0a79f1cb555c7041bd4f1b0ba106636 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 00eb16d7dfa2fd23c31d4e1fa64362b86c756ea248b50e9ac85c24382d75e34c [INFO] running `Command { std: "docker" "start" "-a" "00eb16d7dfa2fd23c31d4e1fa64362b86c756ea248b50e9ac85c24382d75e34c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling thiserror v2.0.9 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking winnow v0.6.22 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking arraydeque v0.5.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking indexmap v2.7.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Compiling syn v2.0.94 [INFO] [stderr] Checking yaml-rust2 v0.8.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking rust-ini v0.20.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking env_logger v0.11.6 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling thiserror-impl v2.0.9 [INFO] [stderr] Compiling async-trait v0.1.84 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking config v0.14.1 [INFO] [stderr] Checking image-rider v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/disk_format/image.rs:480:50 [INFO] [stdout] | [INFO] [stdout] 480 | #[cfg(not(feature = "commodore"))] _config: &'a crate::config::Config, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 481 | ) -> impl Fn(&'a [u8]) -> IResult<&[u8], DiskImage<'a>> { [INFO] [stdout] | -- ----- -- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | the lifetimes get 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] 481 | ) -> impl Fn(&'a [u8]) -> IResult<&'a [u8], DiskImage<'a>> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/disk_format/stx/disk.rs:140:27 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn stx_disk_parser(i: &[u8]) -> IResult<&[u8], STXDisk> { [INFO] [stdout] | ^^^^^ ----- ------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [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] 140 | pub fn stx_disk_parser(i: &[u8]) -> IResult<&[u8], STXDisk<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/disk_format/stx/disk.rs:162:34 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn stx_disk_header_parser(i: &[u8]) -> IResult<&[u8], STXDiskHeader> { [INFO] [stdout] | ^^^^^ ----- ------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [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] 162 | pub fn stx_disk_header_parser(i: &[u8]) -> IResult<&[u8], STXDiskHeader<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/disk_format/stx/track.rs:187:28 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn stx_track_parser(i: &[u8]) -> IResult<&[u8], STXTrack> { [INFO] [stdout] | ^^^^^ ----- -------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [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] 187 | pub fn stx_track_parser(i: &[u8]) -> IResult<&[u8], STXTrack<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/disk_format/stx/sector.rs:266:35 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn stx_sync_markers_parser(i: &[u8]) -> IResult<&[u8], STXSyncMarker> { [INFO] [stdout] | ^^^^^ ----- ------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [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] 266 | pub fn stx_sync_markers_parser(i: &[u8]) -> IResult<&[u8], STXSyncMarker<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/disk_format/apple/disk.rs:163:42 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn parse_volume_table_of_contents(i: &[u8]) -> IResult<&[u8], VolumeTableOfContents> { [INFO] [stdout] | ^^^^^ ----- --------------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [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] 163 | pub fn parse_volume_table_of_contents(i: &[u8]) -> IResult<&[u8], VolumeTableOfContents<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/disk_format/apple/disk.rs:434:31 [INFO] [stdout] | [INFO] [stdout] 434 | pub fn format_from_data(data: &[u8]) -> std::result::Result, Error> { [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] 434 | pub fn format_from_data(data: &[u8]) -> std::result::Result>, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/disk_format/apple/catalog.rs:189:35 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn parse_track_sector_list(i: &[u8]) -> IResult<&[u8], TrackSectorList> { [INFO] [stdout] | ^^^^^ ----- --------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [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] 189 | pub fn parse_track_sector_list(i: &[u8]) -> IResult<&[u8], TrackSectorList<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/disk_format/apple/catalog.rs:316:19 [INFO] [stdout] | [INFO] [stdout] 316 | filename: &str, [INFO] [stdout] | ^^^^ this lifetime flows to the output [INFO] [stdout] 317 | file_length_in_sectors: u16, [INFO] [stdout] 318 | ) -> FileEntry { [INFO] [stdout] | --------- the lifetime gets resolved as `'_` [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] 318 | ) -> FileEntry<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/disk_format/apple/catalog.rs:533:28 [INFO] [stdout] | [INFO] [stdout] 533 | pub fn parse_file_entry(i: &[u8]) -> IResult<&[u8], FileEntry> { [INFO] [stdout] | ^^^^^ ----- --------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [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] 533 | pub fn parse_file_entry(i: &[u8]) -> IResult<&[u8], FileEntry<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/disk_format/apple/catalog.rs:660:25 [INFO] [stdout] | [INFO] [stdout] 660 | pub fn parse_catalog(i: &[u8]) -> IResult<&[u8], Catalog> { [INFO] [stdout] | ^^^^^ ----- ------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [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] 660 | pub fn parse_catalog(i: &[u8]) -> IResult<&[u8], Catalog<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/disk_format/image.rs:480:50 [INFO] [stdout] | [INFO] [stdout] 480 | #[cfg(not(feature = "commodore"))] _config: &'a crate::config::Config, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 481 | ) -> impl Fn(&'a [u8]) -> IResult<&[u8], DiskImage<'a>> { [INFO] [stdout] | -- ----- -- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | the lifetimes get 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] 481 | ) -> impl Fn(&'a [u8]) -> IResult<&'a [u8], DiskImage<'a>> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/disk_format/stx/disk.rs:140:27 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn stx_disk_parser(i: &[u8]) -> IResult<&[u8], STXDisk> { [INFO] [stdout] | ^^^^^ ----- ------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [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] 140 | pub fn stx_disk_parser(i: &[u8]) -> IResult<&[u8], STXDisk<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/disk_format/stx/disk.rs:162:34 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn stx_disk_header_parser(i: &[u8]) -> IResult<&[u8], STXDiskHeader> { [INFO] [stdout] | ^^^^^ ----- ------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [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] 162 | pub fn stx_disk_header_parser(i: &[u8]) -> IResult<&[u8], STXDiskHeader<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/disk_format/stx/track.rs:187:28 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn stx_track_parser(i: &[u8]) -> IResult<&[u8], STXTrack> { [INFO] [stdout] | ^^^^^ ----- -------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [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] 187 | pub fn stx_track_parser(i: &[u8]) -> IResult<&[u8], STXTrack<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/disk_format/stx/sector.rs:266:35 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn stx_sync_markers_parser(i: &[u8]) -> IResult<&[u8], STXSyncMarker> { [INFO] [stdout] | ^^^^^ ----- ------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [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] 266 | pub fn stx_sync_markers_parser(i: &[u8]) -> IResult<&[u8], STXSyncMarker<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/disk_format/apple/disk.rs:163:42 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn parse_volume_table_of_contents(i: &[u8]) -> IResult<&[u8], VolumeTableOfContents> { [INFO] [stdout] | ^^^^^ ----- --------------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [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] 163 | pub fn parse_volume_table_of_contents(i: &[u8]) -> IResult<&[u8], VolumeTableOfContents<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/disk_format/apple/disk.rs:434:31 [INFO] [stdout] | [INFO] [stdout] 434 | pub fn format_from_data(data: &[u8]) -> std::result::Result, Error> { [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] 434 | pub fn format_from_data(data: &[u8]) -> std::result::Result>, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/disk_format/apple/catalog.rs:189:35 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn parse_track_sector_list(i: &[u8]) -> IResult<&[u8], TrackSectorList> { [INFO] [stdout] | ^^^^^ ----- --------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [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] 189 | pub fn parse_track_sector_list(i: &[u8]) -> IResult<&[u8], TrackSectorList<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/disk_format/apple/catalog.rs:316:19 [INFO] [stdout] | [INFO] [stdout] 316 | filename: &str, [INFO] [stdout] | ^^^^ this lifetime flows to the output [INFO] [stdout] 317 | file_length_in_sectors: u16, [INFO] [stdout] 318 | ) -> FileEntry { [INFO] [stdout] | --------- the lifetime gets resolved as `'_` [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] 318 | ) -> FileEntry<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/disk_format/apple/catalog.rs:533:28 [INFO] [stdout] | [INFO] [stdout] 533 | pub fn parse_file_entry(i: &[u8]) -> IResult<&[u8], FileEntry> { [INFO] [stdout] | ^^^^^ ----- --------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [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] 533 | pub fn parse_file_entry(i: &[u8]) -> IResult<&[u8], FileEntry<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/disk_format/apple/catalog.rs:660:25 [INFO] [stdout] | [INFO] [stdout] 660 | pub fn parse_catalog(i: &[u8]) -> IResult<&[u8], Catalog> { [INFO] [stdout] | ^^^^^ ----- ------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [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] 660 | pub fn parse_catalog(i: &[u8]) -> IResult<&[u8], Catalog<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/error.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn error_kind_new_works() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/error.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/error.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn error_kind_not_found_works() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.96s [INFO] running `Command { std: "docker" "inspect" "00eb16d7dfa2fd23c31d4e1fa64362b86c756ea248b50e9ac85c24382d75e34c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00eb16d7dfa2fd23c31d4e1fa64362b86c756ea248b50e9ac85c24382d75e34c", kill_on_drop: false }` [INFO] [stdout] 00eb16d7dfa2fd23c31d4e1fa64362b86c756ea248b50e9ac85c24382d75e34c