[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 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmarticus%2Fparser-combinators-rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dmarticus/parser-combinators-rust on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-6-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f773b2ad0dc3a14e1a045c3ad55e090f2f0ab19df2ddff88447d91af1506415d [INFO] running `Command { std: "docker" "start" "-a" "f773b2ad0dc3a14e1a045c3ad55e090f2f0ab19df2ddff88447d91af1506415d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f773b2ad0dc3a14e1a045c3ad55e090f2f0ab19df2ddff88447d91af1506415d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f773b2ad0dc3a14e1a045c3ad55e090f2f0ab19df2ddff88447d91af1506415d", kill_on_drop: false }` [INFO] [stdout] f773b2ad0dc3a14e1a045c3ad55e090f2f0ab19df2ddff88447d91af1506415d [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aaaa778e0dd414f42732dde0a97669c9042fae7b6e65be7cdb50e8b0edf1c9fd [INFO] running `Command { std: "docker" "start" "-a" "aaaa778e0dd414f42732dde0a97669c9042fae7b6e65be7cdb50e8b0edf1c9fd", kill_on_drop: false }` [INFO] [stderr] Checking parser-combinators v0.1.0 (/opt/rustwide/workdir) [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] [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: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: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[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] [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: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: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: aborting due to 9 previous errors [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 [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 9 previous errors [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 [INFO] running `Command { std: "docker" "inspect" "aaaa778e0dd414f42732dde0a97669c9042fae7b6e65be7cdb50e8b0edf1c9fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aaaa778e0dd414f42732dde0a97669c9042fae7b6e65be7cdb50e8b0edf1c9fd", kill_on_drop: false }` [INFO] [stdout] aaaa778e0dd414f42732dde0a97669c9042fae7b6e65be7cdb50e8b0edf1c9fd [INFO] checking dmarticus/parser-combinators-rust against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmarticus%2Fparser-combinators-rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dmarticus/parser-combinators-rust on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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-6-tc2/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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b3287318a36cafc15b8fa33057889a8e345cb25884f3415015aa3d4b8cf385fa [INFO] running `Command { std: "docker" "start" "-a" "b3287318a36cafc15b8fa33057889a8e345cb25884f3415015aa3d4b8cf385fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3287318a36cafc15b8fa33057889a8e345cb25884f3415015aa3d4b8cf385fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3287318a36cafc15b8fa33057889a8e345cb25884f3415015aa3d4b8cf385fa", kill_on_drop: false }` [INFO] [stdout] b3287318a36cafc15b8fa33057889a8e345cb25884f3415015aa3d4b8cf385fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 301036981ae0dbb7dd01173b8780a876aecd04d0ae79420592b0c00c668ec4cf [INFO] running `Command { std: "docker" "start" "-a" "301036981ae0dbb7dd01173b8780a876aecd04d0ae79420592b0c00c668ec4cf", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "301036981ae0dbb7dd01173b8780a876aecd04d0ae79420592b0c00c668ec4cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "301036981ae0dbb7dd01173b8780a876aecd04d0ae79420592b0c00c668ec4cf", kill_on_drop: false }` [INFO] [stdout] 301036981ae0dbb7dd01173b8780a876aecd04d0ae79420592b0c00c668ec4cf