[INFO] cloning repository https://github.com/dianfeng-junguan/gmsCompiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dianfeng-junguan/gmsCompiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdianfeng-junguan%2FgmsCompiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdianfeng-junguan%2FgmsCompiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c39fb26f60c71426f2c3ec40fb1317edd42a2a1e [INFO] checking dianfeng-junguan/gmsCompiler against try#b6bca0d7327839b5e3f7a7779947cb9113d08917+rustflags=-Zstrict-projection-item-bounds for 150662-leaf [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdianfeng-junguan%2FgmsCompiler" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dianfeng-junguan/gmsCompiler [INFO] finished tweaking git repo https://github.com/dianfeng-junguan/gmsCompiler [INFO] tweaked toml for git repo https://github.com/dianfeng-junguan/gmsCompiler written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dianfeng-junguan/gmsCompiler on toolchain b6bca0d7327839b5e3f7a7779947cb9113d08917 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6bca0d7327839b5e3f7a7779947cb9113d08917" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dianfeng-junguan/gmsCompiler 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" "+b6bca0d7327839b5e3f7a7779947cb9113d08917" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.104 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b6bca0d7327839b5e3f7a7779947cb9113d08917" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69942fff11c7556576ca38f3400bc6ff8db8ca97c7cb8b6a7d2b858113fdf50e [INFO] running `Command { std: "docker" "start" "-a" "69942fff11c7556576ca38f3400bc6ff8db8ca97c7cb8b6a7d2b858113fdf50e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69942fff11c7556576ca38f3400bc6ff8db8ca97c7cb8b6a7d2b858113fdf50e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69942fff11c7556576ca38f3400bc6ff8db8ca97c7cb8b6a7d2b858113fdf50e", kill_on_drop: false }` [INFO] [stdout] 69942fff11c7556576ca38f3400bc6ff8db8ca97c7cb8b6a7d2b858113fdf50e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=forbid -Zstrict-projection-item-bounds" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b6bca0d7327839b5e3f7a7779947cb9113d08917" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2f785306cf649735687b2c1ef5594735e847e1b2d3b45dd842bffe078c985fe [INFO] running `Command { std: "docker" "start" "-a" "d2f785306cf649735687b2c1ef5594735e847e1b2d3b45dd842bffe078c985fe", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.104 [INFO] [stderr] Checking clap_builder v4.5.53 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Checking clap v4.5.53 [INFO] [stderr] Checking lexer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot find `macos` in `os` [INFO] [stdout] --> src/parser.rs:2:83 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::{self, BTreeMap, HashMap}, fmt::Debug, iter::Peekable, os::macos::raw::stat, sync::{Arc, LazyLock, Mutex}, vec}; [INFO] [stdout] | ^^^^^ could not find `macos` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/b6bca0d7327839b5e3f7a7779947cb9113d08917/library/std/src/os/mod.rs:156:6 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated behind the `macos` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `macos` in `os` [INFO] [stdout] --> src/parser.rs:2:83 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::{self, BTreeMap, HashMap}, fmt::Debug, iter::Peekable, os::macos::raw::stat, sync::{Arc, LazyLock, Mutex}, vec}; [INFO] [stdout] | ^^^^^ could not find `macos` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/b6bca0d7327839b5e3f7a7779947cb9113d08917/library/std/src/os/mod.rs:156:6 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated behind the `macos` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ptr::read` [INFO] [stdout] --> src/main.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs::OpenOptions, io::Read, ptr::read}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `HashMap`, `Mutex`, and `self` [INFO] [stdout] --> src/parser.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::{self, BTreeMap, HashMap}, fmt::Debug, iter::Peekable, os::macos::raw::stat, sync::{Arc, LazyLock, Mutex}, vec}; [INFO] [stdout] | ^^^^ ^^^^^^^ ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/parser.rs:4:50 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{errs::{ERR_PARSER, cry_err}, lexer::{self, ConstantType, KeywordType, OperatorType, SeparatorType, Token, TokenType}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::BTreeMap` and `ops` [INFO] [stdout] --> src/intercode.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::BTreeMap, fmt::Debug, ops, sync::Mutex, vec}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `defs::get_vartype_size` [INFO] [stdout] --> src/intercode.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{defs::get_vartype_size, errs::{ERR_INTERCODER, cry_err}, parser::{ASTNode, ExprNode, ExprNodeType, FunctionNode, Statemen... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ptr::read` [INFO] [stdout] --> src/main.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs::OpenOptions, io::Read, ptr::read}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `HashMap`, `Mutex`, and `self` [INFO] [stdout] --> src/parser.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::{self, BTreeMap, HashMap}, fmt::Debug, iter::Peekable, os::macos::raw::stat, sync::{Arc, LazyLock, Mutex}, vec}; [INFO] [stdout] | ^^^^ ^^^^^^^ ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::BTreeMap` and `ops` [INFO] [stdout] --> src/intercode.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::BTreeMap, fmt::Debug, ops, sync::Mutex, vec}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `defs::get_vartype_size` [INFO] [stdout] --> src/intercode.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{defs::get_vartype_size, errs::{ERR_INTERCODER, cry_err}, parser::{ASTNode, ExprNode, ExprNodeType, FunctionNode, Statemen... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/parser.rs:227:51 [INFO] [stdout] | [INFO] [stdout] 227 | (TokenType::Separator(SeparatorType::Comma), |token, tokiter|{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokiter` [INFO] [stdout] --> src/parser.rs:227:58 [INFO] [stdout] | [INFO] [stdout] 227 | (TokenType::Separator(SeparatorType::Comma), |token, tokiter|{ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokiter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/parser.rs:227:51 [INFO] [stdout] | [INFO] [stdout] 227 | (TokenType::Separator(SeparatorType::Comma), |token, tokiter|{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokiter` [INFO] [stdout] --> src/parser.rs:227:58 [INFO] [stdout] | [INFO] [stdout] 227 | (TokenType::Separator(SeparatorType::Comma), |token, tokiter|{ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokiter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kwenum` [INFO] [stdout] --> src/lexer.rs:186:67 [INFO] [stdout] | [INFO] [stdout] 186 | if let Some((kwenum, kwstr)) = KEYWORDS.iter().find(|(kwenum,kwstr)| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_kwenum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `openum` [INFO] [stdout] --> src/lexer.rs:208:68 [INFO] [stdout] | [INFO] [stdout] 208 | if let Some((openum, opstr)) = OPERATORS.iter().find(|(openum,opstr)| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_openum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sepenum` [INFO] [stdout] --> src/lexer.rs:222:71 [INFO] [stdout] | [INFO] [stdout] 222 | if let Some((sepenum, sepstr)) = SEPARATORS.iter().find(|(sepenum,sepstr)| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sepenum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> src/parser.rs:60:37 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn value_node(token:&Token, tokens:&mut Peekable>)->Self{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/parser.rs:69:23 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn minus_node(token:&Token, tokens:&mut Peekable>)->Self{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/parser.rs:79:30 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn left_paren_prefix(token:&Token, tokens:&mut Peekable>)->Self{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/parser.rs:90:31 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn right_paren_prefix(token:&Token, tokens:&mut Peekable>)->Self{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> src/parser.rs:90:45 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn right_paren_prefix(token:&Token, tokens:&mut Peekable>)->Self{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left` [INFO] [stdout] --> src/parser.rs:152:30 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn right_paren_infix(left:ExprNode, tokens:&mut Peekable>)->Self{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> src/parser.rs:152:45 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn right_paren_infix(left:ExprNode, tokens:&mut Peekable>)->Self{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handler` [INFO] [stdout] --> src/parser.rs:318:46 [INFO] [stdout] | [INFO] [stdout] 318 | if PREFIX_HANDLERS.iter().find(|(toktype,handler)| *toktype==&lefttoken.kind).is_none() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kwenum` [INFO] [stdout] --> src/lexer.rs:186:67 [INFO] [stdout] | [INFO] [stdout] 186 | if let Some((kwenum, kwstr)) = KEYWORDS.iter().find(|(kwenum,kwstr)| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_kwenum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `openum` [INFO] [stdout] --> src/lexer.rs:208:68 [INFO] [stdout] | [INFO] [stdout] 208 | if let Some((openum, opstr)) = OPERATORS.iter().find(|(openum,opstr)| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_openum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sepenum` [INFO] [stdout] --> src/lexer.rs:222:71 [INFO] [stdout] | [INFO] [stdout] 222 | if let Some((sepenum, sepstr)) = SEPARATORS.iter().find(|(sepenum,sepstr)| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sepenum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> src/parser.rs:60:37 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn value_node(token:&Token, tokens:&mut Peekable>)->Self{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/parser.rs:69:23 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn minus_node(token:&Token, tokens:&mut Peekable>)->Self{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/parser.rs:79:30 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn left_paren_prefix(token:&Token, tokens:&mut Peekable>)->Self{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/parser.rs:90:31 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn right_paren_prefix(token:&Token, tokens:&mut Peekable>)->Self{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> src/parser.rs:90:45 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn right_paren_prefix(token:&Token, tokens:&mut Peekable>)->Self{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left` [INFO] [stdout] --> src/parser.rs:152:30 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn right_paren_infix(left:ExprNode, tokens:&mut Peekable>)->Self{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> src/parser.rs:152:45 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn right_paren_infix(left:ExprNode, tokens:&mut Peekable>)->Self{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elseifkw` [INFO] [stdout] --> src/parser.rs:704:9 [INFO] [stdout] | [INFO] [stdout] 704 | let elseifkw=scan_token(TokenType::Keyword(KeywordType::Else), &mut backupiter); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elseifkw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handler` [INFO] [stdout] --> src/parser.rs:318:46 [INFO] [stdout] | [INFO] [stdout] 318 | if PREFIX_HANDLERS.iter().find(|(toktype,handler)| *toktype==&lefttoken.kind).is_none() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elseifkw` [INFO] [stdout] --> src/parser.rs:704:9 [INFO] [stdout] | [INFO] [stdout] 704 | let elseifkw=scan_token(TokenType::Keyword(KeywordType::Else), &mut backupiter); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elseifkw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/intercode.rs:534:9 [INFO] [stdout] | [INFO] [stdout] 534 | _=>{} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/intercode.rs:534:9 [INFO] [stdout] | [INFO] [stdout] 393 | StatementType::Definition=>{ [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 413 | StatementType::Assign=>{ [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 426 | StatementType::SingleExpr=>{ [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 436 | StatementType::If=>{ [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 534 | _=>{} [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr_tmpnum` [INFO] [stdout] --> src/intercode.rs:415:40 [INFO] [stdout] | [INFO] [stdout] 415 | let (expr_codes, expr_var, expr_tmpnum)=translate_expr(&stmt.expr, alloced_tmpvar_num + tmpnamec)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expr_tmpnum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr_tmpnum` [INFO] [stdout] --> src/intercode.rs:428:40 [INFO] [stdout] | [INFO] [stdout] 428 | let (expr_codes, expr_var, expr_tmpnum)=translate_expr(&stmt.expr, alloced_tmpvar_num + tmpnamec)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expr_tmpnum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statements` [INFO] [stdout] --> src/intercode.rs:610:9 [INFO] [stdout] | [INFO] [stdout] 610 | let statements=&funcnode.stmts; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statements` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/intercode.rs:642:9 [INFO] [stdout] | [INFO] [stdout] 642 | let mut symbols:Vec=Vec::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/intercode.rs:534:9 [INFO] [stdout] | [INFO] [stdout] 534 | _=>{} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/intercode.rs:534:9 [INFO] [stdout] | [INFO] [stdout] 393 | StatementType::Definition=>{ [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 413 | StatementType::Assign=>{ [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 426 | StatementType::SingleExpr=>{ [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 436 | StatementType::If=>{ [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 534 | _=>{} [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr_tmpnum` [INFO] [stdout] --> src/intercode.rs:415:40 [INFO] [stdout] | [INFO] [stdout] 415 | let (expr_codes, expr_var, expr_tmpnum)=translate_expr(&stmt.expr, alloced_tmpvar_num + tmpnamec)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expr_tmpnum` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lexer` (bin "lexer") due to 1 previous error; 24 warnings emitted [INFO] [stdout] warning: unused variable: `expr_tmpnum` [INFO] [stdout] --> src/intercode.rs:428:40 [INFO] [stdout] | [INFO] [stdout] 428 | let (expr_codes, expr_var, expr_tmpnum)=translate_expr(&stmt.expr, alloced_tmpvar_num + tmpnamec)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expr_tmpnum` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `statements` [INFO] [stdout] --> src/intercode.rs:610:9 [INFO] [stdout] | [INFO] [stdout] 610 | let statements=&funcnode.stmts; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statements` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/intercode.rs:642:9 [INFO] [stdout] | [INFO] [stdout] 642 | let mut symbols:Vec=Vec::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lexer` (bin "lexer" test) due to 1 previous error; 23 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d2f785306cf649735687b2c1ef5594735e847e1b2d3b45dd842bffe078c985fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2f785306cf649735687b2c1ef5594735e847e1b2d3b45dd842bffe078c985fe", kill_on_drop: false }` [INFO] [stdout] d2f785306cf649735687b2c1ef5594735e847e1b2d3b45dd842bffe078c985fe