[INFO] cloning repository https://github.com/edhubbard1994/letscript [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/edhubbard1994/letscript" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedhubbard1994%2Fletscript", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedhubbard1994%2Fletscript'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8cd88a4ef4df1b3170ba4c8d382d81b0130353f1 [INFO] checking edhubbard1994/letscript/8cd88a4ef4df1b3170ba4c8d382d81b0130353f1 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedhubbard1994%2Fletscript" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/edhubbard1994/letscript on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/edhubbard1994/letscript [INFO] finished tweaking git repo https://github.com/edhubbard1994/letscript [INFO] tweaked toml for git repo https://github.com/edhubbard1994/letscript written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/edhubbard1994/letscript 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef7f0aa9f4879d99f413cf1e1c17905cda63fdd8d62d500ff51cd0310973d5b6 [INFO] running `Command { std: "docker" "start" "-a" "ef7f0aa9f4879d99f413cf1e1c17905cda63fdd8d62d500ff51cd0310973d5b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef7f0aa9f4879d99f413cf1e1c17905cda63fdd8d62d500ff51cd0310973d5b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef7f0aa9f4879d99f413cf1e1c17905cda63fdd8d62d500ff51cd0310973d5b6", kill_on_drop: false }` [INFO] [stdout] ef7f0aa9f4879d99f413cf1e1c17905cda63fdd8d62d500ff51cd0310973d5b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8afc11aa95378023b2e370002c869e58f256c3277a0266401a28e142f1048309 [INFO] running `Command { std: "docker" "start" "-a" "8afc11aa95378023b2e370002c869e58f256c3277a0266401a28e142f1048309", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking cpufeatures v0.2.5 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking uwl v0.6.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Checking interp v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/test_expr.rs (6 fixes) [INFO] [stderr] Fixed src/parser.rs (12 fixes) [INFO] [stderr] Fixed src/test_ast.rs (1 fix) [INFO] [stderr] Fixed src/test_parser.rs (4 fixes) [INFO] [stderr] Fixed src/ast.rs (3 fixes) [INFO] [stdout] warning: unused variable: `undef_regx` [INFO] [stdout] --> src/expr.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | let undef_regx = Regex::new(r"^undefined$").unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_undef_regx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `expr` is never read [INFO] [stdout] --> src/expr.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | let mut expr = LSExpr::Undefined; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/parser.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let block = Vec::::new(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current` [INFO] [stdout] --> src/parser.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let current = token.next(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sym` [INFO] [stdout] --> src/parser.rs:357:26 [INFO] [stdout] | [INFO] [stdout] 357 | Some(sym) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sym` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_token` [INFO] [stdout] --> src/parser.rs:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | current_token: &'a Token, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/parser.rs:512:9 [INFO] [stdout] | [INFO] [stdout] 503 | TokenType::Equals => 252, [INFO] [stdout] | ----------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 512 | TokenType::Equals => 250, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | fn parse_args(args: Vec) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let args: Vec = env::args().collect(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pasrsed_tokens` [INFO] [stdout] --> src/main.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let pasrsed_tokens = parser::parse(&mut tokens); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pasrsed_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_args` is never used [INFO] [stdout] --> src/main.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn parse_args(args: Vec) {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Object` and `Function` are never constructed [INFO] [stdout] --> src/ast.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum SymbolType { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | Object(BTreeMap), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | Array(Vec), [INFO] [stdout] 23 | Function(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SymbolType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionSymbolArgs` is never constructed [INFO] [stdout] --> src/ast.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct FunctionSymbolArgs { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionSymbolArgs` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ObjectSymbolArgs` is never constructed [INFO] [stdout] --> src/ast.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct ObjectSymbolArgs { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObjectSymbolArgs` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ArraySymbolArgs` is never constructed [INFO] [stdout] --> src/ast.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct ArraySymbolArgs { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArraySymbolArgs` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push` and `pop` are never used [INFO] [stdout] --> src/ast.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl CALL_STACK { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 62 | pub fn push(&self, scope: Scope) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn pop(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/expr.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum LSExpr { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | SubtractF64I32(f64, i32), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | ModF64I32(f64, i32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | Equal(bool, bool), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 33 | NotEqual(bool, bool), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 34 | Gt(bool, bool), [INFO] [stdout] | ^^ [INFO] [stdout] 35 | Lt(bool, bool), [INFO] [stdout] | ^^ [INFO] [stdout] 36 | Gte(bool, bool), [INFO] [stdout] | ^^^ [INFO] [stdout] 37 | Lte(bool, bool), [INFO] [stdout] | ^^^ [INFO] [stdout] 38 | EqualI32(i32, i32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 39 | NotEqualI32(i32, i32), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 40 | GtI32(i32, i32), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | LtI32(i32, i32), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 42 | GteI32(i32, i32), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 43 | LteI32(i32, i32), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 44 | EqualF64(f64, f64), [INFO] [stdout] 45 | NotEqualF64(f64, f64), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LSExpr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cast_to_int` is never used [INFO] [stdout] --> src/expr.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 53 | impl LSExpr { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 136 | fn cast_to_int(&self) -> LSExpr { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_assignment` is never used [INFO] [stdout] --> src/parser.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn parse_assignment(tokens: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_block` is never used [INFO] [stdout] --> src/parser.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn parse_block(tokens: Vec) -> ast::SymbolType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_expression` is never used [INFO] [stdout] --> src/parser.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn parse_expression(expr: &mut Vec) -> ast::SymbolType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_string` is never used [INFO] [stdout] --> src/parser.rs:232:4 [INFO] [stdout] | [INFO] [stdout] 232 | fn parse_string(tokens: Vec) -> ast::SymbolType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_array` is never used [INFO] [stdout] --> src/parser.rs:267:4 [INFO] [stdout] | [INFO] [stdout] 267 | fn parse_array(tokens: Vec) -> ast::SymbolType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_object` is never used [INFO] [stdout] --> src/parser.rs:309:4 [INFO] [stdout] | [INFO] [stdout] 309 | fn parse_object(tokens: Vec) -> ast::SymbolType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_expression_tokens` is never used [INFO] [stdout] --> src/parser.rs:382:8 [INFO] [stdout] | [INFO] [stdout] 382 | pub fn collect_expression_tokens<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_number_sign_helper` is never used [INFO] [stdout] --> src/parser.rs:408:8 [INFO] [stdout] | [INFO] [stdout] 408 | pub fn find_number_sign_helper(mut itr: std::vec::IntoIter) -> Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expr_type_factory` is never used [INFO] [stdout] --> src/parser.rs:517:8 [INFO] [stdout] | [INFO] [stdout] 517 | pub fn expr_type_factory(mut itr: vec::IntoIter) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_resolve_unary_operators_4` is never used [INFO] [stdout] --> src/test_parser.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn test_resolve_unary_operators_4() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Period`, `Object`, and `TokenError` are never constructed [INFO] [stdout] --> src/token.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum TokenType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 30 | Period, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | Object, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | TokenError, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_regex_token` is never used [INFO] [stdout] --> src/tokenizer.rs:208:4 [INFO] [stdout] | [INFO] [stdout] 208 | fn generate_regex_token( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `tokenize` in this scope [INFO] [stdout] --> src/test_expr.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | let tokens = tokenize(&mut input); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::tokenizer::tokenize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/test_expr.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | TokenType::Literal => println!("TOKEN:{:?}", t.clone().tok_value.unwrap().s_val), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::token::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `operate` in this scope [INFO] [stdout] --> src/test_expr.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | let result = operate(tokens[0].clone(), tokens[2].clone(), tokens[1].clone()); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::expr::operate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `tokenize` in this scope [INFO] [stdout] --> src/test_expr.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | let tokens = tokenize(&mut input); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::tokenizer::tokenize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/test_expr.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | TokenType::Literal => println!("TOKEN:{:?}", t.clone().tok_value.unwrap().s_val), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::token::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `operate` in this scope [INFO] [stdout] --> src/test_expr.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | let result = operate(tokens[0].clone(), tokens[2].clone(), tokens[1].clone()); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::expr::operate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `tokenize` in this scope [INFO] [stdout] --> src/test_expr.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | let tokens = tokenize(&mut input); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::tokenizer::tokenize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/test_expr.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | TokenType::Literal => println!("TOKEN:{:?}", t.clone().tok_value.unwrap().s_val), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::token::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `operate` in this scope [INFO] [stdout] --> src/test_expr.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | let result = operate(tokens[0].clone(), tokens[2].clone(), tokens[1].clone()); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::expr::operate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `tokenize` in this scope [INFO] [stdout] --> src/test_expr.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | let tokens = tokenize(&mut input); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::tokenizer::tokenize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/test_expr.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | TokenType::Literal => println!("TOKEN:{:?}", t.clone().tok_value.unwrap().s_val), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::token::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `operate` in this scope [INFO] [stdout] --> src/test_expr.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | let result = operate(tokens[0].clone(), tokens[2].clone(), tokens[1].clone()); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::expr::operate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `tokenize` in this scope [INFO] [stdout] --> src/test_expr.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | let tokens = tokenize(&mut input); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::tokenizer::tokenize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/test_expr.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | TokenType::Literal => println!("TOKEN:{:?}", t.clone().tok_value.unwrap().s_val), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::token::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `operate` in this scope [INFO] [stdout] --> src/test_expr.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | let result = operate(tokens[0].clone(), tokens[2].clone(), tokens[1].clone()); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::expr::operate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `tokenize` in this scope [INFO] [stdout] --> src/test_expr.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | let tokens = tokenize(&mut input); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::tokenizer::tokenize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/test_expr.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | TokenType::Literal => println!("TOKEN:{:?}", t.clone().tok_value.unwrap().s_val), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::token::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `operate` in this scope [INFO] [stdout] --> src/test_expr.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | let result = operate(tokens[0].clone(), tokens[2].clone(), tokens[1].clone()); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::expr::operate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `tokenize` in this scope [INFO] [stdout] --> src/test_expr.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 83 | let tokens = tokenize(&mut input); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::tokenizer::tokenize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/test_expr.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | TokenType::Literal => println!("TOKEN:{:?}", t.clone().tok_value.unwrap().s_val), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::token::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `operate` in this scope [INFO] [stdout] --> src/test_expr.rs:88:18 [INFO] [stdout] | [INFO] [stdout] 88 | let result = operate(tokens[0].clone(), tokens[2].clone(), tokens[1].clone()); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::expr::operate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `collect_expression_tokens` in this scope [INFO] [stdout] --> src/test_parser.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | let collected = collect_expression_tokens(current, &mut tokens.iter()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::collect_expression_tokens; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `infix_to_postfix` in this scope [INFO] [stdout] --> src/test_parser.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | let postfix = infix_to_postfix(tokens); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::infix_to_postfix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `infix_to_postfix` in this scope [INFO] [stdout] --> src/test_parser.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | let postfix = infix_to_postfix(tokens); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::infix_to_postfix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `infix_to_postfix` in this scope [INFO] [stdout] --> src/test_parser.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | let mut postfix = infix_to_postfix(tokens); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::infix_to_postfix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval_expression` in this scope [INFO] [stdout] --> src/test_parser.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 105 | let evaled = eval_expression(&mut postfix); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::eval_expression; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `infix_to_postfix` in this scope [INFO] [stdout] --> src/test_parser.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let mut postfix = infix_to_postfix(tokens); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::infix_to_postfix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval_expression` in this scope [INFO] [stdout] --> src/test_parser.rs:122:18 [INFO] [stdout] | [INFO] [stdout] 122 | let evaled = eval_expression(&mut postfix); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::eval_expression; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `infix_to_postfix` in this scope [INFO] [stdout] --> src/test_parser.rs:138:23 [INFO] [stdout] | [INFO] [stdout] 138 | let mut postfix = infix_to_postfix(tokens); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::infix_to_postfix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval_expression` in this scope [INFO] [stdout] --> src/test_parser.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 139 | let evaled = eval_expression(&mut postfix); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::eval_expression; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `infix_to_postfix` in this scope [INFO] [stdout] --> src/test_parser.rs:155:23 [INFO] [stdout] | [INFO] [stdout] 155 | let mut postfix = infix_to_postfix(tokens); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::infix_to_postfix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval_expression` in this scope [INFO] [stdout] --> src/test_parser.rs:156:18 [INFO] [stdout] | [INFO] [stdout] 156 | let evaled = eval_expression(&mut postfix); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::eval_expression; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `infix_to_postfix` in this scope [INFO] [stdout] --> src/test_parser.rs:175:23 [INFO] [stdout] | [INFO] [stdout] 175 | let mut postfix = infix_to_postfix(tokens); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::infix_to_postfix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval_expression` in this scope [INFO] [stdout] --> src/test_parser.rs:176:18 [INFO] [stdout] | [INFO] [stdout] 176 | let evaled = eval_expression(&mut postfix); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::eval_expression; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `infix_to_postfix` in this scope [INFO] [stdout] --> src/test_parser.rs:192:23 [INFO] [stdout] | [INFO] [stdout] 192 | let mut postfix = infix_to_postfix(tokens); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::infix_to_postfix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval_expression` in this scope [INFO] [stdout] --> src/test_parser.rs:193:18 [INFO] [stdout] | [INFO] [stdout] 193 | let evaled = eval_expression(&mut postfix); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::eval_expression; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `infix_to_postfix` in this scope [INFO] [stdout] --> src/test_parser.rs:209:23 [INFO] [stdout] | [INFO] [stdout] 209 | let mut postfix = infix_to_postfix(tokens); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::infix_to_postfix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval_expression` in this scope [INFO] [stdout] --> src/test_parser.rs:210:18 [INFO] [stdout] | [INFO] [stdout] 210 | let evaled = eval_expression(&mut postfix); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::eval_expression; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `infix_to_postfix` in this scope [INFO] [stdout] --> src/test_parser.rs:226:23 [INFO] [stdout] | [INFO] [stdout] 226 | let mut postfix = infix_to_postfix(tokens); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::infix_to_postfix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval_expression` in this scope [INFO] [stdout] --> src/test_parser.rs:227:18 [INFO] [stdout] | [INFO] [stdout] 227 | let evaled = eval_expression(&mut postfix); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::eval_expression; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_logical_iter` in this scope [INFO] [stdout] --> src/test_parser.rs:247:14 [INFO] [stdout] | [INFO] [stdout] 247 | (x, y) = parse_logical_iter(Box::new(tokens.peekable())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::parse_logical_iter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `undef_regx` [INFO] [stdout] --> src/expr.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | let undef_regx = Regex::new(r"^undefined$").unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_undef_regx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `expr` is never read [INFO] [stdout] --> src/expr.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | let mut expr = LSExpr::Undefined; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/parser.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let block = Vec::::new(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current` [INFO] [stdout] --> src/parser.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let current = token.next(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sym` [INFO] [stdout] --> src/parser.rs:357:26 [INFO] [stdout] | [INFO] [stdout] 357 | Some(sym) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sym` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_token` [INFO] [stdout] --> src/parser.rs:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | current_token: &'a Token, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/parser.rs:512:9 [INFO] [stdout] | [INFO] [stdout] 503 | TokenType::Equals => 252, [INFO] [stdout] | ----------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 512 | TokenType::Equals => 250, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | fn parse_args(args: Vec) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let args: Vec = env::args().collect(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pasrsed_tokens` [INFO] [stdout] --> src/main.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let pasrsed_tokens = parser::parse(&mut tokens); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pasrsed_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 41 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `interp` (bin "interp" test) due to 42 previous errors; 10 warnings emitted [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "8afc11aa95378023b2e370002c869e58f256c3277a0266401a28e142f1048309", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8afc11aa95378023b2e370002c869e58f256c3277a0266401a28e142f1048309", kill_on_drop: false }` [INFO] [stdout] 8afc11aa95378023b2e370002c869e58f256c3277a0266401a28e142f1048309