[INFO] fetching crate gitpatch 0.7.1... [INFO] testing gitpatch-0.7.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate gitpatch 0.7.1 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gitpatch 0.7.1 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 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 73a8f39a1f366d65c77c5bdd16fb5cba08c41f31994af094300667cdb7ede7e3 [INFO] running `Command { std: "docker" "start" "-a" "73a8f39a1f366d65c77c5bdd16fb5cba08c41f31994af094300667cdb7ede7e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "73a8f39a1f366d65c77c5bdd16fb5cba08c41f31994af094300667cdb7ede7e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73a8f39a1f366d65c77c5bdd16fb5cba08c41f31994af094300667cdb7ede7e3", kill_on_drop: false }` [INFO] [stdout] 73a8f39a1f366d65c77c5bdd16fb5cba08c41f31994af094300667cdb7ede7e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 8506ec822a6f13d3251fe52394ffcf8f877bce5cc6a1072f5f58ed884e190fbe [INFO] running `Command { std: "docker" "start" "-a" "8506ec822a6f13d3251fe52394ffcf8f877bce5cc6a1072f5f58ed884e190fbe", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling bytecount v0.6.8 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling nom_locate v4.2.0 [INFO] [stderr] Compiling gitpatch v0.7.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = 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] 70 | pub(crate) fn parse_single_patch(s: &str) -> Result, ParseError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) fn parse_multiple_patches(s: &str) -> Result>, ParseError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | fn multiple_patches(input: Input<'_>) -> IResult, Vec> { [INFO] [stdout] | ^^ -- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 94 | fn multiple_patches(input: Input<'_>) -> IResult, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:98:23 [INFO] [stdout] | [INFO] [stdout] 98 | fn patch(input: Input<'_>) -> IResult, Patch> { [INFO] [stdout] | ^^ -- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 98 | fn patch(input: Input<'_>) -> IResult, Patch<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:124:37 [INFO] [stdout] | [INFO] [stdout] 124 | fn binary_files_differ(input: Input<'_>) -> IResult, Patch> { [INFO] [stdout] | ^^ -- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 124 | fn binary_files_differ(input: Input<'_>) -> IResult, Patch<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:162:34 [INFO] [stdout] | [INFO] [stdout] 162 | fn file_rename_only(input: Input<'_>) -> IResult, Patch> { [INFO] [stdout] | ^^ -- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 162 | fn file_rename_only(input: Input<'_>) -> IResult, Patch<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:188:25 [INFO] [stdout] | [INFO] [stdout] 188 | fn headers(input: Input<'_>) -> IResult, (File, File)> { [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 consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 188 | fn headers(input: Input<'_>) -> IResult, (File<'_>, File<'_>)> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:200:37 [INFO] [stdout] | [INFO] [stdout] 200 | fn header_line_content(input: Input<'_>) -> IResult, File> { [INFO] [stdout] | ^^ -- ---- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 200 | fn header_line_content(input: Input<'_>) -> IResult, File<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:223:24 [INFO] [stdout] | [INFO] [stdout] 223 | fn chunks(input: Input<'_>) -> IResult, Vec> { [INFO] [stdout] | ^^ -- ---- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 223 | fn chunks(input: Input<'_>) -> IResult, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:227:23 [INFO] [stdout] | [INFO] [stdout] 227 | fn chunk(input: Input<'_>) -> IResult, Hunk> { [INFO] [stdout] | ^^ -- ---- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 227 | fn chunk(input: Input<'_>) -> IResult, Hunk<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:297:28 [INFO] [stdout] | [INFO] [stdout] 297 | fn chunk_line(input: Input<'_>) -> IResult, Line> { [INFO] [stdout] | ^^ -- ---- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 297 | fn chunk_line(input: Input<'_>) -> IResult, Line<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:322:26 [INFO] [stdout] | [INFO] [stdout] 322 | fn filename(input: Input<'_>) -> IResult, Cow> { [INFO] [stdout] | ^^ -- -------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 322 | fn filename(input: Input<'_>) -> IResult, 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/parser.rs:326:31 [INFO] [stdout] | [INFO] [stdout] 326 | fn file_metadata(input: Input<'_>) -> IResult, Cow> { [INFO] [stdout] | ^^ -- -------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 326 | fn file_metadata(input: Input<'_>) -> IResult, 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/parser.rs:335:24 [INFO] [stdout] | [INFO] [stdout] 335 | fn quoted(input: Input<'_>) -> IResult, Cow> { [INFO] [stdout] | ^^ -- -------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 335 | fn quoted(input: Input<'_>) -> IResult, 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/parser.rs:339:22 [INFO] [stdout] | [INFO] [stdout] 339 | fn bare(input: Input<'_>) -> IResult, Cow> { [INFO] [stdout] | ^^ -- -------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 339 | fn bare(input: Input<'_>) -> IResult, 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/parser.rs:345:31 [INFO] [stdout] | [INFO] [stdout] 345 | fn unescaped_str(input: Input<'_>) -> IResult, Cow> { [INFO] [stdout] | ^^ -- -------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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 4.26s [INFO] running `Command { std: "docker" "inspect" "8506ec822a6f13d3251fe52394ffcf8f877bce5cc6a1072f5f58ed884e190fbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8506ec822a6f13d3251fe52394ffcf8f877bce5cc6a1072f5f58ed884e190fbe", kill_on_drop: false }` [INFO] [stdout] 8506ec822a6f13d3251fe52394ffcf8f877bce5cc6a1072f5f58ed884e190fbe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 91e054cd7c39d3db7d2c963aba1fa503b0b72184cfd8c58e2980888962a6dc05 [INFO] running `Command { std: "docker" "start" "-a" "91e054cd7c39d3db7d2c963aba1fa503b0b72184cfd8c58e2980888962a6dc05", kill_on_drop: false }` [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = 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] 70 | pub(crate) fn parse_single_patch(s: &str) -> Result, ParseError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) fn parse_multiple_patches(s: &str) -> Result>, ParseError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | fn multiple_patches(input: Input<'_>) -> IResult, Vec> { [INFO] [stdout] | ^^ -- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 94 | fn multiple_patches(input: Input<'_>) -> IResult, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:98:23 [INFO] [stdout] | [INFO] [stdout] 98 | fn patch(input: Input<'_>) -> IResult, Patch> { [INFO] [stdout] | ^^ -- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 98 | fn patch(input: Input<'_>) -> IResult, Patch<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:124:37 [INFO] [stdout] | [INFO] [stdout] 124 | fn binary_files_differ(input: Input<'_>) -> IResult, Patch> { [INFO] [stdout] | ^^ -- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 124 | fn binary_files_differ(input: Input<'_>) -> IResult, Patch<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:162:34 [INFO] [stdout] | [INFO] [stdout] 162 | fn file_rename_only(input: Input<'_>) -> IResult, Patch> { [INFO] [stdout] | ^^ -- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 162 | fn file_rename_only(input: Input<'_>) -> IResult, Patch<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:188:25 [INFO] [stdout] | [INFO] [stdout] 188 | fn headers(input: Input<'_>) -> IResult, (File, File)> { [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 consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 188 | fn headers(input: Input<'_>) -> IResult, (File<'_>, File<'_>)> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:200:37 [INFO] [stdout] | [INFO] [stdout] 200 | fn header_line_content(input: Input<'_>) -> IResult, File> { [INFO] [stdout] | ^^ -- ---- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 200 | fn header_line_content(input: Input<'_>) -> IResult, File<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:223:24 [INFO] [stdout] | [INFO] [stdout] 223 | fn chunks(input: Input<'_>) -> IResult, Vec> { [INFO] [stdout] | ^^ -- ---- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 223 | fn chunks(input: Input<'_>) -> IResult, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:227:23 [INFO] [stdout] | [INFO] [stdout] 227 | fn chunk(input: Input<'_>) -> IResult, Hunk> { [INFO] [stdout] | ^^ -- ---- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 227 | fn chunk(input: Input<'_>) -> IResult, Hunk<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:297:28 [INFO] [stdout] | [INFO] [stdout] 297 | fn chunk_line(input: Input<'_>) -> IResult, Line> { [INFO] [stdout] | ^^ -- ---- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 297 | fn chunk_line(input: Input<'_>) -> IResult, Line<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:322:26 [INFO] [stdout] | [INFO] [stdout] 322 | fn filename(input: Input<'_>) -> IResult, Cow> { [INFO] [stdout] | ^^ -- -------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 322 | fn filename(input: Input<'_>) -> IResult, 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/parser.rs:326:31 [INFO] [stdout] | [INFO] [stdout] 326 | fn file_metadata(input: Input<'_>) -> IResult, Cow> { [INFO] [stdout] | ^^ -- -------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 326 | fn file_metadata(input: Input<'_>) -> IResult, 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/parser.rs:335:24 [INFO] [stdout] | [INFO] [stdout] 335 | fn quoted(input: Input<'_>) -> IResult, Cow> { [INFO] [stdout] | ^^ -- -------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 335 | fn quoted(input: Input<'_>) -> IResult, 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/parser.rs:339:22 [INFO] [stdout] | [INFO] [stdout] 339 | fn bare(input: Input<'_>) -> IResult, Cow> { [INFO] [stdout] | ^^ -- -------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 339 | fn bare(input: Input<'_>) -> IResult, 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/parser.rs:345:31 [INFO] [stdout] | [INFO] [stdout] 345 | fn unescaped_str(input: Input<'_>) -> IResult, Cow> { [INFO] [stdout] | ^^ -- -------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 345 | fn unescaped_str(input: Input<'_>) -> IResult, Cow<'_, str>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling gitpatch v0.7.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = 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] 70 | pub(crate) fn parse_single_patch(s: &str) -> Result, ParseError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) fn parse_multiple_patches(s: &str) -> Result>, ParseError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | fn multiple_patches(input: Input<'_>) -> IResult, Vec> { [INFO] [stdout] | ^^ -- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 94 | fn multiple_patches(input: Input<'_>) -> IResult, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:98:23 [INFO] [stdout] | [INFO] [stdout] 98 | fn patch(input: Input<'_>) -> IResult, Patch> { [INFO] [stdout] | ^^ -- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 98 | fn patch(input: Input<'_>) -> IResult, Patch<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:124:37 [INFO] [stdout] | [INFO] [stdout] 124 | fn binary_files_differ(input: Input<'_>) -> IResult, Patch> { [INFO] [stdout] | ^^ -- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 124 | fn binary_files_differ(input: Input<'_>) -> IResult, Patch<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:162:34 [INFO] [stdout] | [INFO] [stdout] 162 | fn file_rename_only(input: Input<'_>) -> IResult, Patch> { [INFO] [stdout] | ^^ -- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 162 | fn file_rename_only(input: Input<'_>) -> IResult, Patch<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:188:25 [INFO] [stdout] | [INFO] [stdout] 188 | fn headers(input: Input<'_>) -> IResult, (File, File)> { [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 consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 188 | fn headers(input: Input<'_>) -> IResult, (File<'_>, File<'_>)> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:200:37 [INFO] [stdout] | [INFO] [stdout] 200 | fn header_line_content(input: Input<'_>) -> IResult, File> { [INFO] [stdout] | ^^ -- ---- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 200 | fn header_line_content(input: Input<'_>) -> IResult, File<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:223:24 [INFO] [stdout] | [INFO] [stdout] 223 | fn chunks(input: Input<'_>) -> IResult, Vec> { [INFO] [stdout] | ^^ -- ---- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 223 | fn chunks(input: Input<'_>) -> IResult, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:227:23 [INFO] [stdout] | [INFO] [stdout] 227 | fn chunk(input: Input<'_>) -> IResult, Hunk> { [INFO] [stdout] | ^^ -- ---- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 227 | fn chunk(input: Input<'_>) -> IResult, Hunk<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:297:28 [INFO] [stdout] | [INFO] [stdout] 297 | fn chunk_line(input: Input<'_>) -> IResult, Line> { [INFO] [stdout] | ^^ -- ---- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 297 | fn chunk_line(input: Input<'_>) -> IResult, Line<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:322:26 [INFO] [stdout] | [INFO] [stdout] 322 | fn filename(input: Input<'_>) -> IResult, Cow> { [INFO] [stdout] | ^^ -- -------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 322 | fn filename(input: Input<'_>) -> IResult, 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/parser.rs:326:31 [INFO] [stdout] | [INFO] [stdout] 326 | fn file_metadata(input: Input<'_>) -> IResult, Cow> { [INFO] [stdout] | ^^ -- -------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 326 | fn file_metadata(input: Input<'_>) -> IResult, 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/parser.rs:335:24 [INFO] [stdout] | [INFO] [stdout] 335 | fn quoted(input: Input<'_>) -> IResult, Cow> { [INFO] [stdout] | ^^ -- -------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 335 | fn quoted(input: Input<'_>) -> IResult, 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/parser.rs:339:22 [INFO] [stdout] | [INFO] [stdout] 339 | fn bare(input: Input<'_>) -> IResult, Cow> { [INFO] [stdout] | ^^ -- -------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 339 | fn bare(input: Input<'_>) -> IResult, 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/parser.rs:345:31 [INFO] [stdout] | [INFO] [stdout] 345 | fn unescaped_str(input: Input<'_>) -> IResult, Cow> { [INFO] [stdout] | ^^ -- -------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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 2.74s [INFO] running `Command { std: "docker" "inspect" "91e054cd7c39d3db7d2c963aba1fa503b0b72184cfd8c58e2980888962a6dc05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91e054cd7c39d3db7d2c963aba1fa503b0b72184cfd8c58e2980888962a6dc05", kill_on_drop: false }` [INFO] [stdout] 91e054cd7c39d3db7d2c963aba1fa503b0b72184cfd8c58e2980888962a6dc05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 7edd94d152826cbc9c193d930c4fe8ca24d828fbd8010b4430fb3213cf40771e [INFO] running `Command { std: "docker" "start" "-a" "7edd94d152826cbc9c193d930c4fe8ca24d828fbd8010b4430fb3213cf40771e", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [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] 70 | pub(crate) fn parse_single_patch(s: &str) -> Result, ParseError<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stderr] | | | [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] 82 | pub(crate) fn parse_multiple_patches(s: &str) -> Result>, ParseError<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser.rs:94:34 [INFO] [stderr] | [INFO] [stderr] 94 | fn multiple_patches(input: Input<'_>) -> IResult, Vec> { [INFO] [stderr] | ^^ -- ----- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'_` [INFO] [stderr] | [INFO] [stderr] 94 | fn multiple_patches(input: Input<'_>) -> IResult, Vec>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser.rs:98:23 [INFO] [stderr] | [INFO] [stderr] 98 | fn patch(input: Input<'_>) -> IResult, Patch> { [INFO] [stderr] | ^^ -- ----- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'_` [INFO] [stderr] | [INFO] [stderr] 98 | fn patch(input: Input<'_>) -> IResult, Patch<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser.rs:124:37 [INFO] [stderr] | [INFO] [stderr] 124 | fn binary_files_differ(input: Input<'_>) -> IResult, Patch> { [INFO] [stderr] | ^^ -- ----- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'_` [INFO] [stderr] | [INFO] [stderr] 124 | fn binary_files_differ(input: Input<'_>) -> IResult, Patch<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser.rs:162:34 [INFO] [stderr] | [INFO] [stderr] 162 | fn file_rename_only(input: Input<'_>) -> IResult, Patch> { [INFO] [stderr] | ^^ -- ----- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'_` [INFO] [stderr] | [INFO] [stderr] 162 | fn file_rename_only(input: Input<'_>) -> IResult, Patch<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser.rs:188:25 [INFO] [stderr] | [INFO] [stderr] 188 | fn headers(input: Input<'_>) -> IResult, (File, File)> { [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 consistently use `'_` [INFO] [stderr] | [INFO] [stderr] 188 | fn headers(input: Input<'_>) -> IResult, (File<'_>, File<'_>)> { [INFO] [stderr] | ++++ ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser.rs:200:37 [INFO] [stderr] | [INFO] [stderr] 200 | fn header_line_content(input: Input<'_>) -> IResult, File> { [INFO] [stderr] | ^^ -- ---- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'_` [INFO] [stderr] | [INFO] [stderr] 200 | fn header_line_content(input: Input<'_>) -> IResult, File<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser.rs:223:24 [INFO] [stderr] | [INFO] [stderr] 223 | fn chunks(input: Input<'_>) -> IResult, Vec> { [INFO] [stderr] | ^^ -- ---- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'_` [INFO] [stderr] | [INFO] [stderr] 223 | fn chunks(input: Input<'_>) -> IResult, Vec>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser.rs:227:23 [INFO] [stderr] | [INFO] [stderr] 227 | fn chunk(input: Input<'_>) -> IResult, Hunk> { [INFO] [stderr] | ^^ -- ---- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'_` [INFO] [stderr] | [INFO] [stderr] 227 | fn chunk(input: Input<'_>) -> IResult, Hunk<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser.rs:297:28 [INFO] [stderr] | [INFO] [stderr] 297 | fn chunk_line(input: Input<'_>) -> IResult, Line> { [INFO] [stderr] | ^^ -- ---- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'_` [INFO] [stderr] | [INFO] [stderr] 297 | fn chunk_line(input: Input<'_>) -> IResult, Line<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser.rs:322:26 [INFO] [stderr] | [INFO] [stderr] 322 | fn filename(input: Input<'_>) -> IResult, Cow> { [INFO] [stderr] | ^^ -- -------- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'_` [INFO] [stderr] | [INFO] [stderr] 322 | fn filename(input: Input<'_>) -> IResult, Cow<'_, str>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser.rs:326:31 [INFO] [stderr] | [INFO] [stderr] 326 | fn file_metadata(input: Input<'_>) -> IResult, Cow> { [INFO] [stderr] | ^^ -- -------- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'_` [INFO] [stderr] | [INFO] [stderr] 326 | fn file_metadata(input: Input<'_>) -> IResult, Cow<'_, str>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser.rs:335:24 [INFO] [stderr] | [INFO] [stderr] 335 | fn quoted(input: Input<'_>) -> IResult, Cow> { [INFO] [stderr] | ^^ -- -------- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'_` [INFO] [stderr] | [INFO] [stderr] 335 | fn quoted(input: Input<'_>) -> IResult, Cow<'_, str>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser.rs:339:22 [INFO] [stderr] | [INFO] [stderr] 339 | fn bare(input: Input<'_>) -> IResult, Cow> { [INFO] [stderr] | ^^ -- -------- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'_` [INFO] [stderr] | [INFO] [stderr] 339 | fn bare(input: Input<'_>) -> IResult, Cow<'_, str>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser.rs:345:31 [INFO] [stderr] | [INFO] [stderr] 345 | fn unescaped_str(input: Input<'_>) -> IResult, Cow> { [INFO] [stderr] | ^^ -- -------- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to 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.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/gitpatch-7074be69d8be9f52) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test parser::tests::test_bare ... ok [INFO] [stdout] test ast::tests::test_hint_helper ... ok [INFO] [stdout] test parser::tests::test_chunk ... ok [INFO] [stdout] test parser::tests::test_filename ... ok [INFO] [stdout] test parser::tests::test_chunk_header ... ok [INFO] [stdout] test parser::tests::test_headers ... ok [INFO] [stdout] test parser::tests::test_headers_crlf ... ok [INFO] [stdout] test parser::tests::test_quoted ... ok [INFO] [stdout] test parser::tests::test_unescape ... ok [INFO] [stdout] test parser::tests::test_range ... ok [INFO] [stdout] test parser::tests::test_patch ... ok [INFO] [stdout] test parser::tests::test_header_line_contents ... 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] [stdout] [INFO] [stdout] running 15 tests [INFO] [stderr] Running tests/parse_patch.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/parse_patch-eebcad475dee6faa) [INFO] [stdout] test binary_diff_with_crlf ... ok [INFO] [stdout] test binary_diff_with_spaces_in_name ... ok [INFO] [stdout] test binary_diff_with_text_diff ... ok [INFO] [stdout] test multiple_binary_diffs ... ok [INFO] [stdout] test parses_file_rename_with_100_pct_similarity ... ok [INFO] [stdout] test single_binary_diff ... ok [INFO] [stdout] test parses_file_renames_with_some_diff ... ok [INFO] [stdout] test test_parse ... ok [INFO] [stdout] test binary_diff_with_ambiguous_names ... ok [INFO] [stdout] test test_parse_escaped ... ok [INFO] [stdout] test test_parse_timestamps ... ok [INFO] [stdout] test test_parse_triple_plus_minus ... ok [INFO] [stdout] test test_parse_other ... ok [INFO] [stdout] test test_parse_no_newline_indicator ... ok [INFO] [stdout] test test_parse_triple_plus_minus_hack - should panic ... ok [INFO] [stderr] Running tests/parse_samples.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/parse_samples-eb1e4c435760ab57) [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [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] [stderr] Running tests/regressions.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/regressions-716279f76f47c23e) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test crlf_breaks_stuff_17 ... ok [INFO] [stdout] test unquoted_filenames_with_spaces_11 ... ok [INFO] [stdout] test hunk_header_context_is_not_a_line_15 ... 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] running `Command { std: "docker" "inspect" "7edd94d152826cbc9c193d930c4fe8ca24d828fbd8010b4430fb3213cf40771e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7edd94d152826cbc9c193d930c4fe8ca24d828fbd8010b4430fb3213cf40771e", kill_on_drop: false }` [INFO] [stdout] 7edd94d152826cbc9c193d930c4fe8ca24d828fbd8010b4430fb3213cf40771e