[INFO] cloning repository https://github.com/PoshanTyagi/xlang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PoshanTyagi/xlang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPoshanTyagi%2Fxlang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPoshanTyagi%2Fxlang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b3383ee05a1e94d40c5d9be131c791f0d82dd3aa [INFO] checking PoshanTyagi/xlang/b3383ee05a1e94d40c5d9be131c791f0d82dd3aa against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPoshanTyagi%2Fxlang" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PoshanTyagi/xlang on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/PoshanTyagi/xlang [INFO] finished tweaking git repo https://github.com/PoshanTyagi/xlang [INFO] tweaked toml for git repo https://github.com/PoshanTyagi/xlang written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/PoshanTyagi/xlang already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59c15a177844fc27cadb2e60a5ef5758a1a70ed7e29ff3bd99e3ac60b3fb49b6 [INFO] running `Command { std: "docker" "start" "-a" "59c15a177844fc27cadb2e60a5ef5758a1a70ed7e29ff3bd99e3ac60b3fb49b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59c15a177844fc27cadb2e60a5ef5758a1a70ed7e29ff3bd99e3ac60b3fb49b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59c15a177844fc27cadb2e60a5ef5758a1a70ed7e29ff3bd99e3ac60b3fb49b6", kill_on_drop: false }` [INFO] [stdout] 59c15a177844fc27cadb2e60a5ef5758a1a70ed7e29ff3bd99e3ac60b3fb49b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 879bdef9641b81c0094f2d941a7539bb6344a09f7d5abe7fc3217bf27d97af44 [INFO] running `Command { std: "docker" "start" "-a" "879bdef9641b81c0094f2d941a7539bb6344a09f7d5abe7fc3217bf27d97af44", kill_on_drop: false }` [INFO] [stderr] Checking xlang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `helper` [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod helper; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `helper`, create file "src/helper.rs" or "src/helper/mod.rs" [INFO] [stdout] = note: if there is a `mod helper` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `helper` [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod helper; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `helper`, create file "src/helper.rs" or "src/helper/mod.rs" [INFO] [stdout] = note: if there is a `mod helper` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `lexer` [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | mod lexer; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `lexer`, create file "src/lexer.rs" or "src/lexer/mod.rs" [INFO] [stdout] = note: if there is a `mod lexer` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `lexer` [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | mod lexer; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `lexer`, create file "src/lexer.rs" or "src/lexer/mod.rs" [INFO] [stdout] = note: if there is a `mod lexer` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `token` [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | mod token; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `token`, create file "src/token.rs" or "src/token/mod.rs" [INFO] [stdout] = note: if there is a `mod token` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `token` [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | mod token; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `token`, create file "src/token.rs" or "src/token/mod.rs" [INFO] [stdout] = note: if there is a `mod token` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Lexer` in `lexer` [INFO] [stdout] --> src/main.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | let mut lexer = lexer::Lexer::new(source); [INFO] [stdout] | ^^^^^ could not find `Lexer` in `lexer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> src/node.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | Number(Token), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> src/node.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | pub op: Token, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> src/node.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | pub op: Token, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> src/parser.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | tokens: Vec, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Parser { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> src/parser.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | current_token: Token, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> src/parser.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(tokens: &Vec) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 11 | impl Parser { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenType` in this scope [INFO] [stdout] --> src/parser.rs:45:37 [INFO] [stdout] | [INFO] [stdout] 45 | fn match_tokens(&self, types: &[TokenType]) -> bool { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenType` in this scope [INFO] [stdout] --> src/parser.rs:54:34 [INFO] [stdout] | [INFO] [stdout] 54 | fn check(&self, token_type: &TokenType) -> bool { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::token::*` [INFO] [stdout] --> src/node.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::token::*` [INFO] [stdout] --> src/parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Lexer` in `lexer` [INFO] [stdout] --> src/main.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | let mut lexer = lexer::Lexer::new(source); [INFO] [stdout] | ^^^^^ could not find `Lexer` in `lexer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> src/node.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | Number(Token), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> src/node.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | pub op: Token, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> src/node.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | pub op: Token, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> src/parser.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | tokens: Vec, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Parser { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> src/parser.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | current_token: Token, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> src/parser.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(tokens: &Vec) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 11 | impl Parser { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenType` in this scope [INFO] [stdout] --> src/parser.rs:45:37 [INFO] [stdout] | [INFO] [stdout] 45 | fn match_tokens(&self, types: &[TokenType]) -> bool { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenType` in this scope [INFO] [stdout] --> src/parser.rs:54:34 [INFO] [stdout] | [INFO] [stdout] 54 | fn check(&self, token_type: &TokenType) -> bool { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::token::*` [INFO] [stdout] --> src/node.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::token::*` [INFO] [stdout] --> src/parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/parser.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | self.current_token = Token::new(TokenType::NIL, Literal::NIL); [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/parser.rs:37:45 [INFO] [stdout] | [INFO] [stdout] 37 | self.current_token = Token::new(TokenType::NIL, Literal::NIL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Literal` [INFO] [stdout] --> src/parser.rs:37:61 [INFO] [stdout] | [INFO] [stdout] 37 | self.current_token = Token::new(TokenType::NIL, Literal::NIL); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Literal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/parser.rs:42:42 [INFO] [stdout] | [INFO] [stdout] 42 | self.current_token.token_type == TokenType::EOF [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/parser.rs:77:35 [INFO] [stdout] | [INFO] [stdout] 77 | while self.match_tokens(&[TokenType::NOT_EQUAL, TokenType::EQUAL_EQUAL]) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/parser.rs:77:57 [INFO] [stdout] | [INFO] [stdout] 77 | while self.match_tokens(&[TokenType::NOT_EQUAL, TokenType::EQUAL_EQUAL]) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/parser.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | TokenType::GREATER, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/parser.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | TokenType::GREATER_EQUAL, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/parser.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | TokenType::LESS, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/parser.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | TokenType::LESS_EQUAL, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/parser.rs:138:35 [INFO] [stdout] | [INFO] [stdout] 138 | while self.match_tokens(&[TokenType::MINUS, TokenType::PLUS]) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/parser.rs:138:53 [INFO] [stdout] | [INFO] [stdout] 138 | while self.match_tokens(&[TokenType::MINUS, TokenType::PLUS]) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/parser.rs:166:35 [INFO] [stdout] | [INFO] [stdout] 166 | while self.match_tokens(&[TokenType::SLASH, TokenType::STAR]) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/parser.rs:166:53 [INFO] [stdout] | [INFO] [stdout] 166 | while self.match_tokens(&[TokenType::SLASH, TokenType::STAR]) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/parser.rs:187:32 [INFO] [stdout] | [INFO] [stdout] 187 | if self.match_tokens(&[TokenType::MINUS, TokenType::PLUS]) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/parser.rs:187:50 [INFO] [stdout] | [INFO] [stdout] 187 | if self.match_tokens(&[TokenType::MINUS, TokenType::PLUS]) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/parser.rs:207:32 [INFO] [stdout] | [INFO] [stdout] 207 | if self.match_tokens(&[TokenType::INT, TokenType::FLOAT]) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/parser.rs:207:48 [INFO] [stdout] | [INFO] [stdout] 207 | if self.match_tokens(&[TokenType::INT, TokenType::FLOAT]) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/parser.rs:211:39 [INFO] [stdout] | [INFO] [stdout] 211 | } else if self.match_tokens(&[TokenType::LEFT_PAREN]) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/parser.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | self.current_token = Token::new(TokenType::NIL, Literal::NIL); [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/parser.rs:220:36 [INFO] [stdout] | [INFO] [stdout] 220 | if self.match_tokens(&[TokenType::RIGHT_PAREN]) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/parser.rs:37:45 [INFO] [stdout] | [INFO] [stdout] 37 | self.current_token = Token::new(TokenType::NIL, Literal::NIL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Literal` [INFO] [stdout] --> src/parser.rs:37:61 [INFO] [stdout] | [INFO] [stdout] 37 | self.current_token = Token::new(TokenType::NIL, Literal::NIL); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Literal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/parser.rs:42:42 [INFO] [stdout] | [INFO] [stdout] 42 | self.current_token.token_type == TokenType::EOF [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/parser.rs:77:35 [INFO] [stdout] | [INFO] [stdout] 77 | while self.match_tokens(&[TokenType::NOT_EQUAL, TokenType::EQUAL_EQUAL]) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/parser.rs:77:57 [INFO] [stdout] | [INFO] [stdout] 77 | while self.match_tokens(&[TokenType::NOT_EQUAL, TokenType::EQUAL_EQUAL]) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/parser.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | TokenType::GREATER, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/parser.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | TokenType::GREATER_EQUAL, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/parser.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | TokenType::LESS, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/parser.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | TokenType::LESS_EQUAL, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/parser.rs:138:35 [INFO] [stdout] | [INFO] [stdout] 138 | while self.match_tokens(&[TokenType::MINUS, TokenType::PLUS]) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/parser.rs:138:53 [INFO] [stdout] | [INFO] [stdout] 138 | while self.match_tokens(&[TokenType::MINUS, TokenType::PLUS]) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/parser.rs:166:35 [INFO] [stdout] | [INFO] [stdout] 166 | while self.match_tokens(&[TokenType::SLASH, TokenType::STAR]) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/parser.rs:166:53 [INFO] [stdout] | [INFO] [stdout] 166 | while self.match_tokens(&[TokenType::SLASH, TokenType::STAR]) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/parser.rs:187:32 [INFO] [stdout] | [INFO] [stdout] 187 | if self.match_tokens(&[TokenType::MINUS, TokenType::PLUS]) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/parser.rs:187:50 [INFO] [stdout] | [INFO] [stdout] 187 | if self.match_tokens(&[TokenType::MINUS, TokenType::PLUS]) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 32 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/parser.rs:207:32 [INFO] [stdout] | [INFO] [stdout] 207 | if self.match_tokens(&[TokenType::INT, TokenType::FLOAT]) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/parser.rs:207:48 [INFO] [stdout] | [INFO] [stdout] 207 | if self.match_tokens(&[TokenType::INT, TokenType::FLOAT]) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/parser.rs:211:39 [INFO] [stdout] | [INFO] [stdout] 211 | } else if self.match_tokens(&[TokenType::LEFT_PAREN]) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/parser.rs:220:36 [INFO] [stdout] | [INFO] [stdout] 220 | if self.match_tokens(&[TokenType::RIGHT_PAREN]) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `xlang` (bin "xlang") due to 33 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 32 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `xlang` (bin "xlang" test) due to 33 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "879bdef9641b81c0094f2d941a7539bb6344a09f7d5abe7fc3217bf27d97af44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "879bdef9641b81c0094f2d941a7539bb6344a09f7d5abe7fc3217bf27d97af44", kill_on_drop: false }` [INFO] [stdout] 879bdef9641b81c0094f2d941a7539bb6344a09f7d5abe7fc3217bf27d97af44