[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] testing justnat3/parse-happy against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustnat3%2Fparse-happy" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/justnat3/parse-happy on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-10/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b4d8278958c13520d1759a6ceeb294fd68be259d4af38194cdff7af1f15ad3f7 [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" "b4d8278958c13520d1759a6ceeb294fd68be259d4af38194cdff7af1f15ad3f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4d8278958c13520d1759a6ceeb294fd68be259d4af38194cdff7af1f15ad3f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4d8278958c13520d1759a6ceeb294fd68be259d4af38194cdff7af1f15ad3f7", kill_on_drop: false }` [INFO] [stdout] b4d8278958c13520d1759a6ceeb294fd68be259d4af38194cdff7af1f15ad3f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97111e832dc6377150a50eac3eae0c0ea1638497e41d22e45d833051a60a73f2 [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" "97111e832dc6377150a50eac3eae0c0ea1638497e41d22e45d833051a60a73f2", kill_on_drop: false }` [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling syn v1.0.65 [INFO] [stderr] Compiling lexical-core v0.7.5 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling beef v0.4.4 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling logos-derive v0.11.5 [INFO] [stderr] Compiling logos v0.11.4 [INFO] [stderr] Compiling 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] | required by a bound introduced by this call [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] | required by a bound introduced by this call [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] | required by a bound introduced by this call [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] | required by a bound introduced by this call [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] running `Command { std: "docker" "inspect" "97111e832dc6377150a50eac3eae0c0ea1638497e41d22e45d833051a60a73f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97111e832dc6377150a50eac3eae0c0ea1638497e41d22e45d833051a60a73f2", kill_on_drop: false }` [INFO] [stdout] 97111e832dc6377150a50eac3eae0c0ea1638497e41d22e45d833051a60a73f2