[INFO] cloning repository https://github.com/justnat3/parse-happy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/justnat3/parse-happy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustnat3%2Fparse-happy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustnat3%2Fparse-happy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9b1225adb60024b0f680c32397e45fadd83f42e7 [INFO] checking justnat3/parse-happy against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustnat3%2Fparse-happy" "/workspace/builds/worker-95/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-95/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/justnat3/parse-happy on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/justnat3/parse-happy [INFO] finished tweaking git repo https://github.com/justnat3/parse-happy [INFO] tweaked toml for git repo https://github.com/justnat3/parse-happy written to /workspace/builds/worker-95/source/Cargo.toml [INFO] crate git repo https://github.com/justnat3/parse-happy already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d80faaa061d4509d35443f86efc22aab798b5c34f48fa3e735451c281e0de77 [INFO] running `Command { std: "docker" "start" "-a" "0d80faaa061d4509d35443f86efc22aab798b5c34f48fa3e735451c281e0de77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d80faaa061d4509d35443f86efc22aab798b5c34f48fa3e735451c281e0de77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d80faaa061d4509d35443f86efc22aab798b5c34f48fa3e735451c281e0de77", kill_on_drop: false }` [INFO] [stdout] 0d80faaa061d4509d35443f86efc22aab798b5c34f48fa3e735451c281e0de77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5815412b649754c5be7624e6646708505eaa21896724de22b0c2ce761317d8e [INFO] running `Command { std: "docker" "start" "-a" "f5815412b649754c5be7624e6646708505eaa21896724de22b0c2ce761317d8e", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.65 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling lexical-core v0.7.5 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling beef v0.4.4 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Checking bitvec v0.19.5 [INFO] [stderr] Compiling logos-derive v0.11.5 [INFO] [stderr] Checking logos v0.11.4 [INFO] [stderr] Checking playground v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:26:41 [INFO] [stdout] | [INFO] [stdout] 26 | fn split_at(&self, count: usize) -> &[Token] { [INFO] [stdout] | -------- ^^^^^^^^ expected `&[Token]`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Token]` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let (prefix, suffix) = self.split_at(count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ -------------------- this expression has type `&[Token]` [INFO] [stdout] | | [INFO] [stdout] | expected slice, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected slice `[Token]` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&[Token]: InputTake` is not satisfied [INFO] [stdout] --> src/main.rs:65:38 [INFO] [stdout] | [INFO] [stdout] 65 | let (to, _) = tag(Token::Equals)(i)?; [INFO] [stdout] | ^ the trait `InputTake` is not implemented for `&[Token]` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] <&'a [u8] as InputTake> [INFO] [stdout] note: required by a bound in `nom::bytes::complete::tag` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nom-6.1.2/src/bytes/complete.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | Input: InputTake + Compare, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `nom::bytes::complete::tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&[Token]: InputIter` is not satisfied [INFO] [stdout] --> src/main.rs:65:38 [INFO] [stdout] | [INFO] [stdout] 65 | let (to, _) = tag(Token::Equals)(i)?; [INFO] [stdout] | ^ the trait `InputIter` is not implemented for `&[Token]` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] <&'a [u8; 0] as InputIter> [INFO] [stdout] <&'a [u8; 10] as InputIter> [INFO] [stdout] <&'a [u8; 11] as InputIter> [INFO] [stdout] <&'a [u8; 12] as InputIter> [INFO] [stdout] and 30 others [INFO] [stdout] = note: required because of the requirements on the impl of `Compare` for `&[Token]` [INFO] [stdout] note: required by a bound in `nom::bytes::complete::tag` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nom-6.1.2/src/bytes/complete.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | Input: InputTake + Compare, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `nom::bytes::complete::tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&[Token]: UnspecializedInput` is not satisfied [INFO] [stdout] --> src/main.rs:65:38 [INFO] [stdout] | [INFO] [stdout] 65 | let (to, _) = tag(Token::Equals)(i)?; [INFO] [stdout] | ^ the trait `UnspecializedInput` is not implemented for `&[Token]` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Compare` for `&[Token]` [INFO] [stdout] note: required by a bound in `nom::bytes::complete::tag` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nom-6.1.2/src/bytes/complete.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | Input: InputTake + Compare, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `nom::bytes::complete::tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Token: InputIter` is not satisfied [INFO] [stdout] --> src/main.rs:65:38 [INFO] [stdout] | [INFO] [stdout] 65 | let (to, _) = tag(Token::Equals)(i)?; [INFO] [stdout] | ^ the trait `InputIter` is not implemented for `Token` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Compare` for `&[Token]` [INFO] [stdout] note: required by a bound in `nom::bytes::complete::tag` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nom-6.1.2/src/bytes/complete.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | Input: InputTake + Compare, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `nom::bytes::complete::tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `nom::error::Error: ParseError<&[Token]>` is not satisfied [INFO] [stdout] --> src/main.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | let (to, _) = tag(Token::Equals)(i)?; [INFO] [stdout] | ^^^ the trait `ParseError<&[Token]>` is not implemented for `nom::error::Error` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as ParseError> [INFO] [stdout] note: required by a bound in `nom::bytes::complete::tag` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nom-6.1.2/src/bytes/complete.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn tag>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `nom::bytes::complete::tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 64 | fn parse_string(i: &[Token]) -> IResult { [INFO] [stdout] | --------------------- expected `Result<(Token, Token), nom::Err>>` because of return type [INFO] [stdout] 65 | let (to, _) = tag(Token::Equals)(i)?; [INFO] [stdout] 66 | to [INFO] [stdout] | ^^ expected enum `Result`, found `&[Token]` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(Token, Token), nom::Err>>` [INFO] [stdout] found reference `&[Token]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `playground` due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:26:41 [INFO] [stdout] | [INFO] [stdout] 26 | fn split_at(&self, count: usize) -> &[Token] { [INFO] [stdout] | -------- ^^^^^^^^ expected `&[Token]`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Token]` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let (prefix, suffix) = self.split_at(count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ -------------------- this expression has type `&[Token]` [INFO] [stdout] | | [INFO] [stdout] | expected slice, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected slice `[Token]` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&[Token]: InputTake` is not satisfied [INFO] [stdout] --> src/main.rs:65:38 [INFO] [stdout] | [INFO] [stdout] 65 | let (to, _) = tag(Token::Equals)(i)?; [INFO] [stdout] | ^ the trait `InputTake` is not implemented for `&[Token]` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] <&'a [u8] as InputTake> [INFO] [stdout] note: required by a bound in `nom::bytes::complete::tag` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nom-6.1.2/src/bytes/complete.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | Input: InputTake + Compare, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `nom::bytes::complete::tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&[Token]: InputIter` is not satisfied [INFO] [stdout] --> src/main.rs:65:38 [INFO] [stdout] | [INFO] [stdout] 65 | let (to, _) = tag(Token::Equals)(i)?; [INFO] [stdout] | ^ the trait `InputIter` is not implemented for `&[Token]` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] <&'a [u8; 0] as InputIter> [INFO] [stdout] <&'a [u8; 10] as InputIter> [INFO] [stdout] <&'a [u8; 11] as InputIter> [INFO] [stdout] <&'a [u8; 12] as InputIter> [INFO] [stdout] and 30 others [INFO] [stdout] = note: required because of the requirements on the impl of `Compare` for `&[Token]` [INFO] [stdout] note: required by a bound in `nom::bytes::complete::tag` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nom-6.1.2/src/bytes/complete.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | Input: InputTake + Compare, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `nom::bytes::complete::tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&[Token]: UnspecializedInput` is not satisfied [INFO] [stdout] --> src/main.rs:65:38 [INFO] [stdout] | [INFO] [stdout] 65 | let (to, _) = tag(Token::Equals)(i)?; [INFO] [stdout] | ^ the trait `UnspecializedInput` is not implemented for `&[Token]` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Compare` for `&[Token]` [INFO] [stdout] note: required by a bound in `nom::bytes::complete::tag` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nom-6.1.2/src/bytes/complete.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | Input: InputTake + Compare, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `nom::bytes::complete::tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Token: InputIter` is not satisfied [INFO] [stdout] --> src/main.rs:65:38 [INFO] [stdout] | [INFO] [stdout] 65 | let (to, _) = tag(Token::Equals)(i)?; [INFO] [stdout] | ^ the trait `InputIter` is not implemented for `Token` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Compare` for `&[Token]` [INFO] [stdout] note: required by a bound in `nom::bytes::complete::tag` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nom-6.1.2/src/bytes/complete.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | Input: InputTake + Compare, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `nom::bytes::complete::tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `nom::error::Error: ParseError<&[Token]>` is not satisfied [INFO] [stdout] --> src/main.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | let (to, _) = tag(Token::Equals)(i)?; [INFO] [stdout] | ^^^ the trait `ParseError<&[Token]>` is not implemented for `nom::error::Error` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as ParseError> [INFO] [stdout] note: required by a bound in `nom::bytes::complete::tag` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nom-6.1.2/src/bytes/complete.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn tag>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `nom::bytes::complete::tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 64 | fn parse_string(i: &[Token]) -> IResult { [INFO] [stdout] | --------------------- expected `Result<(Token, Token), nom::Err>>` because of return type [INFO] [stdout] 65 | let (to, _) = tag(Token::Equals)(i)?; [INFO] [stdout] 66 | to [INFO] [stdout] | ^^ expected enum `Result`, found `&[Token]` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(Token, Token), nom::Err>>` [INFO] [stdout] found reference `&[Token]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "f5815412b649754c5be7624e6646708505eaa21896724de22b0c2ce761317d8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5815412b649754c5be7624e6646708505eaa21896724de22b0c2ce761317d8e", kill_on_drop: false }` [INFO] [stdout] f5815412b649754c5be7624e6646708505eaa21896724de22b0c2ce761317d8e