[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-3 [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 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-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8fd3bbd38848fc17165991b3ae69fcdb9e95e5da63d9bc5b663d4bc4b38dfa43 [INFO] running `Command { std: "docker" "start" "-a" "8fd3bbd38848fc17165991b3ae69fcdb9e95e5da63d9bc5b663d4bc4b38dfa43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8fd3bbd38848fc17165991b3ae69fcdb9e95e5da63d9bc5b663d4bc4b38dfa43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fd3bbd38848fc17165991b3ae69fcdb9e95e5da63d9bc5b663d4bc4b38dfa43", kill_on_drop: false }` [INFO] [stdout] 8fd3bbd38848fc17165991b3ae69fcdb9e95e5da63d9bc5b663d4bc4b38dfa43 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 988e1ccd81358363375411955337826e52285612c4e47d180868c7a01ff7ce31 [INFO] running `Command { std: "docker" "start" "-a" "988e1ccd81358363375411955337826e52285612c4e47d180868c7a01ff7ce31", 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[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: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: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: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: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: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: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: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" "988e1ccd81358363375411955337826e52285612c4e47d180868c7a01ff7ce31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "988e1ccd81358363375411955337826e52285612c4e47d180868c7a01ff7ce31", kill_on_drop: false }` [INFO] [stdout] 988e1ccd81358363375411955337826e52285612c4e47d180868c7a01ff7ce31 [INFO] checking dmarticus/parser-combinators-rust against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmarticus%2Fparser-combinators-rust" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-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-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ae7716e56d32b7ab5866d0fc7f4eae93f00d27a0f6e3fedb8fca6f11c996f5c [INFO] running `Command { std: "docker" "start" "-a" "2ae7716e56d32b7ab5866d0fc7f4eae93f00d27a0f6e3fedb8fca6f11c996f5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ae7716e56d32b7ab5866d0fc7f4eae93f00d27a0f6e3fedb8fca6f11c996f5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ae7716e56d32b7ab5866d0fc7f4eae93f00d27a0f6e3fedb8fca6f11c996f5c", kill_on_drop: false }` [INFO] [stdout] 2ae7716e56d32b7ab5866d0fc7f4eae93f00d27a0f6e3fedb8fca6f11c996f5c [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29425cc880684a3ff5ffd0d8224a44ff22fc023d160a86a1d3e3c95ef96d89b6 [INFO] running `Command { std: "docker" "start" "-a" "29425cc880684a3ff5ffd0d8224a44ff22fc023d160a86a1d3e3c95ef96d89b6", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "29425cc880684a3ff5ffd0d8224a44ff22fc023d160a86a1d3e3c95ef96d89b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29425cc880684a3ff5ffd0d8224a44ff22fc023d160a86a1d3e3c95ef96d89b6", kill_on_drop: false }` [INFO] [stdout] 29425cc880684a3ff5ffd0d8224a44ff22fc023d160a86a1d3e3c95ef96d89b6