[INFO] cloning repository https://github.com/richwandell/rustjs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/richwandell/rustjs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frichwandell%2Frustjs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frichwandell%2Frustjs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 92be9a78e780627f81a388cb276a9fbb75bbe742 [INFO] checking richwandell/rustjs against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frichwandell%2Frustjs" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/richwandell/rustjs on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/richwandell/rustjs [INFO] finished tweaking git repo https://github.com/richwandell/rustjs [INFO] tweaked toml for git repo https://github.com/richwandell/rustjs written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/richwandell/rustjs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bytebuffer v0.2.1 [INFO] [stderr] Downloaded byteorder v0.3.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fbb5ae99bf2089c7f7bb4b84bbdc0a3b37cd324282df9accd141bdb22d961e41 [INFO] running `Command { std: "docker" "start" "-a" "fbb5ae99bf2089c7f7bb4b84bbdc0a3b37cd324282df9accd141bdb22d961e41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fbb5ae99bf2089c7f7bb4b84bbdc0a3b37cd324282df9accd141bdb22d961e41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbb5ae99bf2089c7f7bb4b84bbdc0a3b37cd324282df9accd141bdb22d961e41", kill_on_drop: false }` [INFO] [stdout] fbb5ae99bf2089c7f7bb4b84bbdc0a3b37cd324282df9accd141bdb22d961e41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4f96f1d25ec1eeb9119bba2f9e1e469b01b402225ea4e7cc179af119c8e1b5c [INFO] running `Command { std: "docker" "start" "-a" "c4f96f1d25ec1eeb9119bba2f9e1e469b01b402225ea4e7cc179af119c8e1b5c", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking byteorder v0.3.13 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking bytebuffer v0.2.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rustjs v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/vm/tests/functions.rs (6 fixes) [INFO] [stderr] Fixed src/vm/tests/if_statements.rs (6 fixes) [INFO] [stderr] Fixed src/lexer/line_char_iterator.rs (1 fix) [INFO] [stderr] Fixed src/vm/tests/for_loop.rs (6 fixes) [INFO] [stderr] Fixed src/compiler/tests/for_statements.rs (5 fixes) [INFO] [stderr] Fixed src/vm/tests/objects.rs (6 fixes) [INFO] [stderr] Fixed src/compiler/tests/to_bytes.rs (4 fixes) [INFO] [stderr] Fixed src/compiler/tests/if_statements.rs (5 fixes) [INFO] [stderr] Fixed src/vm/tests/math.rs (7 fixes) [INFO] [stderr] Fixed src/compiler/tests/variables.rs (5 fixes) [INFO] [stderr] Fixed src/compiler/tests/functions.rs (5 fixes) [INFO] [stderr] Fixed src/compiler/tests/from_bytes.rs (2 fixes) [INFO] [stderr] Fixed src/compiler/tests/objects.rs (5 fixes) [INFO] [stderr] Fixed src/compiler/tests/math.rs (4 fixes) [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lexer/line_char_iterator.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) fn new(file_name: &str) -> LineCharIterator { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `prev` [INFO] [stdout] --> src/lexer/line_char_iterator.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | pub(crate) fn prev(&mut self) -> Option<(usize, usize, char)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `next_str` [INFO] [stdout] --> src/compiler/to_bytes.rs:104:4 [INFO] [stdout] | [INFO] [stdout] 104 | fn next_str(i: usize, bytes: &Vec) -> (String, usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `from_bytes` [INFO] [stdout] --> src/compiler/to_bytes.rs:121:15 [INFO] [stdout] | [INFO] [stdout] 121 | pub(crate) fn from_bytes(bytes: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `function_scope` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) function_scope: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn new() -> Interpreter { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_object` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn get_object(&mut self, name: &String) -> Result<(JSItem, usize), ()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `replace_object` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn replace_object(&mut self, scope: usize, object: JSItem, name: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_params_to_scope` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn add_params_to_scope(&mut self, mut names: Vec, mut items: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `call_identifier` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | fn call_identifier(&mut self, name: String, arguments: Vec) -> Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_params` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | fn make_params(&mut self, mut params: Vec, mut arguments: Vec) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `call_function` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | fn call_function(&mut self, params: Vec, arguments: Vec, body: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `call_std` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 142 | fn call_std(&mut self, this_path: Vec, func: StdFun, params: Vec, arguments: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `call_func_ex` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:194:8 [INFO] [stdout] | [INFO] [stdout] 194 | fn call_func_ex(&mut self, ex: Expression, _this_path: Vec, arguments: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `call_object_reference` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:205:8 [INFO] [stdout] | [INFO] [stdout] 205 | fn call_object_reference(&mut self, this_path: Vec, reference: Vec, arguments: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `call_member_ex` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:235:8 [INFO] [stdout] | [INFO] [stdout] 235 | fn call_member_ex(&mut self, object: Box, property: Box, arguments: Vec) -> Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `visit_binop` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:242:8 [INFO] [stdout] | [INFO] [stdout] 242 | fn visit_binop(&mut self, a: Box, op: Operator, b: Box) -> JSItem { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `visit_call_ex` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:265:8 [INFO] [stdout] | [INFO] [stdout] 265 | fn visit_call_ex(&mut self, callee: Box, arguments: Vec) -> JSItem { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `visit_ident` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:279:8 [INFO] [stdout] | [INFO] [stdout] 279 | fn visit_ident(&mut self, name: String) -> JSItem { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `visit_ex_up` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:337:8 [INFO] [stdout] | [INFO] [stdout] 337 | fn visit_ex_up(&mut self, ex: Box) -> JSItem { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `visit_member_expression` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:359:8 [INFO] [stdout] | [INFO] [stdout] 359 | fn visit_member_expression(&mut self, object: Box, property: Box) -> JSItem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `visit_array_expression` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:376:8 [INFO] [stdout] | [INFO] [stdout] 376 | fn visit_array_expression(&mut self, items: Vec, _properties: HashMap) -> JSItem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `visit_ex` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:395:8 [INFO] [stdout] | [INFO] [stdout] 395 | fn visit_ex(&mut self, ex: Box) -> JSItem { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_new_scope` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:433:8 [INFO] [stdout] | [INFO] [stdout] 433 | fn create_new_scope(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `visit_for_statement` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:445:8 [INFO] [stdout] | [INFO] [stdout] 445 | fn visit_for_statement(&mut self, init: JSItem, test: JSItem, update: JSItem, body: Vec) -> JSItem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `declare_function_in_scope` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:467:8 [INFO] [stdout] | [INFO] [stdout] 467 | fn declare_function_in_scope(&mut self, mutable: bool, name: String, params: Vec, body: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `assign_variable` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:485:8 [INFO] [stdout] | [INFO] [stdout] 485 | fn assign_variable(&mut self, operator: AssignOp, left: JSItem, right: JSItem) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `visit_st` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:540:8 [INFO] [stdout] | [INFO] [stdout] 540 | fn visit_st(&mut self, st: Box) -> JSItem { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `visit` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:577:8 [INFO] [stdout] | [INFO] [stdout] 577 | fn visit(&mut self, tree: JSItem) -> JSItem { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `interpret` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:597:19 [INFO] [stdout] | [INFO] [stdout] 597 | pub(crate) fn interpret(&mut self, js_item: JSItem) -> JSItem { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bin_add` [INFO] [stdout] --> src/ast_interpreter/bin_op.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) fn bin_add(a: JSItem, b: JSItem) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bin_sub` [INFO] [stdout] --> src/ast_interpreter/bin_op.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) fn bin_sub(a: JSItem, b: JSItem) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bin_mul` [INFO] [stdout] --> src/ast_interpreter/bin_op.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) fn bin_mul(a: JSItem, b: JSItem) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bin_div` [INFO] [stdout] --> src/ast_interpreter/bin_op.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 65 | pub(crate) fn bin_div(a: JSItem, b: JSItem) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bin_less` [INFO] [stdout] --> src/ast_interpreter/bin_op.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 79 | pub(crate) fn bin_less(a: JSItem, b: JSItem) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_object` [INFO] [stdout] --> src/ast_interpreter/std/object.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn create_object(mut int: Interpreter) -> Interpreter { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `array_constructor` [INFO] [stdout] --> src/ast_interpreter/std/array.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) fn array_constructor(mut arguments: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `std_array_push` [INFO] [stdout] --> src/ast_interpreter/std/array.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | pub(crate) fn std_array_push(interpreter: &mut Interpreter, this_path: Vec, mut args: (Vec, Vec)) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_array` [INFO] [stdout] --> src/ast_interpreter/std/array.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 90 | pub(crate) fn create_array(mut int: Interpreter) -> Interpreter { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `std_fun_apply` [INFO] [stdout] --> src/ast_interpreter/std/function.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) fn std_fun_apply(interpreter: &mut Interpreter, this_path: Vec, args: (Vec, Vec)) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_function` [INFO] [stdout] --> src/ast_interpreter/std/function.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | pub(crate) fn create_function(mut int: Interpreter) -> Interpreter { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `inherit` [INFO] [stdout] --> src/ast_interpreter/std/inherit.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn inherit(int: &Interpreter, from: JSItem, to: JSItem) -> JSItem { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `std_log` [INFO] [stdout] --> src/ast_interpreter/std/console.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) fn std_log(params: Vec) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_console` [INFO] [stdout] --> src/ast_interpreter/std/console.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn create_console(mut int: Interpreter) -> Interpreter { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_std_objects` [INFO] [stdout] --> src/ast_interpreter/std/mod.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn create_std_objects(mut int: Interpreter) -> Interpreter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `o_to_v` [INFO] [stdout] --> src/ast_interpreter/helpers.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) fn o_to_v(js_out: JSItem, assign_op: AssignOp) -> JSItem { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_object_scope` [INFO] [stdout] --> src/ast_interpreter/helpers.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | pub(crate) fn find_object_scope<'a>(interpreter: &'a Interpreter, name: &String) -> Result<(usize, &'a Interpreter), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_o_r` [INFO] [stdout] --> src/ast_interpreter/helpers.rs:71:15 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) fn find_o_r(interpreter: &Interpreter, mut scope_num: usize, mut path: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_object_from_reference` [INFO] [stdout] --> src/ast_interpreter/helpers.rs:163:15 [INFO] [stdout] | [INFO] [stdout] 163 | pub(crate) fn find_object_from_reference(int: &Interpreter, mut path: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_reference_from_member_expression` [INFO] [stdout] --> src/ast_interpreter/helpers.rs:175:15 [INFO] [stdout] | [INFO] [stdout] 175 | pub(crate) fn find_reference_from_member_expression(exp: Expression) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `InsertResult` [INFO] [stdout] --> src/ast_interpreter/scope/insert.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) enum InsertResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `insert_o_r_o` [INFO] [stdout] --> src/ast_interpreter/scope/insert.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn insert_o_r_o(object: &mut HashMap, mut path: Vec, new_item: JSItem) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `insert_o_r` [INFO] [stdout] --> src/ast_interpreter/scope/insert.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn insert_o_r(scopes: &mut Vec>, mut path: Vec, new_item: JSItem) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_object` [INFO] [stdout] --> src/ast_interpreter/scope/insert.rs:161:15 [INFO] [stdout] | [INFO] [stdout] 161 | pub(crate) fn set_object(int: &mut Interpreter, mut path: Vec, obj: JSItem) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | Op::LoadNumConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | Op::LoadNumConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | Op::Add, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | Op::LoadNumConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | Op::Add [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | Op::LoadNumConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | Op::LoadNumConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | Op::Sub [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | Op::LoadNumConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | Op::LoadNumConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | Op::Mul [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | Op::LoadNumConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | Op::LoadNumConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | Op::Div [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | Op::LoadNumConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | Op::LoadNumConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | Op::Add, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | Op::LoadNumConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | Op::Sub [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | Op::LoadNumConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | Op::LoadNumConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | Op::Add, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | Op::LoadNumConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | Op::Sub [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | Op::LoadNumConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | Op::LoadNumConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | Op::LoadNumConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | Op::Add, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | Op::Sub [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | Op::LoadNumConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | Op::LoadNumConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | Op::LoadNumConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | Op::Mul, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | Op::Add [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | Op::LoadNumConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | Op::LoadNumConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | Op::Mul, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | Op::LoadNumConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | Op::Add [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | Op::LoadNumConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | Op::LoadNumConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | Op::LoadNumConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | Op::Add, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | Op::Mul [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | Op::LoadNumConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | Op::LoadNumConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | Op::Mul, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | Op::LoadNumConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | Op::Add [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | Op::Load { name: "x".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | Op::LoadNumConst { value: 5. }, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 297 | Op::EqEq, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | Op::Load { name: "x".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | Op::LoadNumConst { value: 10. }, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | Op::Less, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/math.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 301 | Op::And [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/compiler/tests/variables.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | let file = fs::read_to_string("js/variables/let_a.js"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/variables.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | Op::LoadStrConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/variables.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | Op::Store { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/compiler/tests/variables.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | let file = fs::read_to_string("js/variables/let_a_number.js"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/variables.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | Op::LoadNumConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/variables.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | Op::Store { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/compiler/tests/variables.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | let file = fs::read_to_string("js/variables/let_a_math.js"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/variables.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | Op::LoadNumConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/variables.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | Op::LoadNumConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/variables.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | Op::Add, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/variables.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | Op::Store { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/compiler/tests/variables.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 83 | let file = fs::read_to_string("js/variables/let_a_math1.js"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/variables.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | Op::LoadNumConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/variables.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | Op::LoadNumConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/variables.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | Op::LoadNumConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/variables.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | Op::LoadNumConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/variables.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | Op::Add, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/variables.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | Op::Mul, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/variables.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | Op::Add, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/variables.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | Op::Store { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/compiler/tests/variables.rs:118:16 [INFO] [stdout] | [INFO] [stdout] 118 | let file = fs::read_to_string("js/variables/let_var_plus_var.js"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/variables.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | Op::Load { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/variables.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | Op::Load { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/variables.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | Op::Add, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/variables.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | Op::Store {name: "c".to_string()} [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/functions.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | Op::Load { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/functions.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | Op::LoadProp { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/functions.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | Op::LoadStrConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/functions.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | Op::Call {args: 1} [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/compiler/tests/functions.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | let file = fs::read_to_string("js/functions/function_call.js"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/functions.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | Op::DeclareFunc { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/functions.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | Op::Load {name: "console".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/functions.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | Op::LoadProp {name: "log".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/functions.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | Op::LoadStrConst {value: "hi".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/functions.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | Op::Call {args: 1}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/functions.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | Op::PopBlock, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/functions.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | Op::Return, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/functions.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | Op::Load {name: "f".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/functions.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | Op::Call {args: 0} [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/compiler/tests/functions.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | let file = fs::read_to_string("js/functions/function_function_call_with_args.js"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/functions.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | Op::DeclareFunc { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/functions.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | Op::DeclareFunc { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/functions.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | Op::Load {name: "console".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/functions.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | Op::LoadProp {name: "log".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/functions.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | Op::Load {name: "a".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/functions.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | Op::Load {name: "b".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/functions.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | Op::Call {args: 2}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/functions.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | Op::PopBlock, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/functions.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | Op::Return, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/functions.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | Op::Load {name: "f".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/functions.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | Op::Load {name: "a".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/functions.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | Op::LoadStrConst {value: "there".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/functions.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | Op::Call {args: 2}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/functions.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | Op::PopBlock, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/functions.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | Op::Return, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/functions.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | Op::Load {name: "f".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/functions.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | Op::LoadStrConst {value: "hi".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/functions.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | Op::Call {args: 1}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/compiler/tests/for_statements.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | let file = fs::read_to_string("js/if_while_for/for1.js"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/for_statements.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | Op::SetupLoop, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/for_statements.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | Op::LoadNumConst {value: 0.}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/for_statements.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | Op::Store {name: "i".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/for_statements.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | Op::Load {name: "i".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/for_statements.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | Op::LoadNumConst {value: 10.}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/for_statements.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | Op::Less, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/for_statements.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | Op::PopJumpIfFalse {to: 14}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/for_statements.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | Op::Load {name: "console".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/for_statements.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | Op::LoadProp {name: "log".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/for_statements.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | Op::Load {name: "i".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/for_statements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | Op::Call {args: 1}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/for_statements.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | Op::Load {name: "i".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/for_statements.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | Op::InplaceAdd, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/for_statements.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | Op::JumpAbsolute {to: 3}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/for_statements.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | Op::PopBlock [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/from_bytes.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | Op::LoadNumConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/from_bytes.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | Op::LoadNumConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/from_bytes.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | Op::Add, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/from_bytes.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | Op::LoadNumConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/from_bytes.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | Op::Add [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/from_bytes.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | Op::Load { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/from_bytes.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | Op::LoadProp { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/from_bytes.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | Op::LoadStrConst { [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/from_bytes.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | Op::Call {args: 1} [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/compiler/tests/objects.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | let file = fs::read_to_string("js/objects/object_new_property.js"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/objects.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | Op::CreateObj, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/objects.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | Op::LoadNumConst {value: 1.}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/objects.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | Op::StoreProp { name: "a".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/objects.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | Op::LoadNumConst {value: 2.}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/objects.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | Op::StoreProp {name: "b".to_string() }, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/objects.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | Op::Store {name: "a".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/objects.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | Op::Load {name: "a".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/objects.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | Op::LoadStrConst {value: "hello world".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/objects.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | Op::StoreProp {name: "d".to_string() }, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/objects.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | Op::PopTop, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/objects.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | Op::Load {name: "console".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/objects.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | Op::LoadProp {name: "log".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/objects.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | Op::Load {name: "a".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/objects.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | Op::Call {args: 1} [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/objects.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | Op::CreateObj, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/objects.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | Op::LoadNumConst {value: 2.}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/objects.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | Op::StoreProp {name: "b".to_string() }, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/objects.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | Op::LoadNumConst {value: 1.}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/objects.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | Op::StoreProp { name: "a".to_string() }, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/objects.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | Op::Store {name: "a".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/objects.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | Op::Load {name: "a".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/objects.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | Op::LoadStrConst {value: "hello world".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/objects.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | Op::StoreProp {name: "d".to_string() }, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/objects.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | Op::PopTop, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/objects.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | Op::Load {name: "console".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/objects.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | Op::LoadProp {name: "log".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/objects.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | Op::Load {name: "a".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/objects.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | Op::Call {args: 1} [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | let file = fs::read_to_string("js/if_while_for/if1.js"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | Op::LoadNumConst {value: 5.}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | Op::Store {name: "x".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | Op::Load {name: "x".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | Op::LoadNumConst {value: 2.}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | Op::Greater, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | Op::PopJumpIfFalse {to: 11}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | Op::Load {name: "console".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | Op::LoadProp {name: "log".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | Op::LoadStrConst {value: "hi".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | Op::Call {args: 1}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | Op::JumpAbsolute {to: 11} [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | let file = fs::read_to_string("js/if_while_for/if2.js"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | Op::LoadNumConst {value: 5.}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | Op::Store {name: "x".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | Op::Load {name: "x".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | Op::LoadNumConst {value: 2.}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | Op::Greater, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | Op::PopJumpIfFalse {to: 11}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | Op::Load {name: "console".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | Op::LoadProp {name: "log".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | Op::LoadStrConst {value: "hi".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | Op::Call {args: 1}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | Op::JumpAbsolute {to: 24}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | Op::Load {name: "x".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | Op::LoadNumConst {value: 2.}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | Op::Less, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | Op::PopJumpIfFalse {to: 20}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | Op::Load {name: "console".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | Op::LoadProp {name: "log".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | Op::LoadStrConst {value: "gt 2".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | Op::Call {args: 1}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | Op::JumpAbsolute {to: 24}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | Op::Load {name: "console".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | Op::LoadProp {name: "log".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | Op::LoadStrConst {value: "there".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | Op::Call {args: 1}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | let file = fs::read_to_string("js/if_while_for/if3.js"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | Op::LoadNumConst {value: 5.}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | Op::Store {name: "x".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | Op::Load {name: "x".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | Op::LoadNumConst {value: 2.}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | Op::Greater, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | Op::PopJumpIfFalse {to: 11}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | Op::Load {name: "console".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | Op::LoadProp {name: "log".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | Op::LoadStrConst {value: "hi".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | Op::Call {args: 1}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | Op::JumpAbsolute {to: 24}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | Op::Load {name: "x".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | Op::LoadNumConst {value: 2.}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | Op::Less, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | Op::PopJumpIfFalse {to: 20}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | Op::Load {name: "console".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | Op::LoadProp {name: "log".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | Op::LoadStrConst {value: "gt 2".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | Op::Call {args: 1}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | Op::JumpAbsolute {to: 24}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | Op::Load {name: "console".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | Op::LoadProp {name: "log".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | Op::LoadStrConst {value: "there".to_string()}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | Op::Call {args: 1}, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/math.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(out, JSItem::Number {value: 6.}); [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/math.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | assert_eq!(out, JSItem::Number {value: 1.}); [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/math.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | assert_eq!(out, JSItem::Number {value: 6.}); [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/math.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | assert_eq!(out, JSItem::Number {value: 1.5}); [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/math.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | assert_eq!(out, JSItem::Number {value: 4.}); [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/math.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | assert_eq!(out, JSItem::Number {value: 4.}); [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/math.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | assert_eq!(out, JSItem::Number {value: 0.}); [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/math.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | assert_eq!(out, JSItem::Number {value: 9.}); [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/math.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | assert_eq!(out, JSItem::Number {value: 9.}); [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/math.rs:156:21 [INFO] [stdout] | [INFO] [stdout] 156 | assert_eq!(out, JSItem::Number {value: 15.}); [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/math.rs:171:21 [INFO] [stdout] | [INFO] [stdout] 171 | assert_eq!(out, JSItem::Number {value: 9.}); [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/vm/tests/math.rs:176:16 [INFO] [stdout] | [INFO] [stdout] 176 | let file = fs::read_to_string("js/math/and1.js"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/math.rs:193:21 [INFO] [stdout] | [INFO] [stdout] 193 | assert_eq!(out, JSItem::Bool {value: true}); [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/vm/tests/math.rs:198:16 [INFO] [stdout] | [INFO] [stdout] 198 | let file = fs::read_to_string("js/math/triple_eq.js"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/math.rs:214:21 [INFO] [stdout] | [INFO] [stdout] 214 | assert_eq!(out, JSItem::Bool {value: true}); [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/vm/tests/math.rs:219:16 [INFO] [stdout] | [INFO] [stdout] 219 | let file = fs::read_to_string("js/math/div/div_nan1.js"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/math.rs:232:21 [INFO] [stdout] | [INFO] [stdout] 232 | assert_eq!(out, JSItem::Undefined); [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/math.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | JSItem::Number {value} => { [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/math.rs:240:44 [INFO] [stdout] | [INFO] [stdout] 240 | assert!(vm.captured_output[1].eq(&vec![JSItem::Number {value: 0.}])); [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/math.rs:241:44 [INFO] [stdout] | [INFO] [stdout] 241 | assert!(vm.captured_output[2].eq(&vec![JSItem::Number {value: 0.}])); [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/math.rs:242:44 [INFO] [stdout] | [INFO] [stdout] 242 | assert!(vm.captured_output[3].eq(&vec![JSItem::Number {value: INFINITY}])); [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/math.rs:243:44 [INFO] [stdout] | [INFO] [stdout] 243 | assert!(vm.captured_output[4].eq(&vec![JSItem::Number {value: 1.}])); [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/math.rs:244:44 [INFO] [stdout] | [INFO] [stdout] 244 | assert!(vm.captured_output[5].eq(&vec![JSItem::Number {value: 0.5}])); [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/math.rs:245:44 [INFO] [stdout] | [INFO] [stdout] 245 | assert!(vm.captured_output[6].eq(&vec![JSItem::Number {value: INFINITY}])); [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/math.rs:246:44 [INFO] [stdout] | [INFO] [stdout] 246 | assert!(vm.captured_output[7].eq(&vec![JSItem::Number {value: 2.}])); [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/math.rs:247:44 [INFO] [stdout] | [INFO] [stdout] 247 | assert!(vm.captured_output[8].eq(&vec![JSItem::Number {value: 1.}])); [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/vm/tests/for_loop.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | let file = fs::read_to_string("js/if_while_for/for1.js"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | assert_eq!(out, JSItem::Undefined); [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | vec![JSItem::Number {value: 0.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | vec![JSItem::Number {value: 1.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | vec![JSItem::Number {value: 2.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | vec![JSItem::Number {value: 3.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | vec![JSItem::Number {value: 4.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | vec![JSItem::Number {value: 5.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | vec![JSItem::Number {value: 6.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | vec![JSItem::Number {value: 7.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | vec![JSItem::Number {value: 8.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | vec![JSItem::Number {value: 9.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/vm/tests/for_loop.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | let file = fs::read_to_string("js/if_while_for/nested_for.js"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | assert_eq!(out, JSItem::Undefined); [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | vec![JSItem::Number {value: 0.}, JSItem::Number {value: 0.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | vec![JSItem::Number {value: 0.}, JSItem::Number {value: 0.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | vec![JSItem::Number {value: 0.}, JSItem::Number {value: 1.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:61:42 [INFO] [stdout] | [INFO] [stdout] 61 | vec![JSItem::Number {value: 0.}, JSItem::Number {value: 1.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | vec![JSItem::Number {value: 0.}, JSItem::Number {value: 2.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:62:42 [INFO] [stdout] | [INFO] [stdout] 62 | vec![JSItem::Number {value: 0.}, JSItem::Number {value: 2.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | vec![JSItem::Number {value: 0.}, JSItem::Number {value: 3.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:63:42 [INFO] [stdout] | [INFO] [stdout] 63 | vec![JSItem::Number {value: 0.}, JSItem::Number {value: 3.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:64:14 [INFO] [stdout] | [INFO] [stdout] 64 | vec![JSItem::Number {value: 0.}, JSItem::Number {value: 4.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:64:42 [INFO] [stdout] | [INFO] [stdout] 64 | vec![JSItem::Number {value: 0.}, JSItem::Number {value: 4.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | vec![JSItem::Number {value: 1.}, JSItem::Number {value: 0.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:65:42 [INFO] [stdout] | [INFO] [stdout] 65 | vec![JSItem::Number {value: 1.}, JSItem::Number {value: 0.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | vec![JSItem::Number {value: 1.}, JSItem::Number {value: 1.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:66:42 [INFO] [stdout] | [INFO] [stdout] 66 | vec![JSItem::Number {value: 1.}, JSItem::Number {value: 1.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 67 | vec![JSItem::Number {value: 1.}, JSItem::Number {value: 2.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:67:42 [INFO] [stdout] | [INFO] [stdout] 67 | vec![JSItem::Number {value: 1.}, JSItem::Number {value: 2.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | vec![JSItem::Number {value: 1.}, JSItem::Number {value: 3.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:68:42 [INFO] [stdout] | [INFO] [stdout] 68 | vec![JSItem::Number {value: 1.}, JSItem::Number {value: 3.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | vec![JSItem::Number {value: 1.}, JSItem::Number {value: 4.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:69:42 [INFO] [stdout] | [INFO] [stdout] 69 | vec![JSItem::Number {value: 1.}, JSItem::Number {value: 4.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | vec![JSItem::Number {value: 2.}, JSItem::Number {value: 0.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:70:42 [INFO] [stdout] | [INFO] [stdout] 70 | vec![JSItem::Number {value: 2.}, JSItem::Number {value: 0.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | vec![JSItem::Number {value: 2.}, JSItem::Number {value: 1.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:71:42 [INFO] [stdout] | [INFO] [stdout] 71 | vec![JSItem::Number {value: 2.}, JSItem::Number {value: 1.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:72:14 [INFO] [stdout] | [INFO] [stdout] 72 | vec![JSItem::Number {value: 2.}, JSItem::Number {value: 2.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:72:42 [INFO] [stdout] | [INFO] [stdout] 72 | vec![JSItem::Number {value: 2.}, JSItem::Number {value: 2.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 73 | vec![JSItem::Number {value: 2.}, JSItem::Number {value: 3.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:73:42 [INFO] [stdout] | [INFO] [stdout] 73 | vec![JSItem::Number {value: 2.}, JSItem::Number {value: 3.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | vec![JSItem::Number {value: 2.}, JSItem::Number {value: 4.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:74:42 [INFO] [stdout] | [INFO] [stdout] 74 | vec![JSItem::Number {value: 2.}, JSItem::Number {value: 4.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 75 | vec![JSItem::Number {value: 3.}, JSItem::Number {value: 0.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:75:42 [INFO] [stdout] | [INFO] [stdout] 75 | vec![JSItem::Number {value: 3.}, JSItem::Number {value: 0.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | vec![JSItem::Number {value: 3.}, JSItem::Number {value: 1.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:76:42 [INFO] [stdout] | [INFO] [stdout] 76 | vec![JSItem::Number {value: 3.}, JSItem::Number {value: 1.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | vec![JSItem::Number {value: 3.}, JSItem::Number {value: 2.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:77:42 [INFO] [stdout] | [INFO] [stdout] 77 | vec![JSItem::Number {value: 3.}, JSItem::Number {value: 2.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | vec![JSItem::Number {value: 3.}, JSItem::Number {value: 3.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:78:42 [INFO] [stdout] | [INFO] [stdout] 78 | vec![JSItem::Number {value: 3.}, JSItem::Number {value: 3.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | vec![JSItem::Number {value: 3.}, JSItem::Number {value: 4.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:79:42 [INFO] [stdout] | [INFO] [stdout] 79 | vec![JSItem::Number {value: 3.}, JSItem::Number {value: 4.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | vec![JSItem::Number {value: 4.}, JSItem::Number {value: 0.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:80:42 [INFO] [stdout] | [INFO] [stdout] 80 | vec![JSItem::Number {value: 4.}, JSItem::Number {value: 0.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | vec![JSItem::Number {value: 4.}, JSItem::Number {value: 1.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:81:42 [INFO] [stdout] | [INFO] [stdout] 81 | vec![JSItem::Number {value: 4.}, JSItem::Number {value: 1.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | vec![JSItem::Number {value: 4.}, JSItem::Number {value: 2.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:82:42 [INFO] [stdout] | [INFO] [stdout] 82 | vec![JSItem::Number {value: 4.}, JSItem::Number {value: 2.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | vec![JSItem::Number {value: 4.}, JSItem::Number {value: 3.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:83:42 [INFO] [stdout] | [INFO] [stdout] 83 | vec![JSItem::Number {value: 4.}, JSItem::Number {value: 3.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 84 | vec![JSItem::Number {value: 4.}, JSItem::Number {value: 4.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:84:42 [INFO] [stdout] | [INFO] [stdout] 84 | vec![JSItem::Number {value: 4.}, JSItem::Number {value: 4.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/vm/tests/for_loop.rs:90:16 [INFO] [stdout] | [INFO] [stdout] 90 | let file = fs::read_to_string("js/functions/function_with_loop.js"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | assert_eq!(out, JSItem::Undefined); [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | vec![JSItem::Number {value: 0.}, JSItem::Number {value: 0.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:109:42 [INFO] [stdout] | [INFO] [stdout] 109 | vec![JSItem::Number {value: 0.}, JSItem::Number {value: 0.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:110:14 [INFO] [stdout] | [INFO] [stdout] 110 | vec![JSItem::Number {value: 0.}, JSItem::Number {value: 1.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:110:42 [INFO] [stdout] | [INFO] [stdout] 110 | vec![JSItem::Number {value: 0.}, JSItem::Number {value: 1.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 111 | vec![JSItem::Number {value: 0.}, JSItem::Number {value: 2.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:111:42 [INFO] [stdout] | [INFO] [stdout] 111 | vec![JSItem::Number {value: 0.}, JSItem::Number {value: 2.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | vec![JSItem::Number {value: 0.}, JSItem::Number {value: 3.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:112:42 [INFO] [stdout] | [INFO] [stdout] 112 | vec![JSItem::Number {value: 0.}, JSItem::Number {value: 3.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:113:14 [INFO] [stdout] | [INFO] [stdout] 113 | vec![JSItem::Number {value: 0.}, JSItem::Number {value: 4.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:113:42 [INFO] [stdout] | [INFO] [stdout] 113 | vec![JSItem::Number {value: 0.}, JSItem::Number {value: 4.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:114:14 [INFO] [stdout] | [INFO] [stdout] 114 | vec![JSItem::Number {value: 1.}, JSItem::Number {value: 0.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:114:42 [INFO] [stdout] | [INFO] [stdout] 114 | vec![JSItem::Number {value: 1.}, JSItem::Number {value: 0.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 115 | vec![JSItem::Number {value: 1.}, JSItem::Number {value: 1.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:115:42 [INFO] [stdout] | [INFO] [stdout] 115 | vec![JSItem::Number {value: 1.}, JSItem::Number {value: 1.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:116:14 [INFO] [stdout] | [INFO] [stdout] 116 | vec![JSItem::Number {value: 1.}, JSItem::Number {value: 2.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:116:42 [INFO] [stdout] | [INFO] [stdout] 116 | vec![JSItem::Number {value: 1.}, JSItem::Number {value: 2.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:117:14 [INFO] [stdout] | [INFO] [stdout] 117 | vec![JSItem::Number {value: 1.}, JSItem::Number {value: 3.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:117:42 [INFO] [stdout] | [INFO] [stdout] 117 | vec![JSItem::Number {value: 1.}, JSItem::Number {value: 3.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | vec![JSItem::Number {value: 1.}, JSItem::Number {value: 4.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:118:42 [INFO] [stdout] | [INFO] [stdout] 118 | vec![JSItem::Number {value: 1.}, JSItem::Number {value: 4.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:119:14 [INFO] [stdout] | [INFO] [stdout] 119 | vec![JSItem::Number {value: 2.}, JSItem::Number {value: 0.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:119:42 [INFO] [stdout] | [INFO] [stdout] 119 | vec![JSItem::Number {value: 2.}, JSItem::Number {value: 0.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:120:14 [INFO] [stdout] | [INFO] [stdout] 120 | vec![JSItem::Number {value: 2.}, JSItem::Number {value: 1.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:120:42 [INFO] [stdout] | [INFO] [stdout] 120 | vec![JSItem::Number {value: 2.}, JSItem::Number {value: 1.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | vec![JSItem::Number {value: 2.}, JSItem::Number {value: 2.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:121:42 [INFO] [stdout] | [INFO] [stdout] 121 | vec![JSItem::Number {value: 2.}, JSItem::Number {value: 2.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:122:14 [INFO] [stdout] | [INFO] [stdout] 122 | vec![JSItem::Number {value: 2.}, JSItem::Number {value: 3.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:122:42 [INFO] [stdout] | [INFO] [stdout] 122 | vec![JSItem::Number {value: 2.}, JSItem::Number {value: 3.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 123 | vec![JSItem::Number {value: 2.}, JSItem::Number {value: 4.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:123:42 [INFO] [stdout] | [INFO] [stdout] 123 | vec![JSItem::Number {value: 2.}, JSItem::Number {value: 4.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:124:14 [INFO] [stdout] | [INFO] [stdout] 124 | vec![JSItem::Number {value: 3.}, JSItem::Number {value: 0.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:124:42 [INFO] [stdout] | [INFO] [stdout] 124 | vec![JSItem::Number {value: 3.}, JSItem::Number {value: 0.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 125 | vec![JSItem::Number {value: 3.}, JSItem::Number {value: 1.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:125:42 [INFO] [stdout] | [INFO] [stdout] 125 | vec![JSItem::Number {value: 3.}, JSItem::Number {value: 1.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:126:14 [INFO] [stdout] | [INFO] [stdout] 126 | vec![JSItem::Number {value: 3.}, JSItem::Number {value: 2.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:126:42 [INFO] [stdout] | [INFO] [stdout] 126 | vec![JSItem::Number {value: 3.}, JSItem::Number {value: 2.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:127:14 [INFO] [stdout] | [INFO] [stdout] 127 | vec![JSItem::Number {value: 3.}, JSItem::Number {value: 3.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:127:42 [INFO] [stdout] | [INFO] [stdout] 127 | vec![JSItem::Number {value: 3.}, JSItem::Number {value: 3.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:128:14 [INFO] [stdout] | [INFO] [stdout] 128 | vec![JSItem::Number {value: 3.}, JSItem::Number {value: 4.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:128:42 [INFO] [stdout] | [INFO] [stdout] 128 | vec![JSItem::Number {value: 3.}, JSItem::Number {value: 4.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | vec![JSItem::Number {value: 4.}, JSItem::Number {value: 0.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:129:42 [INFO] [stdout] | [INFO] [stdout] 129 | vec![JSItem::Number {value: 4.}, JSItem::Number {value: 0.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:130:14 [INFO] [stdout] | [INFO] [stdout] 130 | vec![JSItem::Number {value: 4.}, JSItem::Number {value: 1.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:130:42 [INFO] [stdout] | [INFO] [stdout] 130 | vec![JSItem::Number {value: 4.}, JSItem::Number {value: 1.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 131 | vec![JSItem::Number {value: 4.}, JSItem::Number {value: 2.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:131:42 [INFO] [stdout] | [INFO] [stdout] 131 | vec![JSItem::Number {value: 4.}, JSItem::Number {value: 2.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:132:14 [INFO] [stdout] | [INFO] [stdout] 132 | vec![JSItem::Number {value: 4.}, JSItem::Number {value: 3.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:132:42 [INFO] [stdout] | [INFO] [stdout] 132 | vec![JSItem::Number {value: 4.}, JSItem::Number {value: 3.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:133:14 [INFO] [stdout] | [INFO] [stdout] 133 | vec![JSItem::Number {value: 4.}, JSItem::Number {value: 4.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:133:42 [INFO] [stdout] | [INFO] [stdout] 133 | vec![JSItem::Number {value: 4.}, JSItem::Number {value: 4.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/vm/tests/for_loop.rs:139:16 [INFO] [stdout] | [INFO] [stdout] 139 | let file = fs::read_to_string("js/functions/function_for_scope.js"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | assert_eq!(out, JSItem::Undefined); [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:158:14 [INFO] [stdout] | [INFO] [stdout] 158 | vec![JSItem::Number {value: 5.}, JSItem::Number {value: 5.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:158:42 [INFO] [stdout] | [INFO] [stdout] 158 | vec![JSItem::Number {value: 5.}, JSItem::Number {value: 5.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:159:14 [INFO] [stdout] | [INFO] [stdout] 159 | vec![JSItem::Number {value: 5.}, JSItem::Number {value: 6.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:159:42 [INFO] [stdout] | [INFO] [stdout] 159 | vec![JSItem::Number {value: 5.}, JSItem::Number {value: 6.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:160:14 [INFO] [stdout] | [INFO] [stdout] 160 | vec![JSItem::Number {value: 5.}, JSItem::Number {value: 7.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:160:42 [INFO] [stdout] | [INFO] [stdout] 160 | vec![JSItem::Number {value: 5.}, JSItem::Number {value: 7.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:161:14 [INFO] [stdout] | [INFO] [stdout] 161 | vec![JSItem::Number {value: 5.}, JSItem::Number {value: 8.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:161:42 [INFO] [stdout] | [INFO] [stdout] 161 | vec![JSItem::Number {value: 5.}, JSItem::Number {value: 8.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:162:14 [INFO] [stdout] | [INFO] [stdout] 162 | vec![JSItem::Number {value: 5.}, JSItem::Number {value: 9.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:162:42 [INFO] [stdout] | [INFO] [stdout] 162 | vec![JSItem::Number {value: 5.}, JSItem::Number {value: 9.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:163:14 [INFO] [stdout] | [INFO] [stdout] 163 | vec![JSItem::Number {value: 6.}, JSItem::Number {value: 5.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:163:42 [INFO] [stdout] | [INFO] [stdout] 163 | vec![JSItem::Number {value: 6.}, JSItem::Number {value: 5.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:164:14 [INFO] [stdout] | [INFO] [stdout] 164 | vec![JSItem::Number {value: 6.}, JSItem::Number {value: 6.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:164:42 [INFO] [stdout] | [INFO] [stdout] 164 | vec![JSItem::Number {value: 6.}, JSItem::Number {value: 6.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:165:14 [INFO] [stdout] | [INFO] [stdout] 165 | vec![JSItem::Number {value: 6.}, JSItem::Number {value: 7.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:165:42 [INFO] [stdout] | [INFO] [stdout] 165 | vec![JSItem::Number {value: 6.}, JSItem::Number {value: 7.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | vec![JSItem::Number {value: 6.}, JSItem::Number {value: 8.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:166:42 [INFO] [stdout] | [INFO] [stdout] 166 | vec![JSItem::Number {value: 6.}, JSItem::Number {value: 8.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:167:14 [INFO] [stdout] | [INFO] [stdout] 167 | vec![JSItem::Number {value: 6.}, JSItem::Number {value: 9.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:167:42 [INFO] [stdout] | [INFO] [stdout] 167 | vec![JSItem::Number {value: 6.}, JSItem::Number {value: 9.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:168:14 [INFO] [stdout] | [INFO] [stdout] 168 | vec![JSItem::Number {value: 7.}, JSItem::Number {value: 5.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:168:42 [INFO] [stdout] | [INFO] [stdout] 168 | vec![JSItem::Number {value: 7.}, JSItem::Number {value: 5.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:169:14 [INFO] [stdout] | [INFO] [stdout] 169 | vec![JSItem::Number {value: 7.}, JSItem::Number {value: 6.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:169:42 [INFO] [stdout] | [INFO] [stdout] 169 | vec![JSItem::Number {value: 7.}, JSItem::Number {value: 6.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:170:14 [INFO] [stdout] | [INFO] [stdout] 170 | vec![JSItem::Number {value: 7.}, JSItem::Number {value: 7.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:170:42 [INFO] [stdout] | [INFO] [stdout] 170 | vec![JSItem::Number {value: 7.}, JSItem::Number {value: 7.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:171:14 [INFO] [stdout] | [INFO] [stdout] 171 | vec![JSItem::Number {value: 7.}, JSItem::Number {value: 8.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:171:42 [INFO] [stdout] | [INFO] [stdout] 171 | vec![JSItem::Number {value: 7.}, JSItem::Number {value: 8.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:172:14 [INFO] [stdout] | [INFO] [stdout] 172 | vec![JSItem::Number {value: 7.}, JSItem::Number {value: 9.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:172:42 [INFO] [stdout] | [INFO] [stdout] 172 | vec![JSItem::Number {value: 7.}, JSItem::Number {value: 9.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:173:14 [INFO] [stdout] | [INFO] [stdout] 173 | vec![JSItem::Number {value: 8.}, JSItem::Number {value: 5.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:173:42 [INFO] [stdout] | [INFO] [stdout] 173 | vec![JSItem::Number {value: 8.}, JSItem::Number {value: 5.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:174:14 [INFO] [stdout] | [INFO] [stdout] 174 | vec![JSItem::Number {value: 8.}, JSItem::Number {value: 6.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:174:42 [INFO] [stdout] | [INFO] [stdout] 174 | vec![JSItem::Number {value: 8.}, JSItem::Number {value: 6.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:175:14 [INFO] [stdout] | [INFO] [stdout] 175 | vec![JSItem::Number {value: 8.}, JSItem::Number {value: 7.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:175:42 [INFO] [stdout] | [INFO] [stdout] 175 | vec![JSItem::Number {value: 8.}, JSItem::Number {value: 7.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 176 | vec![JSItem::Number {value: 8.}, JSItem::Number {value: 8.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:176:42 [INFO] [stdout] | [INFO] [stdout] 176 | vec![JSItem::Number {value: 8.}, JSItem::Number {value: 8.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:177:14 [INFO] [stdout] | [INFO] [stdout] 177 | vec![JSItem::Number {value: 8.}, JSItem::Number {value: 9.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:177:42 [INFO] [stdout] | [INFO] [stdout] 177 | vec![JSItem::Number {value: 8.}, JSItem::Number {value: 9.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:178:14 [INFO] [stdout] | [INFO] [stdout] 178 | vec![JSItem::Number {value: 9.}, JSItem::Number {value: 5.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:178:42 [INFO] [stdout] | [INFO] [stdout] 178 | vec![JSItem::Number {value: 9.}, JSItem::Number {value: 5.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:179:14 [INFO] [stdout] | [INFO] [stdout] 179 | vec![JSItem::Number {value: 9.}, JSItem::Number {value: 6.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:179:42 [INFO] [stdout] | [INFO] [stdout] 179 | vec![JSItem::Number {value: 9.}, JSItem::Number {value: 6.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:180:14 [INFO] [stdout] | [INFO] [stdout] 180 | vec![JSItem::Number {value: 9.}, JSItem::Number {value: 7.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:180:42 [INFO] [stdout] | [INFO] [stdout] 180 | vec![JSItem::Number {value: 9.}, JSItem::Number {value: 7.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:181:14 [INFO] [stdout] | [INFO] [stdout] 181 | vec![JSItem::Number {value: 9.}, JSItem::Number {value: 8.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:181:42 [INFO] [stdout] | [INFO] [stdout] 181 | vec![JSItem::Number {value: 9.}, JSItem::Number {value: 8.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:182:14 [INFO] [stdout] | [INFO] [stdout] 182 | vec![JSItem::Number {value: 9.}, JSItem::Number {value: 9.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:182:42 [INFO] [stdout] | [INFO] [stdout] 182 | vec![JSItem::Number {value: 9.}, JSItem::Number {value: 9.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/vm/tests/for_loop.rs:188:16 [INFO] [stdout] | [INFO] [stdout] 188 | let file = fs::read_to_string("js/if_while_for/for_if.js"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:203:21 [INFO] [stdout] | [INFO] [stdout] 203 | assert_eq!(out, JSItem::Undefined); [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:207:14 [INFO] [stdout] | [INFO] [stdout] 207 | vec![JSItem::String {value: "less than 5".to_string()}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:208:14 [INFO] [stdout] | [INFO] [stdout] 208 | vec![JSItem::String {value: "less than 5".to_string()}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:209:14 [INFO] [stdout] | [INFO] [stdout] 209 | vec![JSItem::String {value: "less than 5".to_string()}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:210:14 [INFO] [stdout] | [INFO] [stdout] 210 | vec![JSItem::String {value: "less than 5".to_string()}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:211:14 [INFO] [stdout] | [INFO] [stdout] 211 | vec![JSItem::String {value: "less than 5".to_string()}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:213:14 [INFO] [stdout] | [INFO] [stdout] 213 | vec![JSItem::String {value: "between 5 and 10".to_string()}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:214:14 [INFO] [stdout] | [INFO] [stdout] 214 | vec![JSItem::String {value: "between 5 and 10".to_string()}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:215:14 [INFO] [stdout] | [INFO] [stdout] 215 | vec![JSItem::String {value: "between 5 and 10".to_string()}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:216:14 [INFO] [stdout] | [INFO] [stdout] 216 | vec![JSItem::String {value: "between 5 and 10".to_string()}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:218:14 [INFO] [stdout] | [INFO] [stdout] 218 | vec![JSItem::String {value: "greater than 10".to_string()}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:219:14 [INFO] [stdout] | [INFO] [stdout] 219 | vec![JSItem::String {value: "greater than 10".to_string()}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:220:14 [INFO] [stdout] | [INFO] [stdout] 220 | vec![JSItem::String {value: "greater than 10".to_string()}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:221:14 [INFO] [stdout] | [INFO] [stdout] 221 | vec![JSItem::String {value: "greater than 10".to_string()}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:222:14 [INFO] [stdout] | [INFO] [stdout] 222 | vec![JSItem::String {value: "greater than 10".to_string()}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:223:14 [INFO] [stdout] | [INFO] [stdout] 223 | vec![JSItem::String {value: "greater than 10".to_string()}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:224:14 [INFO] [stdout] | [INFO] [stdout] 224 | vec![JSItem::String {value: "greater than 10".to_string()}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:225:14 [INFO] [stdout] | [INFO] [stdout] 225 | vec![JSItem::String {value: "greater than 10".to_string()}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:226:14 [INFO] [stdout] | [INFO] [stdout] 226 | vec![JSItem::String {value: "greater than 10".to_string()}] [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/vm/tests/for_loop.rs:232:16 [INFO] [stdout] | [INFO] [stdout] 232 | let file = fs::read_to_string("js/if_while_for/nested_for_mul.js"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:247:21 [INFO] [stdout] | [INFO] [stdout] 247 | assert_eq!(out, JSItem::Undefined); [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:251:14 [INFO] [stdout] | [INFO] [stdout] 251 | vec![JSItem::Number {value: 0.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:252:14 [INFO] [stdout] | [INFO] [stdout] 252 | vec![JSItem::Number {value: 0.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:253:14 [INFO] [stdout] | [INFO] [stdout] 253 | vec![JSItem::Number {value: 0.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:254:14 [INFO] [stdout] | [INFO] [stdout] 254 | vec![JSItem::Number {value: 0.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:255:14 [INFO] [stdout] | [INFO] [stdout] 255 | vec![JSItem::Number {value: 1.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:256:14 [INFO] [stdout] | [INFO] [stdout] 256 | vec![JSItem::Number {value: 2.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:257:14 [INFO] [stdout] | [INFO] [stdout] 257 | vec![JSItem::Number {value: 0.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:258:14 [INFO] [stdout] | [INFO] [stdout] 258 | vec![JSItem::Number {value: 2.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:259:14 [INFO] [stdout] | [INFO] [stdout] 259 | vec![JSItem::Number {value: 4.}], [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/functions.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(out, JSItem::Undefined); [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/functions.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | vec![JSItem::String {value: "hi".to_string()}] [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/vm/tests/functions.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | let file = fs::read_to_string("js/functions/function_call.js"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/functions.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | assert_eq!(out, JSItem::Undefined); [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/functions.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | vec![JSItem::String {value: "hi".to_string()}] [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/vm/tests/functions.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | let file = fs::read_to_string("js/functions/function_call_with_arg.js"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/functions.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | assert_eq!(out, JSItem::Undefined); [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/functions.rs:72:14 [INFO] [stdout] | [INFO] [stdout] 72 | vec![JSItem::String {value: "hi".to_string()}] [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/vm/tests/functions.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 78 | let file = fs::read_to_string("js/functions/function_function_call_with_args.js"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/functions.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | assert_eq!(out, JSItem::Undefined); [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/functions.rs:96:14 [INFO] [stdout] | [INFO] [stdout] 96 | vec![JSItem::String {value: "hi".to_string()}, JSItem::String {value: "there".to_string()}] [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/functions.rs:96:56 [INFO] [stdout] | [INFO] [stdout] 96 | vec![JSItem::String {value: "hi".to_string()}, JSItem::String {value: "there".to_string()}] [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/vm/tests/functions.rs:102:16 [INFO] [stdout] | [INFO] [stdout] 102 | let file = fs::read_to_string("js/functions/let_function_call.js"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/functions.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | assert_eq!(out, JSItem::Undefined); [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/functions.rs:120:14 [INFO] [stdout] | [INFO] [stdout] 120 | vec![JSItem::String {value: "hi".to_string()}] [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/vm/tests/objects.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | let file = fs::read_to_string("js/objects/object_new_property.js"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/objects.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | assert_eq!(out, JSItem::Undefined); [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/objects.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | vec![JSItem::Object { mutable: true, properties: hashmap!{ [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/objects.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | "a".to_string() => JSItem::ObjectReference { path: vec![String::from("0"), String::from("a"), String::from("a")] }, [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/objects.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | "b".to_string() => JSItem::ObjectReference { path: vec![String::from("0"), String::from("a"), String::from("b")] }, [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/objects.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | "d".to_string() => JSItem::ObjectReference { path: vec![String::from("0"), String::from("a"), String::from("d")] } [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/vm/tests/if_statements.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | let file = fs::read_to_string("js/if_while_for/if1.js"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/if_statements.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | assert_eq!(out, JSItem::Undefined); [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/if_statements.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | vec![JSItem::String {value: "hi".to_string()}] [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/vm/tests/if_statements.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | let file = fs::read_to_string("js/if_while_for/if4.js"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/if_statements.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | assert_eq!(out, JSItem::Undefined); [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/if_statements.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | vec![JSItem::String {value: "gt 2".to_string()}] [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/vm/tests/if_statements.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 61 | let file = fs::read_to_string("js/if_while_for/if5.js"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/if_statements.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | assert_eq!(out, JSItem::Undefined); [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JSItem` [INFO] [stdout] --> src/vm/tests/if_statements.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | vec![JSItem::String {value: "there".to_string()}] [INFO] [stdout] | ^^^^^^ use of undeclared type `JSItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests/math.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/compiler/tests/math.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/compiler/tests/math.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | let mut com = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests/math.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/compiler/tests/math.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/compiler/tests/math.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | let mut com = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests/math.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/compiler/tests/math.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/compiler/tests/math.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | let mut com = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests/math.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/compiler/tests/math.rs:79:22 [INFO] [stdout] | [INFO] [stdout] 79 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/compiler/tests/math.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | let mut com = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests/math.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 100 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/compiler/tests/math.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/compiler/tests/math.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | let mut com = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests/math.rs:126:19 [INFO] [stdout] | [INFO] [stdout] 126 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/compiler/tests/math.rs:127:22 [INFO] [stdout] | [INFO] [stdout] 127 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/compiler/tests/math.rs:131:19 [INFO] [stdout] | [INFO] [stdout] 131 | let mut com = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests/math.rs:152:19 [INFO] [stdout] | [INFO] [stdout] 152 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/compiler/tests/math.rs:153:22 [INFO] [stdout] | [INFO] [stdout] 153 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/compiler/tests/math.rs:157:19 [INFO] [stdout] | [INFO] [stdout] 157 | let mut com = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests/math.rs:178:19 [INFO] [stdout] | [INFO] [stdout] 178 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/compiler/tests/math.rs:179:22 [INFO] [stdout] | [INFO] [stdout] 179 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/compiler/tests/math.rs:183:19 [INFO] [stdout] | [INFO] [stdout] 183 | let mut com = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests/math.rs:204:19 [INFO] [stdout] | [INFO] [stdout] 204 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/compiler/tests/math.rs:205:22 [INFO] [stdout] | [INFO] [stdout] 205 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/compiler/tests/math.rs:209:19 [INFO] [stdout] | [INFO] [stdout] 209 | let mut com = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests/math.rs:230:19 [INFO] [stdout] | [INFO] [stdout] 230 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/compiler/tests/math.rs:231:22 [INFO] [stdout] | [INFO] [stdout] 231 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/compiler/tests/math.rs:235:19 [INFO] [stdout] | [INFO] [stdout] 235 | let mut com = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests/math.rs:256:19 [INFO] [stdout] | [INFO] [stdout] 256 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/compiler/tests/math.rs:257:22 [INFO] [stdout] | [INFO] [stdout] 257 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/compiler/tests/math.rs:261:19 [INFO] [stdout] | [INFO] [stdout] 261 | let mut com = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests/math.rs:282:19 [INFO] [stdout] | [INFO] [stdout] 282 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/compiler/tests/math.rs:283:22 [INFO] [stdout] | [INFO] [stdout] 283 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/compiler/tests/math.rs:289:19 [INFO] [stdout] | [INFO] [stdout] 289 | let mut com = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests/variables.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/compiler/tests/variables.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/compiler/tests/variables.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | let mut com = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests/variables.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/compiler/tests/variables.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/compiler/tests/variables.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | let mut com = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests/variables.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/compiler/tests/variables.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/compiler/tests/variables.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | let mut com = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests/variables.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/compiler/tests/variables.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/compiler/tests/variables.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 90 | let mut com = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests/variables.rs:120:19 [INFO] [stdout] | [INFO] [stdout] 120 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/compiler/tests/variables.rs:121:22 [INFO] [stdout] | [INFO] [stdout] 121 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/compiler/tests/variables.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 125 | let mut com = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests/functions.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/compiler/tests/functions.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/compiler/tests/functions.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | let mut com = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests/functions.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/compiler/tests/functions.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/compiler/tests/functions.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | let mut com = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests/functions.rs:69:19 [INFO] [stdout] | [INFO] [stdout] 69 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/compiler/tests/functions.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/compiler/tests/functions.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | let mut com = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests/for_statements.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/compiler/tests/for_statements.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/compiler/tests/for_statements.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | let mut com = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests/to_bytes.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/compiler/tests/to_bytes.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/compiler/tests/to_bytes.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | let mut com = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_bytes` in this scope [INFO] [stdout] --> src/compiler/tests/to_bytes.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | let bytes = to_bytes(com.bc_ins); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 7 | use crate::to_bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests/to_bytes.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/compiler/tests/to_bytes.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/compiler/tests/to_bytes.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | let mut com = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_bytes` in this scope [INFO] [stdout] --> src/compiler/tests/to_bytes.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | let bytes = to_bytes(com.bc_ins); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 7 | use crate::to_bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_bytes` in this scope [INFO] [stdout] --> src/compiler/tests/from_bytes.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | let ops = from_bytes(bytes); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::compiler::to_bytes::from_bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_bytes` in this scope [INFO] [stdout] --> src/compiler/tests/from_bytes.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | let ops = from_bytes(bytes); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::compiler::to_bytes::from_bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests/objects.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/compiler/tests/objects.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/compiler/tests/objects.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | let mut com = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | let mut com = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | let mut com = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 89 | let mut com = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/vm/tests/math.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/vm/tests/math.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/vm/tests/math.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | let mut compiler = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vm` [INFO] [stdout] --> src/vm/tests/math.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | let mut vm = Vm::new(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Vm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/vm/tests/math.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/vm/tests/math.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/vm/tests/math.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | let mut compiler = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vm` [INFO] [stdout] --> src/vm/tests/math.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | let mut vm = Vm::new(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Vm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/vm/tests/math.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/vm/tests/math.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/vm/tests/math.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 46 | let mut compiler = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vm` [INFO] [stdout] --> src/vm/tests/math.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | let mut vm = Vm::new(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Vm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/vm/tests/math.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/vm/tests/math.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/vm/tests/math.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | let mut compiler = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vm` [INFO] [stdout] --> src/vm/tests/math.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 64 | let mut vm = Vm::new(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Vm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/vm/tests/math.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/vm/tests/math.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/vm/tests/math.rs:76:24 [INFO] [stdout] | [INFO] [stdout] 76 | let mut compiler = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vm` [INFO] [stdout] --> src/vm/tests/math.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 79 | let mut vm = Vm::new(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Vm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/vm/tests/math.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/vm/tests/math.rs:87:22 [INFO] [stdout] | [INFO] [stdout] 87 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/vm/tests/math.rs:91:24 [INFO] [stdout] | [INFO] [stdout] 91 | let mut compiler = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vm` [INFO] [stdout] --> src/vm/tests/math.rs:94:18 [INFO] [stdout] | [INFO] [stdout] 94 | let mut vm = Vm::new(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Vm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/vm/tests/math.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/vm/tests/math.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 102 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/vm/tests/math.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 106 | let mut compiler = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vm` [INFO] [stdout] --> src/vm/tests/math.rs:109:18 [INFO] [stdout] | [INFO] [stdout] 109 | let mut vm = Vm::new(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Vm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/vm/tests/math.rs:116:19 [INFO] [stdout] | [INFO] [stdout] 116 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/vm/tests/math.rs:117:22 [INFO] [stdout] | [INFO] [stdout] 117 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/vm/tests/math.rs:121:24 [INFO] [stdout] | [INFO] [stdout] 121 | let mut compiler = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vm` [INFO] [stdout] --> src/vm/tests/math.rs:124:18 [INFO] [stdout] | [INFO] [stdout] 124 | let mut vm = Vm::new(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Vm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/vm/tests/math.rs:131:19 [INFO] [stdout] | [INFO] [stdout] 131 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/vm/tests/math.rs:132:22 [INFO] [stdout] | [INFO] [stdout] 132 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/vm/tests/math.rs:136:24 [INFO] [stdout] | [INFO] [stdout] 136 | let mut compiler = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vm` [INFO] [stdout] --> src/vm/tests/math.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 139 | let mut vm = Vm::new(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Vm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/vm/tests/math.rs:146:19 [INFO] [stdout] | [INFO] [stdout] 146 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/vm/tests/math.rs:147:22 [INFO] [stdout] | [INFO] [stdout] 147 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/vm/tests/math.rs:151:24 [INFO] [stdout] | [INFO] [stdout] 151 | let mut compiler = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vm` [INFO] [stdout] --> src/vm/tests/math.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 154 | let mut vm = Vm::new(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Vm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/vm/tests/math.rs:161:19 [INFO] [stdout] | [INFO] [stdout] 161 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/vm/tests/math.rs:162:22 [INFO] [stdout] | [INFO] [stdout] 162 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/vm/tests/math.rs:166:24 [INFO] [stdout] | [INFO] [stdout] 166 | let mut compiler = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vm` [INFO] [stdout] --> src/vm/tests/math.rs:169:18 [INFO] [stdout] | [INFO] [stdout] 169 | let mut vm = Vm::new(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Vm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/vm/tests/math.rs:178:19 [INFO] [stdout] | [INFO] [stdout] 178 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/vm/tests/math.rs:179:22 [INFO] [stdout] | [INFO] [stdout] 179 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/vm/tests/math.rs:185:24 [INFO] [stdout] | [INFO] [stdout] 185 | let mut compiler = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vm` [INFO] [stdout] --> src/vm/tests/math.rs:191:18 [INFO] [stdout] | [INFO] [stdout] 191 | let mut vm = Vm::new(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Vm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/vm/tests/math.rs:199:19 [INFO] [stdout] | [INFO] [stdout] 199 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/vm/tests/math.rs:200:22 [INFO] [stdout] | [INFO] [stdout] 200 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/vm/tests/math.rs:206:24 [INFO] [stdout] | [INFO] [stdout] 206 | let mut compiler = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vm` [INFO] [stdout] --> src/vm/tests/math.rs:212:18 [INFO] [stdout] | [INFO] [stdout] 212 | let mut vm = Vm::new(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Vm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/vm/tests/math.rs:220:19 [INFO] [stdout] | [INFO] [stdout] 220 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/vm/tests/math.rs:221:22 [INFO] [stdout] | [INFO] [stdout] 221 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/vm/tests/math.rs:225:24 [INFO] [stdout] | [INFO] [stdout] 225 | let mut compiler = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vm` [INFO] [stdout] --> src/vm/tests/math.rs:230:18 [INFO] [stdout] | [INFO] [stdout] 230 | let mut vm = Vm::new(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Vm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INFINITY` in this scope [INFO] [stdout] --> src/vm/tests/math.rs:242:67 [INFO] [stdout] | [INFO] [stdout] 242 | assert!(vm.captured_output[3].eq(&vec![JSItem::Number {value: INFINITY}])); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use core::f32::INFINITY; [INFO] [stdout] | [INFO] [stdout] 10 | use core::f64::INFINITY; [INFO] [stdout] | [INFO] [stdout] 10 | use std::f32::INFINITY; [INFO] [stdout] | [INFO] [stdout] 10 | use std::f64::INFINITY; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INFINITY` in this scope [INFO] [stdout] --> src/vm/tests/math.rs:245:67 [INFO] [stdout] | [INFO] [stdout] 245 | assert!(vm.captured_output[6].eq(&vec![JSItem::Number {value: INFINITY}])); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use core::f32::INFINITY; [INFO] [stdout] | [INFO] [stdout] 10 | use core::f64::INFINITY; [INFO] [stdout] | [INFO] [stdout] 10 | use std::f32::INFINITY; [INFO] [stdout] | [INFO] [stdout] 10 | use std::f64::INFINITY; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/vm/tests/for_loop.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/vm/tests/for_loop.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/vm/tests/for_loop.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | let mut compiler = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vm` [INFO] [stdout] --> src/vm/tests/for_loop.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | let mut vm = Vm::new(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Vm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/vm/tests/for_loop.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/vm/tests/for_loop.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/vm/tests/for_loop.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | let mut compiler = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vm` [INFO] [stdout] --> src/vm/tests/for_loop.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | let mut vm = Vm::new(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Vm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/vm/tests/for_loop.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/vm/tests/for_loop.rs:93:22 [INFO] [stdout] | [INFO] [stdout] 93 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/vm/tests/for_loop.rs:97:24 [INFO] [stdout] | [INFO] [stdout] 97 | let mut compiler = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vm` [INFO] [stdout] --> src/vm/tests/for_loop.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 102 | let mut vm = Vm::new(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Vm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/vm/tests/for_loop.rs:141:19 [INFO] [stdout] | [INFO] [stdout] 141 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/vm/tests/for_loop.rs:142:22 [INFO] [stdout] | [INFO] [stdout] 142 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/vm/tests/for_loop.rs:146:24 [INFO] [stdout] | [INFO] [stdout] 146 | let mut compiler = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vm` [INFO] [stdout] --> src/vm/tests/for_loop.rs:151:18 [INFO] [stdout] | [INFO] [stdout] 151 | let mut vm = Vm::new(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Vm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/vm/tests/for_loop.rs:190:19 [INFO] [stdout] | [INFO] [stdout] 190 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/vm/tests/for_loop.rs:191:22 [INFO] [stdout] | [INFO] [stdout] 191 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/vm/tests/for_loop.rs:195:24 [INFO] [stdout] | [INFO] [stdout] 195 | let mut compiler = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vm` [INFO] [stdout] --> src/vm/tests/for_loop.rs:200:18 [INFO] [stdout] | [INFO] [stdout] 200 | let mut vm = Vm::new(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Vm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/vm/tests/for_loop.rs:234:19 [INFO] [stdout] | [INFO] [stdout] 234 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/vm/tests/for_loop.rs:235:22 [INFO] [stdout] | [INFO] [stdout] 235 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/vm/tests/for_loop.rs:239:24 [INFO] [stdout] | [INFO] [stdout] 239 | let mut compiler = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vm` [INFO] [stdout] --> src/vm/tests/for_loop.rs:244:18 [INFO] [stdout] | [INFO] [stdout] 244 | let mut vm = Vm::new(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Vm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/vm/tests/functions.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/vm/tests/functions.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/vm/tests/functions.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | let mut com = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vm` [INFO] [stdout] --> src/vm/tests/functions.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | let mut vm = Vm::new(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Vm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/vm/tests/functions.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/vm/tests/functions.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/vm/tests/functions.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | let mut com = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vm` [INFO] [stdout] --> src/vm/tests/functions.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | let mut vm = Vm::new(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Vm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/vm/tests/functions.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/vm/tests/functions.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/vm/tests/functions.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | let mut com = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vm` [INFO] [stdout] --> src/vm/tests/functions.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 66 | let mut vm = Vm::new(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Vm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/vm/tests/functions.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/vm/tests/functions.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 82 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/vm/tests/functions.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | let mut com = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vm` [INFO] [stdout] --> src/vm/tests/functions.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | let mut vm = Vm::new(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Vm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/vm/tests/functions.rs:104:19 [INFO] [stdout] | [INFO] [stdout] 104 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/vm/tests/functions.rs:106:22 [INFO] [stdout] | [INFO] [stdout] 106 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/vm/tests/functions.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | let mut com = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vm` [INFO] [stdout] --> src/vm/tests/functions.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 114 | let mut vm = Vm::new(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Vm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/vm/tests/objects.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/vm/tests/objects.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/vm/tests/objects.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | let mut com = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vm` [INFO] [stdout] --> src/vm/tests/objects.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | let mut vm = Vm::new(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Vm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/vm/tests/if_statements.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/vm/tests/if_statements.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/vm/tests/if_statements.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | let mut com = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vm` [INFO] [stdout] --> src/vm/tests/if_statements.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | let mut vm = Vm::new(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Vm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/vm/tests/if_statements.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/vm/tests/if_statements.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/vm/tests/if_statements.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | let mut com = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vm` [INFO] [stdout] --> src/vm/tests/if_statements.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | let mut vm = Vm::new(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Vm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/vm/tests/if_statements.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | let mut lex = Lexer::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/vm/tests/if_statements.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> src/vm/tests/if_statements.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | let mut com = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vm` [INFO] [stdout] --> src/vm/tests/if_statements.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | let mut vm = Vm::new(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Vm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 688 previous errors [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 `rustjs` due to 689 previous errors [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" "c4f96f1d25ec1eeb9119bba2f9e1e469b01b402225ea4e7cc179af119c8e1b5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4f96f1d25ec1eeb9119bba2f9e1e469b01b402225ea4e7cc179af119c8e1b5c", kill_on_drop: false }` [INFO] [stdout] c4f96f1d25ec1eeb9119bba2f9e1e469b01b402225ea4e7cc179af119c8e1b5c