[INFO] cloning repository https://github.com/Gearhartlove/firefly [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Gearhartlove/firefly" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGearhartlove%2Ffirefly", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGearhartlove%2Ffirefly'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b4a10f966148da1f7b988b5ca311d94260f3dd8c [INFO] testing Gearhartlove/firefly against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGearhartlove%2Ffirefly" "/workspace/builds/worker-26/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-26/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Gearhartlove/firefly 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/Gearhartlove/firefly [INFO] finished tweaking git repo https://github.com/Gearhartlove/firefly [INFO] tweaked toml for git repo https://github.com/Gearhartlove/firefly written to /workspace/builds/worker-26/source/Cargo.toml [INFO] crate git repo https://github.com/Gearhartlove/firefly 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7150c9e215b4333c126b4438d5ddfea1909c0db807a71fc0c3697632bf54abde [INFO] running `Command { std: "docker" "start" "-a" "7150c9e215b4333c126b4438d5ddfea1909c0db807a71fc0c3697632bf54abde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7150c9e215b4333c126b4438d5ddfea1909c0db807a71fc0c3697632bf54abde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7150c9e215b4333c126b4438d5ddfea1909c0db807a71fc0c3697632bf54abde", kill_on_drop: false }` [INFO] [stdout] 7150c9e215b4333c126b4438d5ddfea1909c0db807a71fc0c3697632bf54abde [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67efe104c25f12c93e179e1abeb81d741c71cd8a2d1e78e182a331b071d4b257 [INFO] running `Command { std: "docker" "start" "-a" "67efe104c25f12c93e179e1abeb81d741c71cd8a2d1e78e182a331b071d4b257", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling firefly v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `,`, found `does` [INFO] [stdout] --> src/main.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 61 | todo!(how does the rest of the program (main) see the error here without me [INFO] [stdout] | ^^^^ expected `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Loken` [INFO] [stdout] --> src/tokenizer/fireflytokenizer.rs:78:34 [INFO] [stdout] | [INFO] [stdout] 78 | self.tokens.push(Loken::new(token_type, text, L, self.line)) [INFO] [stdout] | ^^^^^ use of undeclared type `Loken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Loken` [INFO] [stdout] --> src/tokenizer/fireflytokenizer.rs:81:34 [INFO] [stdout] | [INFO] [stdout] 81 | self.tokens.push(Loken::new(token_type, text, None, self.line)) [INFO] [stdout] | ^^^^^ use of undeclared type `Loken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/tokenizer/fireflytokenizer.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Tokenizer { [INFO] [stdout] | - similarly named type parameter `F` defined here [INFO] [stdout] ... [INFO] [stdout] 9 | tokens: Vec>, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: a type parameter with a similar name exists [INFO] [stdout] | [INFO] [stdout] 9 | tokens: Vec>, [INFO] [stdout] | ~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Tokenizer { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `F` in this scope [INFO] [stdout] --> src/tokenizer/fireflytokenizer.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | impl Tokenizer { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 12 | impl Tokenizer { [INFO] [stdout] | ~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 12 | impl Tokenizer { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `tokenize` in this scope [INFO] [stdout] --> src/tokenizer/fireflytokenizer.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | let tokens = tokenize(&source); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `value` in this scope [INFO] [stdout] --> src/tokenizer/fireflytokenizer.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | value = current; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `value` in this scope [INFO] [stdout] --> src/tokenizer/fireflytokenizer.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | value [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `isAtEnd` in this scope [INFO] [stdout] --> src/tokenizer/fireflytokenizer.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | if !isAtEnd() { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found built-in attribute `start` [INFO] [stdout] --> src/tokenizer/fireflytokenizer.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | start = self.current; [INFO] [stdout] | ^^^^^ help: you might have meant to use the available field: `self.start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `scanTokens` in this scope [INFO] [stdout] --> src/tokenizer/fireflytokenizer.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | scanTokens() [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found macro `line` [INFO] [stdout] --> src/tokenizer/fireflytokenizer.rs:37:43 [INFO] [stdout] | [INFO] [stdout] 37 | ... None, line)); [INFO] [stdout] | ^^^^ help: you might have meant to use the available field: `self.line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `advance` in this scope [INFO] [stdout] --> src/tokenizer/fireflytokenizer.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | let c = advance(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `check` in this scope [INFO] [stdout] --> src/tokenizer/fireflytokenizer.rs:55:31 [INFO] [stdout] | [INFO] [stdout] 55 | self.addToken(check()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `F` in this scope [INFO] [stdout] --> src/tokenizer/fireflytokenizer.rs:87:29 [INFO] [stdout] | [INFO] [stdout] 87 | impl Iterator for Tokenizer { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 87 | impl Iterator for Tokenizer { [INFO] [stdout] | ~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 87 | impl Iterator for Tokenizer { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/tokenizer/fireflytokenizer.rs:88:23 [INFO] [stdout] | [INFO] [stdout] 87 | impl Iterator for Tokenizer { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 88 | type Item = Token; [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/tokenizer/token.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Token { [INFO] [stdout] | - ^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/tokenizer/token.rs:12:71 [INFO] [stdout] | [INFO] [stdout] 11 | impl Token { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 12 | pub fn new(token_type: TokenType, lexeme: String, literal: Option, line: u16) -> Self { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/tokenizer/token.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | impl ToString for Token { [INFO] [stdout] | - ^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LEFT_PAREN` should have an upper camel case name [INFO] [stdout] --> src/tokenizer/token.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | LEFT_PAREN, RIGHT_PAREN, LEFT_BRACE, RIGHT_BRACE, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LeftParen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RIGHT_PAREN` should have an upper camel case name [INFO] [stdout] --> src/tokenizer/token.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | LEFT_PAREN, RIGHT_PAREN, LEFT_BRACE, RIGHT_BRACE, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RightParen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LEFT_BRACE` should have an upper camel case name [INFO] [stdout] --> src/tokenizer/token.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | LEFT_PAREN, RIGHT_PAREN, LEFT_BRACE, RIGHT_BRACE, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LeftBrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RIGHT_BRACE` should have an upper camel case name [INFO] [stdout] --> src/tokenizer/token.rs:26:42 [INFO] [stdout] | [INFO] [stdout] 26 | LEFT_PAREN, RIGHT_PAREN, LEFT_BRACE, RIGHT_BRACE, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RightBrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BANG_EQUAL` should have an upper camel case name [INFO] [stdout] --> src/tokenizer/token.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | BANG, BANG_EQUAL, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `BangEqual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EQUAL_EQUAL` should have an upper camel case name [INFO] [stdout] --> src/tokenizer/token.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | EQUAL, EQUAL_EQUAL, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `EqualEqual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GREATER_EQUAL` should have an upper camel case name [INFO] [stdout] --> src/tokenizer/token.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | GREATER, GREATER_EQUAL, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GreaterEqual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LESS_EQUAL` should have an upper camel case name [INFO] [stdout] --> src/tokenizer/token.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | LESS, LESS_EQUAL, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LessEqual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Tokenizer` [INFO] [stdout] --> src/main.rs:47:38 [INFO] [stdout] | [INFO] [stdout] 47 | let tokenizer: fireflytokenizer::Tokenizer = fireflytokenizer::Tokenizer::new(source); [INFO] [stdout] | ^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `F` [INFO] [stdout] --> src/tokenizer/fireflytokenizer.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Tokenizer { [INFO] [stdout] | ^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 47 | let tokenizer: fireflytokenizer::Tokenizer = fireflytokenizer::Tokenizer::new(source); [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `firefly` due to 21 previous errors; 8 warnings emitted [INFO] [stdout] error: aborting due to 20 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0423, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "67efe104c25f12c93e179e1abeb81d741c71cd8a2d1e78e182a331b071d4b257", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67efe104c25f12c93e179e1abeb81d741c71cd8a2d1e78e182a331b071d4b257", kill_on_drop: false }` [INFO] [stdout] 67efe104c25f12c93e179e1abeb81d741c71cd8a2d1e78e182a331b071d4b257