[INFO] cloning repository https://github.com/ctangam/parser_combinator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ctangam/parser_combinator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Fparser_combinator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Fparser_combinator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7d3c021d85c36563ef0a512b1f4458241540adaa [INFO] checking ctangam/parser_combinator against master#d14d202262d13df896b0c624b0cec6e4bfde631a for pr-143028 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Fparser_combinator" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ctangam/parser_combinator [INFO] finished tweaking git repo https://github.com/ctangam/parser_combinator [INFO] tweaked toml for git repo https://github.com/ctangam/parser_combinator written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ctangam/parser_combinator on toolchain d14d202262d13df896b0c624b0cec6e4bfde631a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ctangam/parser_combinator 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" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1129308c29cd089847ef0dc5bca3094ce6d14261e4de7fdff9f932a876e9e9d [INFO] running `Command { std: "docker" "start" "-a" "e1129308c29cd089847ef0dc5bca3094ce6d14261e4de7fdff9f932a876e9e9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1129308c29cd089847ef0dc5bca3094ce6d14261e4de7fdff9f932a876e9e9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1129308c29cd089847ef0dc5bca3094ce6d14261e4de7fdff9f932a876e9e9d", kill_on_drop: false }` [INFO] [stdout] e1129308c29cd089847ef0dc5bca3094ce6d14261e4de7fdff9f932a876e9e9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56f2a786c601584c9e5c76989c3890b4c0bc2f10792dd0e07d978c037b3076b8 [INFO] running `Command { std: "docker" "start" "-a" "56f2a786c601584c9e5c76989c3890b4c0bc2f10792dd0e07d978c037b3076b8", kill_on_drop: false }` [INFO] [stderr] Checking parser_combinator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Element` is never constructed [INFO] [stdout] --> src/lib.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ParseResult` is never used [INFO] [stdout] --> src/lib.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | 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:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | trait Parser<'a, Output> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `match_literal` is never used [INFO] [stdout] --> src/lib.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn match_literal<'a>(expected: &'static str) -> impl Parser<'a, ()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `identifier` is never used [INFO] [stdout] --> src/lib.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn identifier(input: &str) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pair` is never used [INFO] [stdout] --> src/lib.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | 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 `map` is never used [INFO] [stdout] --> src/lib.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | 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 `left` is never used [INFO] [stdout] --> src/lib.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | 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:115:4 [INFO] [stdout] | [INFO] [stdout] 115 | 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:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | 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:145:4 [INFO] [stdout] | [INFO] [stdout] 145 | 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:160:4 [INFO] [stdout] | [INFO] [stdout] 160 | 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:167:4 [INFO] [stdout] | [INFO] [stdout] 167 | fn pred<'a, P, A, F>(parser: P, predicate: F) -> impl Parser<'a, A> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `whitespace_char` is never used [INFO] [stdout] --> src/lib.rs:182:4 [INFO] [stdout] | [INFO] [stdout] 182 | fn whitespace_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:186:4 [INFO] [stdout] | [INFO] [stdout] 186 | 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:190:4 [INFO] [stdout] | [INFO] [stdout] 190 | fn space0<'a>() -> impl Parser<'a, Vec> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `whitespace_wrap` is never used [INFO] [stdout] --> src/lib.rs:194:4 [INFO] [stdout] | [INFO] [stdout] 194 | fn whitespace_wrap<'a, P, A>(parser: P) -> impl Parser<'a, A> [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quoted_string` is never used [INFO] [stdout] --> src/lib.rs:201:4 [INFO] [stdout] | [INFO] [stdout] 201 | 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:212:4 [INFO] [stdout] | [INFO] [stdout] 212 | 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:216:4 [INFO] [stdout] | [INFO] [stdout] 216 | 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:223:4 [INFO] [stdout] | [INFO] [stdout] 223 | 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:227:4 [INFO] [stdout] | [INFO] [stdout] 227 | fn single_element<'a>() -> impl Parser<'a, Element> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `open_element` is never used [INFO] [stdout] --> src/lib.rs:235:4 [INFO] [stdout] | [INFO] [stdout] 235 | 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:243:4 [INFO] [stdout] | [INFO] [stdout] 243 | 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:254:4 [INFO] [stdout] | [INFO] [stdout] 254 | 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:258:4 [INFO] [stdout] | [INFO] [stdout] 258 | fn close_element<'a>(expected_name: String) -> impl Parser<'a, String> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `and_then` is never used [INFO] [stdout] --> src/lib.rs:263:4 [INFO] [stdout] | [INFO] [stdout] 263 | 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 `parent_element` is never used [INFO] [stdout] --> src/lib.rs:275:4 [INFO] [stdout] | [INFO] [stdout] 275 | fn parent_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:285:8 [INFO] [stdout] | [INFO] [stdout] 285 | struct BoxedParser<'a, Output> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lib.rs:290:8 [INFO] [stdout] | [INFO] [stdout] 289 | impl<'a, Output> BoxedParser<'a, Output> { [INFO] [stdout] | ---------------------------------------- associated function in this implementation [INFO] [stdout] 290 | fn new

(parser: P) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | fn identifier(input: &str) -> ParseResult { [INFO] [stdout] | ^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 60 | fn identifier(input: &str) -> ParseResult<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:160:20 [INFO] [stdout] | [INFO] [stdout] 160 | fn any_char(input: &str) -> ParseResult { [INFO] [stdout] | ^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 160 | fn any_char(input: &str) -> ParseResult<'_, char> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | fn identifier(input: &str) -> ParseResult { [INFO] [stdout] | ^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 60 | fn identifier(input: &str) -> ParseResult<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:160:20 [INFO] [stdout] | [INFO] [stdout] 160 | fn any_char(input: &str) -> ParseResult { [INFO] [stdout] | ^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 160 | fn any_char(input: &str) -> ParseResult<'_, char> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] running `Command { std: "docker" "inspect" "56f2a786c601584c9e5c76989c3890b4c0bc2f10792dd0e07d978c037b3076b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56f2a786c601584c9e5c76989c3890b4c0bc2f10792dd0e07d978c037b3076b8", kill_on_drop: false }` [INFO] [stdout] 56f2a786c601584c9e5c76989c3890b4c0bc2f10792dd0e07d978c037b3076b8