[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#d2eadb7a94ef8c9deb5137695df33cd1fc5aee92 for pr-137268 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmenges%2Frlox" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tmenges/rlox on toolchain d2eadb7a94ef8c9deb5137695df33cd1fc5aee92 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc1/source/Cargo.toml [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" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f5231178498ddc709e1d0c74cc67f17605c482fa3444da2a7d68301c2f26345 [INFO] running `Command { std: "docker" "start" "-a" "4f5231178498ddc709e1d0c74cc67f17605c482fa3444da2a7d68301c2f26345", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f5231178498ddc709e1d0c74cc67f17605c482fa3444da2a7d68301c2f26345", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f5231178498ddc709e1d0c74cc67f17605c482fa3444da2a7d68301c2f26345", kill_on_drop: false }` [INFO] [stdout] 4f5231178498ddc709e1d0c74cc67f17605c482fa3444da2a7d68301c2f26345 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98e0512387ea150a031f5f22148401ca7b2cf00058c964ace07a43d9c55e70cd [INFO] running `Command { std: "docker" "start" "-a" "98e0512387ea150a031f5f22148401ca7b2cf00058c964ace07a43d9c55e70cd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking utf8parse v0.2.2 [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 is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking strsim v0.11.1 [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] [stderr] error: could not compile `rlox` (bin "rlox") due to 67 previous errors; 1 warning emitted [INFO] [stdout] For more information about an error, try `rustc --explain E0560`. [INFO] [stdout] [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" "98e0512387ea150a031f5f22148401ca7b2cf00058c964ace07a43d9c55e70cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98e0512387ea150a031f5f22148401ca7b2cf00058c964ace07a43d9c55e70cd", kill_on_drop: false }` [INFO] [stdout] 98e0512387ea150a031f5f22148401ca7b2cf00058c964ace07a43d9c55e70cd