[INFO] cloning repository https://github.com/VictorFordham/rust_gb_emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/VictorFordham/rust_gb_emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVictorFordham%2Frust_gb_emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVictorFordham%2Frust_gb_emulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ee20916ac3d380ca0e4a29665f7c3f4fdc148b41 [INFO] checking VictorFordham/rust_gb_emulator against try#b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b for pr-82781 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVictorFordham%2Frust_gb_emulator" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/VictorFordham/rust_gb_emulator on toolchain b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/VictorFordham/rust_gb_emulator [INFO] finished tweaking git repo https://github.com/VictorFordham/rust_gb_emulator [INFO] tweaked toml for git repo https://github.com/VictorFordham/rust_gb_emulator written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/VictorFordham/rust_gb_emulator already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7397e9b122b226dec7d7b8a408f4132a2838259d58a4ea2102a48ff9efad56a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b7397e9b122b226dec7d7b8a408f4132a2838259d58a4ea2102a48ff9efad56a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7397e9b122b226dec7d7b8a408f4132a2838259d58a4ea2102a48ff9efad56a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7397e9b122b226dec7d7b8a408f4132a2838259d58a4ea2102a48ff9efad56a", kill_on_drop: false }` [INFO] [stdout] b7397e9b122b226dec7d7b8a408f4132a2838259d58a4ea2102a48ff9efad56a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7aaaba35c4b2cc7b827a09ba5f97651ecdd7ea3d808fa16b609f7d8784a10a8a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7aaaba35c4b2cc7b827a09ba5f97651ecdd7ea3d808fa16b609f7d8784a10a8a", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v1.0.62 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-core v0.3.13 [INFO] [stderr] Checking futures-sink v0.3.13 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking futures-task v0.3.13 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking futures-io v0.3.13 [INFO] [stderr] Compiling wide v0.4.6 [INFO] [stderr] Checking inplace_it v0.3.3 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking bytemuck v1.5.1 [INFO] [stderr] Checking pollster v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling x11 v2.18.2 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking ash v0.31.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking gfx-hal v0.6.0 [INFO] [stderr] Checking wgpu-types v0.6.1 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking ultraviolet v0.4.6 [INFO] [stderr] Checking spirv_headers v1.5.0 [INFO] [stderr] Checking gfx-memory v0.2.2 [INFO] [stderr] Checking gfx-backend-empty v0.6.0 [INFO] [stderr] Checking gfx-descriptor v0.2.0 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking naga v0.2.0 [INFO] [stderr] Checking gfx-backend-vulkan v0.6.5 [INFO] [stderr] Checking wgpu-core v0.6.5 [INFO] [stderr] Checking futures-executor v0.3.13 [INFO] [stderr] Checking futures v0.3.13 [INFO] [stderr] Checking wgpu v0.6.2 [INFO] [stderr] Checking pixels v0.2.0 [INFO] [stderr] Checking gb_emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: mismatched closing delimiter: `}` [INFO] [stdout] --> src/cpu.rs:399:9 [INFO] [stdout] | [INFO] [stdout] 394 | if Z80.f & 0x80 == 0x80 { [INFO] [stdout] | - closing delimiter possibly meant for this [INFO] [stdout] 395 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] 396 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc.wrapping_add(2); [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 399 | } else { Z80.pc += 2; } [INFO] [stdout] | ^ mismatched closing delimiter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `<` is interpreted as a start of generic arguments for `u16`, not a shift [INFO] [stdout] --> src/cpu.rs:361:35 [INFO] [stdout] | [INFO] [stdout] 361 | let value = (Z80.b as u16 << 8) + (Z80.c as u16); [INFO] [stdout] | ------------ ^^ - interpreted as generic arguments [INFO] [stdout] | | | [INFO] [stdout] | | not interpreted as shift [INFO] [stdout] | help: try shifting the cast value: `(Z80.b as u16)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `<` is interpreted as a start of generic arguments for `u16`, not a shift [INFO] [stdout] --> src/cpu.rs:449:35 [INFO] [stdout] | [INFO] [stdout] 449 | let value = (Z80.d as u16 << 8) + (Z80.e as u16); [INFO] [stdout] | ------------ ^^ - interpreted as generic arguments [INFO] [stdout] | | | [INFO] [stdout] | | not interpreted as shift [INFO] [stdout] | help: try shifting the cast value: `(Z80.d as u16)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `<` is interpreted as a start of generic arguments for `u16`, not a shift [INFO] [stdout] --> src/cpu.rs:509:35 [INFO] [stdout] | [INFO] [stdout] 509 | let value = (Z80.h as u16 << 8) + (Z80.l as u16); [INFO] [stdout] | ------------ ^^ - interpreted as generic arguments [INFO] [stdout] | | | [INFO] [stdout] | | not interpreted as shift [INFO] [stdout] | help: try shifting the cast value: `(Z80.h as u16)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `<` is interpreted as a start of generic arguments for `u16`, not a shift [INFO] [stdout] --> src/cpu.rs:548:35 [INFO] [stdout] | [INFO] [stdout] 548 | let value = (Z80.a as u16 << 8) + (Z80.f as u16); [INFO] [stdout] | ------------ ^^ - interpreted as generic arguments [INFO] [stdout] | | | [INFO] [stdout] | | not interpreted as shift [INFO] [stdout] | help: try shifting the cast value: `(Z80.a as u16)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `;` [INFO] [stdout] --> src/cpu.rs:396:74 [INFO] [stdout] | [INFO] [stdout] 396 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc.wrapping_add(2); [INFO] [stdout] | ^ no rules expected this token in macro call [INFO] [stdout] | [INFO] [stdout] ::: src/mmu.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | macro_rules! mem_access_w { [INFO] [stdout] | ------------------------- when calling this macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: mismatched closing delimiter: `}` [INFO] [stdout] --> src/cpu.rs:399:9 [INFO] [stdout] | [INFO] [stdout] 394 | if Z80.f & 0x80 == 0x80 { [INFO] [stdout] | - closing delimiter possibly meant for this [INFO] [stdout] 395 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] 396 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc.wrapping_add(2); [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 399 | } else { Z80.pc += 2; } [INFO] [stdout] | ^ mismatched closing delimiter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `<` is interpreted as a start of generic arguments for `u16`, not a shift [INFO] [stdout] --> src/cpu.rs:361:35 [INFO] [stdout] | [INFO] [stdout] 361 | let value = (Z80.b as u16 << 8) + (Z80.c as u16); [INFO] [stdout] | ------------ ^^ - interpreted as generic arguments [INFO] [stdout] | | | [INFO] [stdout] | | not interpreted as shift [INFO] [stdout] | help: try shifting the cast value: `(Z80.b as u16)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `<` is interpreted as a start of generic arguments for `u16`, not a shift [INFO] [stdout] --> src/cpu.rs:449:35 [INFO] [stdout] | [INFO] [stdout] 449 | let value = (Z80.d as u16 << 8) + (Z80.e as u16); [INFO] [stdout] | ------------ ^^ - interpreted as generic arguments [INFO] [stdout] | | | [INFO] [stdout] | | not interpreted as shift [INFO] [stdout] | help: try shifting the cast value: `(Z80.d as u16)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `<` is interpreted as a start of generic arguments for `u16`, not a shift [INFO] [stdout] --> src/cpu.rs:509:35 [INFO] [stdout] | [INFO] [stdout] 509 | let value = (Z80.h as u16 << 8) + (Z80.l as u16); [INFO] [stdout] | ------------ ^^ - interpreted as generic arguments [INFO] [stdout] | | | [INFO] [stdout] | | not interpreted as shift [INFO] [stdout] | help: try shifting the cast value: `(Z80.h as u16)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `<` is interpreted as a start of generic arguments for `u16`, not a shift [INFO] [stdout] --> src/cpu.rs:548:35 [INFO] [stdout] | [INFO] [stdout] 548 | let value = (Z80.a as u16 << 8) + (Z80.f as u16); [INFO] [stdout] | ------------ ^^ - interpreted as generic arguments [INFO] [stdout] | | | [INFO] [stdout] | | not interpreted as shift [INFO] [stdout] | help: try shifting the cast value: `(Z80.a as u16)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `;` [INFO] [stdout] --> src/cpu.rs:396:74 [INFO] [stdout] | [INFO] [stdout] 396 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc.wrapping_add(2); [INFO] [stdout] | ^ no rules expected this token in macro call [INFO] [stdout] | [INFO] [stdout] ::: src/mmu.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | macro_rules! mem_access_w { [INFO] [stdout] | ------------------------- when calling this macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:122:36 [INFO] [stdout] | [INFO] [stdout] 122 | let offset = mem_access_b!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:122:53 [INFO] [stdout] | [INFO] [stdout] 122 | let offset = mem_access_b!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | Z80.pc += 1; [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | Z80.pc = (Z80.pc as i16 + (offset as i8) as i16) as u16; [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 124 | Z80.pc = (Z80.pc as i16 + (offset as i8) as i16) as u16; [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | Z80.last_m = 1; Z80.last_t = 4; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:325:25 [INFO] [stdout] | [INFO] [stdout] 325 | Z80.last_m = 1; Z80.last_t = 4; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:326:12 [INFO] [stdout] | [INFO] [stdout] 326 | if Z80.f & 0x80 == 00 { [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 327 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:327:36 [INFO] [stdout] | [INFO] [stdout] 327 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:327:53 [INFO] [stdout] | [INFO] [stdout] 327 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:328:13 [INFO] [stdout] | [INFO] [stdout] 328 | Z80.sp = Z80.sp.wrapping_add(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:328:22 [INFO] [stdout] | [INFO] [stdout] 328 | Z80.sp = Z80.sp.wrapping_add(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:329:13 [INFO] [stdout] | [INFO] [stdout] 329 | Z80.last_m += 2; Z80.last_t += 8; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:329:30 [INFO] [stdout] | [INFO] [stdout] 329 | Z80.last_m += 2; Z80.last_t += 8; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:333:35 [INFO] [stdout] | [INFO] [stdout] 333 | let value = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:333:52 [INFO] [stdout] | [INFO] [stdout] 333 | let value = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | Z80.sp = Z80.sp.wrapping_add(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:334:18 [INFO] [stdout] | [INFO] [stdout] 334 | Z80.sp = Z80.sp.wrapping_add(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | Z80.b = value >> 8 as u8; [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | Z80.c = value & 0xff as u8; [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:122:36 [INFO] [stdout] | [INFO] [stdout] 122 | let offset = mem_access_b!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:122:53 [INFO] [stdout] | [INFO] [stdout] 122 | let offset = mem_access_b!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | Z80.pc += 1; [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:337:25 [INFO] [stdout] | [INFO] [stdout] 337 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | Z80.pc = (Z80.pc as i16 + (offset as i8) as i16) as u16; [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 124 | Z80.pc = (Z80.pc as i16 + (offset as i8) as i16) as u16; [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | Z80.last_m = 1; Z80.last_t = 4; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:340:25 [INFO] [stdout] | [INFO] [stdout] 340 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:325:25 [INFO] [stdout] | [INFO] [stdout] 325 | Z80.last_m = 1; Z80.last_t = 4; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:326:12 [INFO] [stdout] | [INFO] [stdout] 326 | if Z80.f & 0x80 == 00 { [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 327 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:327:36 [INFO] [stdout] | [INFO] [stdout] 327 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:327:53 [INFO] [stdout] | [INFO] [stdout] 327 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:328:13 [INFO] [stdout] | [INFO] [stdout] 328 | Z80.sp = Z80.sp.wrapping_add(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | if (Z80.f & 0x80) == 0x00 { [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:328:22 [INFO] [stdout] | [INFO] [stdout] 328 | Z80.sp = Z80.sp.wrapping_add(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:329:13 [INFO] [stdout] | [INFO] [stdout] 329 | Z80.last_m += 2; Z80.last_t += 8; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:329:30 [INFO] [stdout] | [INFO] [stdout] 329 | Z80.last_m += 2; Z80.last_t += 8; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:333:35 [INFO] [stdout] | [INFO] [stdout] 333 | let value = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:333:52 [INFO] [stdout] | [INFO] [stdout] 333 | let value = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | Z80.sp = Z80.sp.wrapping_add(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:334:18 [INFO] [stdout] | [INFO] [stdout] 334 | Z80.sp = Z80.sp.wrapping_add(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | Z80.b = value >> 8 as u8; [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:342:13 [INFO] [stdout] | [INFO] [stdout] 342 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:342:36 [INFO] [stdout] | [INFO] [stdout] 342 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:342:53 [INFO] [stdout] | [INFO] [stdout] 342 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | Z80.c = value & 0xff as u8; [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | Z80.last_m += 1; Z80.last_t += 4; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:343:30 [INFO] [stdout] | [INFO] [stdout] 343 | Z80.last_m += 1; Z80.last_t += 4; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:344:18 [INFO] [stdout] | [INFO] [stdout] 344 | } else { Z80.pc = Z80.pc.wrapping_add(2); } [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:344:27 [INFO] [stdout] | [INFO] [stdout] 344 | } else { Z80.pc = Z80.pc.wrapping_add(2); } [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 347 | Z80.pc = mem_access_w!(cpu.memory_unit, cpu.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:337:25 [INFO] [stdout] | [INFO] [stdout] 337 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:348:25 [INFO] [stdout] | [INFO] [stdout] 348 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 351 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:351:25 [INFO] [stdout] | [INFO] [stdout] 351 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | if Z80.f & 0x80 == 0x00 { [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:353:13 [INFO] [stdout] | [INFO] [stdout] 353 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:340:25 [INFO] [stdout] | [INFO] [stdout] 340 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:353:22 [INFO] [stdout] | [INFO] [stdout] 353 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:354:27 [INFO] [stdout] | [INFO] [stdout] 354 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc.wrapping_add(2)); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:354:44 [INFO] [stdout] | [INFO] [stdout] 354 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc.wrapping_add(2)); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:354:52 [INFO] [stdout] | [INFO] [stdout] 354 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc.wrapping_add(2)); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:355:13 [INFO] [stdout] | [INFO] [stdout] 355 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:355:36 [INFO] [stdout] | [INFO] [stdout] 355 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:355:53 [INFO] [stdout] | [INFO] [stdout] 355 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | Z80.last_m += 2; Z80.last_t += 8; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:356:30 [INFO] [stdout] | [INFO] [stdout] 356 | Z80.last_m += 2; Z80.last_t += 8; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:357:18 [INFO] [stdout] | [INFO] [stdout] 357 | } else { Z80.pc = Z80.pc.wrapping_add(2); } [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:357:27 [INFO] [stdout] | [INFO] [stdout] 357 | } else { Z80.pc = Z80.pc.wrapping_add(2); } [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 360 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:360:18 [INFO] [stdout] | [INFO] [stdout] 360 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | if (Z80.f & 0x80) == 0x00 { [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:361:22 [INFO] [stdout] | [INFO] [stdout] 361 | let value = (Z80.b as u16 << 8) + (Z80.c as u16); [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:342:13 [INFO] [stdout] | [INFO] [stdout] 342 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:361:44 [INFO] [stdout] | [INFO] [stdout] 361 | let value = (Z80.b as u16 << 8) + (Z80.c as u16); [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:342:36 [INFO] [stdout] | [INFO] [stdout] 342 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:362:23 [INFO] [stdout] | [INFO] [stdout] 362 | mem_access_w!(Z80.memory_unit, Z80.sp, value); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:342:53 [INFO] [stdout] | [INFO] [stdout] 342 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:362:40 [INFO] [stdout] | [INFO] [stdout] 362 | mem_access_w!(Z80.memory_unit, Z80.sp, value); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | Z80.last_m += 1; Z80.last_t += 4; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:363:9 [INFO] [stdout] | [INFO] [stdout] 363 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:343:30 [INFO] [stdout] | [INFO] [stdout] 343 | Z80.last_m += 1; Z80.last_t += 4; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:363:25 [INFO] [stdout] | [INFO] [stdout] 363 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:344:18 [INFO] [stdout] | [INFO] [stdout] 344 | } else { Z80.pc = Z80.pc.wrapping_add(2); } [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:344:27 [INFO] [stdout] | [INFO] [stdout] 344 | } else { Z80.pc = Z80.pc.wrapping_add(2); } [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 347 | Z80.pc = mem_access_w!(cpu.memory_unit, cpu.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:348:25 [INFO] [stdout] | [INFO] [stdout] 348 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 351 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:351:25 [INFO] [stdout] | [INFO] [stdout] 351 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | if Z80.f & 0x80 == 0x00 { [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:353:13 [INFO] [stdout] | [INFO] [stdout] 353 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:353:22 [INFO] [stdout] | [INFO] [stdout] 353 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:367:9 [INFO] [stdout] | [INFO] [stdout] 367 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:367:18 [INFO] [stdout] | [INFO] [stdout] 367 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:368:23 [INFO] [stdout] | [INFO] [stdout] 368 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:368:40 [INFO] [stdout] | [INFO] [stdout] 368 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:368:48 [INFO] [stdout] | [INFO] [stdout] 368 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:369:9 [INFO] [stdout] | [INFO] [stdout] 369 | Z80.pc = 0x00; [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:370:9 [INFO] [stdout] | [INFO] [stdout] 370 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:370:25 [INFO] [stdout] | [INFO] [stdout] 370 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:373:9 [INFO] [stdout] | [INFO] [stdout] 373 | Z80.last_m = 1; Z80.last_t = 4; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:373:25 [INFO] [stdout] | [INFO] [stdout] 373 | Z80.last_m = 1; Z80.last_t = 4; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:374:12 [INFO] [stdout] | [INFO] [stdout] 374 | if Z80.f & 0x80 == 0x80 { [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:375:13 [INFO] [stdout] | [INFO] [stdout] 375 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:375:36 [INFO] [stdout] | [INFO] [stdout] 375 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:375:53 [INFO] [stdout] | [INFO] [stdout] 375 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:376:13 [INFO] [stdout] | [INFO] [stdout] 376 | Z80.sp = Z80.sp.wrapping_add(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:376:22 [INFO] [stdout] | [INFO] [stdout] 376 | Z80.sp = Z80.sp.wrapping_add(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | Z80.last_m += 2; Z80.last_t += 8; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:377:30 [INFO] [stdout] | [INFO] [stdout] 377 | Z80.last_m += 2; Z80.last_t += 8; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.sp); Z80.sp += 2; [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:381:32 [INFO] [stdout] | [INFO] [stdout] 381 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.sp); Z80.sp += 2; [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:381:49 [INFO] [stdout] | [INFO] [stdout] 381 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.sp); Z80.sp += 2; [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:381:58 [INFO] [stdout] | [INFO] [stdout] 381 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.sp); Z80.sp += 2; [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:382:9 [INFO] [stdout] | [INFO] [stdout] 382 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:354:27 [INFO] [stdout] | [INFO] [stdout] 354 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc.wrapping_add(2)); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:354:44 [INFO] [stdout] | [INFO] [stdout] 354 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc.wrapping_add(2)); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:354:52 [INFO] [stdout] | [INFO] [stdout] 354 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc.wrapping_add(2)); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:355:13 [INFO] [stdout] | [INFO] [stdout] 355 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:355:36 [INFO] [stdout] | [INFO] [stdout] 355 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:355:53 [INFO] [stdout] | [INFO] [stdout] 355 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | Z80.last_m += 2; Z80.last_t += 8; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:356:30 [INFO] [stdout] | [INFO] [stdout] 356 | Z80.last_m += 2; Z80.last_t += 8; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:357:18 [INFO] [stdout] | [INFO] [stdout] 357 | } else { Z80.pc = Z80.pc.wrapping_add(2); } [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:357:27 [INFO] [stdout] | [INFO] [stdout] 357 | } else { Z80.pc = Z80.pc.wrapping_add(2); } [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 360 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:360:18 [INFO] [stdout] | [INFO] [stdout] 360 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:361:22 [INFO] [stdout] | [INFO] [stdout] 361 | let value = (Z80.b as u16 << 8) + (Z80.c as u16); [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:361:44 [INFO] [stdout] | [INFO] [stdout] 361 | let value = (Z80.b as u16 << 8) + (Z80.c as u16); [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:362:23 [INFO] [stdout] | [INFO] [stdout] 362 | mem_access_w!(Z80.memory_unit, Z80.sp, value); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:362:40 [INFO] [stdout] | [INFO] [stdout] 362 | mem_access_w!(Z80.memory_unit, Z80.sp, value); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:363:9 [INFO] [stdout] | [INFO] [stdout] 363 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:382:25 [INFO] [stdout] | [INFO] [stdout] 382 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:363:25 [INFO] [stdout] | [INFO] [stdout] 363 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:385:9 [INFO] [stdout] | [INFO] [stdout] 385 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:367:9 [INFO] [stdout] | [INFO] [stdout] 367 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:385:25 [INFO] [stdout] | [INFO] [stdout] 385 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:367:18 [INFO] [stdout] | [INFO] [stdout] 367 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:386:13 [INFO] [stdout] | [INFO] [stdout] 386 | if (Z80.f & 0x80) == 0x80 { [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:368:23 [INFO] [stdout] | [INFO] [stdout] 368 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:368:40 [INFO] [stdout] | [INFO] [stdout] 368 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:387:13 [INFO] [stdout] | [INFO] [stdout] 387 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:368:48 [INFO] [stdout] | [INFO] [stdout] 368 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:387:36 [INFO] [stdout] | [INFO] [stdout] 387 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:369:9 [INFO] [stdout] | [INFO] [stdout] 369 | Z80.pc = 0x00; [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:387:53 [INFO] [stdout] | [INFO] [stdout] 387 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:370:9 [INFO] [stdout] | [INFO] [stdout] 370 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:388:13 [INFO] [stdout] | [INFO] [stdout] 388 | Z80.last_m += 1; Z80.last_t += 4; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:370:25 [INFO] [stdout] | [INFO] [stdout] 370 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:373:9 [INFO] [stdout] | [INFO] [stdout] 373 | Z80.last_m = 1; Z80.last_t = 4; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:388:30 [INFO] [stdout] | [INFO] [stdout] 388 | Z80.last_m += 1; Z80.last_t += 4; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:373:25 [INFO] [stdout] | [INFO] [stdout] 373 | Z80.last_m = 1; Z80.last_t = 4; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:389:18 [INFO] [stdout] | [INFO] [stdout] 389 | } else { Z80.pc = Z80.pc.wrapping_add(2); } [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:374:12 [INFO] [stdout] | [INFO] [stdout] 374 | if Z80.f & 0x80 == 0x80 { [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:389:27 [INFO] [stdout] | [INFO] [stdout] 389 | } else { Z80.pc = Z80.pc.wrapping_add(2); } [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:375:13 [INFO] [stdout] | [INFO] [stdout] 375 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 393 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:375:36 [INFO] [stdout] | [INFO] [stdout] 375 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:393:25 [INFO] [stdout] | [INFO] [stdout] 393 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:394:12 [INFO] [stdout] | [INFO] [stdout] 394 | if Z80.f & 0x80 == 0x80 { [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:395:13 [INFO] [stdout] | [INFO] [stdout] 395 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:395:22 [INFO] [stdout] | [INFO] [stdout] 395 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:399:18 [INFO] [stdout] | [INFO] [stdout] 399 | } else { Z80.pc += 2; } [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:402:9 [INFO] [stdout] | [INFO] [stdout] 402 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:402:18 [INFO] [stdout] | [INFO] [stdout] 402 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:403:23 [INFO] [stdout] | [INFO] [stdout] 403 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc.wrapping_add(2)); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:403:40 [INFO] [stdout] | [INFO] [stdout] 403 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc.wrapping_add(2)); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:403:48 [INFO] [stdout] | [INFO] [stdout] 403 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc.wrapping_add(2)); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:404:32 [INFO] [stdout] | [INFO] [stdout] 404 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:404:49 [INFO] [stdout] | [INFO] [stdout] 404 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 405 | Z80.last_m = 5; Z80.last_t = 20; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:405:25 [INFO] [stdout] | [INFO] [stdout] 405 | Z80.last_m = 5; Z80.last_t = 20; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:409:9 [INFO] [stdout] | [INFO] [stdout] 409 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:409:18 [INFO] [stdout] | [INFO] [stdout] 409 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:410:23 [INFO] [stdout] | [INFO] [stdout] 410 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:410:40 [INFO] [stdout] | [INFO] [stdout] 410 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:410:48 [INFO] [stdout] | [INFO] [stdout] 410 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | Z80.pc = 0x08; [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:412:9 [INFO] [stdout] | [INFO] [stdout] 412 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:412:25 [INFO] [stdout] | [INFO] [stdout] 412 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:417:9 [INFO] [stdout] | [INFO] [stdout] 417 | Z80.last_m = 1; Z80.last_t = 4; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:417:25 [INFO] [stdout] | [INFO] [stdout] 417 | Z80.last_m = 1; Z80.last_t = 4; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:418:12 [INFO] [stdout] | [INFO] [stdout] 418 | if Z80.f & 0x10 == 0x00 { [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:375:53 [INFO] [stdout] | [INFO] [stdout] 375 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:376:13 [INFO] [stdout] | [INFO] [stdout] 376 | Z80.sp = Z80.sp.wrapping_add(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:376:22 [INFO] [stdout] | [INFO] [stdout] 376 | Z80.sp = Z80.sp.wrapping_add(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | Z80.last_m += 2; Z80.last_t += 8; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:377:30 [INFO] [stdout] | [INFO] [stdout] 377 | Z80.last_m += 2; Z80.last_t += 8; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.sp); Z80.sp += 2; [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:381:32 [INFO] [stdout] | [INFO] [stdout] 381 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.sp); Z80.sp += 2; [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:381:49 [INFO] [stdout] | [INFO] [stdout] 381 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.sp); Z80.sp += 2; [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:381:58 [INFO] [stdout] | [INFO] [stdout] 381 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.sp); Z80.sp += 2; [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:382:9 [INFO] [stdout] | [INFO] [stdout] 382 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:382:25 [INFO] [stdout] | [INFO] [stdout] 382 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:385:9 [INFO] [stdout] | [INFO] [stdout] 385 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:385:25 [INFO] [stdout] | [INFO] [stdout] 385 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:386:13 [INFO] [stdout] | [INFO] [stdout] 386 | if (Z80.f & 0x80) == 0x80 { [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:387:13 [INFO] [stdout] | [INFO] [stdout] 387 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:419:13 [INFO] [stdout] | [INFO] [stdout] 419 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:387:36 [INFO] [stdout] | [INFO] [stdout] 387 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:419:36 [INFO] [stdout] | [INFO] [stdout] 419 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:387:53 [INFO] [stdout] | [INFO] [stdout] 387 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:419:53 [INFO] [stdout] | [INFO] [stdout] 419 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:388:13 [INFO] [stdout] | [INFO] [stdout] 388 | Z80.last_m += 1; Z80.last_t += 4; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:420:13 [INFO] [stdout] | [INFO] [stdout] 420 | Z80.sp = Z80.sp.wrapping_add(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:388:30 [INFO] [stdout] | [INFO] [stdout] 388 | Z80.last_m += 1; Z80.last_t += 4; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:420:22 [INFO] [stdout] | [INFO] [stdout] 420 | Z80.sp = Z80.sp.wrapping_add(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:389:18 [INFO] [stdout] | [INFO] [stdout] 389 | } else { Z80.pc = Z80.pc.wrapping_add(2); } [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:421:13 [INFO] [stdout] | [INFO] [stdout] 421 | Z80.last_m += 2; Z80.last_t += 8; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:389:27 [INFO] [stdout] | [INFO] [stdout] 389 | } else { Z80.pc = Z80.pc.wrapping_add(2); } [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 393 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:421:30 [INFO] [stdout] | [INFO] [stdout] 421 | Z80.last_m += 2; Z80.last_t += 8; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:393:25 [INFO] [stdout] | [INFO] [stdout] 393 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:425:35 [INFO] [stdout] | [INFO] [stdout] 425 | let value = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:394:12 [INFO] [stdout] | [INFO] [stdout] 394 | if Z80.f & 0x80 == 0x80 { [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:425:52 [INFO] [stdout] | [INFO] [stdout] 425 | let value = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:395:13 [INFO] [stdout] | [INFO] [stdout] 395 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:426:9 [INFO] [stdout] | [INFO] [stdout] 426 | Z80.sp = Z80.sp.wrapping_add(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:395:22 [INFO] [stdout] | [INFO] [stdout] 395 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:399:18 [INFO] [stdout] | [INFO] [stdout] 399 | } else { Z80.pc += 2; } [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:402:9 [INFO] [stdout] | [INFO] [stdout] 402 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:426:18 [INFO] [stdout] | [INFO] [stdout] 426 | Z80.sp = Z80.sp.wrapping_add(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:402:18 [INFO] [stdout] | [INFO] [stdout] 402 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:427:9 [INFO] [stdout] | [INFO] [stdout] 427 | Z80.d = value >> 8 as u8; [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:428:9 [INFO] [stdout] | [INFO] [stdout] 428 | Z80.e = value & 0xff as u8; [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:429:9 [INFO] [stdout] | [INFO] [stdout] 429 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:429:25 [INFO] [stdout] | [INFO] [stdout] 429 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:432:9 [INFO] [stdout] | [INFO] [stdout] 432 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:432:25 [INFO] [stdout] | [INFO] [stdout] 432 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:433:12 [INFO] [stdout] | [INFO] [stdout] 433 | if Z80.f & 0x10 == 0x00 { [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:434:13 [INFO] [stdout] | [INFO] [stdout] 434 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:434:36 [INFO] [stdout] | [INFO] [stdout] 434 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:434:53 [INFO] [stdout] | [INFO] [stdout] 434 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:435:13 [INFO] [stdout] | [INFO] [stdout] 435 | Z80.last_m += 1; Z80.last_t += 4; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:435:30 [INFO] [stdout] | [INFO] [stdout] 435 | Z80.last_m += 1; Z80.last_t += 4; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:436:18 [INFO] [stdout] | [INFO] [stdout] 436 | } else { Z80.pc = Z80.pc.wrapping_add(2); } [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:436:27 [INFO] [stdout] | [INFO] [stdout] 436 | } else { Z80.pc = Z80.pc.wrapping_add(2); } [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:440:9 [INFO] [stdout] | [INFO] [stdout] 440 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:440:25 [INFO] [stdout] | [INFO] [stdout] 440 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:403:23 [INFO] [stdout] | [INFO] [stdout] 403 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc.wrapping_add(2)); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:441:12 [INFO] [stdout] | [INFO] [stdout] 441 | if Z80.f & 0x10 == 0x00 { [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:403:40 [INFO] [stdout] | [INFO] [stdout] 403 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc.wrapping_add(2)); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:442:13 [INFO] [stdout] | [INFO] [stdout] 442 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:403:48 [INFO] [stdout] | [INFO] [stdout] 403 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc.wrapping_add(2)); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:442:36 [INFO] [stdout] | [INFO] [stdout] 442 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:442:53 [INFO] [stdout] | [INFO] [stdout] 442 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:443:13 [INFO] [stdout] | [INFO] [stdout] 443 | Z80.sp = Z80.sp.wrapping_add(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:404:32 [INFO] [stdout] | [INFO] [stdout] 404 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:443:22 [INFO] [stdout] | [INFO] [stdout] 443 | Z80.sp = Z80.sp.wrapping_add(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:404:49 [INFO] [stdout] | [INFO] [stdout] 404 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:444:13 [INFO] [stdout] | [INFO] [stdout] 444 | Z80.last_m += 2; Z80.last_t += 8; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 405 | Z80.last_m = 5; Z80.last_t = 20; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:444:30 [INFO] [stdout] | [INFO] [stdout] 444 | Z80.last_m += 2; Z80.last_t += 8; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:405:25 [INFO] [stdout] | [INFO] [stdout] 405 | Z80.last_m = 5; Z80.last_t = 20; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:448:9 [INFO] [stdout] | [INFO] [stdout] 448 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:409:9 [INFO] [stdout] | [INFO] [stdout] 409 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:448:18 [INFO] [stdout] | [INFO] [stdout] 448 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:409:18 [INFO] [stdout] | [INFO] [stdout] 409 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:449:22 [INFO] [stdout] | [INFO] [stdout] 449 | let value = (Z80.d as u16 << 8) + (Z80.e as u16); [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:410:23 [INFO] [stdout] | [INFO] [stdout] 410 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:410:40 [INFO] [stdout] | [INFO] [stdout] 410 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:449:44 [INFO] [stdout] | [INFO] [stdout] 449 | let value = (Z80.d as u16 << 8) + (Z80.e as u16); [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:450:23 [INFO] [stdout] | [INFO] [stdout] 450 | mem_access_w!(Z80.memory_unit, Z80.sp, value); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:450:40 [INFO] [stdout] | [INFO] [stdout] 450 | mem_access_w!(Z80.memory_unit, Z80.sp, value); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:451:9 [INFO] [stdout] | [INFO] [stdout] 451 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:451:25 [INFO] [stdout] | [INFO] [stdout] 451 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:455:9 [INFO] [stdout] | [INFO] [stdout] 455 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:455:18 [INFO] [stdout] | [INFO] [stdout] 455 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:456:23 [INFO] [stdout] | [INFO] [stdout] 456 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:456:40 [INFO] [stdout] | [INFO] [stdout] 456 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:456:48 [INFO] [stdout] | [INFO] [stdout] 456 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:457:9 [INFO] [stdout] | [INFO] [stdout] 457 | Z80.pc = 0x10; [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:458:9 [INFO] [stdout] | [INFO] [stdout] 458 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:458:25 [INFO] [stdout] | [INFO] [stdout] 458 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:461:9 [INFO] [stdout] | [INFO] [stdout] 461 | Z80.last_m = 1; Z80.last_t = 4; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:461:25 [INFO] [stdout] | [INFO] [stdout] 461 | Z80.last_m = 1; Z80.last_t = 4; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:462:12 [INFO] [stdout] | [INFO] [stdout] 462 | if Z80.f & 0x10 == 0x10 { [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:463:13 [INFO] [stdout] | [INFO] [stdout] 463 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:463:36 [INFO] [stdout] | [INFO] [stdout] 463 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:463:53 [INFO] [stdout] | [INFO] [stdout] 463 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:464:13 [INFO] [stdout] | [INFO] [stdout] 464 | Z80.sp = Z80.sp.wrapping_add(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:410:48 [INFO] [stdout] | [INFO] [stdout] 410 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | Z80.pc = 0x08; [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:412:9 [INFO] [stdout] | [INFO] [stdout] 412 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:412:25 [INFO] [stdout] | [INFO] [stdout] 412 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:417:9 [INFO] [stdout] | [INFO] [stdout] 417 | Z80.last_m = 1; Z80.last_t = 4; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:417:25 [INFO] [stdout] | [INFO] [stdout] 417 | Z80.last_m = 1; Z80.last_t = 4; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:418:12 [INFO] [stdout] | [INFO] [stdout] 418 | if Z80.f & 0x10 == 0x00 { [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:419:13 [INFO] [stdout] | [INFO] [stdout] 419 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:419:36 [INFO] [stdout] | [INFO] [stdout] 419 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:464:22 [INFO] [stdout] | [INFO] [stdout] 464 | Z80.sp = Z80.sp.wrapping_add(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:465:13 [INFO] [stdout] | [INFO] [stdout] 465 | Z80.last_m += 2; Z80.last_t += 8; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:465:30 [INFO] [stdout] | [INFO] [stdout] 465 | Z80.last_m += 2; Z80.last_t += 8; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:419:53 [INFO] [stdout] | [INFO] [stdout] 419 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:470:9 [INFO] [stdout] | [INFO] [stdout] 470 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:470:25 [INFO] [stdout] | [INFO] [stdout] 470 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:420:13 [INFO] [stdout] | [INFO] [stdout] 420 | Z80.sp = Z80.sp.wrapping_add(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:471:12 [INFO] [stdout] | [INFO] [stdout] 471 | if Z80.f & 0x10 == 0x10 { [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:472:13 [INFO] [stdout] | [INFO] [stdout] 472 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:420:22 [INFO] [stdout] | [INFO] [stdout] 420 | Z80.sp = Z80.sp.wrapping_add(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:472:36 [INFO] [stdout] | [INFO] [stdout] 472 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:472:53 [INFO] [stdout] | [INFO] [stdout] 472 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:421:13 [INFO] [stdout] | [INFO] [stdout] 421 | Z80.last_m += 2; Z80.last_t += 8; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:473:13 [INFO] [stdout] | [INFO] [stdout] 473 | Z80.last_m += 1; Z80.last_t += 4; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:473:30 [INFO] [stdout] | [INFO] [stdout] 473 | Z80.last_m += 1; Z80.last_t += 4; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:474:18 [INFO] [stdout] | [INFO] [stdout] 474 | } else { Z80.pc = Z80.pc.wrapping_add(2); } [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:421:30 [INFO] [stdout] | [INFO] [stdout] 421 | Z80.last_m += 2; Z80.last_t += 8; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:474:27 [INFO] [stdout] | [INFO] [stdout] 474 | } else { Z80.pc = Z80.pc.wrapping_add(2); } [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:478:9 [INFO] [stdout] | [INFO] [stdout] 478 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:425:35 [INFO] [stdout] | [INFO] [stdout] 425 | let value = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:478:25 [INFO] [stdout] | [INFO] [stdout] 478 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:479:12 [INFO] [stdout] | [INFO] [stdout] 479 | if Z80.f & 0x10 == 0x10 { [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:480:13 [INFO] [stdout] | [INFO] [stdout] 480 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:480:22 [INFO] [stdout] | [INFO] [stdout] 480 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:481:27 [INFO] [stdout] | [INFO] [stdout] 481 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc.wrapping_add(2)); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:481:44 [INFO] [stdout] | [INFO] [stdout] 481 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc.wrapping_add(2)); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:481:52 [INFO] [stdout] | [INFO] [stdout] 481 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc.wrapping_add(2)); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:482:13 [INFO] [stdout] | [INFO] [stdout] 482 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:482:36 [INFO] [stdout] | [INFO] [stdout] 482 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:482:53 [INFO] [stdout] | [INFO] [stdout] 482 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:483:13 [INFO] [stdout] | [INFO] [stdout] 483 | Z80.last_m += 2; Z80.last_t += 8; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:483:30 [INFO] [stdout] | [INFO] [stdout] 483 | Z80.last_m += 2; Z80.last_t += 8; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:484:18 [INFO] [stdout] | [INFO] [stdout] 484 | } else { Z80.pc = Z80.pc.wrapping_add(2); } [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:484:27 [INFO] [stdout] | [INFO] [stdout] 484 | } else { Z80.pc = Z80.pc.wrapping_add(2); } [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:489:9 [INFO] [stdout] | [INFO] [stdout] 489 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:489:18 [INFO] [stdout] | [INFO] [stdout] 489 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:490:23 [INFO] [stdout] | [INFO] [stdout] 490 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:490:40 [INFO] [stdout] | [INFO] [stdout] 490 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:490:48 [INFO] [stdout] | [INFO] [stdout] 490 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:491:9 [INFO] [stdout] | [INFO] [stdout] 491 | Z80.pc = 0x18; [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:492:9 [INFO] [stdout] | [INFO] [stdout] 492 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:492:25 [INFO] [stdout] | [INFO] [stdout] 492 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:498:35 [INFO] [stdout] | [INFO] [stdout] 498 | let value = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:498:52 [INFO] [stdout] | [INFO] [stdout] 498 | let value = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:499:9 [INFO] [stdout] | [INFO] [stdout] 499 | Z80.sp = Z80.sp.wrapping_add(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:499:18 [INFO] [stdout] | [INFO] [stdout] 499 | Z80.sp = Z80.sp.wrapping_add(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:500:9 [INFO] [stdout] | [INFO] [stdout] 500 | Z80.h = value >> 8 as u8; [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:501:9 [INFO] [stdout] | [INFO] [stdout] 501 | Z80.l = value & 0xff as u8; [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:502:9 [INFO] [stdout] | [INFO] [stdout] 502 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:502:25 [INFO] [stdout] | [INFO] [stdout] 502 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:508:9 [INFO] [stdout] | [INFO] [stdout] 508 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:508:18 [INFO] [stdout] | [INFO] [stdout] 508 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:509:22 [INFO] [stdout] | [INFO] [stdout] 509 | let value = (Z80.h as u16 << 8) + (Z80.l as u16); [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:509:44 [INFO] [stdout] | [INFO] [stdout] 509 | let value = (Z80.h as u16 << 8) + (Z80.l as u16); [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:510:23 [INFO] [stdout] | [INFO] [stdout] 510 | mem_access_w!(Z80.memory_unit, Z80.sp, value); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:510:40 [INFO] [stdout] | [INFO] [stdout] 510 | mem_access_w!(Z80.memory_unit, Z80.sp, value); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:425:52 [INFO] [stdout] | [INFO] [stdout] 425 | let value = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:426:9 [INFO] [stdout] | [INFO] [stdout] 426 | Z80.sp = Z80.sp.wrapping_add(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:426:18 [INFO] [stdout] | [INFO] [stdout] 426 | Z80.sp = Z80.sp.wrapping_add(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:427:9 [INFO] [stdout] | [INFO] [stdout] 427 | Z80.d = value >> 8 as u8; [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:428:9 [INFO] [stdout] | [INFO] [stdout] 428 | Z80.e = value & 0xff as u8; [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:429:9 [INFO] [stdout] | [INFO] [stdout] 429 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:429:25 [INFO] [stdout] | [INFO] [stdout] 429 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:432:9 [INFO] [stdout] | [INFO] [stdout] 432 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:432:25 [INFO] [stdout] | [INFO] [stdout] 432 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:433:12 [INFO] [stdout] | [INFO] [stdout] 433 | if Z80.f & 0x10 == 0x00 { [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:434:13 [INFO] [stdout] | [INFO] [stdout] 434 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:434:36 [INFO] [stdout] | [INFO] [stdout] 434 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:511:9 [INFO] [stdout] | [INFO] [stdout] 511 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:511:25 [INFO] [stdout] | [INFO] [stdout] 511 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:515:9 [INFO] [stdout] | [INFO] [stdout] 515 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:515:18 [INFO] [stdout] | [INFO] [stdout] 515 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:516:23 [INFO] [stdout] | [INFO] [stdout] 516 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:516:40 [INFO] [stdout] | [INFO] [stdout] 516 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:516:48 [INFO] [stdout] | [INFO] [stdout] 516 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:517:9 [INFO] [stdout] | [INFO] [stdout] 517 | Z80.pc = 0x20; [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:518:9 [INFO] [stdout] | [INFO] [stdout] 518 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:518:25 [INFO] [stdout] | [INFO] [stdout] 518 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:528:9 [INFO] [stdout] | [INFO] [stdout] 528 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:528:18 [INFO] [stdout] | [INFO] [stdout] 528 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:529:23 [INFO] [stdout] | [INFO] [stdout] 529 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:529:40 [INFO] [stdout] | [INFO] [stdout] 529 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:529:48 [INFO] [stdout] | [INFO] [stdout] 529 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:530:9 [INFO] [stdout] | [INFO] [stdout] 530 | Z80.pc = 0x28; [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:531:9 [INFO] [stdout] | [INFO] [stdout] 531 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:531:25 [INFO] [stdout] | [INFO] [stdout] 531 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:537:35 [INFO] [stdout] | [INFO] [stdout] 537 | let value = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:537:52 [INFO] [stdout] | [INFO] [stdout] 537 | let value = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:538:9 [INFO] [stdout] | [INFO] [stdout] 538 | Z80.sp = Z80.sp.wrapping_add(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:538:18 [INFO] [stdout] | [INFO] [stdout] 538 | Z80.sp = Z80.sp.wrapping_add(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:539:9 [INFO] [stdout] | [INFO] [stdout] 539 | Z80.a = value >> 8 as u8; [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:540:9 [INFO] [stdout] | [INFO] [stdout] 540 | Z80.f = value & 0xff as u8; [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:541:9 [INFO] [stdout] | [INFO] [stdout] 541 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:541:25 [INFO] [stdout] | [INFO] [stdout] 541 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:547:9 [INFO] [stdout] | [INFO] [stdout] 547 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:547:18 [INFO] [stdout] | [INFO] [stdout] 547 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:548:22 [INFO] [stdout] | [INFO] [stdout] 548 | let value = (Z80.a as u16 << 8) + (Z80.f as u16); [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:548:44 [INFO] [stdout] | [INFO] [stdout] 548 | let value = (Z80.a as u16 << 8) + (Z80.f as u16); [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:549:23 [INFO] [stdout] | [INFO] [stdout] 549 | mem_access_w!(Z80.memory_unit, Z80.sp, value); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:549:40 [INFO] [stdout] | [INFO] [stdout] 549 | mem_access_w!(Z80.memory_unit, Z80.sp, value); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:550:9 [INFO] [stdout] | [INFO] [stdout] 550 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:550:25 [INFO] [stdout] | [INFO] [stdout] 550 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:554:9 [INFO] [stdout] | [INFO] [stdout] 554 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:554:18 [INFO] [stdout] | [INFO] [stdout] 554 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:555:23 [INFO] [stdout] | [INFO] [stdout] 555 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:555:40 [INFO] [stdout] | [INFO] [stdout] 555 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:555:48 [INFO] [stdout] | [INFO] [stdout] 555 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:556:9 [INFO] [stdout] | [INFO] [stdout] 556 | Z80.pc = 0x30; [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:557:9 [INFO] [stdout] | [INFO] [stdout] 557 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:557:25 [INFO] [stdout] | [INFO] [stdout] 557 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:567:9 [INFO] [stdout] | [INFO] [stdout] 567 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:567:18 [INFO] [stdout] | [INFO] [stdout] 567 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:568:23 [INFO] [stdout] | [INFO] [stdout] 568 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:568:40 [INFO] [stdout] | [INFO] [stdout] 568 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:568:48 [INFO] [stdout] | [INFO] [stdout] 568 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:569:9 [INFO] [stdout] | [INFO] [stdout] 569 | Z80.pc = 0x38; [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:570:9 [INFO] [stdout] | [INFO] [stdout] 570 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:570:25 [INFO] [stdout] | [INFO] [stdout] 570 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:434:53 [INFO] [stdout] | [INFO] [stdout] 434 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:435:13 [INFO] [stdout] | [INFO] [stdout] 435 | Z80.last_m += 1; Z80.last_t += 4; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:435:30 [INFO] [stdout] | [INFO] [stdout] 435 | Z80.last_m += 1; Z80.last_t += 4; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:436:18 [INFO] [stdout] | [INFO] [stdout] 436 | } else { Z80.pc = Z80.pc.wrapping_add(2); } [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:436:27 [INFO] [stdout] | [INFO] [stdout] 436 | } else { Z80.pc = Z80.pc.wrapping_add(2); } [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:440:9 [INFO] [stdout] | [INFO] [stdout] 440 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:440:25 [INFO] [stdout] | [INFO] [stdout] 440 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:441:12 [INFO] [stdout] | [INFO] [stdout] 441 | if Z80.f & 0x10 == 0x00 { [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:442:13 [INFO] [stdout] | [INFO] [stdout] 442 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:442:36 [INFO] [stdout] | [INFO] [stdout] 442 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:442:53 [INFO] [stdout] | [INFO] [stdout] 442 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:443:13 [INFO] [stdout] | [INFO] [stdout] 443 | Z80.sp = Z80.sp.wrapping_add(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:443:22 [INFO] [stdout] | [INFO] [stdout] 443 | Z80.sp = Z80.sp.wrapping_add(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:444:13 [INFO] [stdout] | [INFO] [stdout] 444 | Z80.last_m += 2; Z80.last_t += 8; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:444:30 [INFO] [stdout] | [INFO] [stdout] 444 | Z80.last_m += 2; Z80.last_t += 8; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:448:9 [INFO] [stdout] | [INFO] [stdout] 448 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:448:18 [INFO] [stdout] | [INFO] [stdout] 448 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:449:22 [INFO] [stdout] | [INFO] [stdout] 449 | let value = (Z80.d as u16 << 8) + (Z80.e as u16); [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:449:44 [INFO] [stdout] | [INFO] [stdout] 449 | let value = (Z80.d as u16 << 8) + (Z80.e as u16); [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:450:23 [INFO] [stdout] | [INFO] [stdout] 450 | mem_access_w!(Z80.memory_unit, Z80.sp, value); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:450:40 [INFO] [stdout] | [INFO] [stdout] 450 | mem_access_w!(Z80.memory_unit, Z80.sp, value); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:451:9 [INFO] [stdout] | [INFO] [stdout] 451 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:451:25 [INFO] [stdout] | [INFO] [stdout] 451 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:455:9 [INFO] [stdout] | [INFO] [stdout] 455 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:455:18 [INFO] [stdout] | [INFO] [stdout] 455 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:456:23 [INFO] [stdout] | [INFO] [stdout] 456 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:456:40 [INFO] [stdout] | [INFO] [stdout] 456 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:456:48 [INFO] [stdout] | [INFO] [stdout] 456 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:457:9 [INFO] [stdout] | [INFO] [stdout] 457 | Z80.pc = 0x10; [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:458:9 [INFO] [stdout] | [INFO] [stdout] 458 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:458:25 [INFO] [stdout] | [INFO] [stdout] 458 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:461:9 [INFO] [stdout] | [INFO] [stdout] 461 | Z80.last_m = 1; Z80.last_t = 4; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:461:25 [INFO] [stdout] | [INFO] [stdout] 461 | Z80.last_m = 1; Z80.last_t = 4; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:462:12 [INFO] [stdout] | [INFO] [stdout] 462 | if Z80.f & 0x10 == 0x10 { [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:463:13 [INFO] [stdout] | [INFO] [stdout] 463 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:463:36 [INFO] [stdout] | [INFO] [stdout] 463 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:463:53 [INFO] [stdout] | [INFO] [stdout] 463 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:464:13 [INFO] [stdout] | [INFO] [stdout] 464 | Z80.sp = Z80.sp.wrapping_add(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:464:22 [INFO] [stdout] | [INFO] [stdout] 464 | Z80.sp = Z80.sp.wrapping_add(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:465:13 [INFO] [stdout] | [INFO] [stdout] 465 | Z80.last_m += 2; Z80.last_t += 8; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:465:30 [INFO] [stdout] | [INFO] [stdout] 465 | Z80.last_m += 2; Z80.last_t += 8; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:470:9 [INFO] [stdout] | [INFO] [stdout] 470 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:470:25 [INFO] [stdout] | [INFO] [stdout] 470 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:471:12 [INFO] [stdout] | [INFO] [stdout] 471 | if Z80.f & 0x10 == 0x10 { [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:472:13 [INFO] [stdout] | [INFO] [stdout] 472 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:472:36 [INFO] [stdout] | [INFO] [stdout] 472 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:472:53 [INFO] [stdout] | [INFO] [stdout] 472 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:473:13 [INFO] [stdout] | [INFO] [stdout] 473 | Z80.last_m += 1; Z80.last_t += 4; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:473:30 [INFO] [stdout] | [INFO] [stdout] 473 | Z80.last_m += 1; Z80.last_t += 4; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/mmu.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | let mut value: u16 = (self.mem[address] as u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:474:18 [INFO] [stdout] | [INFO] [stdout] 474 | } else { Z80.pc = Z80.pc.wrapping_add(2); } [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:474:27 [INFO] [stdout] | [INFO] [stdout] 474 | } else { Z80.pc = Z80.pc.wrapping_add(2); } [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:478:9 [INFO] [stdout] | [INFO] [stdout] 478 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:478:25 [INFO] [stdout] | [INFO] [stdout] 478 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:479:12 [INFO] [stdout] | [INFO] [stdout] 479 | if Z80.f & 0x10 == 0x10 { [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:480:13 [INFO] [stdout] | [INFO] [stdout] 480 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:480:22 [INFO] [stdout] | [INFO] [stdout] 480 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:481:27 [INFO] [stdout] | [INFO] [stdout] 481 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc.wrapping_add(2)); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:481:44 [INFO] [stdout] | [INFO] [stdout] 481 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc.wrapping_add(2)); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:481:52 [INFO] [stdout] | [INFO] [stdout] 481 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc.wrapping_add(2)); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:482:13 [INFO] [stdout] | [INFO] [stdout] 482 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:482:36 [INFO] [stdout] | [INFO] [stdout] 482 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:482:53 [INFO] [stdout] | [INFO] [stdout] 482 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:483:13 [INFO] [stdout] | [INFO] [stdout] 483 | Z80.last_m += 2; Z80.last_t += 8; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:483:30 [INFO] [stdout] | [INFO] [stdout] 483 | Z80.last_m += 2; Z80.last_t += 8; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:484:18 [INFO] [stdout] | [INFO] [stdout] 484 | } else { Z80.pc = Z80.pc.wrapping_add(2); } [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:484:27 [INFO] [stdout] | [INFO] [stdout] 484 | } else { Z80.pc = Z80.pc.wrapping_add(2); } [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:489:9 [INFO] [stdout] | [INFO] [stdout] 489 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:489:18 [INFO] [stdout] | [INFO] [stdout] 489 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:490:23 [INFO] [stdout] | [INFO] [stdout] 490 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:490:40 [INFO] [stdout] | [INFO] [stdout] 490 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:490:48 [INFO] [stdout] | [INFO] [stdout] 490 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:491:9 [INFO] [stdout] | [INFO] [stdout] 491 | Z80.pc = 0x18; [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:492:9 [INFO] [stdout] | [INFO] [stdout] 492 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:492:25 [INFO] [stdout] | [INFO] [stdout] 492 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:498:35 [INFO] [stdout] | [INFO] [stdout] 498 | let value = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:498:52 [INFO] [stdout] | [INFO] [stdout] 498 | let value = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:499:9 [INFO] [stdout] | [INFO] [stdout] 499 | Z80.sp = Z80.sp.wrapping_add(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:499:18 [INFO] [stdout] | [INFO] [stdout] 499 | Z80.sp = Z80.sp.wrapping_add(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:500:9 [INFO] [stdout] | [INFO] [stdout] 500 | Z80.h = value >> 8 as u8; [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:501:9 [INFO] [stdout] | [INFO] [stdout] 501 | Z80.l = value & 0xff as u8; [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:502:9 [INFO] [stdout] | [INFO] [stdout] 502 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:502:25 [INFO] [stdout] | [INFO] [stdout] 502 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:508:9 [INFO] [stdout] | [INFO] [stdout] 508 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:508:18 [INFO] [stdout] | [INFO] [stdout] 508 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:509:22 [INFO] [stdout] | [INFO] [stdout] 509 | let value = (Z80.h as u16 << 8) + (Z80.l as u16); [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:509:44 [INFO] [stdout] | [INFO] [stdout] 509 | let value = (Z80.h as u16 << 8) + (Z80.l as u16); [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:510:23 [INFO] [stdout] | [INFO] [stdout] 510 | mem_access_w!(Z80.memory_unit, Z80.sp, value); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:510:40 [INFO] [stdout] | [INFO] [stdout] 510 | mem_access_w!(Z80.memory_unit, Z80.sp, value); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:511:9 [INFO] [stdout] | [INFO] [stdout] 511 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing type for `static` item [INFO] [stdout] --> src/cpu.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | static undefined = |x: u16| { panic!("Hit undefined instruction at {:?}", stringify!(x - 1)); }; [INFO] [stdout] | ^^^^^^^^^ help: provide a type for the item: `undefined: [closure@src/cpu.rs:64:20: 64:96]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:511:25 [INFO] [stdout] | [INFO] [stdout] 511 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing type for `static` item [INFO] [stdout] --> src/cpu.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | static set_flags = |cpu: &mut Z80| { [INFO] [stdout] | ^^^^^^^^^ help: provide a type for the item: `set_flags: [closure@src/cpu.rs:66:20: 71:2]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:515:9 [INFO] [stdout] | [INFO] [stdout] 515 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:515:18 [INFO] [stdout] | [INFO] [stdout] 515 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:516:23 [INFO] [stdout] | [INFO] [stdout] 516 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:516:40 [INFO] [stdout] | [INFO] [stdout] 516 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:516:48 [INFO] [stdout] | [INFO] [stdout] 516 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:517:9 [INFO] [stdout] | [INFO] [stdout] 517 | Z80.pc = 0x20; [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:518:9 [INFO] [stdout] | [INFO] [stdout] 518 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:518:25 [INFO] [stdout] | [INFO] [stdout] 518 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:528:9 [INFO] [stdout] | [INFO] [stdout] 528 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:528:18 [INFO] [stdout] | [INFO] [stdout] 528 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:529:23 [INFO] [stdout] | [INFO] [stdout] 529 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:529:40 [INFO] [stdout] | [INFO] [stdout] 529 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:529:48 [INFO] [stdout] | [INFO] [stdout] 529 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:530:9 [INFO] [stdout] | [INFO] [stdout] 530 | Z80.pc = 0x28; [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:531:9 [INFO] [stdout] | [INFO] [stdout] 531 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:531:25 [INFO] [stdout] | [INFO] [stdout] 531 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:537:35 [INFO] [stdout] | [INFO] [stdout] 537 | let value = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:537:52 [INFO] [stdout] | [INFO] [stdout] 537 | let value = mem_access_w!(Z80.memory_unit, Z80.sp); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:538:9 [INFO] [stdout] | [INFO] [stdout] 538 | Z80.sp = Z80.sp.wrapping_add(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:538:18 [INFO] [stdout] | [INFO] [stdout] 538 | Z80.sp = Z80.sp.wrapping_add(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:539:9 [INFO] [stdout] | [INFO] [stdout] 539 | Z80.a = value >> 8 as u8; [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:540:9 [INFO] [stdout] | [INFO] [stdout] 540 | Z80.f = value & 0xff as u8; [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:541:9 [INFO] [stdout] | [INFO] [stdout] 541 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:541:25 [INFO] [stdout] | [INFO] [stdout] 541 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:547:9 [INFO] [stdout] | [INFO] [stdout] 547 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:547:18 [INFO] [stdout] | [INFO] [stdout] 547 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:548:22 [INFO] [stdout] | [INFO] [stdout] 548 | let value = (Z80.a as u16 << 8) + (Z80.f as u16); [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:548:44 [INFO] [stdout] | [INFO] [stdout] 548 | let value = (Z80.a as u16 << 8) + (Z80.f as u16); [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:549:23 [INFO] [stdout] | [INFO] [stdout] 549 | mem_access_w!(Z80.memory_unit, Z80.sp, value); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:549:40 [INFO] [stdout] | [INFO] [stdout] 549 | mem_access_w!(Z80.memory_unit, Z80.sp, value); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:550:9 [INFO] [stdout] | [INFO] [stdout] 550 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:550:25 [INFO] [stdout] | [INFO] [stdout] 550 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:554:9 [INFO] [stdout] | [INFO] [stdout] 554 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:554:18 [INFO] [stdout] | [INFO] [stdout] 554 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:555:23 [INFO] [stdout] | [INFO] [stdout] 555 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:555:40 [INFO] [stdout] | [INFO] [stdout] 555 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:555:48 [INFO] [stdout] | [INFO] [stdout] 555 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:556:9 [INFO] [stdout] | [INFO] [stdout] 556 | Z80.pc = 0x30; [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:557:9 [INFO] [stdout] | [INFO] [stdout] 557 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:557:25 [INFO] [stdout] | [INFO] [stdout] 557 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:567:9 [INFO] [stdout] | [INFO] [stdout] 567 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:567:18 [INFO] [stdout] | [INFO] [stdout] 567 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:568:23 [INFO] [stdout] | [INFO] [stdout] 568 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:568:40 [INFO] [stdout] | [INFO] [stdout] 568 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:568:48 [INFO] [stdout] | [INFO] [stdout] 568 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:569:9 [INFO] [stdout] | [INFO] [stdout] 569 | Z80.pc = 0x38; [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:570:9 [INFO] [stdout] | [INFO] [stdout] 570 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:570:25 [INFO] [stdout] | [INFO] [stdout] 570 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/mmu.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | let mut value: u16 = (self.mem[address] as u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:148:33 [INFO] [stdout] | [INFO] [stdout] 148 | |cpu: &mut Z80| { undefined(cpu.pc); }, [INFO] [stdout] | ^^^^^^ expected `u16`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u16` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 148 | |cpu: &mut Z80| { undefined(cpu.pc.try_into().unwrap()); }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing type for `static` item [INFO] [stdout] --> src/cpu.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | static undefined = |x: u16| { panic!("Hit undefined instruction at {:?}", stringify!(x - 1)); }; [INFO] [stdout] | ^^^^^^^^^ help: provide a type for the item: `undefined: [closure@src/cpu.rs:64:20: 64:96]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing type for `static` item [INFO] [stdout] --> src/cpu.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | static set_flags = |cpu: &mut Z80| { [INFO] [stdout] | ^^^^^^^^^ help: provide a type for the item: `set_flags: [closure@src/cpu.rs:66:20: 71:2]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:438:33 [INFO] [stdout] | [INFO] [stdout] 438 | |cpu: &mut Z80| { undefined(cpu.pc); }, [INFO] [stdout] | ^^^^^^ expected `u16`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u16` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 438 | |cpu: &mut Z80| { undefined(cpu.pc.try_into().unwrap()); }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:476:33 [INFO] [stdout] | [INFO] [stdout] 476 | |cpu: &mut Z80| { undefined(cpu.pc); }, [INFO] [stdout] | ^^^^^^ expected `u16`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u16` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 476 | |cpu: &mut Z80| { undefined(cpu.pc.try_into().unwrap()); }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:148:33 [INFO] [stdout] | [INFO] [stdout] 148 | |cpu: &mut Z80| { undefined(cpu.pc); }, [INFO] [stdout] | ^^^^^^ expected `u16`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u16` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 148 | |cpu: &mut Z80| { undefined(cpu.pc.try_into().unwrap()); }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:486:33 [INFO] [stdout] | [INFO] [stdout] 486 | |cpu: &mut Z80| { undefined(cpu.pc); }, [INFO] [stdout] | ^^^^^^ expected `u16`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u16` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 486 | |cpu: &mut Z80| { undefined(cpu.pc.try_into().unwrap()); }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:505:33 [INFO] [stdout] | [INFO] [stdout] 505 | |cpu: &mut Z80| { undefined(cpu.pc); }, [INFO] [stdout] | ^^^^^^ expected `u16`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u16` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 505 | |cpu: &mut Z80| { undefined(cpu.pc.try_into().unwrap()); }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:506:33 [INFO] [stdout] | [INFO] [stdout] 506 | |cpu: &mut Z80| { undefined(cpu.pc); }, [INFO] [stdout] | ^^^^^^ expected `u16`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u16` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 506 | |cpu: &mut Z80| { undefined(cpu.pc.try_into().unwrap()); }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:523:33 [INFO] [stdout] | [INFO] [stdout] 523 | |cpu: &mut Z80| { undefined(cpu.pc); }, [INFO] [stdout] | ^^^^^^ expected `u16`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u16` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 523 | |cpu: &mut Z80| { undefined(cpu.pc.try_into().unwrap()); }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:524:33 [INFO] [stdout] | [INFO] [stdout] 524 | |cpu: &mut Z80| { undefined(cpu.pc); }, [INFO] [stdout] | ^^^^^^ expected `u16`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u16` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 524 | |cpu: &mut Z80| { undefined(cpu.pc.try_into().unwrap()); }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:525:33 [INFO] [stdout] | [INFO] [stdout] 525 | |cpu: &mut Z80| { undefined(cpu.pc); }, [INFO] [stdout] | ^^^^^^ expected `u16`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u16` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 525 | |cpu: &mut Z80| { undefined(cpu.pc.try_into().unwrap()); }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:545:33 [INFO] [stdout] | [INFO] [stdout] 545 | |cpu: &mut Z80| { undefined(cpu.pc); }, [INFO] [stdout] | ^^^^^^ expected `u16`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u16` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 545 | |cpu: &mut Z80| { undefined(cpu.pc.try_into().unwrap()); }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:560:33 [INFO] [stdout] | [INFO] [stdout] 560 | |cpu: &mut Z80| { undefined(cpu.pc); }, [INFO] [stdout] | ^^^^^^ expected `u16`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u16` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 560 | |cpu: &mut Z80| { undefined(cpu.pc.try_into().unwrap()); }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:563:33 [INFO] [stdout] | [INFO] [stdout] 563 | |cpu: &mut Z80| { undefined(cpu.pc); }, [INFO] [stdout] | ^^^^^^ expected `u16`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u16` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 563 | |cpu: &mut Z80| { undefined(cpu.pc.try_into().unwrap()); }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:564:33 [INFO] [stdout] | [INFO] [stdout] 564 | |cpu: &mut Z80| { undefined(cpu.pc); }, [INFO] [stdout] | ^^^^^^ expected `u16`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u16` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 564 | |cpu: &mut Z80| { undefined(cpu.pc.try_into().unwrap()); }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:438:33 [INFO] [stdout] | [INFO] [stdout] 438 | |cpu: &mut Z80| { undefined(cpu.pc); }, [INFO] [stdout] | ^^^^^^ expected `u16`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u16` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 438 | |cpu: &mut Z80| { undefined(cpu.pc.try_into().unwrap()); }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:476:33 [INFO] [stdout] | [INFO] [stdout] 476 | |cpu: &mut Z80| { undefined(cpu.pc); }, [INFO] [stdout] | ^^^^^^ expected `u16`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u16` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 476 | |cpu: &mut Z80| { undefined(cpu.pc.try_into().unwrap()); }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:486:33 [INFO] [stdout] | [INFO] [stdout] 486 | |cpu: &mut Z80| { undefined(cpu.pc); }, [INFO] [stdout] | ^^^^^^ expected `u16`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u16` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 486 | |cpu: &mut Z80| { undefined(cpu.pc.try_into().unwrap()); }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:505:33 [INFO] [stdout] | [INFO] [stdout] 505 | |cpu: &mut Z80| { undefined(cpu.pc); }, [INFO] [stdout] | ^^^^^^ expected `u16`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u16` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 505 | |cpu: &mut Z80| { undefined(cpu.pc.try_into().unwrap()); }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:506:33 [INFO] [stdout] | [INFO] [stdout] 506 | |cpu: &mut Z80| { undefined(cpu.pc); }, [INFO] [stdout] | ^^^^^^ expected `u16`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u16` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 506 | |cpu: &mut Z80| { undefined(cpu.pc.try_into().unwrap()); }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:523:33 [INFO] [stdout] | [INFO] [stdout] 523 | |cpu: &mut Z80| { undefined(cpu.pc); }, [INFO] [stdout] | ^^^^^^ expected `u16`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u16` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 523 | |cpu: &mut Z80| { undefined(cpu.pc.try_into().unwrap()); }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:524:33 [INFO] [stdout] | [INFO] [stdout] 524 | |cpu: &mut Z80| { undefined(cpu.pc); }, [INFO] [stdout] | ^^^^^^ expected `u16`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u16` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 524 | |cpu: &mut Z80| { undefined(cpu.pc.try_into().unwrap()); }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:525:33 [INFO] [stdout] | [INFO] [stdout] 525 | |cpu: &mut Z80| { undefined(cpu.pc); }, [INFO] [stdout] | ^^^^^^ expected `u16`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u16` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 525 | |cpu: &mut Z80| { undefined(cpu.pc.try_into().unwrap()); }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:545:33 [INFO] [stdout] | [INFO] [stdout] 545 | |cpu: &mut Z80| { undefined(cpu.pc); }, [INFO] [stdout] | ^^^^^^ expected `u16`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u16` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 545 | |cpu: &mut Z80| { undefined(cpu.pc.try_into().unwrap()); }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:560:33 [INFO] [stdout] | [INFO] [stdout] 560 | |cpu: &mut Z80| { undefined(cpu.pc); }, [INFO] [stdout] | ^^^^^^ expected `u16`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u16` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 560 | |cpu: &mut Z80| { undefined(cpu.pc.try_into().unwrap()); }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:563:33 [INFO] [stdout] | [INFO] [stdout] 563 | |cpu: &mut Z80| { undefined(cpu.pc); }, [INFO] [stdout] | ^^^^^^ expected `u16`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u16` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 563 | |cpu: &mut Z80| { undefined(cpu.pc.try_into().unwrap()); }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:564:33 [INFO] [stdout] | [INFO] [stdout] 564 | |cpu: &mut Z80| { undefined(cpu.pc); }, [INFO] [stdout] | ^^^^^^ expected `u16`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u16` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 564 | |cpu: &mut Z80| { undefined(cpu.pc.try_into().unwrap()); }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 301 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0423. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gb_emulator` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 301 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0423. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7aaaba35c4b2cc7b827a09ba5f97651ecdd7ea3d808fa16b609f7d8784a10a8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7aaaba35c4b2cc7b827a09ba5f97651ecdd7ea3d808fa16b609f7d8784a10a8a", kill_on_drop: false }` [INFO] [stdout] 7aaaba35c4b2cc7b827a09ba5f97651ecdd7ea3d808fa16b609f7d8784a10a8a