[INFO] cloning repository https://github.com/eratio08/learn-parser-combinators-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eratio08/learn-parser-combinators-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feratio08%2Flearn-parser-combinators-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feratio08%2Flearn-parser-combinators-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6844742a8de248f80b0ae1ffc62d6cffdc67e5c1
[INFO] checking eratio08/learn-parser-combinators-rs against try#0bdee9e879c87b7211d316e9152109cfd46c576b for pr-150097
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feratio08%2Flearn-parser-combinators-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/eratio08/learn-parser-combinators-rs
[INFO] finished tweaking git repo https://github.com/eratio08/learn-parser-combinators-rs
[INFO] tweaked toml for git repo https://github.com/eratio08/learn-parser-combinators-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/eratio08/learn-parser-combinators-rs on toolchain 0bdee9e879c87b7211d316e9152109cfd46c576b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/eratio08/learn-parser-combinators-rs 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" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 06394bb43b2b33c55f3d44c43eccd2985907746ddc8eb95d3760c0f462a583ef
[INFO] running `Command { std: "docker" "start" "-a" "06394bb43b2b33c55f3d44c43eccd2985907746ddc8eb95d3760c0f462a583ef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "06394bb43b2b33c55f3d44c43eccd2985907746ddc8eb95d3760c0f462a583ef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "06394bb43b2b33c55f3d44c43eccd2985907746ddc8eb95d3760c0f462a583ef", kill_on_drop: false }`
[INFO] [stdout] 06394bb43b2b33c55f3d44c43eccd2985907746ddc8eb95d3760c0f462a583ef
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ee9298826eefe9fe4179ac8fee5025ce134990afc7050e024380dccb34b1fcb6
[INFO] running `Command { std: "docker" "start" "-a" "ee9298826eefe9fe4179ac8fee5025ce134990afc7050e024380dccb34b1fcb6", kill_on_drop: false }`
[INFO] [stderr] Checking parser-combinator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: type alias `ParseResult` is never used
[INFO] [stdout] --> src/lib.rs:1:6
[INFO] [stdout] |
[INFO] [stdout] 1 | type ParseResult<'a, Output> = Result<(&'a str, Output), &'a str>;
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: trait `Parser` is never used
[INFO] [stdout] --> src/lib.rs:3:7
[INFO] [stdout] |
[INFO] [stdout] 3 | trait Parser<'a, Output> {
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `BoxedParser` is never constructed
[INFO] [stdout] --> src/lib.rs:46:8
[INFO] [stdout] |
[INFO] [stdout] 46 | struct BoxedParser<'a, Output> {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout] --> src/lib.rs:51:8
[INFO] [stdout] |
[INFO] [stdout] 50 | impl<'a, Output> BoxedParser<'a, Output> {
[INFO] [stdout] | ---------------------------------------- associated function in this implementation
[INFO] [stdout] 51 | fn new
(parser: P) -> Self
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Element` is never constructed
[INFO] [stdout] --> src/lib.rs:68:8
[INFO] [stdout] |
[INFO] [stdout] 68 | struct Element {
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `match_literal` is never used
[INFO] [stdout] --> src/lib.rs:74:4
[INFO] [stdout] |
[INFO] [stdout] 74 | 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:84:4
[INFO] [stdout] |
[INFO] [stdout] 84 | fn identifier(input: &str) -> ParseResult {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `pair` is never used
[INFO] [stdout] --> src/lib.rs:105:4
[INFO] [stdout] |
[INFO] [stdout] 105 | 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:119:4
[INFO] [stdout] |
[INFO] [stdout] 119 | 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:131:4
[INFO] [stdout] |
[INFO] [stdout] 131 | 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:139:4
[INFO] [stdout] |
[INFO] [stdout] 139 | 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:147:4
[INFO] [stdout] |
[INFO] [stdout] 147 | 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:170:4
[INFO] [stdout] |
[INFO] [stdout] 170 | 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:186:4
[INFO] [stdout] |
[INFO] [stdout] 186 | 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:193:4
[INFO] [stdout] |
[INFO] [stdout] 193 | 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:208:4
[INFO] [stdout] |
[INFO] [stdout] 208 | 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:212:4
[INFO] [stdout] |
[INFO] [stdout] 212 | 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:216:4
[INFO] [stdout] |
[INFO] [stdout] 216 | 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:220:4
[INFO] [stdout] |
[INFO] [stdout] 220 | 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:231:4
[INFO] [stdout] |
[INFO] [stdout] 231 | 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:235:4
[INFO] [stdout] |
[INFO] [stdout] 235 | 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:239:4
[INFO] [stdout] |
[INFO] [stdout] 239 | 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:243:4
[INFO] [stdout] |
[INFO] [stdout] 243 | 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:251:4
[INFO] [stdout] |
[INFO] [stdout] 251 | 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:259:4
[INFO] [stdout] |
[INFO] [stdout] 259 | 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:270:4
[INFO] [stdout] |
[INFO] [stdout] 270 | 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:274:4
[INFO] [stdout] |
[INFO] [stdout] 274 | 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:279:4
[INFO] [stdout] |
[INFO] [stdout] 279 | 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:289:4
[INFO] [stdout] |
[INFO] [stdout] 289 | 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:301:4
[INFO] [stdout] |
[INFO] [stdout] 301 | 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:84:22
[INFO] [stdout] |
[INFO] [stdout] 84 | 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] 84 | 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:186:20
[INFO] [stdout] |
[INFO] [stdout] 186 | 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] 186 | fn any_char(input: &str) -> ParseResult<'_, char> {
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/lib.rs:84:22
[INFO] [stdout] |
[INFO] [stdout] 84 | 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] 84 | 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:186:20
[INFO] [stdout] |
[INFO] [stdout] 186 | 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] 186 | fn any_char(input: &str) -> ParseResult<'_, char> {
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.17s
[INFO] running `Command { std: "docker" "inspect" "ee9298826eefe9fe4179ac8fee5025ce134990afc7050e024380dccb34b1fcb6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ee9298826eefe9fe4179ac8fee5025ce134990afc7050e024380dccb34b1fcb6", kill_on_drop: false }`
[INFO] [stdout] ee9298826eefe9fe4179ac8fee5025ce134990afc7050e024380dccb34b1fcb6