[INFO] fetching crate nwn-lib-rs 0.4.0... [INFO] testing nwn-lib-rs-0.4.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate nwn-lib-rs 0.4.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate nwn-lib-rs 0.4.0 [INFO] finished tweaking crates.io crate nwn-lib-rs 0.4.0 [INFO] tweaked toml for crates.io crate nwn-lib-rs 0.4.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate nwn-lib-rs 0.4.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate nwn-lib-rs 0.4.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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libz-ng-sys v1.1.21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d8b67c653a5b7eb4c92faaca206e97a1d8749b2fd2838419774f5e3afc95775 [INFO] running `Command { std: "docker" "start" "-a" "1d8b67c653a5b7eb4c92faaca206e97a1d8749b2fd2838419774f5e3afc95775", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d8b67c653a5b7eb4c92faaca206e97a1d8749b2fd2838419774f5e3afc95775", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d8b67c653a5b7eb4c92faaca206e97a1d8749b2fd2838419774f5e3afc95775", kill_on_drop: false }` [INFO] [stdout] 1d8b67c653a5b7eb4c92faaca206e97a1d8749b2fd2838419774f5e3afc95775 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 753b13db48620a4c3d5bd4e8837b1ac0b78f168e5ab390c0ab65633d98ce1018 [INFO] running `Command { std: "docker" "start" "-a" "753b13db48620a4c3d5bd4e8837b1ac0b78f168e5ab390c0ab65633d98ce1018", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling xml-rs v0.8.25 [INFO] [stderr] Compiling cc v1.2.14 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling libz-ng-sys v1.1.21 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling git-version-macro v0.3.9 [INFO] [stderr] Compiling git-version v0.3.9 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling nwn-lib-rs v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parsing.rs:42:30 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn from_bytes(input: &[u8]) -> NWNParseResult { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 42 | pub fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parsing.rs:56:36 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn from_bytes_lossy(input: &[u8]) -> NWNParseResult { [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] 56 | pub fn from_bytes_lossy(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/erf.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | fn from_bytes(input: &[u8]) -> NWNParseResult<(Self, HeaderParsingInfo)> { [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] 104 | fn from_bytes(input: &[u8]) -> NWNParseResult<'_, (Self, HeaderParsingInfo)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/erf.rs:398:35 [INFO] [stdout] | [INFO] [stdout] 398 | pub fn from_bytes_head(input: &[u8]) -> NWNParseResult { [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] 398 | pub fn from_bytes_head(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gff.rs:474:30 [INFO] [stdout] | [INFO] [stdout] 474 | pub fn from_bytes(input: &[u8]) -> NWNParseResult { [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] 474 | pub fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gff/bin_gff.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 54 | fn from_bytes(input: &[u8]) -> NWNParseResult { [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] 54 | fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gff/bin_gff.rs:180:26 [INFO] [stdout] | [INFO] [stdout] 180 | fn from_bytes(input: &[u8]) -> NWNParseResult { [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] 180 | fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gff/bin_gff.rs:600:30 [INFO] [stdout] | [INFO] [stdout] 600 | pub fn from_bytes(input: &[u8]) -> NWNParseResult { [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] 600 | pub fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 48 | fn unescape_xml_str(input: &str) -> Cow { [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] 48 | fn unescape_xml_str(input: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:89:30 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn decode_xml_str(input: &[u8], lossy: bool) -> IResult<&[u8], Cow, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- -------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [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] 89 | pub fn decode_xml_str(input: &[u8], lossy: bool) -> IResult<&[u8], Cow<'_, str>, VerboseError<&[u8]>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:192:25 [INFO] [stdout] | [INFO] [stdout] 192 | fn parse_str(input: &str) -> IResult<&str, (Cow, bool), VerboseError<&str>> { [INFO] [stdout] | ^^^^ ---- -------- ---- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [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] 192 | fn parse_str(input: &str) -> IResult<&str, (Cow<'_, str>, bool), VerboseError<&str>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:213:25 [INFO] [stdout] | [INFO] [stdout] 213 | fn parse_tag(input: &str) -> IResult<&str, Tag, VerboseError<&str>> { [INFO] [stdout] | ^^^^ ---- --- ---- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [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] 213 | fn parse_tag(input: &str) -> IResult<&str, Tag<'_>, VerboseError<&str>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:228:20 [INFO] [stdout] | [INFO] [stdout] 228 | input: &str, [INFO] [stdout] | ^^^^ this lifetime flows to the output [INFO] [stdout] 229 | ) -> IResult<&str, (&str, Cow, bool), VerboseError<&str>> { [INFO] [stdout] | ---- ---- -------- ---- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get 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] 229 | ) -> IResult<&str, (&str, Cow<'_, str>, bool), VerboseError<&str>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tlk.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | fn from_bytes(input: &[u8]) -> NWNParseResult { [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] 72 | fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tlk.rs:291:30 [INFO] [stdout] | [INFO] [stdout] 291 | pub fn from_bytes(input: &[u8], repair: bool) -> NWNParseResult { [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] 291 | pub fn from_bytes(input: &[u8], repair: bool) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/mod.rs:120:55 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn from_bytes(packet_type: PacketType, input: &[u8]) -> NWNParseResult { [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] 120 | pub fn from_bytes(packet_type: PacketType, input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/mod.rs:172:39 [INFO] [stdout] | [INFO] [stdout] 172 | fn parse_packet_data_block(input: &[u8]) -> NWNParseResult<(PacketType, &[u8])> { [INFO] [stdout] | ^^^^^ ----------------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [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] 172 | fn parse_packet_data_block(input: &[u8]) -> NWNParseResult<'_, (PacketType, &[u8])> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/mod.rs:210:16 [INFO] [stdout] | [INFO] [stdout] 210 | input: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 211 | expected_packet_type: Option, [INFO] [stdout] 212 | ) -> NWNParseResult { [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] 212 | ) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/mod.rs:229:16 [INFO] [stdout] | [INFO] [stdout] 229 | input: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 230 | expected_packet_type: Option, [INFO] [stdout] 231 | ) -> NWNParseResult { [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] 231 | ) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/mod.rs:279:24 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn load_offset(&mut self, buffer: &[u8], buffer_offset: u32) -> NWNParseResult<&[u8]> { [INFO] [stdout] | ^^^^^^^^^ --------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output the lifetimes get 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] 279 | pub fn load_offset(&mut self, buffer: &[u8], buffer_offset: u32) -> NWNParseResult<'_, &[u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/mod.rs:311:25 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn parse_offset(&mut self, buffer: &[u8], buffer_offset: u32) -> NWNParseResult<()> { [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ------------------ 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] 311 | pub fn parse_offset(&mut self, buffer: &[u8], buffer_offset: u32) -> NWNParseResult<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/mod.rs:335:25 [INFO] [stdout] | [INFO] [stdout] 335 | pub fn parse_buffer(&mut self) -> NWNParseResult<()> { [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] 335 | pub fn parse_buffer(&mut self) -> NWNParseResult<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/mod.rs:363:35 [INFO] [stdout] | [INFO] [stdout] 363 | pub fn from_bytes_head(input: &[u8]) -> NWNParseResult { [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] 363 | pub fn from_bytes_head(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/mod.rs:417:25 [INFO] [stdout] | [INFO] [stdout] 417 | pub fn load_offsets(&mut self, buffer: &[u8], buffer_offset: u32) -> NWNParseResult<()> { [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ------------------ 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] 417 | pub fn load_offsets(&mut self, buffer: &[u8], buffer_offset: u32) -> NWNParseResult<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/mod.rs:431:26 [INFO] [stdout] | [INFO] [stdout] 431 | pub fn parse_offsets(&mut self, buffer: &[u8], buffer_offset: u32) -> NWNParseResult<()> { [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ------------------ 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] 431 | pub fn parse_offsets(&mut self, buffer: &[u8], buffer_offset: u32) -> NWNParseResult<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/mod.rs:445:30 [INFO] [stdout] | [INFO] [stdout] 445 | pub fn from_bytes(input: &[u8]) -> NWNParseResult { [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] 445 | pub fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/aswm.rs:137:30 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn from_bytes(input: &[u8]) -> NWNParseResult { [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] 137 | pub fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/aswm.rs:140:32 [INFO] [stdout] | [INFO] [stdout] 140 | fn parse_uncomp(input: &[u8]) -> NWNParseResult { [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] 140 | fn parse_uncomp(input: &[u8]) -> NWNParseResult<'_, Aswm> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/aswm.rs:297:26 [INFO] [stdout] | [INFO] [stdout] 297 | fn from_bytes(input: &[u8]) -> NWNParseResult { [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] 297 | fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/aswm.rs:311:26 [INFO] [stdout] | [INFO] [stdout] 311 | fn from_bytes(input: &[u8], aswm_version: u32) -> NWNParseResult { [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] 311 | fn from_bytes(input: &[u8], aswm_version: u32) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/aswm.rs:353:26 [INFO] [stdout] | [INFO] [stdout] 353 | fn from_bytes(input: &[u8], aswm_version: u32) -> NWNParseResult { [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] 353 | fn from_bytes(input: &[u8], aswm_version: u32) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/aswm.rs:468:26 [INFO] [stdout] | [INFO] [stdout] 468 | fn from_bytes(input: &[u8], aswm_version: u32) -> NWNParseResult { [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] 468 | fn from_bytes(input: &[u8], aswm_version: u32) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/aswm.rs:532:26 [INFO] [stdout] | [INFO] [stdout] 532 | fn from_bytes(input: &[u8]) -> NWNParseResult { [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] 532 | fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/aswm.rs:585:26 [INFO] [stdout] | [INFO] [stdout] 585 | fn from_bytes(input: &[u8]) -> NWNParseResult { [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] 585 | fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/aswm.rs:601:26 [INFO] [stdout] | [INFO] [stdout] 601 | fn from_bytes(input: &[u8], aswm_version: u32) -> NWNParseResult { [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] 601 | fn from_bytes(input: &[u8], aswm_version: u32) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/trrn.rs:77:30 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn from_bytes(input: &[u8]) -> NWNParseResult { [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] 77 | pub fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/trwh.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn from_bytes(input: &[u8]) -> NWNParseResult { [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 from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/watr.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn from_bytes(input: &[u8]) -> NWNParseResult { [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] 70 | pub fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.60s [INFO] running `Command { std: "docker" "inspect" "753b13db48620a4c3d5bd4e8837b1ac0b78f168e5ab390c0ab65633d98ce1018", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "753b13db48620a4c3d5bd4e8837b1ac0b78f168e5ab390c0ab65633d98ce1018", kill_on_drop: false }` [INFO] [stdout] 753b13db48620a4c3d5bd4e8837b1ac0b78f168e5ab390c0ab65633d98ce1018 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ce433a8c0c4de44794de145c699cab3d5afd6488a3a329d2cb1d6fb5f3f6298c [INFO] running `Command { std: "docker" "start" "-a" "ce433a8c0c4de44794de145c699cab3d5afd6488a3a329d2cb1d6fb5f3f6298c", kill_on_drop: false }` [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parsing.rs:42:30 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn from_bytes(input: &[u8]) -> NWNParseResult { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 42 | pub fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parsing.rs:56:36 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn from_bytes_lossy(input: &[u8]) -> NWNParseResult { [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] 56 | pub fn from_bytes_lossy(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/erf.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | fn from_bytes(input: &[u8]) -> NWNParseResult<(Self, HeaderParsingInfo)> { [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] 104 | fn from_bytes(input: &[u8]) -> NWNParseResult<'_, (Self, HeaderParsingInfo)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/erf.rs:398:35 [INFO] [stdout] | [INFO] [stdout] 398 | pub fn from_bytes_head(input: &[u8]) -> NWNParseResult { [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] 398 | pub fn from_bytes_head(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gff.rs:474:30 [INFO] [stdout] | [INFO] [stdout] 474 | pub fn from_bytes(input: &[u8]) -> NWNParseResult { [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] 474 | pub fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gff/bin_gff.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 54 | fn from_bytes(input: &[u8]) -> NWNParseResult { [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] 54 | fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gff/bin_gff.rs:180:26 [INFO] [stdout] | [INFO] [stdout] 180 | fn from_bytes(input: &[u8]) -> NWNParseResult { [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] 180 | fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gff/bin_gff.rs:600:30 [INFO] [stdout] | [INFO] [stdout] 600 | pub fn from_bytes(input: &[u8]) -> NWNParseResult { [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] 600 | pub fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 48 | fn unescape_xml_str(input: &str) -> Cow { [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] 48 | fn unescape_xml_str(input: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:89:30 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn decode_xml_str(input: &[u8], lossy: bool) -> IResult<&[u8], Cow, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- -------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [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] 89 | pub fn decode_xml_str(input: &[u8], lossy: bool) -> IResult<&[u8], Cow<'_, str>, VerboseError<&[u8]>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:192:25 [INFO] [stdout] | [INFO] [stdout] 192 | fn parse_str(input: &str) -> IResult<&str, (Cow, bool), VerboseError<&str>> { [INFO] [stdout] | ^^^^ ---- -------- ---- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [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] 192 | fn parse_str(input: &str) -> IResult<&str, (Cow<'_, str>, bool), VerboseError<&str>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:213:25 [INFO] [stdout] | [INFO] [stdout] 213 | fn parse_tag(input: &str) -> IResult<&str, Tag, VerboseError<&str>> { [INFO] [stdout] | ^^^^ ---- --- ---- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [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] 213 | fn parse_tag(input: &str) -> IResult<&str, Tag<'_>, VerboseError<&str>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:228:20 [INFO] [stdout] | [INFO] [stdout] 228 | input: &str, [INFO] [stdout] | ^^^^ this lifetime flows to the output [INFO] [stdout] 229 | ) -> IResult<&str, (&str, Cow, bool), VerboseError<&str>> { [INFO] [stdout] | ---- ---- -------- ---- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get 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] 229 | ) -> IResult<&str, (&str, Cow<'_, str>, bool), VerboseError<&str>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tlk.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | fn from_bytes(input: &[u8]) -> NWNParseResult { [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] 72 | fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tlk.rs:291:30 [INFO] [stdout] | [INFO] [stdout] 291 | pub fn from_bytes(input: &[u8], repair: bool) -> NWNParseResult { [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] 291 | pub fn from_bytes(input: &[u8], repair: bool) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/mod.rs:120:55 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn from_bytes(packet_type: PacketType, input: &[u8]) -> NWNParseResult { [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] 120 | pub fn from_bytes(packet_type: PacketType, input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/mod.rs:172:39 [INFO] [stdout] | [INFO] [stdout] 172 | fn parse_packet_data_block(input: &[u8]) -> NWNParseResult<(PacketType, &[u8])> { [INFO] [stdout] | ^^^^^ ----------------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [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] 172 | fn parse_packet_data_block(input: &[u8]) -> NWNParseResult<'_, (PacketType, &[u8])> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/mod.rs:210:16 [INFO] [stdout] | [INFO] [stdout] 210 | input: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 211 | expected_packet_type: Option, [INFO] [stdout] 212 | ) -> NWNParseResult { [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] 212 | ) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/mod.rs:229:16 [INFO] [stdout] | [INFO] [stdout] 229 | input: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 230 | expected_packet_type: Option, [INFO] [stdout] 231 | ) -> NWNParseResult { [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] 231 | ) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/mod.rs:279:24 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn load_offset(&mut self, buffer: &[u8], buffer_offset: u32) -> NWNParseResult<&[u8]> { [INFO] [stdout] | ^^^^^^^^^ --------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output the lifetimes get 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] 279 | pub fn load_offset(&mut self, buffer: &[u8], buffer_offset: u32) -> NWNParseResult<'_, &[u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/mod.rs:311:25 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn parse_offset(&mut self, buffer: &[u8], buffer_offset: u32) -> NWNParseResult<()> { [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ------------------ 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] 311 | pub fn parse_offset(&mut self, buffer: &[u8], buffer_offset: u32) -> NWNParseResult<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/mod.rs:335:25 [INFO] [stdout] | [INFO] [stdout] 335 | pub fn parse_buffer(&mut self) -> NWNParseResult<()> { [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] 335 | pub fn parse_buffer(&mut self) -> NWNParseResult<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/mod.rs:363:35 [INFO] [stdout] | [INFO] [stdout] 363 | pub fn from_bytes_head(input: &[u8]) -> NWNParseResult { [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] 363 | pub fn from_bytes_head(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/mod.rs:417:25 [INFO] [stdout] | [INFO] [stdout] 417 | pub fn load_offsets(&mut self, buffer: &[u8], buffer_offset: u32) -> NWNParseResult<()> { [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ------------------ 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] 417 | pub fn load_offsets(&mut self, buffer: &[u8], buffer_offset: u32) -> NWNParseResult<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/mod.rs:431:26 [INFO] [stdout] | [INFO] [stdout] 431 | pub fn parse_offsets(&mut self, buffer: &[u8], buffer_offset: u32) -> NWNParseResult<()> { [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ------------------ 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] 431 | pub fn parse_offsets(&mut self, buffer: &[u8], buffer_offset: u32) -> NWNParseResult<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/mod.rs:445:30 [INFO] [stdout] | [INFO] [stdout] 445 | pub fn from_bytes(input: &[u8]) -> NWNParseResult { [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] 445 | pub fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/aswm.rs:137:30 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn from_bytes(input: &[u8]) -> NWNParseResult { [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] 137 | pub fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/aswm.rs:140:32 [INFO] [stdout] | [INFO] [stdout] 140 | fn parse_uncomp(input: &[u8]) -> NWNParseResult { [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] 140 | fn parse_uncomp(input: &[u8]) -> NWNParseResult<'_, Aswm> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/aswm.rs:297:26 [INFO] [stdout] | [INFO] [stdout] 297 | fn from_bytes(input: &[u8]) -> NWNParseResult { [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] 297 | fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/aswm.rs:311:26 [INFO] [stdout] | [INFO] [stdout] 311 | fn from_bytes(input: &[u8], aswm_version: u32) -> NWNParseResult { [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] 311 | fn from_bytes(input: &[u8], aswm_version: u32) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/aswm.rs:353:26 [INFO] [stdout] | [INFO] [stdout] 353 | fn from_bytes(input: &[u8], aswm_version: u32) -> NWNParseResult { [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] 353 | fn from_bytes(input: &[u8], aswm_version: u32) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/aswm.rs:468:26 [INFO] [stdout] | [INFO] [stdout] 468 | fn from_bytes(input: &[u8], aswm_version: u32) -> NWNParseResult { [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] 468 | fn from_bytes(input: &[u8], aswm_version: u32) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/aswm.rs:532:26 [INFO] [stdout] | [INFO] [stdout] 532 | fn from_bytes(input: &[u8]) -> NWNParseResult { [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] 532 | fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nwn-lib-rs v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/aswm.rs:585:26 [INFO] [stdout] | [INFO] [stdout] 585 | fn from_bytes(input: &[u8]) -> NWNParseResult { [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] 585 | fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/aswm.rs:601:26 [INFO] [stdout] | [INFO] [stdout] 601 | fn from_bytes(input: &[u8], aswm_version: u32) -> NWNParseResult { [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] 601 | fn from_bytes(input: &[u8], aswm_version: u32) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/trrn.rs:77:30 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn from_bytes(input: &[u8]) -> NWNParseResult { [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] 77 | pub fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/trwh.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn from_bytes(input: &[u8]) -> NWNParseResult { [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 from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/watr.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn from_bytes(input: &[u8]) -> NWNParseResult { [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] 70 | pub fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parsing.rs:42:30 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn from_bytes(input: &[u8]) -> NWNParseResult { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 42 | pub fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parsing.rs:56:36 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn from_bytes_lossy(input: &[u8]) -> NWNParseResult { [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] 56 | pub fn from_bytes_lossy(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/erf.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | fn from_bytes(input: &[u8]) -> NWNParseResult<(Self, HeaderParsingInfo)> { [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] 104 | fn from_bytes(input: &[u8]) -> NWNParseResult<'_, (Self, HeaderParsingInfo)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/erf.rs:398:35 [INFO] [stdout] | [INFO] [stdout] 398 | pub fn from_bytes_head(input: &[u8]) -> NWNParseResult { [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] 398 | pub fn from_bytes_head(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gff.rs:474:30 [INFO] [stdout] | [INFO] [stdout] 474 | pub fn from_bytes(input: &[u8]) -> NWNParseResult { [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] 474 | pub fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gff/bin_gff.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 54 | fn from_bytes(input: &[u8]) -> NWNParseResult { [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] 54 | fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gff/bin_gff.rs:180:26 [INFO] [stdout] | [INFO] [stdout] 180 | fn from_bytes(input: &[u8]) -> NWNParseResult { [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] 180 | fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gff/bin_gff.rs:600:30 [INFO] [stdout] | [INFO] [stdout] 600 | pub fn from_bytes(input: &[u8]) -> NWNParseResult { [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] 600 | pub fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 48 | fn unescape_xml_str(input: &str) -> Cow { [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] 48 | fn unescape_xml_str(input: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:89:30 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn decode_xml_str(input: &[u8], lossy: bool) -> IResult<&[u8], Cow, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- -------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [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] 89 | pub fn decode_xml_str(input: &[u8], lossy: bool) -> IResult<&[u8], Cow<'_, str>, VerboseError<&[u8]>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:192:25 [INFO] [stdout] | [INFO] [stdout] 192 | fn parse_str(input: &str) -> IResult<&str, (Cow, bool), VerboseError<&str>> { [INFO] [stdout] | ^^^^ ---- -------- ---- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [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] 192 | fn parse_str(input: &str) -> IResult<&str, (Cow<'_, str>, bool), VerboseError<&str>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:213:25 [INFO] [stdout] | [INFO] [stdout] 213 | fn parse_tag(input: &str) -> IResult<&str, Tag, VerboseError<&str>> { [INFO] [stdout] | ^^^^ ---- --- ---- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [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] 213 | fn parse_tag(input: &str) -> IResult<&str, Tag<'_>, VerboseError<&str>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:228:20 [INFO] [stdout] | [INFO] [stdout] 228 | input: &str, [INFO] [stdout] | ^^^^ this lifetime flows to the output [INFO] [stdout] 229 | ) -> IResult<&str, (&str, Cow, bool), VerboseError<&str>> { [INFO] [stdout] | ---- ---- -------- ---- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get 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] 229 | ) -> IResult<&str, (&str, Cow<'_, str>, bool), VerboseError<&str>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tlk.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | fn from_bytes(input: &[u8]) -> NWNParseResult { [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] 72 | fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tlk.rs:291:30 [INFO] [stdout] | [INFO] [stdout] 291 | pub fn from_bytes(input: &[u8], repair: bool) -> NWNParseResult { [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] 291 | pub fn from_bytes(input: &[u8], repair: bool) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/mod.rs:120:55 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn from_bytes(packet_type: PacketType, input: &[u8]) -> NWNParseResult { [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] 120 | pub fn from_bytes(packet_type: PacketType, input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/mod.rs:172:39 [INFO] [stdout] | [INFO] [stdout] 172 | fn parse_packet_data_block(input: &[u8]) -> NWNParseResult<(PacketType, &[u8])> { [INFO] [stdout] | ^^^^^ ----------------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [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] 172 | fn parse_packet_data_block(input: &[u8]) -> NWNParseResult<'_, (PacketType, &[u8])> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/mod.rs:210:16 [INFO] [stdout] | [INFO] [stdout] 210 | input: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 211 | expected_packet_type: Option, [INFO] [stdout] 212 | ) -> NWNParseResult { [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] 212 | ) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/mod.rs:229:16 [INFO] [stdout] | [INFO] [stdout] 229 | input: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 230 | expected_packet_type: Option, [INFO] [stdout] 231 | ) -> NWNParseResult { [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] 231 | ) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/mod.rs:279:24 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn load_offset(&mut self, buffer: &[u8], buffer_offset: u32) -> NWNParseResult<&[u8]> { [INFO] [stdout] | ^^^^^^^^^ --------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output the lifetimes get 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] 279 | pub fn load_offset(&mut self, buffer: &[u8], buffer_offset: u32) -> NWNParseResult<'_, &[u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/mod.rs:311:25 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn parse_offset(&mut self, buffer: &[u8], buffer_offset: u32) -> NWNParseResult<()> { [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ------------------ 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] 311 | pub fn parse_offset(&mut self, buffer: &[u8], buffer_offset: u32) -> NWNParseResult<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/mod.rs:335:25 [INFO] [stdout] | [INFO] [stdout] 335 | pub fn parse_buffer(&mut self) -> NWNParseResult<()> { [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] 335 | pub fn parse_buffer(&mut self) -> NWNParseResult<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/mod.rs:363:35 [INFO] [stdout] | [INFO] [stdout] 363 | pub fn from_bytes_head(input: &[u8]) -> NWNParseResult { [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] 363 | pub fn from_bytes_head(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/mod.rs:417:25 [INFO] [stdout] | [INFO] [stdout] 417 | pub fn load_offsets(&mut self, buffer: &[u8], buffer_offset: u32) -> NWNParseResult<()> { [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ------------------ 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] 417 | pub fn load_offsets(&mut self, buffer: &[u8], buffer_offset: u32) -> NWNParseResult<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/mod.rs:431:26 [INFO] [stdout] | [INFO] [stdout] 431 | pub fn parse_offsets(&mut self, buffer: &[u8], buffer_offset: u32) -> NWNParseResult<()> { [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ------------------ 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] 431 | pub fn parse_offsets(&mut self, buffer: &[u8], buffer_offset: u32) -> NWNParseResult<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/mod.rs:445:30 [INFO] [stdout] | [INFO] [stdout] 445 | pub fn from_bytes(input: &[u8]) -> NWNParseResult { [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] 445 | pub fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/aswm.rs:137:30 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn from_bytes(input: &[u8]) -> NWNParseResult { [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] 137 | pub fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/aswm.rs:140:32 [INFO] [stdout] | [INFO] [stdout] 140 | fn parse_uncomp(input: &[u8]) -> NWNParseResult { [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] 140 | fn parse_uncomp(input: &[u8]) -> NWNParseResult<'_, Aswm> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/aswm.rs:297:26 [INFO] [stdout] | [INFO] [stdout] 297 | fn from_bytes(input: &[u8]) -> NWNParseResult { [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] 297 | fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/aswm.rs:311:26 [INFO] [stdout] | [INFO] [stdout] 311 | fn from_bytes(input: &[u8], aswm_version: u32) -> NWNParseResult { [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] 311 | fn from_bytes(input: &[u8], aswm_version: u32) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/aswm.rs:353:26 [INFO] [stdout] | [INFO] [stdout] 353 | fn from_bytes(input: &[u8], aswm_version: u32) -> NWNParseResult { [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] 353 | fn from_bytes(input: &[u8], aswm_version: u32) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/aswm.rs:468:26 [INFO] [stdout] | [INFO] [stdout] 468 | fn from_bytes(input: &[u8], aswm_version: u32) -> NWNParseResult { [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] 468 | fn from_bytes(input: &[u8], aswm_version: u32) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/aswm.rs:532:26 [INFO] [stdout] | [INFO] [stdout] 532 | fn from_bytes(input: &[u8]) -> NWNParseResult { [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] 532 | fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/aswm.rs:585:26 [INFO] [stdout] | [INFO] [stdout] 585 | fn from_bytes(input: &[u8]) -> NWNParseResult { [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] 585 | fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/aswm.rs:601:26 [INFO] [stdout] | [INFO] [stdout] 601 | fn from_bytes(input: &[u8], aswm_version: u32) -> NWNParseResult { [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] 601 | fn from_bytes(input: &[u8], aswm_version: u32) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/trrn.rs:77:30 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn from_bytes(input: &[u8]) -> NWNParseResult { [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] 77 | pub fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/trwh.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn from_bytes(input: &[u8]) -> NWNParseResult { [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 from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trn/watr.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn from_bytes(input: &[u8]) -> NWNParseResult { [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] 70 | pub fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.94s [INFO] running `Command { std: "docker" "inspect" "ce433a8c0c4de44794de145c699cab3d5afd6488a3a329d2cb1d6fb5f3f6298c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce433a8c0c4de44794de145c699cab3d5afd6488a3a329d2cb1d6fb5f3f6298c", kill_on_drop: false }` [INFO] [stdout] ce433a8c0c4de44794de145c699cab3d5afd6488a3a329d2cb1d6fb5f3f6298c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 098eb0993c625fef065d003e5fae1521ec9bf6a6199df5abcfb8e25100432483 [INFO] running `Command { std: "docker" "start" "-a" "098eb0993c625fef065d003e5fae1521ec9bf6a6199df5abcfb8e25100432483", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parsing.rs:42:30 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn from_bytes(input: &[u8]) -> NWNParseResult { [INFO] [stderr] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 42 | pub fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parsing.rs:56:36 [INFO] [stderr] | [INFO] [stderr] 56 | pub fn from_bytes_lossy(input: &[u8]) -> NWNParseResult { [INFO] [stderr] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 56 | pub fn from_bytes_lossy(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/erf.rs:104:26 [INFO] [stderr] | [INFO] [stderr] 104 | fn from_bytes(input: &[u8]) -> NWNParseResult<(Self, HeaderParsingInfo)> { [INFO] [stderr] | ^^^^^ ----------------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 104 | fn from_bytes(input: &[u8]) -> NWNParseResult<'_, (Self, HeaderParsingInfo)> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/erf.rs:398:35 [INFO] [stderr] | [INFO] [stderr] 398 | pub fn from_bytes_head(input: &[u8]) -> NWNParseResult { [INFO] [stderr] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 398 | pub fn from_bytes_head(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/gff.rs:474:30 [INFO] [stderr] | [INFO] [stderr] 474 | pub fn from_bytes(input: &[u8]) -> NWNParseResult { [INFO] [stderr] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 474 | pub fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/gff/bin_gff.rs:54:26 [INFO] [stderr] | [INFO] [stderr] 54 | fn from_bytes(input: &[u8]) -> NWNParseResult { [INFO] [stderr] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 54 | fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/gff/bin_gff.rs:180:26 [INFO] [stderr] | [INFO] [stderr] 180 | fn from_bytes(input: &[u8]) -> NWNParseResult { [INFO] [stderr] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 180 | fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/gff/bin_gff.rs:600:30 [INFO] [stderr] | [INFO] [stderr] 600 | pub fn from_bytes(input: &[u8]) -> NWNParseResult { [INFO] [stderr] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 600 | pub fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/gui.rs:48:28 [INFO] [stderr] | [INFO] [stderr] 48 | fn unescape_xml_str(input: &str) -> Cow { [INFO] [stderr] | ^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 48 | fn unescape_xml_str(input: &str) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/gui.rs:89:30 [INFO] [stderr] | [INFO] [stderr] 89 | pub fn decode_xml_str(input: &[u8], lossy: bool) -> IResult<&[u8], Cow, VerboseError<&[u8]>> { [INFO] [stderr] | ^^^^^ ----- -------- ----- the lifetimes get resolved as `'_` [INFO] [stderr] | | | | [INFO] [stderr] | | | the lifetimes get resolved as `'_` [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 89 | pub fn decode_xml_str(input: &[u8], lossy: bool) -> IResult<&[u8], Cow<'_, str>, VerboseError<&[u8]>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/gui.rs:192:25 [INFO] [stderr] | [INFO] [stderr] 192 | fn parse_str(input: &str) -> IResult<&str, (Cow, bool), VerboseError<&str>> { [INFO] [stderr] | ^^^^ ---- -------- ---- the lifetimes get resolved as `'_` [INFO] [stderr] | | | | [INFO] [stderr] | | | the lifetimes get resolved as `'_` [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 192 | fn parse_str(input: &str) -> IResult<&str, (Cow<'_, str>, bool), VerboseError<&str>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/gui.rs:213:25 [INFO] [stderr] | [INFO] [stderr] 213 | fn parse_tag(input: &str) -> IResult<&str, Tag, VerboseError<&str>> { [INFO] [stderr] | ^^^^ ---- --- ---- the lifetimes get resolved as `'_` [INFO] [stderr] | | | | [INFO] [stderr] | | | the lifetimes get resolved as `'_` [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 213 | fn parse_tag(input: &str) -> IResult<&str, Tag<'_>, VerboseError<&str>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/gui.rs:228:20 [INFO] [stderr] | [INFO] [stderr] 228 | input: &str, [INFO] [stderr] | ^^^^ this lifetime flows to the output [INFO] [stderr] 229 | ) -> IResult<&str, (&str, Cow, bool), VerboseError<&str>> { [INFO] [stderr] | ---- ---- -------- ---- the lifetimes get resolved as `'_` [INFO] [stderr] | | | | [INFO] [stderr] | | | the lifetimes get resolved as `'_` [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | the lifetimes get resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 229 | ) -> IResult<&str, (&str, Cow<'_, str>, bool), VerboseError<&str>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/tlk.rs:72:26 [INFO] [stderr] | [INFO] [stderr] 72 | fn from_bytes(input: &[u8]) -> NWNParseResult { [INFO] [stderr] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 72 | fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/tlk.rs:291:30 [INFO] [stderr] | [INFO] [stderr] 291 | pub fn from_bytes(input: &[u8], repair: bool) -> NWNParseResult { [INFO] [stderr] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 291 | pub fn from_bytes(input: &[u8], repair: bool) -> NWNParseResult<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trn/mod.rs:120:55 [INFO] [stderr] | [INFO] [stderr] 120 | pub fn from_bytes(packet_type: PacketType, input: &[u8]) -> NWNParseResult { [INFO] [stderr] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 120 | pub fn from_bytes(packet_type: PacketType, input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trn/mod.rs:172:39 [INFO] [stderr] | [INFO] [stderr] 172 | fn parse_packet_data_block(input: &[u8]) -> NWNParseResult<(PacketType, &[u8])> { [INFO] [stderr] | ^^^^^ ----------------------------------- [INFO] [stderr] | | | | [INFO] [stderr] | | | the lifetimes get resolved as `'_` [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 172 | fn parse_packet_data_block(input: &[u8]) -> NWNParseResult<'_, (PacketType, &[u8])> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trn/mod.rs:210:16 [INFO] [stderr] | [INFO] [stderr] 210 | input: &[u8], [INFO] [stderr] | ^^^^^ this lifetime flows to the output [INFO] [stderr] 211 | expected_packet_type: Option, [INFO] [stderr] 212 | ) -> NWNParseResult { [INFO] [stderr] | -------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 212 | ) -> NWNParseResult<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trn/mod.rs:229:16 [INFO] [stderr] | [INFO] [stderr] 229 | input: &[u8], [INFO] [stderr] | ^^^^^ this lifetime flows to the output [INFO] [stderr] 230 | expected_packet_type: Option, [INFO] [stderr] 231 | ) -> NWNParseResult { [INFO] [stderr] | -------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 231 | ) -> NWNParseResult<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trn/mod.rs:279:24 [INFO] [stderr] | [INFO] [stderr] 279 | pub fn load_offset(&mut self, buffer: &[u8], buffer_offset: u32) -> NWNParseResult<&[u8]> { [INFO] [stderr] | ^^^^^^^^^ --------------------- [INFO] [stderr] | | | | [INFO] [stderr] | | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output the lifetimes get resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 279 | pub fn load_offset(&mut self, buffer: &[u8], buffer_offset: u32) -> NWNParseResult<'_, &[u8]> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trn/mod.rs:311:25 [INFO] [stderr] | [INFO] [stderr] 311 | pub fn parse_offset(&mut self, buffer: &[u8], buffer_offset: u32) -> NWNParseResult<()> { [INFO] [stderr] | ^^^^^^^^^ this lifetime flows to the output ------------------ the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 311 | pub fn parse_offset(&mut self, buffer: &[u8], buffer_offset: u32) -> NWNParseResult<'_, ()> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trn/mod.rs:335:25 [INFO] [stderr] | [INFO] [stderr] 335 | pub fn parse_buffer(&mut self) -> NWNParseResult<()> { [INFO] [stderr] | ^^^^^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 335 | pub fn parse_buffer(&mut self) -> NWNParseResult<'_, ()> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trn/mod.rs:363:35 [INFO] [stderr] | [INFO] [stderr] 363 | pub fn from_bytes_head(input: &[u8]) -> NWNParseResult { [INFO] [stderr] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 363 | pub fn from_bytes_head(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trn/mod.rs:417:25 [INFO] [stderr] | [INFO] [stderr] 417 | pub fn load_offsets(&mut self, buffer: &[u8], buffer_offset: u32) -> NWNParseResult<()> { [INFO] [stderr] | ^^^^^^^^^ this lifetime flows to the output ------------------ the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 417 | pub fn load_offsets(&mut self, buffer: &[u8], buffer_offset: u32) -> NWNParseResult<'_, ()> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trn/mod.rs:431:26 [INFO] [stderr] | [INFO] [stderr] 431 | pub fn parse_offsets(&mut self, buffer: &[u8], buffer_offset: u32) -> NWNParseResult<()> { [INFO] [stderr] | ^^^^^^^^^ this lifetime flows to the output ------------------ the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 431 | pub fn parse_offsets(&mut self, buffer: &[u8], buffer_offset: u32) -> NWNParseResult<'_, ()> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trn/mod.rs:445:30 [INFO] [stderr] | [INFO] [stderr] 445 | pub fn from_bytes(input: &[u8]) -> NWNParseResult { [INFO] [stderr] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 445 | pub fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trn/aswm.rs:137:30 [INFO] [stderr] | [INFO] [stderr] 137 | pub fn from_bytes(input: &[u8]) -> NWNParseResult { [INFO] [stderr] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 137 | pub fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trn/aswm.rs:140:32 [INFO] [stderr] | [INFO] [stderr] 140 | fn parse_uncomp(input: &[u8]) -> NWNParseResult { [INFO] [stderr] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 140 | fn parse_uncomp(input: &[u8]) -> NWNParseResult<'_, Aswm> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trn/aswm.rs:297:26 [INFO] [stderr] | [INFO] [stderr] 297 | fn from_bytes(input: &[u8]) -> NWNParseResult { [INFO] [stderr] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 297 | fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trn/aswm.rs:311:26 [INFO] [stderr] | [INFO] [stderr] 311 | fn from_bytes(input: &[u8], aswm_version: u32) -> NWNParseResult { [INFO] [stderr] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 311 | fn from_bytes(input: &[u8], aswm_version: u32) -> NWNParseResult<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trn/aswm.rs:353:26 [INFO] [stderr] | [INFO] [stderr] 353 | fn from_bytes(input: &[u8], aswm_version: u32) -> NWNParseResult { [INFO] [stderr] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 353 | fn from_bytes(input: &[u8], aswm_version: u32) -> NWNParseResult<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trn/aswm.rs:468:26 [INFO] [stderr] | [INFO] [stderr] 468 | fn from_bytes(input: &[u8], aswm_version: u32) -> NWNParseResult { [INFO] [stderr] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 468 | fn from_bytes(input: &[u8], aswm_version: u32) -> NWNParseResult<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trn/aswm.rs:532:26 [INFO] [stderr] | [INFO] [stderr] 532 | fn from_bytes(input: &[u8]) -> NWNParseResult { [INFO] [stderr] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 532 | fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trn/aswm.rs:585:26 [INFO] [stderr] | [INFO] [stderr] 585 | fn from_bytes(input: &[u8]) -> NWNParseResult { [INFO] [stderr] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 585 | fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trn/aswm.rs:601:26 [INFO] [stderr] | [INFO] [stderr] 601 | fn from_bytes(input: &[u8], aswm_version: u32) -> NWNParseResult { [INFO] [stderr] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 601 | fn from_bytes(input: &[u8], aswm_version: u32) -> NWNParseResult<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trn/trrn.rs:77:30 [INFO] [stderr] | [INFO] [stderr] 77 | pub fn from_bytes(input: &[u8]) -> NWNParseResult { [INFO] [stderr] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 77 | pub fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trn/trwh.rs:19:30 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn from_bytes(input: &[u8]) -> NWNParseResult { [INFO] [stderr] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 19 | pub fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trn/watr.rs:70:30 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn from_bytes(input: &[u8]) -> NWNParseResult { [INFO] [stderr] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 70 | pub fn from_bytes(input: &[u8]) -> NWNParseResult<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `nwn-lib-rs` (lib) generated 38 warnings (run `cargo fix --lib -p nwn-lib-rs` to apply 38 suggestions) [INFO] [stderr] warning: `nwn-lib-rs` (lib test) generated 38 warnings (38 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/nwn_lib_rs-beda453bb364bbae) [INFO] [stdout] [INFO] [stdout] running 28 tests [INFO] [stdout] test erf::tests::test_hak ... ok [INFO] [stdout] test parsing::tests::test_parse_detect ... ok [INFO] [stdout] test parsing::tests::test_fixed_size_string ... ok [INFO] [stdout] test gui::tests::test_addbuddy ... ok [INFO] [stdout] test tlk::tests::test_repair_tlk ... ok [INFO] [stdout] test gui::tests::test_errors ... ok [INFO] [stdout] test tlk::tests::test_dialog_tlk ... ok [INFO] [stdout] test erf::tests::test_nwn2_mod ... ok [INFO] [stdout] test tlk::tests::test_user_tlk ... ok [INFO] [stdout] test gff::tests::test_gff_read_towncrier ... ok [INFO] [stdout] test gui::tests::test_parsing_campaign ... ok [INFO] [stdout] test gff::tests::test_gff_araignee ... ok [INFO] [stdout] test twoda::tests::test_cls_bfeat_dwdef ... ok [INFO] [stdout] test twoda::tests::test_bloodmagus ... ok [INFO] [stdout] test gui::tests::test_headers ... ok [INFO] [stdout] test gui::tests::test_misc ... ok [INFO] [stdout] test tlk::tests::test_tlk_resolver ... ok [INFO] [stdout] test twoda::tests::test_savthr_nw9a ... ok [INFO] [stdout] test twoda::tests::test_combatmodes ... ok [INFO] [stdout] test twoda::tests::test_twodam ... ok [INFO] [stdout] test twoda::tests::test_creaturespeed ... ok [INFO] [stdout] test twoda::tests::test_nwn_2_colors ... ok [INFO] [stdout] test twoda::tests::test_twoda ... ok [INFO] [stdout] test twoda::tests::test_des_treas_items ... ok [INFO] [stdout] test gff::tests::bench_krogar ... ok [INFO] [stdout] test gff::tests::test_gff_read_doge ... ok [INFO] [stdout] test gff::tests::test_gff_read_krogar ... ok [INFO] [stdout] test trn::tests::test_eauprofonde_portes ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 28 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 9.62s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "098eb0993c625fef065d003e5fae1521ec9bf6a6199df5abcfb8e25100432483", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "098eb0993c625fef065d003e5fae1521ec9bf6a6199df5abcfb8e25100432483", kill_on_drop: false }` [INFO] [stdout] 098eb0993c625fef065d003e5fae1521ec9bf6a6199df5abcfb8e25100432483