[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] testing treuherz/parcom against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftreuherz%2Fparcom" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/treuherz/parcom on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-8/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5045859d3bef67c4d2b72861a32034b9fbb2bed0a88783312d03c0c8b5f938a1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5045859d3bef67c4d2b72861a32034b9fbb2bed0a88783312d03c0c8b5f938a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5045859d3bef67c4d2b72861a32034b9fbb2bed0a88783312d03c0c8b5f938a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5045859d3bef67c4d2b72861a32034b9fbb2bed0a88783312d03c0c8b5f938a1", kill_on_drop: false }` [INFO] [stdout] 5045859d3bef67c4d2b72861a32034b9fbb2bed0a88783312d03c0c8b5f938a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--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] 1305d9525cc8a08407e69266773a531aea16eb2d421444253d86f069c518e511 [INFO] running `Command { std: "docker" "start" "-a" "1305d9525cc8a08407e69266773a531aea16eb2d421444253d86f069c518e511", kill_on_drop: false }` [INFO] [stderr] Compiling parcom v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `,` [INFO] [stdout] --> src/lib.rs:316:38 [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:315:9 [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 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[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[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] --> src/lib.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | impl<'a, F, Output> Parser<'a, Output> for F [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn<(&str,)>` closure, found `impl Parser<'_, (_, _)>` [INFO] [stdout] --> src/lib.rs:314:53 [INFO] [stdout] | [INFO] [stdout] 314 | fn parent_element<'a>() -> impl Parser<'a, Element> { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 315 | | pair( [INFO] [stdout] 316 | | open_element().and_then(|el| { [INFO] [stdout] 317 | | left(element().zero_or_more(), close_element()), [INFO] [stdout] 318 | | ) [INFO] [stdout] 319 | | } [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] --> src/lib.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | impl<'a, F, Output> Parser<'a, Output> for F [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] note: required because of the requirements on the impl of `Parser<'_, _>` for `NewOutput` [INFO] [stdout] --> src/lib.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | impl<'a, F, Output> Parser<'a, Output> for F [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^ [INFO] [stdout] note: required by a bound in `and_then` [INFO] [stdout] --> src/lib.rs:305:17 [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] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 29 | NewOutput: 'a + std::ops::Fn<(&str,)>, [INFO] [stdout] | +++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 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` due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "1305d9525cc8a08407e69266773a531aea16eb2d421444253d86f069c518e511", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1305d9525cc8a08407e69266773a531aea16eb2d421444253d86f069c518e511", kill_on_drop: false }` [INFO] [stdout] 1305d9525cc8a08407e69266773a531aea16eb2d421444253d86f069c518e511