[INFO] cloning repository https://github.com/tejasag/hera [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tejasag/hera" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftejasag%2Fhera", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftejasag%2Fhera'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ecc5ce1674825f5f629b561dbe14a64a590f72dd [INFO] checking tejasag/hera against master#8007b506ac5da629f223b755f5a5391edd5f6d01 for pr-88041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftejasag%2Fhera" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tejasag/hera on toolchain 8007b506ac5da629f223b755f5a5391edd5f6d01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tejasag/hera [INFO] finished tweaking git repo https://github.com/tejasag/hera [INFO] tweaked toml for git repo https://github.com/tejasag/hera written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/tejasag/hera already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f8ecc3efc5f0f82236a126338f01a0f7e1a4217a2e28c74b1b562ed86bddbc7 [INFO] running `Command { std: "docker" "start" "-a" "1f8ecc3efc5f0f82236a126338f01a0f7e1a4217a2e28c74b1b562ed86bddbc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f8ecc3efc5f0f82236a126338f01a0f7e1a4217a2e28c74b1b562ed86bddbc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f8ecc3efc5f0f82236a126338f01a0f7e1a4217a2e28c74b1b562ed86bddbc7", kill_on_drop: false }` [INFO] [stdout] 1f8ecc3efc5f0f82236a126338f01a0f7e1a4217a2e28c74b1b562ed86bddbc7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3cb9864e28946cc33a905307a36aa97ff97cdd9a4234f8b511b65953347b09d [INFO] running `Command { std: "docker" "start" "-a" "a3cb9864e28946cc33a905307a36aa97ff97cdd9a4234f8b511b65953347b09d", kill_on_drop: false }` [INFO] [stderr] Checking hera v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `!`, `(`, `...`, `..=`, `..`, `::`, `=>`, `if`, `{`, or `|`, found `.` [INFO] [stdout] --> src/parser.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | self.expect_peek(Token::Ident) => [INFO] [stdout] | ^ expected one of 10 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `...`, `..=`, `..`, `::`, `=>`, `if`, `{`, or `|`, found `.` [INFO] [stdout] --> src/parser.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | self.expect_peek(Token::Ident) => [INFO] [stdout] | ^ expected one of 10 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:35:33 [INFO] [stdout] | [INFO] [stdout] 35 | statements.push(stmt); [INFO] [stdout] | ^^^^ expected enum `Statement`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Statement` [INFO] [stdout] found enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:35:33 [INFO] [stdout] | [INFO] [stdout] 35 | statements.push(stmt); [INFO] [stdout] | ^^^^ expected enum `ast::Statement`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `ast::Statement` [INFO] [stdout] found enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | Token::Let => Some(self.parse_let_statement()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Statement`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Statement` [INFO] [stdout] found enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hera` due to 4 previous errors [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | Token::Let => Some(self.parse_let_statement()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `ast::Statement`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `ast::Statement` [INFO] [stdout] found enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `Vec` with `Program` [INFO] [stdout] --> src/parser_test.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / assert_eq!( [INFO] [stdout] 15 | | vec![ [INFO] [stdout] 16 | | Statement::LetExpression( [INFO] [stdout] 17 | | Ident(String::from("x")), [INFO] [stdout] ... | [INFO] [stdout] 29 | | program, [INFO] [stdout] 30 | | ); [INFO] [stdout] | |______^ no implementation for `Vec == Program` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `Vec` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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" "a3cb9864e28946cc33a905307a36aa97ff97cdd9a4234f8b511b65953347b09d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3cb9864e28946cc33a905307a36aa97ff97cdd9a4234f8b511b65953347b09d", kill_on_drop: false }` [INFO] [stdout] a3cb9864e28946cc33a905307a36aa97ff97cdd9a4234f8b511b65953347b09d