[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] testing tmenges/rlox against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmenges%2Frlox" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tmenges/rlox on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v4.5.36 [INFO] [stderr] Downloaded proc-macro2 v1.0.94 [INFO] [stderr] Downloaded clap_builder v4.5.36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b78576019e829a93045c34f78555c780cd10c18926c8024d4520495f499435f [INFO] running `Command { std: "docker" "start" "-a" "8b78576019e829a93045c34f78555c780cd10c18926c8024d4520495f499435f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b78576019e829a93045c34f78555c780cd10c18926c8024d4520495f499435f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b78576019e829a93045c34f78555c780cd10c18926c8024d4520495f499435f", kill_on_drop: false }` [INFO] [stdout] 8b78576019e829a93045c34f78555c780cd10c18926c8024d4520495f499435f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94385b18fb4336f6881e00d86be00e47a2c62adb26a61a2b9533748d23812632 [INFO] running `Command { std: "docker" "start" "-a" "94385b18fb4336f6881e00d86be00e47a2c62adb26a61a2b9533748d23812632", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling clap_builder v4.5.36 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling clap v4.5.36 [INFO] [stderr] Compiling 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] 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)]` (part of `#[warn(unused)]`) 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] [stderr] error: could not compile `rlox` (bin "rlox") due to 67 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "94385b18fb4336f6881e00d86be00e47a2c62adb26a61a2b9533748d23812632", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94385b18fb4336f6881e00d86be00e47a2c62adb26a61a2b9533748d23812632", kill_on_drop: false }` [INFO] [stdout] 94385b18fb4336f6881e00d86be00e47a2c62adb26a61a2b9533748d23812632