[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#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustnat3%2Fparse-happy" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/justnat3/parse-happy on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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-6/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5e000b94ba967ecc8d8b724d4ee1be6d4eedf6beb1058afa547eb2259462681 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e5e000b94ba967ecc8d8b724d4ee1be6d4eedf6beb1058afa547eb2259462681", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5e000b94ba967ecc8d8b724d4ee1be6d4eedf6beb1058afa547eb2259462681", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5e000b94ba967ecc8d8b724d4ee1be6d4eedf6beb1058afa547eb2259462681", kill_on_drop: false }` [INFO] [stdout] e5e000b94ba967ecc8d8b724d4ee1be6d4eedf6beb1058afa547eb2259462681 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac8e0d51525d054aeb53e036a8ae6fbc10f780dbe0918d9ea8e0ff8c1579dde8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ac8e0d51525d054aeb53e036a8ae6fbc10f780dbe0918d9ea8e0ff8c1579dde8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v1.0.65 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling lexical-core v0.7.5 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling beef v0.4.4 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Checking bitvec v0.19.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling logos-derive v0.11.5 [INFO] [stderr] Checking logos v0.11.4 [INFO] [stderr] Checking playground v0.1.0 (/opt/rustwide/workdir) [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] ::: /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] = help: the following implementations were found: [INFO] [stdout] <&'a [u8] as InputTake> [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] ::: /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] = 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] [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] ::: /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] = note: required because of the requirements on the impl of `Compare` for `&[Token]` [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] ::: /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] = note: required because of the requirements on the impl of `Compare` for `&[Token]` [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] ::: /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] = help: the following implementations were found: [INFO] [stdout] as ParseError> [INFO] [stdout] [INFO] [stdout] [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] ::: /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] = help: the following implementations were found: [INFO] [stdout] <&'a [u8] as InputTake> [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] ::: /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] = 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] [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] ::: /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] = note: required because of the requirements on the impl of `Compare` for `&[Token]` [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] ::: /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] = note: required because of the requirements on the impl of `Compare` for `&[Token]` [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] ::: /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] = help: the following implementations were found: [INFO] [stdout] as ParseError> [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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] running `Command { std: "docker" "inspect" "ac8e0d51525d054aeb53e036a8ae6fbc10f780dbe0918d9ea8e0ff8c1579dde8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac8e0d51525d054aeb53e036a8ae6fbc10f780dbe0918d9ea8e0ff8c1579dde8", kill_on_drop: false }` [INFO] [stdout] ac8e0d51525d054aeb53e036a8ae6fbc10f780dbe0918d9ea8e0ff8c1579dde8