[INFO] cloning repository https://github.com/dmarticus/parser-combinators-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dmarticus/parser-combinators-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmarticus%2Fparser-combinators-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmarticus%2Fparser-combinators-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2ac781e54fc477839f9815f17b9e656fad365bbc [INFO] checking dmarticus/parser-combinators-rust/2ac781e54fc477839f9815f17b9e656fad365bbc against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmarticus%2Fparser-combinators-rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dmarticus/parser-combinators-rust on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dmarticus/parser-combinators-rust [INFO] finished tweaking git repo https://github.com/dmarticus/parser-combinators-rust [INFO] tweaked toml for git repo https://github.com/dmarticus/parser-combinators-rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dmarticus/parser-combinators-rust 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 710cfc15164b7484557811f80823fe6171edd741d188fb93eed0782265a45e4c [INFO] running `Command { std: "docker" "start" "-a" "710cfc15164b7484557811f80823fe6171edd741d188fb93eed0782265a45e4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "710cfc15164b7484557811f80823fe6171edd741d188fb93eed0782265a45e4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "710cfc15164b7484557811f80823fe6171edd741d188fb93eed0782265a45e4c", kill_on_drop: false }` [INFO] [stdout] 710cfc15164b7484557811f80823fe6171edd741d188fb93eed0782265a45e4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 315735bdd329ad95c5a8f4154543c9213384de363c3ab6149c73708968c7eec1 [INFO] running `Command { std: "docker" "start" "-a" "315735bdd329ad95c5a8f4154543c9213384de363c3ab6149c73708968c7eec1", kill_on_drop: false }` [INFO] [stderr] Checking parser-combinators v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:48:34 [INFO] [stdout] | [INFO] [stdout] 46 | impl<'a, F, Output> Parser<'a, Output> for F [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 47 | where [INFO] [stdout] 48 | F: Fn(&'a str) -> ParseResult, [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:48:34 [INFO] [stdout] | [INFO] [stdout] 46 | impl<'a, F, Output> Parser<'a, Output> for F [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 47 | where [INFO] [stdout] 48 | F: Fn(&'a str) -> ParseResult, [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `parser2`, a captured variable in an `Fn` closure [INFO] [stdout] --> src/lib.rs:118:37 [INFO] [stdout] | [INFO] [stdout] 111 | fn pair<'a, P1, P2, R1, R2>(parser1: P1, parser2: P2) -> impl Parser<'a, (R1, R2)> [INFO] [stdout] | ------- captured outer variable [INFO] [stdout] ... [INFO] [stdout] 118 | parser1.and_then(move |result1| parser2.map(move |result2| (result1.clone(), result2))) [INFO] [stdout] | -------------- ^^^^^^^ ---------------------------------------------- `parser2` moved due to this method call [INFO] [stdout] | | | [INFO] [stdout] | | move occurs because `parser2` has type `P2`, which does not implement the `Copy` trait [INFO] [stdout] | captured by this `Fn` closure [INFO] [stdout] | [INFO] [stdout] note: `Parser::map` takes ownership of the receiver `self`, which moves `parser2` [INFO] [stdout] --> src/lib.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | fn map(self, map_fn: F) -> BoxedParser<'a, NewOutput> [INFO] [stdout] | ^^^^ [INFO] [stdout] help: if `P2` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/lib.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | fn pair<'a, P1, P2, R1, R2>(parser1: P1, parser2: P2) -> impl Parser<'a, (R1, R2)> [INFO] [stdout] | ^^ consider constraining this type parameter with `Clone` [INFO] [stdout] ... [INFO] [stdout] 118 | parser1.and_then(move |result1| parser2.map(move |result2| (result1.clone(), result2))) [INFO] [stdout] | ------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `parser2`, a captured variable in an `Fn` closure [INFO] [stdout] --> src/lib.rs:118:37 [INFO] [stdout] | [INFO] [stdout] 111 | fn pair<'a, P1, P2, R1, R2>(parser1: P1, parser2: P2) -> impl Parser<'a, (R1, R2)> [INFO] [stdout] | ------- captured outer variable [INFO] [stdout] ... [INFO] [stdout] 118 | parser1.and_then(move |result1| parser2.map(move |result2| (result1.clone(), result2))) [INFO] [stdout] | -------------- ^^^^^^^ ---------------------------------------------- `parser2` moved due to this method call [INFO] [stdout] | | | [INFO] [stdout] | | move occurs because `parser2` has type `P2`, which does not implement the `Copy` trait [INFO] [stdout] | captured by this `Fn` closure [INFO] [stdout] | [INFO] [stdout] note: `Parser::map` takes ownership of the receiver `self`, which moves `parser2` [INFO] [stdout] --> src/lib.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | fn map(self, map_fn: F) -> BoxedParser<'a, NewOutput> [INFO] [stdout] | ^^^^ [INFO] [stdout] help: if `P2` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/lib.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | fn pair<'a, P1, P2, R1, R2>(parser1: P1, parser2: P2) -> impl Parser<'a, (R1, R2)> [INFO] [stdout] | ^^ consider constraining this type parameter with `Clone` [INFO] [stdout] ... [INFO] [stdout] 118 | parser1.and_then(move |result1| parser2.map(move |result2| (result1.clone(), result2))) [INFO] [stdout] | ------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `R1: Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | map(pair(parser1, parser2), |(left, _right)| left) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `R1` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `pair` [INFO] [stdout] --> src/lib.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 111 | fn pair<'a, P1, P2, R1, R2>(parser1: P1, parser2: P2) -> impl Parser<'a, (R1, R2)> [INFO] [stdout] | ---- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 115 | R1: 'a + Clone, [INFO] [stdout] | ^^^^^ required by this bound in `pair` [INFO] [stdout] help: consider further restricting type parameter `R1` [INFO] [stdout] | [INFO] [stdout] 134 | P2: Parser<'a, R2>, R1: std::clone::Clone [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `R1: Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | map(pair(parser1, parser2), |(left, _right)| left) [INFO] [stdout] | ^^^ the trait `Clone` is not implemented for `R1` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `pair` [INFO] [stdout] --> src/lib.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 111 | fn pair<'a, P1, P2, R1, R2>(parser1: P1, parser2: P2) -> impl Parser<'a, (R1, R2)> [INFO] [stdout] | ---- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 115 | R1: 'a + Clone, [INFO] [stdout] | ^^^^^ required by this bound in `pair` [INFO] [stdout] help: consider further restricting type parameter `R1` [INFO] [stdout] | [INFO] [stdout] 134 | P2: Parser<'a, R2>, R1: std::clone::Clone [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `R1: Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | map(pair(parser1, parser2), |(left, _right)| left) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `R1` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `pair` [INFO] [stdout] --> src/lib.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 111 | fn pair<'a, P1, P2, R1, R2>(parser1: P1, parser2: P2) -> impl Parser<'a, (R1, R2)> [INFO] [stdout] | ---- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 115 | R1: 'a + Clone, [INFO] [stdout] | ^^^^^ required by this bound in `pair` [INFO] [stdout] help: consider further restricting type parameter `R1` [INFO] [stdout] | [INFO] [stdout] 134 | P2: Parser<'a, R2>, R1: std::clone::Clone [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `R1: Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | map(pair(parser1, parser2), |(left, _right)| left) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `R1` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `pair` [INFO] [stdout] --> src/lib.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 111 | fn pair<'a, P1, P2, R1, R2>(parser1: P1, parser2: P2) -> impl Parser<'a, (R1, R2)> [INFO] [stdout] | ---- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 115 | R1: 'a + Clone, [INFO] [stdout] | ^^^^^ required by this bound in `pair` [INFO] [stdout] help: consider further restricting type parameter `R1` [INFO] [stdout] | [INFO] [stdout] 134 | P2: Parser<'a, R2>, R1: std::clone::Clone [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `R1: Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | map(pair(parser1, parser2), |(left, _right)| left) [INFO] [stdout] | ^^^ the trait `Clone` is not implemented for `R1` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `pair` [INFO] [stdout] --> src/lib.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 111 | fn pair<'a, P1, P2, R1, R2>(parser1: P1, parser2: P2) -> impl Parser<'a, (R1, R2)> [INFO] [stdout] | ---- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 115 | R1: 'a + Clone, [INFO] [stdout] | ^^^^^ required by this bound in `pair` [INFO] [stdout] help: consider further restricting type parameter `R1` [INFO] [stdout] | [INFO] [stdout] 134 | P2: Parser<'a, R2>, R1: std::clone::Clone [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `R1: Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | map(pair(parser1, parser2), |(left, _right)| left) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `R1` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `pair` [INFO] [stdout] --> src/lib.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 111 | fn pair<'a, P1, P2, R1, R2>(parser1: P1, parser2: P2) -> impl Parser<'a, (R1, R2)> [INFO] [stdout] | ---- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 115 | R1: 'a + Clone, [INFO] [stdout] | ^^^^^ required by this bound in `pair` [INFO] [stdout] help: consider further restricting type parameter `R1` [INFO] [stdout] | [INFO] [stdout] 134 | P2: Parser<'a, R2>, R1: std::clone::Clone [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `R1: Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:131:58 [INFO] [stdout] | [INFO] [stdout] 131 | fn left<'a, P1, P2, R1, R2>(parser1: P1, parser2: P2) -> impl Parser<'a, R1> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `R1` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `pair` [INFO] [stdout] --> src/lib.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 111 | fn pair<'a, P1, P2, R1, R2>(parser1: P1, parser2: P2) -> impl Parser<'a, (R1, R2)> [INFO] [stdout] | ---- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 115 | R1: 'a + Clone, [INFO] [stdout] | ^^^^^ required by this bound in `pair` [INFO] [stdout] help: consider further restricting type parameter `R1` [INFO] [stdout] | [INFO] [stdout] 134 | P2: Parser<'a, R2>, R1: std::clone::Clone [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `R1: Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:131:58 [INFO] [stdout] | [INFO] [stdout] 131 | fn left<'a, P1, P2, R1, R2>(parser1: P1, parser2: P2) -> impl Parser<'a, R1> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `R1` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `pair` [INFO] [stdout] --> src/lib.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 111 | fn pair<'a, P1, P2, R1, R2>(parser1: P1, parser2: P2) -> impl Parser<'a, (R1, R2)> [INFO] [stdout] | ---- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 115 | R1: 'a + Clone, [INFO] [stdout] | ^^^^^ required by this bound in `pair` [INFO] [stdout] help: consider further restricting type parameter `R1` [INFO] [stdout] | [INFO] [stdout] 134 | P2: Parser<'a, R2>, R1: std::clone::Clone [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `R1: Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | map(pair(parser1, parser2), |(_left, right)| right) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `R1` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `pair` [INFO] [stdout] --> src/lib.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 111 | fn pair<'a, P1, P2, R1, R2>(parser1: P1, parser2: P2) -> impl Parser<'a, (R1, R2)> [INFO] [stdout] | ---- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 115 | R1: 'a + Clone, [INFO] [stdout] | ^^^^^ required by this bound in `pair` [INFO] [stdout] help: consider further restricting type parameter `R1` [INFO] [stdout] | [INFO] [stdout] 142 | P2: Parser<'a, R2>, R1: std::clone::Clone [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `R1: Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | map(pair(parser1, parser2), |(_left, right)| right) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `R1` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `pair` [INFO] [stdout] --> src/lib.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 111 | fn pair<'a, P1, P2, R1, R2>(parser1: P1, parser2: P2) -> impl Parser<'a, (R1, R2)> [INFO] [stdout] | ---- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 115 | R1: 'a + Clone, [INFO] [stdout] | ^^^^^ required by this bound in `pair` [INFO] [stdout] help: consider further restricting type parameter `R1` [INFO] [stdout] | [INFO] [stdout] 142 | P2: Parser<'a, R2>, R1: std::clone::Clone [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `R1: Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | map(pair(parser1, parser2), |(_left, right)| right) [INFO] [stdout] | ^^^ the trait `Clone` is not implemented for `R1` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `pair` [INFO] [stdout] --> src/lib.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 111 | fn pair<'a, P1, P2, R1, R2>(parser1: P1, parser2: P2) -> impl Parser<'a, (R1, R2)> [INFO] [stdout] | ---- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 115 | R1: 'a + Clone, [INFO] [stdout] | ^^^^^ required by this bound in `pair` [INFO] [stdout] help: consider further restricting type parameter `R1` [INFO] [stdout] | [INFO] [stdout] 142 | P2: Parser<'a, R2>, R1: std::clone::Clone [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `R1: Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | map(pair(parser1, parser2), |(_left, right)| right) [INFO] [stdout] | ^^^ the trait `Clone` is not implemented for `R1` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `pair` [INFO] [stdout] --> src/lib.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 111 | fn pair<'a, P1, P2, R1, R2>(parser1: P1, parser2: P2) -> impl Parser<'a, (R1, R2)> [INFO] [stdout] | ---- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 115 | R1: 'a + Clone, [INFO] [stdout] | ^^^^^ required by this bound in `pair` [INFO] [stdout] help: consider further restricting type parameter `R1` [INFO] [stdout] | [INFO] [stdout] 142 | P2: Parser<'a, R2>, R1: std::clone::Clone [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `R1: Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | map(pair(parser1, parser2), |(_left, right)| right) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `R1` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `pair` [INFO] [stdout] --> src/lib.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 111 | fn pair<'a, P1, P2, R1, R2>(parser1: P1, parser2: P2) -> impl Parser<'a, (R1, R2)> [INFO] [stdout] | ---- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 115 | R1: 'a + Clone, [INFO] [stdout] | ^^^^^ required by this bound in `pair` [INFO] [stdout] help: consider further restricting type parameter `R1` [INFO] [stdout] | [INFO] [stdout] 142 | P2: Parser<'a, R2>, R1: std::clone::Clone [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `R1: Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:139:59 [INFO] [stdout] | [INFO] [stdout] 139 | fn right<'a, P1, P2, R1, R2>(parser1: P1, parser2: P2) -> impl Parser<'a, R2> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `R1` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `pair` [INFO] [stdout] --> src/lib.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 111 | fn pair<'a, P1, P2, R1, R2>(parser1: P1, parser2: P2) -> impl Parser<'a, (R1, R2)> [INFO] [stdout] | ---- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 115 | R1: 'a + Clone, [INFO] [stdout] | ^^^^^ required by this bound in `pair` [INFO] [stdout] help: consider further restricting type parameter `R1` [INFO] [stdout] | [INFO] [stdout] 142 | P2: Parser<'a, R2>, R1: std::clone::Clone [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `R1: Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | map(pair(parser1, parser2), |(_left, right)| right) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `R1` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `pair` [INFO] [stdout] --> src/lib.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 111 | fn pair<'a, P1, P2, R1, R2>(parser1: P1, parser2: P2) -> impl Parser<'a, (R1, R2)> [INFO] [stdout] | ---- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 115 | R1: 'a + Clone, [INFO] [stdout] | ^^^^^ required by this bound in `pair` [INFO] [stdout] help: consider further restricting type parameter `R1` [INFO] [stdout] | [INFO] [stdout] 142 | P2: Parser<'a, R2>, R1: std::clone::Clone [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `R1: Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:139:59 [INFO] [stdout] | [INFO] [stdout] 139 | fn right<'a, P1, P2, R1, R2>(parser1: P1, parser2: P2) -> impl Parser<'a, R2> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `R1` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `pair` [INFO] [stdout] --> src/lib.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 111 | fn pair<'a, P1, P2, R1, R2>(parser1: P1, parser2: P2) -> impl Parser<'a, (R1, R2)> [INFO] [stdout] | ---- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 115 | R1: 'a + Clone, [INFO] [stdout] | ^^^^^ required by this bound in `pair` [INFO] [stdout] help: consider further restricting type parameter `R1` [INFO] [stdout] | [INFO] [stdout] 142 | P2: Parser<'a, R2>, R1: std::clone::Clone [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0507. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `parser-combinators` (lib) due to 10 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0507. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `parser-combinators` (lib test) due to 10 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "315735bdd329ad95c5a8f4154543c9213384de363c3ab6149c73708968c7eec1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "315735bdd329ad95c5a8f4154543c9213384de363c3ab6149c73708968c7eec1", kill_on_drop: false }` [INFO] [stdout] 315735bdd329ad95c5a8f4154543c9213384de363c3ab6149c73708968c7eec1