[INFO] cloning repository https://github.com/treuherz/parcom [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/treuherz/parcom" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftreuherz%2Fparcom", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftreuherz%2Fparcom'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8d656111a54de5678833f747ffb05df6eababa05 [INFO] checking treuherz/parcom against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftreuherz%2Fparcom" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/treuherz/parcom on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/treuherz/parcom [INFO] finished tweaking git repo https://github.com/treuherz/parcom [INFO] tweaked toml for git repo https://github.com/treuherz/parcom written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/treuherz/parcom already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a7ec306f304602ecbd7a7589e76f01eec90947375e920edad0ffb1e17a501898 [INFO] running `Command { std: "docker" "start" "-a" "a7ec306f304602ecbd7a7589e76f01eec90947375e920edad0ffb1e17a501898", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7ec306f304602ecbd7a7589e76f01eec90947375e920edad0ffb1e17a501898", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7ec306f304602ecbd7a7589e76f01eec90947375e920edad0ffb1e17a501898", kill_on_drop: false }` [INFO] [stdout] a7ec306f304602ecbd7a7589e76f01eec90947375e920edad0ffb1e17a501898 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5f6d3ad96964f39ef8ceb52cc6a8438c30addb35b623a29c057d195a58c37e1a [INFO] running `Command { std: "docker" "start" "-a" "5f6d3ad96964f39ef8ceb52cc6a8438c30addb35b623a29c057d195a58c37e1a", kill_on_drop: false }` [INFO] [stderr] Checking parcom v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `,` [INFO] [stdout] --> src/lib.rs:317:56 [INFO] [stdout] | [INFO] [stdout] 316 | open_element().and_then(|el| { [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] 317 | left(element().zero_or_more(), close_element()), [INFO] [stdout] | ^ help: `}` may belong here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `,` [INFO] [stdout] --> src/lib.rs:317:56 [INFO] [stdout] | [INFO] [stdout] 317 | left(element().zero_or_more(), close_element()), [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: mismatched closing delimiter: `}` [INFO] [stdout] --> src/lib.rs:319:1 [INFO] [stdout] | [INFO] [stdout] 314 | fn parent_element<'a>() -> impl Parser<'a, Element> { [INFO] [stdout] | - closing delimiter possibly meant for this [INFO] [stdout] 315 | pair( [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 319 | } [INFO] [stdout] | ^ mismatched closing delimiter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `,` [INFO] [stdout] --> src/lib.rs:317:56 [INFO] [stdout] | [INFO] [stdout] 316 | open_element().and_then(|el| { [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] 317 | left(element().zero_or_more(), close_element()), [INFO] [stdout] | ^ help: `}` may belong here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `,` [INFO] [stdout] --> src/lib.rs:317:56 [INFO] [stdout] | [INFO] [stdout] 317 | left(element().zero_or_more(), close_element()), [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: mismatched closing delimiter: `}` [INFO] [stdout] --> src/lib.rs:319:1 [INFO] [stdout] | [INFO] [stdout] 314 | fn parent_element<'a>() -> impl Parser<'a, Element> { [INFO] [stdout] | - closing delimiter possibly meant for this [INFO] [stdout] 315 | pair( [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 319 | } [INFO] [stdout] | ^ mismatched closing delimiter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/lib.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 315 | pair( [INFO] [stdout] | ^^^^ expected 2 arguments [INFO] [stdout] 316 | / open_element().and_then(|el| { [INFO] [stdout] 317 | | left(element().zero_or_more(), close_element()), [INFO] [stdout] 318 | | ) [INFO] [stdout] | |_____- supplied 1 argument [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:111:4 [INFO] [stdout] | [INFO] [stdout] 111 | fn pair<'a, P1, P2, R1, R2>(parser1: P1, parser2: P2) -> impl Parser<'a, (R1, R2)> [INFO] [stdout] | ^^^^ ----------- ----------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/lib.rs:317:40 [INFO] [stdout] | [INFO] [stdout] 317 | left(element().zero_or_more(), close_element()), [INFO] [stdout] | ^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:298:4 [INFO] [stdout] | [INFO] [stdout] 298 | fn close_element<'a>(expected_name: String) -> impl Parser<'a, String> { [INFO] [stdout] | ^^^^^^^^^^^^^ --------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/lib.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 315 | pair( [INFO] [stdout] | ^^^^ expected 2 arguments [INFO] [stdout] 316 | / open_element().and_then(|el| { [INFO] [stdout] 317 | | left(element().zero_or_more(), close_element()), [INFO] [stdout] 318 | | ) [INFO] [stdout] | |_____- supplied 1 argument [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:111:4 [INFO] [stdout] | [INFO] [stdout] 111 | fn pair<'a, P1, P2, R1, R2>(parser1: P1, parser2: P2) -> impl Parser<'a, (R1, R2)> [INFO] [stdout] | ^^^^ ----------- ----------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/lib.rs:317:40 [INFO] [stdout] | [INFO] [stdout] 317 | left(element().zero_or_more(), close_element()), [INFO] [stdout] | ^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:298:4 [INFO] [stdout] | [INFO] [stdout] 298 | fn close_element<'a>(expected_name: String) -> impl Parser<'a, String> { [INFO] [stdout] | ^^^^^^^^^^^^^ --------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 137 | fn left<'a, P1, P2, R1, R2>(parser1: P1, parser2: P2) -> impl Parser<'a, R1> [INFO] [stdout] | ------------------- the found opaque type [INFO] [stdout] ... [INFO] [stdout] 317 | left(element().zero_or_more(), close_element()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: consider using a semicolon here [INFO] [stdout] | | [INFO] [stdout] | expected `()`, found opaque type [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found opaque type `impl Parser<'_, Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn<(&str,)>` closure, found `impl Parser<'_, (_, _)>` [INFO] [stdout] --> src/lib.rs:314:28 [INFO] [stdout] | [INFO] [stdout] 314 | fn parent_element<'a>() -> impl Parser<'a, Element> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected an `Fn<(&str,)>` closure, found `impl Parser<'_, (_, _)>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn<(&str,)>` is not implemented for `impl Parser<'_, (_, _)>` [INFO] [stdout] = note: required because of the requirements on the impl of `Parser<'a, Element>` for `impl Parser<'_, (_, _)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 137 | fn left<'a, P1, P2, R1, R2>(parser1: P1, parser2: P2) -> impl Parser<'a, R1> [INFO] [stdout] | ------------------- the found opaque type [INFO] [stdout] ... [INFO] [stdout] 317 | left(element().zero_or_more(), close_element()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: consider using a semicolon here [INFO] [stdout] | | [INFO] [stdout] | expected `()`, found opaque type [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found opaque type `impl Parser<'_, Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn<(&str,)>` closure, found `impl Parser<'_, (_, _)>` [INFO] [stdout] --> src/lib.rs:314:28 [INFO] [stdout] | [INFO] [stdout] 314 | fn parent_element<'a>() -> impl Parser<'a, Element> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected an `Fn<(&str,)>` closure, found `impl Parser<'_, (_, _)>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn<(&str,)>` is not implemented for `impl Parser<'_, (_, _)>` [INFO] [stdout] = note: required because of the requirements on the impl of `Parser<'a, Element>` for `impl Parser<'_, (_, _)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn<(&str,)>` closure, found `NewOutput` [INFO] [stdout] --> src/lib.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | BoxedParser::new(and_then(self, f)) [INFO] [stdout] | ^^^^^^^^ expected an `Fn<(&str,)>` closure, found `NewOutput` [INFO] [stdout] ... [INFO] [stdout] 303 | fn and_then<'a, P, F, A, B, Next>(parser: P, f: F) -> impl Parser<'a, B> [INFO] [stdout] | -------- required by a bound in this [INFO] [stdout] 304 | where P: Parser<'a, A>, [INFO] [stdout] 305 | Next: Parser<'a, B>, [INFO] [stdout] | ------------- required by this bound in `and_then` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Parser<'_, _>` for `NewOutput` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 29 | NewOutput: 'a + Fn<(&str,)>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn<(&str,)>` closure, found `NewOutput` [INFO] [stdout] --> src/lib.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | BoxedParser::new(and_then(self, f)) [INFO] [stdout] | ^^^^^^^^ expected an `Fn<(&str,)>` closure, found `NewOutput` [INFO] [stdout] ... [INFO] [stdout] 303 | fn and_then<'a, P, F, A, B, Next>(parser: P, f: F) -> impl Parser<'a, B> [INFO] [stdout] | -------- required by a bound in this [INFO] [stdout] 304 | where P: Parser<'a, A>, [INFO] [stdout] 305 | Next: Parser<'a, B>, [INFO] [stdout] | ------------- required by this bound in `and_then` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Parser<'_, _>` for `NewOutput` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 29 | NewOutput: 'a + Fn<(&str,)>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `parcom` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5f6d3ad96964f39ef8ceb52cc6a8438c30addb35b623a29c057d195a58c37e1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f6d3ad96964f39ef8ceb52cc6a8438c30addb35b623a29c057d195a58c37e1a", kill_on_drop: false }` [INFO] [stdout] 5f6d3ad96964f39ef8ceb52cc6a8438c30addb35b623a29c057d195a58c37e1a