[INFO] cloning repository https://github.com/tmenges/rlox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tmenges/rlox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmenges%2Frlox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmenges%2Frlox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 43b06ee7efdd6d69bb2f0c2304b05f91dead9438 [INFO] checking tmenges/rlox against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmenges%2Frlox" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tmenges/rlox [INFO] finished tweaking git repo https://github.com/tmenges/rlox [INFO] tweaked toml for git repo https://github.com/tmenges/rlox written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tmenges/rlox on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tmenges/rlox already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23ffdb727004099b82de29c278c38c74c9b57572ff41bb06482ed4a4186c7d4e [INFO] running `Command { std: "docker" "start" "-a" "23ffdb727004099b82de29c278c38c74c9b57572ff41bb06482ed4a4186c7d4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23ffdb727004099b82de29c278c38c74c9b57572ff41bb06482ed4a4186c7d4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23ffdb727004099b82de29c278c38c74c9b57572ff41bb06482ed4a4186c7d4e", kill_on_drop: false }` [INFO] [stdout] 23ffdb727004099b82de29c278c38c74c9b57572ff41bb06482ed4a4186c7d4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc4c79de37784ba995120be3b04734b5e594a1d959b358344bed48e7dfdb3efc [INFO] running `Command { std: "docker" "start" "-a" "dc4c79de37784ba995120be3b04734b5e594a1d959b358344bed48e7dfdb3efc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking clap_builder v4.5.36 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Checking clap v4.5.36 [INFO] [stderr] Checking rlox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0560]: struct `VM` has no field named `chunk` [INFO] [stdout] --> src/lox/vm.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | chunk: Chunk::new(), [INFO] [stdout] | ^^^^^ `VM` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `frames` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `VM` has no field named `ip` [INFO] [stdout] --> src/lox/vm.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | ip: 0, [INFO] [stdout] | ^^ `VM` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `frames` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 115 | self.ip = 0; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `frames`, `stack`, `stack_top`, `string_table`, `globals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:119:14 [INFO] [stdout] | [INFO] [stdout] 119 | self.chunk.code.clear(); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `frames`, `stack`, `stack_top`, `string_table`, `globals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:60:35 [INFO] [stdout] | [INFO] [stdout] 60 | let instruction = $vm.ip - 1; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 168 | runtime_error!(self, "Operands must be numbers", ); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `runtime_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | let line = $vm.chunk.lines[instruction as usize]; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 168 | runtime_error!(self, "Operands must be numbers", ); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `runtime_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 187 | let instruction = OpCode::from(read_byte!(self)); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 187 | let instruction = OpCode::from(read_byte!(self)); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | $vm.ip += 1; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 187 | let instruction = OpCode::from(read_byte!(self)); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | $vm.chunk.constants.get(read_byte!($vm) as usize) [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 191 | let constant = read_constant!(self); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_constant` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 191 | let constant = read_constant!(self); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_constant` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 191 | let constant = read_constant!(self); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_constant` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | $vm.ip += 1; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 191 | let constant = read_constant!(self); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_constant` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 201 | let slot = read_byte!(self) as usize; [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 201 | let slot = read_byte!(self) as usize; [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | $vm.ip += 1; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 201 | let slot = read_byte!(self) as usize; [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 205 | let slot = read_byte!(self) as usize; [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 205 | let slot = read_byte!(self) as usize; [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | $vm.ip += 1; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 205 | let slot = read_byte!(self) as usize; [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | $vm.chunk.constants.get(read_byte!($vm) as usize) [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 209 | let name = read_string!(self); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 209 | let name = read_string!(self); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 209 | let name = read_string!(self); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | $vm.ip += 1; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 209 | let name = read_string!(self); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:60:35 [INFO] [stdout] | [INFO] [stdout] 60 | let instruction = $vm.ip - 1; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 215 | runtime_error!(self, "Undefined variable '{}'", name); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `runtime_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | let line = $vm.chunk.lines[instruction as usize]; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 215 | runtime_error!(self, "Undefined variable '{}'", name); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `runtime_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:60:35 [INFO] [stdout] | [INFO] [stdout] 60 | let instruction = $vm.ip - 1; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 219 | runtime_error!(self, "Can only get a global string",); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `runtime_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | let line = $vm.chunk.lines[instruction as usize]; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 219 | runtime_error!(self, "Can only get a global string",); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `runtime_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | $vm.chunk.constants.get(read_byte!($vm) as usize) [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 224 | let name = read_string!(self); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 224 | let name = read_string!(self); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 224 | let name = read_string!(self); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | $vm.ip += 1; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 224 | let name = read_string!(self); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:60:35 [INFO] [stdout] | [INFO] [stdout] 60 | let instruction = $vm.ip - 1; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 230 | runtime_error!(self, "Can only define a global string",); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `runtime_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | let line = $vm.chunk.lines[instruction as usize]; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 230 | runtime_error!(self, "Can only define a global string",); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `runtime_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | $vm.chunk.constants.get(read_byte!($vm) as usize) [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 235 | let name = read_string!(self); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 235 | let name = read_string!(self); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 235 | let name = read_string!(self); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | $vm.ip += 1; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 235 | let name = read_string!(self); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:60:35 [INFO] [stdout] | [INFO] [stdout] 60 | let instruction = $vm.ip - 1; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 240 | runtime_error!(self, "Undefined variable '{}'", name); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `runtime_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | let line = $vm.chunk.lines[instruction as usize]; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 240 | runtime_error!(self, "Undefined variable '{}'", name); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `runtime_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:60:35 [INFO] [stdout] | [INFO] [stdout] 60 | let instruction = $vm.ip - 1; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 245 | runtime_error!(self, "Can only set a global string",); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `runtime_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | let line = $vm.chunk.lines[instruction as usize]; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 245 | runtime_error!(self, "Can only set a global string",); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `runtime_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:60:35 [INFO] [stdout] | [INFO] [stdout] 60 | let instruction = $vm.ip - 1; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 263 | runtime_error!(self, "Operands must be two numbers or two strings",); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `runtime_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | let line = $vm.chunk.lines[instruction as usize]; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 263 | runtime_error!(self, "Operands must be two numbers or two strings",); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `runtime_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:60:35 [INFO] [stdout] | [INFO] [stdout] 60 | let instruction = $vm.ip - 1; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 281 | runtime_error!(self, "Operand must be a number",); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `runtime_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | let line = $vm.chunk.lines[instruction as usize]; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 281 | runtime_error!(self, "Operand must be a number",); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `runtime_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 291 | let offset: u16 = read_short!(self); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_short` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 291 | let offset: u16 = read_short!(self); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_short` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | $vm.ip += 1; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 291 | let offset: u16 = read_short!(self); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_short` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 291 | let offset: u16 = read_short!(self); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_short` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 291 | let offset: u16 = read_short!(self); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_short` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | $vm.ip += 1; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 291 | let offset: u16 = read_short!(self); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_short` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:293:30 [INFO] [stdout] | [INFO] [stdout] 293 | self.ip += offset as usize; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `frames`, `stack`, `stack_top`, `string_table`, `globals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 297 | let offset: u16 = read_short!(self); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_short` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 297 | let offset: u16 = read_short!(self); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_short` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | $vm.ip += 1; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 297 | let offset: u16 = read_short!(self); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_short` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 297 | let offset: u16 = read_short!(self); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_short` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 297 | let offset: u16 = read_short!(self); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_short` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | $vm.ip += 1; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 297 | let offset: u16 = read_short!(self); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_short` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:298:26 [INFO] [stdout] | [INFO] [stdout] 298 | self.ip += offset as usize; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `frames`, `stack`, `stack_top`, `string_table`, `globals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 301 | let offset: u16 = read_short!(self); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_short` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 301 | let offset: u16 = read_short!(self); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_short` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | $vm.ip += 1; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 301 | let offset: u16 = read_short!(self); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_short` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 301 | let offset: u16 = read_short!(self); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_short` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 301 | let offset: u16 = read_short!(self); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_short` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | $vm.ip += 1; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 301 | let offset: u16 = read_short!(self); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_short` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:302:26 [INFO] [stdout] | [INFO] [stdout] 302 | self.ip -= offset as usize; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `frames`, `stack`, `stack_top`, `string_table`, `globals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:340:14 [INFO] [stdout] | [INFO] [stdout] 340 | self.chunk.code.clear(); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `frames`, `stack`, `stack_top`, `string_table`, `globals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `VM` has no field named `chunk` [INFO] [stdout] --> src/lox/vm.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | chunk: Chunk::new(), [INFO] [stdout] | ^^^^^ `VM` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `frames` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `VM` has no field named `ip` [INFO] [stdout] --> src/lox/vm.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | ip: 0, [INFO] [stdout] | ^^ `VM` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `frames` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 115 | self.ip = 0; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `frames`, `stack`, `stack_top`, `string_table`, `globals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:119:14 [INFO] [stdout] | [INFO] [stdout] 119 | self.chunk.code.clear(); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `frames`, `stack`, `stack_top`, `string_table`, `globals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:60:35 [INFO] [stdout] | [INFO] [stdout] 60 | let instruction = $vm.ip - 1; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 168 | runtime_error!(self, "Operands must be numbers", ); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `runtime_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | let line = $vm.chunk.lines[instruction as usize]; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 168 | runtime_error!(self, "Operands must be numbers", ); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `runtime_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 187 | let instruction = OpCode::from(read_byte!(self)); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 187 | let instruction = OpCode::from(read_byte!(self)); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | $vm.ip += 1; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 187 | let instruction = OpCode::from(read_byte!(self)); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | $vm.chunk.constants.get(read_byte!($vm) as usize) [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 191 | let constant = read_constant!(self); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_constant` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 191 | let constant = read_constant!(self); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_constant` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 191 | let constant = read_constant!(self); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_constant` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | $vm.ip += 1; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 191 | let constant = read_constant!(self); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_constant` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 201 | let slot = read_byte!(self) as usize; [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 201 | let slot = read_byte!(self) as usize; [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | $vm.ip += 1; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 201 | let slot = read_byte!(self) as usize; [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 205 | let slot = read_byte!(self) as usize; [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 205 | let slot = read_byte!(self) as usize; [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | $vm.ip += 1; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 205 | let slot = read_byte!(self) as usize; [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | $vm.chunk.constants.get(read_byte!($vm) as usize) [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 209 | let name = read_string!(self); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 209 | let name = read_string!(self); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 209 | let name = read_string!(self); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | $vm.ip += 1; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 209 | let name = read_string!(self); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:60:35 [INFO] [stdout] | [INFO] [stdout] 60 | let instruction = $vm.ip - 1; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 215 | runtime_error!(self, "Undefined variable '{}'", name); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `runtime_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | let line = $vm.chunk.lines[instruction as usize]; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 215 | runtime_error!(self, "Undefined variable '{}'", name); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `runtime_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:60:35 [INFO] [stdout] | [INFO] [stdout] 60 | let instruction = $vm.ip - 1; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 219 | runtime_error!(self, "Can only get a global string",); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `runtime_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | let line = $vm.chunk.lines[instruction as usize]; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 219 | runtime_error!(self, "Can only get a global string",); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `runtime_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | $vm.chunk.constants.get(read_byte!($vm) as usize) [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 224 | let name = read_string!(self); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 224 | let name = read_string!(self); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 224 | let name = read_string!(self); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | $vm.ip += 1; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 224 | let name = read_string!(self); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:60:35 [INFO] [stdout] | [INFO] [stdout] 60 | let instruction = $vm.ip - 1; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 230 | runtime_error!(self, "Can only define a global string",); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `runtime_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | let line = $vm.chunk.lines[instruction as usize]; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 230 | runtime_error!(self, "Can only define a global string",); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `runtime_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | $vm.chunk.constants.get(read_byte!($vm) as usize) [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 235 | let name = read_string!(self); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 235 | let name = read_string!(self); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 235 | let name = read_string!(self); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | $vm.ip += 1; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 235 | let name = read_string!(self); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:60:35 [INFO] [stdout] | [INFO] [stdout] 60 | let instruction = $vm.ip - 1; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 240 | runtime_error!(self, "Undefined variable '{}'", name); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `runtime_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | let line = $vm.chunk.lines[instruction as usize]; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 240 | runtime_error!(self, "Undefined variable '{}'", name); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `runtime_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:60:35 [INFO] [stdout] | [INFO] [stdout] 60 | let instruction = $vm.ip - 1; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 245 | runtime_error!(self, "Can only set a global string",); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `runtime_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | let line = $vm.chunk.lines[instruction as usize]; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 245 | runtime_error!(self, "Can only set a global string",); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `runtime_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:60:35 [INFO] [stdout] | [INFO] [stdout] 60 | let instruction = $vm.ip - 1; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 263 | runtime_error!(self, "Operands must be two numbers or two strings",); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `runtime_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | let line = $vm.chunk.lines[instruction as usize]; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 263 | runtime_error!(self, "Operands must be two numbers or two strings",); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `runtime_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:60:35 [INFO] [stdout] | [INFO] [stdout] 60 | let instruction = $vm.ip - 1; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 281 | runtime_error!(self, "Operand must be a number",); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `runtime_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | let line = $vm.chunk.lines[instruction as usize]; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 281 | runtime_error!(self, "Operand must be a number",); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `runtime_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 291 | let offset: u16 = read_short!(self); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_short` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 291 | let offset: u16 = read_short!(self); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_short` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | $vm.ip += 1; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 291 | let offset: u16 = read_short!(self); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_short` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 291 | let offset: u16 = read_short!(self); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_short` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 291 | let offset: u16 = read_short!(self); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_short` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | $vm.ip += 1; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 291 | let offset: u16 = read_short!(self); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_short` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:293:30 [INFO] [stdout] | [INFO] [stdout] 293 | self.ip += offset as usize; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `frames`, `stack`, `stack_top`, `string_table`, `globals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 297 | let offset: u16 = read_short!(self); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_short` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 297 | let offset: u16 = read_short!(self); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_short` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | $vm.ip += 1; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 297 | let offset: u16 = read_short!(self); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_short` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 297 | let offset: u16 = read_short!(self); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_short` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 297 | let offset: u16 = read_short!(self); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_short` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | $vm.ip += 1; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 297 | let offset: u16 = read_short!(self); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_short` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:298:26 [INFO] [stdout] | [INFO] [stdout] 298 | self.ip += offset as usize; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `frames`, `stack`, `stack_top`, `string_table`, `globals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 301 | let offset: u16 = read_short!(self); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_short` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 301 | let offset: u16 = read_short!(self); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_short` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | $vm.ip += 1; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 301 | let offset: u16 = read_short!(self); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_short` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 301 | let offset: u16 = read_short!(self); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_short` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let byte = $vm.chunk.code[$vm.ip]; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 301 | let offset: u16 = read_short!(self); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_short` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | $vm.ip += 1; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] ... [INFO] [stdout] 301 | let offset: u16 = read_short!(self); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_byte` which comes from the expansion of the macro `read_short` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ip` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:302:26 [INFO] [stdout] | [INFO] [stdout] 302 | self.ip -= offset as usize; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `frames`, `stack`, `stack_top`, `string_table`, `globals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chunk` on type `&mut VM` [INFO] [stdout] --> src/lox/vm.rs:340:14 [INFO] [stdout] | [INFO] [stdout] 340 | self.chunk.code.clear(); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `frames`, `stack`, `stack_top`, `string_table`, `globals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dupe` [INFO] [stdout] --> src/lox/object.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | fn equal(&self, dupe: &dyn LoxObject) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dupe` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dupe` [INFO] [stdout] --> src/lox/object.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | fn equal(&self, dupe: &dyn LoxObject) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dupe` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0560, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0560`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0560, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0560`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rlox` (bin "rlox") due to 67 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rlox` (bin "rlox" test) due to 67 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "dc4c79de37784ba995120be3b04734b5e594a1d959b358344bed48e7dfdb3efc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc4c79de37784ba995120be3b04734b5e594a1d959b358344bed48e7dfdb3efc", kill_on_drop: false }` [INFO] [stdout] dc4c79de37784ba995120be3b04734b5e594a1d959b358344bed48e7dfdb3efc