[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] testing PoshanTyagi/xlang against beta-2023-04-20 for beta-1.70-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPoshanTyagi%2Fxlang" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/PoshanTyagi/xlang on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "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-0-tc2/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" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 581c33bac99084c5d752c6eac5365ffe90579d16003e34242052f188a4eea8ba
[INFO] running `Command { std: "docker" "start" "-a" "581c33bac99084c5d752c6eac5365ffe90579d16003e34242052f188a4eea8ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "581c33bac99084c5d752c6eac5365ffe90579d16003e34242052f188a4eea8ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "581c33bac99084c5d752c6eac5365ffe90579d16003e34242052f188a4eea8ba", kill_on_drop: false }`
[INFO] [stdout] 581c33bac99084c5d752c6eac5365ffe90579d16003e34242052f188a4eea8ba
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cd557af568e1da80c92ac0372a8ed4815e9fde37e6f3db2e184779abfeb9d130
[INFO] running `Command { std: "docker" "start" "-a" "cd557af568e1da80c92ac0372a8ed4815e9fde37e6f3db2e184779abfeb9d130", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling 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] 
[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] 
[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] 
[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 `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: 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<Token>,
[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<Token> {
[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<Token>) -> Result<Parser, String> {
[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<Token> 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: 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") due to 33 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "cd557af568e1da80c92ac0372a8ed4815e9fde37e6f3db2e184779abfeb9d130", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cd557af568e1da80c92ac0372a8ed4815e9fde37e6f3db2e184779abfeb9d130", kill_on_drop: false }`
[INFO] [stdout] cd557af568e1da80c92ac0372a8ed4815e9fde37e6f3db2e184779abfeb9d130
