[INFO] cloning repository https://github.com/NoahBPeterson/rust_lox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NoahBPeterson/rust_lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNoahBPeterson%2Frust_lox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNoahBPeterson%2Frust_lox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d2bc3ff99515e6db4739d40a2528f234af8c7cdb [INFO] checking NoahBPeterson/rust_lox against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNoahBPeterson%2Frust_lox" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/NoahBPeterson/rust_lox on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/NoahBPeterson/rust_lox [INFO] finished tweaking git repo https://github.com/NoahBPeterson/rust_lox [INFO] tweaked toml for git repo https://github.com/NoahBPeterson/rust_lox written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/NoahBPeterson/rust_lox already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d07898cb02260e4188029e7ea3f9e98fc733723db953d46843dfbc8389c1f647 [INFO] running `Command { std: "docker" "start" "-a" "d07898cb02260e4188029e7ea3f9e98fc733723db953d46843dfbc8389c1f647", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d07898cb02260e4188029e7ea3f9e98fc733723db953d46843dfbc8389c1f647", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d07898cb02260e4188029e7ea3f9e98fc733723db953d46843dfbc8389c1f647", kill_on_drop: false }` [INFO] [stdout] d07898cb02260e4188029e7ea3f9e98fc733723db953d46843dfbc8389c1f647 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35a0b75b6494b30159f621b51f7cfcff06791f933fca2896ea245f629b70c4cf [INFO] running `Command { std: "docker" "start" "-a" "35a0b75b6494b30159f621b51f7cfcff06791f933fca2896ea245f629b70c4cf", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking rust_lox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found `ParseRule` [INFO] [stdout] --> src/compile.rs:174:24 [INFO] [stdout] | [INFO] [stdout] 174 | rules.append(other) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 175 | ParseRule rules[] = { [INFO] [stdout] | --------- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `rules` [INFO] [stdout] --> src/compile.rs:175:15 [INFO] [stdout] | [INFO] [stdout] 175 | ParseRule rules[] = { [INFO] [stdout] | ^^^^^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `ParseRule` [INFO] [stdout] --> src/compile.rs:174:24 [INFO] [stdout] | [INFO] [stdout] 174 | rules.append(other) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 175 | ParseRule rules[] = { [INFO] [stdout] | --------- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `rules` [INFO] [stdout] --> src/compile.rs:175:15 [INFO] [stdout] | [INFO] [stdout] 175 | ParseRule rules[] = { [INFO] [stdout] | ^^^^^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParseFn` in this scope [INFO] [stdout] --> src/compile.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Parser [INFO] [stdout] | ----------------- similarly named struct `Parser` defined here [INFO] [stdout] ... [INFO] [stdout] 33 | prefix: ParseFn, [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParseFn` in this scope [INFO] [stdout] --> src/compile.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Parser [INFO] [stdout] | ----------------- similarly named struct `Parser` defined here [INFO] [stdout] ... [INFO] [stdout] 33 | prefix: ParseFn, [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParseFn` in this scope [INFO] [stdout] --> src/compile.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Parser [INFO] [stdout] | ----------------- similarly named struct `Parser` defined here [INFO] [stdout] ... [INFO] [stdout] 34 | infix: ParseFn, [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParseFn` in this scope [INFO] [stdout] --> src/compile.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Parser [INFO] [stdout] | ----------------- similarly named struct `Parser` defined here [INFO] [stdout] ... [INFO] [stdout] 34 | infix: ParseFn, [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `other` in this scope [INFO] [stdout] --> src/compile.rs:174:18 [INFO] [stdout] | [INFO] [stdout] 174 | rules.append(other) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `other` in this scope [INFO] [stdout] --> src/compile.rs:174:18 [INFO] [stdout] | [INFO] [stdout] 174 | rules.append(other) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `string` [INFO] [stdout] --> src/main.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env, fs, io::{self, Write}, string}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `interpret` [INFO] [stdout] --> src/main.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use vm::{InterpretResult, interpret}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::string` [INFO] [stdout] --> src/vm.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::string; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Scan` [INFO] [stdout] --> src/compile.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::Scan; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/scanner.rs:261:8 [INFO] [stdout] | [INFO] [stdout] 261 | if (isAtEnd(scanner)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `string` [INFO] [stdout] --> src/main.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env, fs, io::{self, Write}, string}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `interpret` [INFO] [stdout] --> src/main.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use vm::{InterpretResult, interpret}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::string` [INFO] [stdout] --> src/vm.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::string; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Scan` [INFO] [stdout] --> src/compile.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::Scan; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/scanner.rs:261:8 [INFO] [stdout] | [INFO] [stdout] 261 | if (isAtEnd(scanner)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot add `{integer}` to `Precedence` [INFO] [stdout] --> src/compile.rs:106:38 [INFO] [stdout] | [INFO] [stdout] 106 | parse_precedence(rule.precedence + 1); [INFO] [stdout] | --------------- ^ - {integer} [INFO] [stdout] | | [INFO] [stdout] | Precedence [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::ops::Add` might be missing for `Precedence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot add `{integer}` to `Precedence` [INFO] [stdout] --> src/compile.rs:106:38 [INFO] [stdout] | [INFO] [stdout] 106 | parse_precedence(rule.precedence + 1); [INFO] [stdout] | --------------- ^ - {integer} [INFO] [stdout] | | [INFO] [stdout] | Precedence [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::ops::Add` might be missing for `Precedence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0369, E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0369`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0369, E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0369`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_lox` due to 7 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "35a0b75b6494b30159f621b51f7cfcff06791f933fca2896ea245f629b70c4cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35a0b75b6494b30159f621b51f7cfcff06791f933fca2896ea245f629b70c4cf", kill_on_drop: false }` [INFO] [stdout] 35a0b75b6494b30159f621b51f7cfcff06791f933fca2896ea245f629b70c4cf