[INFO] fetching crate gitpatch 0.7.1... [INFO] testing gitpatch-0.7.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate gitpatch 0.7.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate gitpatch 0.7.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate gitpatch 0.7.1 [INFO] tweaked toml for crates.io crate gitpatch 0.7.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gitpatch 0.7.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate gitpatch 0.7.1 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d96ce3d212979f2cfe7e68f1b76cafd66d84f1bb8e78571a99f5574e60dac8c3 [INFO] running `Command { std: "docker" "start" "-a" "d96ce3d212979f2cfe7e68f1b76cafd66d84f1bb8e78571a99f5574e60dac8c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d96ce3d212979f2cfe7e68f1b76cafd66d84f1bb8e78571a99f5574e60dac8c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d96ce3d212979f2cfe7e68f1b76cafd66d84f1bb8e78571a99f5574e60dac8c3", kill_on_drop: false }` [INFO] [stdout] d96ce3d212979f2cfe7e68f1b76cafd66d84f1bb8e78571a99f5574e60dac8c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b254238d55cad6f13e5278309b41042bf7f07348e01871f4189aaf95ed5fd8e [INFO] running `Command { std: "docker" "start" "-a" "5b254238d55cad6f13e5278309b41042bf7f07348e01871f4189aaf95ed5fd8e", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling bytecount v0.6.8 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling nom_locate v4.2.0 [INFO] [stderr] Compiling gitpatch v0.7.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:70:37 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn parse_single_patch(s: &str) -> Result> { [INFO] [stdout] | ^^^^ ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn parse_single_patch(s: &str) -> Result, ParseError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:82:41 [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) fn parse_multiple_patches(s: &str) -> Result, ParseError<'_>> { [INFO] [stdout] | ^^^^ ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) fn parse_multiple_patches(s: &str) -> Result>, ParseError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | fn multiple_patches(input: Input<'_>) -> IResult, Vec> { [INFO] [stdout] | ^^ ^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 94 | fn multiple_patches(input: Input<'_>) -> IResult, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:98:23 [INFO] [stdout] | [INFO] [stdout] 98 | fn patch(input: Input<'_>) -> IResult, Patch> { [INFO] [stdout] | ^^ ^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 98 | fn patch(input: Input<'_>) -> IResult, Patch<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:124:37 [INFO] [stdout] | [INFO] [stdout] 124 | fn binary_files_differ(input: Input<'_>) -> IResult, Patch> { [INFO] [stdout] | ^^ ^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 124 | fn binary_files_differ(input: Input<'_>) -> IResult, Patch<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:162:34 [INFO] [stdout] | [INFO] [stdout] 162 | fn file_rename_only(input: Input<'_>) -> IResult, Patch> { [INFO] [stdout] | ^^ ^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 162 | fn file_rename_only(input: Input<'_>) -> IResult, Patch<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:188:25 [INFO] [stdout] | [INFO] [stdout] 188 | fn headers(input: Input<'_>) -> IResult, (File, File)> { [INFO] [stdout] | ^^ ^^ ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 188 | fn headers(input: Input<'_>) -> IResult, (File<'_>, File<'_>)> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:200:37 [INFO] [stdout] | [INFO] [stdout] 200 | fn header_line_content(input: Input<'_>) -> IResult, File> { [INFO] [stdout] | ^^ ^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 200 | fn header_line_content(input: Input<'_>) -> IResult, File<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:223:24 [INFO] [stdout] | [INFO] [stdout] 223 | fn chunks(input: Input<'_>) -> IResult, Vec> { [INFO] [stdout] | ^^ ^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 223 | fn chunks(input: Input<'_>) -> IResult, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:227:23 [INFO] [stdout] | [INFO] [stdout] 227 | fn chunk(input: Input<'_>) -> IResult, Hunk> { [INFO] [stdout] | ^^ ^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 227 | fn chunk(input: Input<'_>) -> IResult, Hunk<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:297:28 [INFO] [stdout] | [INFO] [stdout] 297 | fn chunk_line(input: Input<'_>) -> IResult, Line> { [INFO] [stdout] | ^^ ^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 297 | fn chunk_line(input: Input<'_>) -> IResult, Line<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:322:26 [INFO] [stdout] | [INFO] [stdout] 322 | fn filename(input: Input<'_>) -> IResult, Cow> { [INFO] [stdout] | ^^ ^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 322 | fn filename(input: Input<'_>) -> IResult, Cow<'_, str>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:326:31 [INFO] [stdout] | [INFO] [stdout] 326 | fn file_metadata(input: Input<'_>) -> IResult, Cow> { [INFO] [stdout] | ^^ ^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 326 | fn file_metadata(input: Input<'_>) -> IResult, Cow<'_, str>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:335:24 [INFO] [stdout] | [INFO] [stdout] 335 | fn quoted(input: Input<'_>) -> IResult, Cow> { [INFO] [stdout] | ^^ ^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 335 | fn quoted(input: Input<'_>) -> IResult, Cow<'_, str>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:339:22 [INFO] [stdout] | [INFO] [stdout] 339 | fn bare(input: Input<'_>) -> IResult, Cow> { [INFO] [stdout] | ^^ ^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 339 | fn bare(input: Input<'_>) -> IResult, Cow<'_, str>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:345:31 [INFO] [stdout] | [INFO] [stdout] 345 | fn unescaped_str(input: Input<'_>) -> IResult, Cow> { [INFO] [stdout] | ^^ ^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 345 | fn unescaped_str(input: Input<'_>) -> IResult, Cow<'_, str>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.48s [INFO] running `Command { std: "docker" "inspect" "5b254238d55cad6f13e5278309b41042bf7f07348e01871f4189aaf95ed5fd8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b254238d55cad6f13e5278309b41042bf7f07348e01871f4189aaf95ed5fd8e", kill_on_drop: false }` [INFO] [stdout] 5b254238d55cad6f13e5278309b41042bf7f07348e01871f4189aaf95ed5fd8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a568e175e12271a8530a50fad7ed0c5b8cf35163d2c73115097e1cfe7791d8cb [INFO] running `Command { std: "docker" "start" "-a" "a568e175e12271a8530a50fad7ed0c5b8cf35163d2c73115097e1cfe7791d8cb", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:70:37 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn parse_single_patch(s: &str) -> Result> { [INFO] [stdout] | ^^^^ ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn parse_single_patch(s: &str) -> Result, ParseError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:82:41 [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) fn parse_multiple_patches(s: &str) -> Result, ParseError<'_>> { [INFO] [stdout] | ^^^^ ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) fn parse_multiple_patches(s: &str) -> Result>, ParseError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | fn multiple_patches(input: Input<'_>) -> IResult, Vec> { [INFO] [stdout] | ^^ ^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 94 | fn multiple_patches(input: Input<'_>) -> IResult, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:98:23 [INFO] [stdout] | [INFO] [stdout] 98 | fn patch(input: Input<'_>) -> IResult, Patch> { [INFO] [stdout] | ^^ ^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 98 | fn patch(input: Input<'_>) -> IResult, Patch<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:124:37 [INFO] [stdout] | [INFO] [stdout] 124 | fn binary_files_differ(input: Input<'_>) -> IResult, Patch> { [INFO] [stdout] | ^^ ^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 124 | fn binary_files_differ(input: Input<'_>) -> IResult, Patch<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:162:34 [INFO] [stdout] | [INFO] [stdout] 162 | fn file_rename_only(input: Input<'_>) -> IResult, Patch> { [INFO] [stdout] | ^^ ^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 162 | fn file_rename_only(input: Input<'_>) -> IResult, Patch<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:188:25 [INFO] [stdout] | [INFO] [stdout] 188 | fn headers(input: Input<'_>) -> IResult, (File, File)> { [INFO] [stdout] | ^^ ^^ ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 188 | fn headers(input: Input<'_>) -> IResult, (File<'_>, File<'_>)> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:200:37 [INFO] [stdout] | [INFO] [stdout] 200 | fn header_line_content(input: Input<'_>) -> IResult, File> { [INFO] [stdout] | ^^ ^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 200 | fn header_line_content(input: Input<'_>) -> IResult, File<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:223:24 [INFO] [stdout] | [INFO] [stdout] 223 | fn chunks(input: Input<'_>) -> IResult, Vec> { [INFO] [stdout] | ^^ ^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 223 | fn chunks(input: Input<'_>) -> IResult, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:227:23 [INFO] [stdout] | [INFO] [stdout] 227 | fn chunk(input: Input<'_>) -> IResult, Hunk> { [INFO] [stdout] | ^^ ^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 227 | fn chunk(input: Input<'_>) -> IResult, Hunk<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:297:28 [INFO] [stdout] | [INFO] [stdout] 297 | fn chunk_line(input: Input<'_>) -> IResult, Line> { [INFO] [stdout] | ^^ ^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 297 | fn chunk_line(input: Input<'_>) -> IResult, Line<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:322:26 [INFO] [stdout] | [INFO] [stdout] 322 | fn filename(input: Input<'_>) -> IResult, Cow> { [INFO] [stdout] | ^^ ^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 322 | fn filename(input: Input<'_>) -> IResult, Cow<'_, str>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:326:31 [INFO] [stdout] | [INFO] [stdout] 326 | fn file_metadata(input: Input<'_>) -> IResult, Cow> { [INFO] [stdout] | ^^ ^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 326 | fn file_metadata(input: Input<'_>) -> IResult, Cow<'_, str>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:335:24 [INFO] [stdout] | [INFO] [stdout] 335 | fn quoted(input: Input<'_>) -> IResult, Cow> { [INFO] [stdout] | ^^ ^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 335 | fn quoted(input: Input<'_>) -> IResult, Cow<'_, str>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:339:22 [INFO] [stdout] | [INFO] [stdout] 339 | fn bare(input: Input<'_>) -> IResult, Cow> { [INFO] [stdout] | ^^ ^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 339 | fn bare(input: Input<'_>) -> IResult, Cow<'_, str>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:345:31 [INFO] [stdout] | [INFO] [stdout] 345 | fn unescaped_str(input: Input<'_>) -> IResult, Cow> { [INFO] [stdout] | ^^ ^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 345 | fn unescaped_str(input: Input<'_>) -> IResult, Cow<'_, str>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gitpatch v0.7.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:70:37 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn parse_single_patch(s: &str) -> Result> { [INFO] [stdout] | ^^^^ ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn parse_single_patch(s: &str) -> Result, ParseError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:82:41 [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) fn parse_multiple_patches(s: &str) -> Result, ParseError<'_>> { [INFO] [stdout] | ^^^^ ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) fn parse_multiple_patches(s: &str) -> Result>, ParseError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | fn multiple_patches(input: Input<'_>) -> IResult, Vec> { [INFO] [stdout] | ^^ ^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 94 | fn multiple_patches(input: Input<'_>) -> IResult, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:98:23 [INFO] [stdout] | [INFO] [stdout] 98 | fn patch(input: Input<'_>) -> IResult, Patch> { [INFO] [stdout] | ^^ ^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 98 | fn patch(input: Input<'_>) -> IResult, Patch<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:124:37 [INFO] [stdout] | [INFO] [stdout] 124 | fn binary_files_differ(input: Input<'_>) -> IResult, Patch> { [INFO] [stdout] | ^^ ^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 124 | fn binary_files_differ(input: Input<'_>) -> IResult, Patch<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:162:34 [INFO] [stdout] | [INFO] [stdout] 162 | fn file_rename_only(input: Input<'_>) -> IResult, Patch> { [INFO] [stdout] | ^^ ^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 162 | fn file_rename_only(input: Input<'_>) -> IResult, Patch<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:188:25 [INFO] [stdout] | [INFO] [stdout] 188 | fn headers(input: Input<'_>) -> IResult, (File, File)> { [INFO] [stdout] | ^^ ^^ ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 188 | fn headers(input: Input<'_>) -> IResult, (File<'_>, File<'_>)> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:200:37 [INFO] [stdout] | [INFO] [stdout] 200 | fn header_line_content(input: Input<'_>) -> IResult, File> { [INFO] [stdout] | ^^ ^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 200 | fn header_line_content(input: Input<'_>) -> IResult, File<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:223:24 [INFO] [stdout] | [INFO] [stdout] 223 | fn chunks(input: Input<'_>) -> IResult, Vec> { [INFO] [stdout] | ^^ ^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 223 | fn chunks(input: Input<'_>) -> IResult, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:227:23 [INFO] [stdout] | [INFO] [stdout] 227 | fn chunk(input: Input<'_>) -> IResult, Hunk> { [INFO] [stdout] | ^^ ^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 227 | fn chunk(input: Input<'_>) -> IResult, Hunk<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:297:28 [INFO] [stdout] | [INFO] [stdout] 297 | fn chunk_line(input: Input<'_>) -> IResult, Line> { [INFO] [stdout] | ^^ ^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 297 | fn chunk_line(input: Input<'_>) -> IResult, Line<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:322:26 [INFO] [stdout] | [INFO] [stdout] 322 | fn filename(input: Input<'_>) -> IResult, Cow> { [INFO] [stdout] | ^^ ^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 322 | fn filename(input: Input<'_>) -> IResult, Cow<'_, str>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:326:31 [INFO] [stdout] | [INFO] [stdout] 326 | fn file_metadata(input: Input<'_>) -> IResult, Cow> { [INFO] [stdout] | ^^ ^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 326 | fn file_metadata(input: Input<'_>) -> IResult, Cow<'_, str>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:335:24 [INFO] [stdout] | [INFO] [stdout] 335 | fn quoted(input: Input<'_>) -> IResult, Cow> { [INFO] [stdout] | ^^ ^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 335 | fn quoted(input: Input<'_>) -> IResult, Cow<'_, str>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:339:22 [INFO] [stdout] | [INFO] [stdout] 339 | fn bare(input: Input<'_>) -> IResult, Cow> { [INFO] [stdout] | ^^ ^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 339 | fn bare(input: Input<'_>) -> IResult, Cow<'_, str>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:345:31 [INFO] [stdout] | [INFO] [stdout] 345 | fn unescaped_str(input: Input<'_>) -> IResult, Cow> { [INFO] [stdout] | ^^ ^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 345 | fn unescaped_str(input: Input<'_>) -> IResult, Cow<'_, str>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.51s [INFO] running `Command { std: "docker" "inspect" "a568e175e12271a8530a50fad7ed0c5b8cf35163d2c73115097e1cfe7791d8cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a568e175e12271a8530a50fad7ed0c5b8cf35163d2c73115097e1cfe7791d8cb", kill_on_drop: false }` [INFO] [stdout] a568e175e12271a8530a50fad7ed0c5b8cf35163d2c73115097e1cfe7791d8cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 29fd6a2815030997f758a8b8e62d9b3985676d692a469419f15b9231f479a33c [INFO] running `Command { std: "docker" "start" "-a" "29fd6a2815030997f758a8b8e62d9b3985676d692a469419f15b9231f479a33c", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser.rs:70:37 [INFO] [stderr] | [INFO] [stderr] 70 | pub(crate) fn parse_single_patch(s: &str) -> Result> { [INFO] [stderr] | ^^^^ ^^^^^ ^^ the same lifetime is elided here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is hidden here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 70 | pub(crate) fn parse_single_patch(s: &str) -> Result, ParseError<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser.rs:82:41 [INFO] [stderr] | [INFO] [stderr] 82 | pub(crate) fn parse_multiple_patches(s: &str) -> Result, ParseError<'_>> { [INFO] [stderr] | ^^^^ ^^^^^ ^^ the same lifetime is elided here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is hidden here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 82 | pub(crate) fn parse_multiple_patches(s: &str) -> Result>, ParseError<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser.rs:94:34 [INFO] [stderr] | [INFO] [stderr] 94 | fn multiple_patches(input: Input<'_>) -> IResult, Vec> { [INFO] [stderr] | ^^ ^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'_` [INFO] [stderr] | [INFO] [stderr] 94 | fn multiple_patches(input: Input<'_>) -> IResult, Vec>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser.rs:98:23 [INFO] [stderr] | [INFO] [stderr] 98 | fn patch(input: Input<'_>) -> IResult, Patch> { [INFO] [stderr] | ^^ ^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'_` [INFO] [stderr] | [INFO] [stderr] 98 | fn patch(input: Input<'_>) -> IResult, Patch<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser.rs:124:37 [INFO] [stderr] | [INFO] [stderr] 124 | fn binary_files_differ(input: Input<'_>) -> IResult, Patch> { [INFO] [stderr] | ^^ ^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'_` [INFO] [stderr] | [INFO] [stderr] 124 | fn binary_files_differ(input: Input<'_>) -> IResult, Patch<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser.rs:162:34 [INFO] [stderr] | [INFO] [stderr] 162 | fn file_rename_only(input: Input<'_>) -> IResult, Patch> { [INFO] [stderr] | ^^ ^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'_` [INFO] [stderr] | [INFO] [stderr] 162 | fn file_rename_only(input: Input<'_>) -> IResult, Patch<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser.rs:188:25 [INFO] [stderr] | [INFO] [stderr] 188 | fn headers(input: Input<'_>) -> IResult, (File, File)> { [INFO] [stderr] | ^^ ^^ ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'_` [INFO] [stderr] | [INFO] [stderr] 188 | fn headers(input: Input<'_>) -> IResult, (File<'_>, File<'_>)> { [INFO] [stderr] | ++++ ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser.rs:200:37 [INFO] [stderr] | [INFO] [stderr] 200 | fn header_line_content(input: Input<'_>) -> IResult, File> { [INFO] [stderr] | ^^ ^^ ^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'_` [INFO] [stderr] | [INFO] [stderr] 200 | fn header_line_content(input: Input<'_>) -> IResult, File<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser.rs:223:24 [INFO] [stderr] | [INFO] [stderr] 223 | fn chunks(input: Input<'_>) -> IResult, Vec> { [INFO] [stderr] | ^^ ^^ ^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'_` [INFO] [stderr] | [INFO] [stderr] 223 | fn chunks(input: Input<'_>) -> IResult, Vec>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser.rs:227:23 [INFO] [stderr] | [INFO] [stderr] 227 | fn chunk(input: Input<'_>) -> IResult, Hunk> { [INFO] [stderr] | ^^ ^^ ^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'_` [INFO] [stderr] | [INFO] [stderr] 227 | fn chunk(input: Input<'_>) -> IResult, Hunk<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser.rs:297:28 [INFO] [stderr] | [INFO] [stderr] 297 | fn chunk_line(input: Input<'_>) -> IResult, Line> { [INFO] [stderr] | ^^ ^^ ^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'_` [INFO] [stderr] | [INFO] [stderr] 297 | fn chunk_line(input: Input<'_>) -> IResult, Line<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser.rs:322:26 [INFO] [stderr] | [INFO] [stderr] 322 | fn filename(input: Input<'_>) -> IResult, Cow> { [INFO] [stderr] | ^^ ^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'_` [INFO] [stderr] | [INFO] [stderr] 322 | fn filename(input: Input<'_>) -> IResult, Cow<'_, str>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser.rs:326:31 [INFO] [stderr] | [INFO] [stderr] 326 | fn file_metadata(input: Input<'_>) -> IResult, Cow> { [INFO] [stderr] | ^^ ^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'_` [INFO] [stderr] | [INFO] [stderr] 326 | fn file_metadata(input: Input<'_>) -> IResult, Cow<'_, str>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser.rs:335:24 [INFO] [stderr] | [INFO] [stderr] 335 | fn quoted(input: Input<'_>) -> IResult, Cow> { [INFO] [stderr] | ^^ ^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'_` [INFO] [stderr] | [INFO] [stderr] 335 | fn quoted(input: Input<'_>) -> IResult, Cow<'_, str>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser.rs:339:22 [INFO] [stderr] | [INFO] [stderr] 339 | fn bare(input: Input<'_>) -> IResult, Cow> { [INFO] [stderr] | ^^ ^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'_` [INFO] [stderr] | [INFO] [stderr] 339 | fn bare(input: Input<'_>) -> IResult, Cow<'_, str>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser.rs:345:31 [INFO] [stderr] | [INFO] [stderr] 345 | fn unescaped_str(input: Input<'_>) -> IResult, Cow> { [INFO] [stderr] | ^^ ^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'_` [INFO] [stderr] | [INFO] [stderr] 345 | fn unescaped_str(input: Input<'_>) -> IResult, Cow<'_, str>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `gitpatch` (lib) generated 16 warnings (run `cargo fix --lib -p gitpatch` to apply 16 suggestions) [INFO] [stderr] warning: `gitpatch` (lib test) generated 16 warnings (16 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gitpatch-7b2fc76984a9ff41) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test parser::tests::test_header_line_contents ... ok [INFO] [stdout] test parser::tests::test_chunk_header ... ok [INFO] [stdout] test parser::tests::test_filename ... ok [INFO] [stdout] test parser::tests::test_bare ... ok [INFO] [stdout] test parser::tests::test_chunk ... ok [INFO] [stdout] test parser::tests::test_quoted ... ok [INFO] [stdout] test parser::tests::test_range ... ok [INFO] [stdout] test parser::tests::test_unescape ... ok [INFO] [stdout] test parser::tests::test_patch ... ok [INFO] [stdout] test ast::tests::test_hint_helper ... ok [INFO] [stdout] test parser::tests::test_headers ... ok [INFO] [stdout] test parser::tests::test_headers_crlf ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/parse_patch.rs (/opt/rustwide/target/debug/deps/parse_patch-14c6855e403a0fad) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test binary_diff_with_ambiguous_names ... ok [INFO] [stdout] test binary_diff_with_crlf ... ok [INFO] [stdout] test binary_diff_with_text_diff ... ok [INFO] [stdout] test parses_file_rename_with_100_pct_similarity ... ok [INFO] [stdout] test multiple_binary_diffs ... ok [INFO] [stdout] test binary_diff_with_spaces_in_name ... ok [INFO] [stdout] test parses_file_renames_with_some_diff ... ok [INFO] [stdout] test single_binary_diff ... ok [INFO] [stdout] test test_parse_escaped ... ok [INFO] [stdout] test test_parse ... ok [INFO] [stdout] test test_parse_no_newline_indicator ... ok [INFO] [stdout] test test_parse_other ... ok [INFO] [stdout] test test_parse_timestamps ... ok [INFO] [stdout] test test_parse_triple_plus_minus ... ok [INFO] [stdout] test test_parse_triple_plus_minus_hack - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/parse_samples.rs (/opt/rustwide/target/debug/deps/parse_samples-15b71aeffe39a826) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test parse_samples ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running tests/regressions.rs (/opt/rustwide/target/debug/deps/regressions-da2493572342653b) [INFO] [stdout] running 3 tests [INFO] [stderr] Doc-tests gitpatch [INFO] [stdout] test crlf_breaks_stuff_17 ... ok [INFO] [stdout] test hunk_header_context_is_not_a_line_15 ... ok [INFO] [stdout] test unquoted_filenames_with_spaces_11 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/ast.rs - ast::Patch<'a>::from_multiple (line 88) ... ok [INFO] [stdout] test src/lib.rs - (line 12) ... ok [INFO] [stdout] test src/ast.rs - ast::Patch<'a>::from_single (line 47) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.49s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "29fd6a2815030997f758a8b8e62d9b3985676d692a469419f15b9231f479a33c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29fd6a2815030997f758a8b8e62d9b3985676d692a469419f15b9231f479a33c", kill_on_drop: false }` [INFO] [stdout] 29fd6a2815030997f758a8b8e62d9b3985676d692a469419f15b9231f479a33c