[INFO] cloning repository https://github.com/spooky-th-ghost/parse-combinators [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/spooky-th-ghost/parse-combinators" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspooky-th-ghost%2Fparse-combinators", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspooky-th-ghost%2Fparse-combinators'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dffaa99cc0c45e2df5f8fbed440e03312f94efef [INFO] checking spooky-th-ghost/parse-combinators against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspooky-th-ghost%2Fparse-combinators" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/spooky-th-ghost/parse-combinators [INFO] finished tweaking git repo https://github.com/spooky-th-ghost/parse-combinators [INFO] tweaked toml for git repo https://github.com/spooky-th-ghost/parse-combinators written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/spooky-th-ghost/parse-combinators on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/spooky-th-ghost/parse-combinators 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ea40bfa7778aa6ec94ad728a90729995259eb62ca3fd6b6a95bb1cb315eae98 [INFO] running `Command { std: "docker" "start" "-a" "4ea40bfa7778aa6ec94ad728a90729995259eb62ca3fd6b6a95bb1cb315eae98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ea40bfa7778aa6ec94ad728a90729995259eb62ca3fd6b6a95bb1cb315eae98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ea40bfa7778aa6ec94ad728a90729995259eb62ca3fd6b6a95bb1cb315eae98", kill_on_drop: false }` [INFO] [stdout] 4ea40bfa7778aa6ec94ad728a90729995259eb62ca3fd6b6a95bb1cb315eae98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f851eb84874abc0fffe597fa0e3899f9a1d8df390da151ce972c6eec87a47901 [INFO] running `Command { std: "docker" "start" "-a" "f851eb84874abc0fffe597fa0e3899f9a1d8df390da151ce972c6eec87a47901", kill_on_drop: false }` [INFO] [stderr] Checking parser-combinators v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::RangeBounds` [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::ops::RangeBounds; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::RangeBounds` [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::ops::RangeBounds; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `the_letter_a` is never used [INFO] [stdout] --> src/lib.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn the_letter_a(input: &str) -> Result<(&str, ()), &str> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `match_literal` is never used [INFO] [stdout] --> src/lib.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn match_literal<'a>(expected: &'static str) -> impl Parser<'a, ()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Element` is never constructed [INFO] [stdout] --> src/lib.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | struct Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `identifier` is never used [INFO] [stdout] --> src/lib.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn identifier(input: &str) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `old_pair` is never used [INFO] [stdout] --> src/lib.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | fn old_pair( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `old_map` is never used [INFO] [stdout] --> src/lib.rs:162:4 [INFO] [stdout] | [INFO] [stdout] 162 | fn old_map(parser: P, map_fn: F) -> impl Fn(&str) -> Result<(&str, B), &str> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ParseResult` is never used [INFO] [stdout] --> src/lib.rs:187:6 [INFO] [stdout] | [INFO] [stdout] 187 | type ParseResult<'a, Output> = Result<(&'a str, Output), &'a str>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Parser` is never used [INFO] [stdout] --> src/lib.rs:190:7 [INFO] [stdout] | [INFO] [stdout] 190 | trait Parser<'a, Output> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map` is never used [INFO] [stdout] --> src/lib.rs:237:4 [INFO] [stdout] | [INFO] [stdout] 237 | fn map<'a, P, F, A, B>(parser: P, map_fn: F) -> impl Parser<'a, B> [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pair` is never used [INFO] [stdout] --> src/lib.rs:249:4 [INFO] [stdout] | [INFO] [stdout] 249 | fn pair<'a, P1, P2, R1, R2>(parser1: P1, parser2: P2) -> impl Parser<'a, (R1, R2)> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `left` is never used [INFO] [stdout] --> src/lib.rs:263:4 [INFO] [stdout] | [INFO] [stdout] 263 | fn left<'a, P1, P2, R1, R2>(parser1: P1, parser2: P2) -> impl Parser<'a, R1> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `right` is never used [INFO] [stdout] --> src/lib.rs:271:4 [INFO] [stdout] | [INFO] [stdout] 271 | fn right<'a, P1, P2, R1, R2>(parser1: P1, parser2: P2) -> impl Parser<'a, R2> [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `one_or_more` is never used [INFO] [stdout] --> src/lib.rs:291:4 [INFO] [stdout] | [INFO] [stdout] 291 | fn one_or_more<'a, P, A>(parser: P) -> impl Parser<'a, Vec> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `zero_or_more` is never used [INFO] [stdout] --> src/lib.rs:314:4 [INFO] [stdout] | [INFO] [stdout] 314 | fn zero_or_more<'a, P, A>(parser: P) -> impl Parser<'a, Vec> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `any_char` is never used [INFO] [stdout] --> src/lib.rs:347:4 [INFO] [stdout] | [INFO] [stdout] 347 | fn any_char(input: &str) -> ParseResult { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pred` is never used [INFO] [stdout] --> src/lib.rs:357:4 [INFO] [stdout] | [INFO] [stdout] 357 | fn pred<'a, P, A, F>(parser: P, predicate: F) -> impl Parser<'a, A> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `whitspace_char` is never used [INFO] [stdout] --> src/lib.rs:379:4 [INFO] [stdout] | [INFO] [stdout] 379 | fn whitspace_char<'a>() -> impl Parser<'a, char> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `space1` is never used [INFO] [stdout] --> src/lib.rs:383:4 [INFO] [stdout] | [INFO] [stdout] 383 | fn space1<'a>() -> impl Parser<'a, Vec> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `space0` is never used [INFO] [stdout] --> src/lib.rs:387:4 [INFO] [stdout] | [INFO] [stdout] 387 | fn space0<'a>() -> impl Parser<'a, Vec> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quoted_string` is never used [INFO] [stdout] --> src/lib.rs:392:4 [INFO] [stdout] | [INFO] [stdout] 392 | fn quoted_string<'a>() -> impl Parser<'a, String> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `attribute_pair` is never used [INFO] [stdout] --> src/lib.rs:429:4 [INFO] [stdout] | [INFO] [stdout] 429 | fn attribute_pair<'a>() -> impl Parser<'a, (String, String)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `attributes` is never used [INFO] [stdout] --> src/lib.rs:434:4 [INFO] [stdout] | [INFO] [stdout] 434 | fn attributes<'a>() -> impl Parser<'a, Vec<(String, String)>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `element_start` is never used [INFO] [stdout] --> src/lib.rs:456:4 [INFO] [stdout] | [INFO] [stdout] 456 | fn element_start<'a>() -> impl Parser<'a, (String, Vec<(String, String)>)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `single_element` is never used [INFO] [stdout] --> src/lib.rs:461:4 [INFO] [stdout] | [INFO] [stdout] 461 | fn single_element<'a>() -> impl Parser<'a, Element> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BoxedParser` is never constructed [INFO] [stdout] --> src/lib.rs:484:8 [INFO] [stdout] | [INFO] [stdout] 484 | struct BoxedParser<'a, Output> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lib.rs:489:8 [INFO] [stdout] | [INFO] [stdout] 488 | impl<'a, Output> BoxedParser<'a, Output> { [INFO] [stdout] | ---------------------------------------- associated function in this implementation [INFO] [stdout] 489 | fn new

(parser: P) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `open_element` is never used [INFO] [stdout] --> src/lib.rs:505:4 [INFO] [stdout] | [INFO] [stdout] 505 | fn open_element<'a>() -> impl Parser<'a, Element> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `either` is never used [INFO] [stdout] --> src/lib.rs:515:4 [INFO] [stdout] | [INFO] [stdout] 515 | fn either<'a, P1, P2, A>(parser1: P1, parser2: P2) -> impl Parser<'a, A> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `element` is never used [INFO] [stdout] --> src/lib.rs:529:4 [INFO] [stdout] | [INFO] [stdout] 529 | fn element<'a>() -> impl Parser<'a, Element> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `close_element` is never used [INFO] [stdout] --> src/lib.rs:533:4 [INFO] [stdout] | [INFO] [stdout] 533 | fn close_element<'a>(expected_name: String) -> impl Parser<'a, String> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parent_element` is never used [INFO] [stdout] --> src/lib.rs:538:4 [INFO] [stdout] | [INFO] [stdout] 538 | fn parent_element<'a>() -> impl Parser<'a, Element> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `and_then` is never used [INFO] [stdout] --> src/lib.rs:548:4 [INFO] [stdout] | [INFO] [stdout] 548 | fn and_then<'a, P, F, A, B, NextP>(parser: P, f: F) -> impl Parser<'a, B> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `whitespace_wrap` is never used [INFO] [stdout] --> src/lib.rs:560:4 [INFO] [stdout] | [INFO] [stdout] 560 | fn whitespace_wrap<'a, P, A>(parser: P) -> impl Parser<'a, A> [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | fn identifier(input: &str) -> ParseResult { [INFO] [stdout] | ^^^^ ------------------- the same lifetime is hidden here [INFO] [stdout] | | [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] 57 | fn identifier(input: &str) -> ParseResult<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:347:20 [INFO] [stdout] | [INFO] [stdout] 347 | fn any_char(input: &str) -> ParseResult { [INFO] [stdout] | ^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [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] 347 | fn any_char(input: &str) -> ParseResult<'_, char> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `the_letter_a` is never used [INFO] [stdout] --> src/lib.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn the_letter_a(input: &str) -> Result<(&str, ()), &str> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `old_pair` is never used [INFO] [stdout] --> src/lib.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | fn old_pair( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `old_map` is never used [INFO] [stdout] --> src/lib.rs:162:4 [INFO] [stdout] | [INFO] [stdout] 162 | fn old_map(parser: P, map_fn: F) -> impl Fn(&str) -> Result<(&str, B), &str> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | fn identifier(input: &str) -> ParseResult { [INFO] [stdout] | ^^^^ ------------------- the same lifetime is hidden here [INFO] [stdout] | | [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] 57 | fn identifier(input: &str) -> ParseResult<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:347:20 [INFO] [stdout] | [INFO] [stdout] 347 | fn any_char(input: &str) -> ParseResult { [INFO] [stdout] | ^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [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] 347 | fn any_char(input: &str) -> ParseResult<'_, char> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] running `Command { std: "docker" "inspect" "f851eb84874abc0fffe597fa0e3899f9a1d8df390da151ce972c6eec87a47901", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f851eb84874abc0fffe597fa0e3899f9a1d8df390da151ce972c6eec87a47901", kill_on_drop: false }` [INFO] [stdout] f851eb84874abc0fffe597fa0e3899f9a1d8df390da151ce972c6eec87a47901