[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] b098174facfd888f9e04e55398974074ed7a3d7b [INFO] checking VictorFordham/rust_gb_emulator against master#f5f33ec0e0455eefa72fc5567eb1280a4d5ee206 for pr-83312 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVictorFordham%2Frust_gb_emulator" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/VictorFordham/rust_gb_emulator on toolchain f5f33ec0e0455eefa72fc5567eb1280a4d5ee206 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f5f33ec0e0455eefa72fc5567eb1280a4d5ee206" "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-3/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" "+f5f33ec0e0455eefa72fc5567eb1280a4d5ee206" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+f5f33ec0e0455eefa72fc5567eb1280a4d5ee206" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 531c628de9747b1678937522a2245f9a0fa0bdc047cab566eeaaa2a62a1df5d2 [INFO] running `Command { std: "docker" "start" "-a" "531c628de9747b1678937522a2245f9a0fa0bdc047cab566eeaaa2a62a1df5d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "531c628de9747b1678937522a2245f9a0fa0bdc047cab566eeaaa2a62a1df5d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "531c628de9747b1678937522a2245f9a0fa0bdc047cab566eeaaa2a62a1df5d2", kill_on_drop: false }` [INFO] [stdout] 531c628de9747b1678937522a2245f9a0fa0bdc047cab566eeaaa2a62a1df5d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+f5f33ec0e0455eefa72fc5567eb1280a4d5ee206" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66ce0674bb5a5266f889509521dec19eb7ee2c6f753ccb04d9e889f8378c82e9 [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" "66ce0674bb5a5266f889509521dec19eb7ee2c6f753ccb04d9e889f8378c82e9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling syn v1.0.62 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking futures-sink v0.3.13 [INFO] [stderr] Checking futures-io v0.3.13 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking futures-task v0.3.13 [INFO] [stderr] Checking inplace_it v0.3.3 [INFO] [stderr] Compiling wide v0.4.6 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking typed-arena v2.0.1 [INFO] [stderr] Checking pollster v0.2.1 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling x11 v2.18.2 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking wgpu-types v0.6.1 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Checking ash v0.31.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking ultraviolet v0.4.6 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking gfx-hal v0.6.0 [INFO] [stderr] Checking spirv_headers v1.5.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking gfx-descriptor v0.2.0 [INFO] [stderr] Checking gfx-memory v0.2.2 [INFO] [stderr] Checking gfx-backend-empty v0.6.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:469:9 [INFO] [stdout] | [INFO] [stdout] 464 | if Z80.f & 0x80 == 0x80 { [INFO] [stdout] | - closing delimiter possibly meant for this [INFO] [stdout] 465 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] 466 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc.wrapping_add(2); [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 469 | } 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:187:40 [INFO] [stdout] | [INFO] [stdout] 187 | let mut address = Z80.h as u16 << 8; [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:200:40 [INFO] [stdout] | [INFO] [stdout] 200 | let mut address = Z80.h as u16 << 8; [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:215:40 [INFO] [stdout] | [INFO] [stdout] 215 | let mut address = Z80.h as u16 << 8; [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:228:40 [INFO] [stdout] | [INFO] [stdout] 228 | let mut address = Z80.h as u16 << 8; [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:243:40 [INFO] [stdout] | [INFO] [stdout] 243 | let mut address = Z80.h as u16 << 8; [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:256:40 [INFO] [stdout] | [INFO] [stdout] 256 | let mut address = Z80.h as u16 << 8; [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:265:40 [INFO] [stdout] | [INFO] [stdout] 265 | let mut address = Z80.h as u16 << 8; [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:271:40 [INFO] [stdout] | [INFO] [stdout] 271 | let mut address = Z80.h as u16 << 8; [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:277:40 [INFO] [stdout] | [INFO] [stdout] 277 | let mut address = Z80.h as u16 << 8; [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:283:40 [INFO] [stdout] | [INFO] [stdout] 283 | let mut address = Z80.h as u16 << 8; [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:289:40 [INFO] [stdout] | [INFO] [stdout] 289 | let mut address = Z80.h as u16 << 8; [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:295:40 [INFO] [stdout] | [INFO] [stdout] 295 | let mut address = Z80.h as u16 << 8; [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:302:40 [INFO] [stdout] | [INFO] [stdout] 302 | let mut address = Z80.h as u16 << 8; [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:314:40 [INFO] [stdout] | [INFO] [stdout] 314 | let mut address = Z80.h as u16 << 8; [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:431:35 [INFO] [stdout] | [INFO] [stdout] 431 | 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:519:35 [INFO] [stdout] | [INFO] [stdout] 519 | 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:579:35 [INFO] [stdout] | [INFO] [stdout] 579 | 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:618:35 [INFO] [stdout] | [INFO] [stdout] 618 | 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: mismatched closing delimiter: `}` [INFO] [stdout] --> src/cpu.rs:469:9 [INFO] [stdout] | [INFO] [stdout] 464 | if Z80.f & 0x80 == 0x80 { [INFO] [stdout] | - closing delimiter possibly meant for this [INFO] [stdout] 465 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] 466 | mem_access_w!(Z80.memory_unit, Z80.sp, Z80.pc.wrapping_add(2); [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 469 | } 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:187:40 [INFO] [stdout] | [INFO] [stdout] 187 | let mut address = Z80.h as u16 << 8; [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:200:40 [INFO] [stdout] | [INFO] [stdout] 200 | let mut address = Z80.h as u16 << 8; [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:215:40 [INFO] [stdout] | [INFO] [stdout] 215 | let mut address = Z80.h as u16 << 8; [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:228:40 [INFO] [stdout] | [INFO] [stdout] 228 | let mut address = Z80.h as u16 << 8; [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:243:40 [INFO] [stdout] | [INFO] [stdout] 243 | let mut address = Z80.h as u16 << 8; [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:256:40 [INFO] [stdout] | [INFO] [stdout] 256 | let mut address = Z80.h as u16 << 8; [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:265:40 [INFO] [stdout] | [INFO] [stdout] 265 | let mut address = Z80.h as u16 << 8; [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:271:40 [INFO] [stdout] | [INFO] [stdout] 271 | let mut address = Z80.h as u16 << 8; [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:277:40 [INFO] [stdout] | [INFO] [stdout] 277 | let mut address = Z80.h as u16 << 8; [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:283:40 [INFO] [stdout] | [INFO] [stdout] 283 | let mut address = Z80.h as u16 << 8; [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:289:40 [INFO] [stdout] | [INFO] [stdout] 289 | let mut address = Z80.h as u16 << 8; [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:295:40 [INFO] [stdout] | [INFO] [stdout] 295 | let mut address = Z80.h as u16 << 8; [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:302:40 [INFO] [stdout] | [INFO] [stdout] 302 | let mut address = Z80.h as u16 << 8; [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:314:40 [INFO] [stdout] | [INFO] [stdout] 314 | let mut address = Z80.h as u16 << 8; [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:431:35 [INFO] [stdout] | [INFO] [stdout] 431 | 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:519:35 [INFO] [stdout] | [INFO] [stdout] 519 | 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:579:35 [INFO] [stdout] | [INFO] [stdout] 579 | 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:618:35 [INFO] [stdout] | [INFO] [stdout] 618 | 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:466:74 [INFO] [stdout] | [INFO] [stdout] 466 | 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: no rules expected the token `;` [INFO] [stdout] --> src/cpu.rs:466:74 [INFO] [stdout] | [INFO] [stdout] 466 | 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:187:27 [INFO] [stdout] | [INFO] [stdout] 187 | let mut address = Z80.h as u16 << 8; [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:188:20 [INFO] [stdout] | [INFO] [stdout] 188 | address += 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:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | Z80.b = mem_access_b!(Z80.memory_unit, address); [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:189:31 [INFO] [stdout] | [INFO] [stdout] 189 | Z80.b = mem_access_b!(Z80.memory_unit, address); [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:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | 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:190:25 [INFO] [stdout] | [INFO] [stdout] 190 | 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:200:27 [INFO] [stdout] | [INFO] [stdout] 200 | let mut address = Z80.h as u16 << 8; [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:201:20 [INFO] [stdout] | [INFO] [stdout] 201 | address += 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:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | Z80.c = mem_access_b!(Z80.memory_unit, address); [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:202:31 [INFO] [stdout] | [INFO] [stdout] 202 | Z80.c = mem_access_b!(Z80.memory_unit, address); [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:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | 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:203:25 [INFO] [stdout] | [INFO] [stdout] 203 | 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:215:27 [INFO] [stdout] | [INFO] [stdout] 215 | let mut address = Z80.h as u16 << 8; [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:216:20 [INFO] [stdout] | [INFO] [stdout] 216 | address += 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:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | Z80.d = mem_access_b!(Z80.memory_unit, address); [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:217:31 [INFO] [stdout] | [INFO] [stdout] 217 | Z80.d = mem_access_b!(Z80.memory_unit, address); [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:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | 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:218:25 [INFO] [stdout] | [INFO] [stdout] 218 | 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:228:27 [INFO] [stdout] | [INFO] [stdout] 228 | let mut address = Z80.h as u16 << 8; [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:229:20 [INFO] [stdout] | [INFO] [stdout] 229 | address += 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:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | Z80.e = mem_access_b!(Z80.memory_unit, address); [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:230:31 [INFO] [stdout] | [INFO] [stdout] 230 | Z80.e = mem_access_b!(Z80.memory_unit, address); [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:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | 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:231:25 [INFO] [stdout] | [INFO] [stdout] 231 | 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:243:27 [INFO] [stdout] | [INFO] [stdout] 243 | let mut address = Z80.h as u16 << 8; [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:244:20 [INFO] [stdout] | [INFO] [stdout] 244 | address += 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:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | Z80.h = mem_access_b!(Z80.memory_unit, address); [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:245:31 [INFO] [stdout] | [INFO] [stdout] 245 | Z80.h = mem_access_b!(Z80.memory_unit, address); [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:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | 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:246:25 [INFO] [stdout] | [INFO] [stdout] 246 | 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:256:27 [INFO] [stdout] | [INFO] [stdout] 256 | let mut address = Z80.h as u16 << 8; [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:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | address += 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:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | Z80.h = mem_access_b!(Z80.memory_unit, address); [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:258:31 [INFO] [stdout] | [INFO] [stdout] 258 | Z80.h = mem_access_b!(Z80.memory_unit, address); [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:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | 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:259:25 [INFO] [stdout] | [INFO] [stdout] 259 | 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:265:27 [INFO] [stdout] | [INFO] [stdout] 265 | let mut address = Z80.h as u16 << 8; [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:266:20 [INFO] [stdout] | [INFO] [stdout] 266 | address += 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:267:23 [INFO] [stdout] | [INFO] [stdout] 267 | mem_access_b!(Z80.memory_unit, address, Z80.b); [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:267:49 [INFO] [stdout] | [INFO] [stdout] 267 | mem_access_b!(Z80.memory_unit, address, Z80.b); [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:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | 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:268:25 [INFO] [stdout] | [INFO] [stdout] 268 | 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:271:27 [INFO] [stdout] | [INFO] [stdout] 271 | let mut address = Z80.h as u16 << 8; [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:272:20 [INFO] [stdout] | [INFO] [stdout] 272 | address += 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:273:23 [INFO] [stdout] | [INFO] [stdout] 273 | mem_access_b!(Z80.memory_unit, address, Z80.c); [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:273:49 [INFO] [stdout] | [INFO] [stdout] 273 | mem_access_b!(Z80.memory_unit, address, Z80.c); [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:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | 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:274:25 [INFO] [stdout] | [INFO] [stdout] 274 | 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:277:27 [INFO] [stdout] | [INFO] [stdout] 277 | let mut address = Z80.h as u16 << 8; [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:278:20 [INFO] [stdout] | [INFO] [stdout] 278 | address += 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:279:23 [INFO] [stdout] | [INFO] [stdout] 279 | mem_access_b!(Z80.memory_unit, address, Z80.d); [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:279:49 [INFO] [stdout] | [INFO] [stdout] 279 | mem_access_b!(Z80.memory_unit, address, Z80.d); [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:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | 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:280:25 [INFO] [stdout] | [INFO] [stdout] 280 | 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:283:27 [INFO] [stdout] | [INFO] [stdout] 283 | let mut address = Z80.h as u16 << 8; [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:284:20 [INFO] [stdout] | [INFO] [stdout] 284 | address += 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:285:23 [INFO] [stdout] | [INFO] [stdout] 285 | mem_access_b!(Z80.memory_unit, address, Z80.e); [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:285:49 [INFO] [stdout] | [INFO] [stdout] 285 | mem_access_b!(Z80.memory_unit, address, Z80.e); [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:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | 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:286:25 [INFO] [stdout] | [INFO] [stdout] 286 | 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:289:27 [INFO] [stdout] | [INFO] [stdout] 289 | let mut address = Z80.h as u16 << 8; [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:290:20 [INFO] [stdout] | [INFO] [stdout] 290 | address += 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:291:23 [INFO] [stdout] | [INFO] [stdout] 291 | mem_access_b!(Z80.memory_unit, address, Z80.h); [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:291:49 [INFO] [stdout] | [INFO] [stdout] 291 | mem_access_b!(Z80.memory_unit, address, Z80.h); [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:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | 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:292:25 [INFO] [stdout] | [INFO] [stdout] 292 | 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:295:27 [INFO] [stdout] | [INFO] [stdout] 295 | let mut address = Z80.h as u16 << 8; [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:296:20 [INFO] [stdout] | [INFO] [stdout] 296 | address += 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:297:23 [INFO] [stdout] | [INFO] [stdout] 297 | mem_access_b!(Z80.memory_unit, address, Z80.l); [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:297:49 [INFO] [stdout] | [INFO] [stdout] 297 | mem_access_b!(Z80.memory_unit, address, Z80.l); [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:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | 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:298:25 [INFO] [stdout] | [INFO] [stdout] 298 | 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:302:27 [INFO] [stdout] | [INFO] [stdout] 302 | let mut address = Z80.h as u16 << 8; [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:303:20 [INFO] [stdout] | [INFO] [stdout] 303 | address += 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:304:23 [INFO] [stdout] | [INFO] [stdout] 304 | mem_access_b!(Z80.memory_unit, address, Z80.a); [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:304:49 [INFO] [stdout] | [INFO] [stdout] 304 | mem_access_b!(Z80.memory_unit, address, Z80.a); [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:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | 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:305:25 [INFO] [stdout] | [INFO] [stdout] 305 | 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:307:23 [INFO] [stdout] | [INFO] [stdout] 307 | |cpu: &mut Z80| { Z80.a = Z80.b; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_ab [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:307:31 [INFO] [stdout] | [INFO] [stdout] 307 | |cpu: &mut Z80| { Z80.a = Z80.b; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_ab [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:307:38 [INFO] [stdout] | [INFO] [stdout] 307 | |cpu: &mut Z80| { Z80.a = Z80.b; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_ab [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:307:54 [INFO] [stdout] | [INFO] [stdout] 307 | |cpu: &mut Z80| { Z80.a = Z80.b; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_ab [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:308:23 [INFO] [stdout] | [INFO] [stdout] 308 | |cpu: &mut Z80| { Z80.a = Z80.c; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_ac [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:308:31 [INFO] [stdout] | [INFO] [stdout] 308 | |cpu: &mut Z80| { Z80.a = Z80.c; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_ac [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:308:38 [INFO] [stdout] | [INFO] [stdout] 308 | |cpu: &mut Z80| { Z80.a = Z80.c; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_ac [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:308:54 [INFO] [stdout] | [INFO] [stdout] 308 | |cpu: &mut Z80| { Z80.a = Z80.c; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_ac [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:309:23 [INFO] [stdout] | [INFO] [stdout] 309 | |cpu: &mut Z80| { Z80.a = Z80.d; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_ad [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:309:31 [INFO] [stdout] | [INFO] [stdout] 309 | |cpu: &mut Z80| { Z80.a = Z80.d; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_ad [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:309:38 [INFO] [stdout] | [INFO] [stdout] 309 | |cpu: &mut Z80| { Z80.a = Z80.d; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_ad [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:309:54 [INFO] [stdout] | [INFO] [stdout] 309 | |cpu: &mut Z80| { Z80.a = Z80.d; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_ad [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:310:23 [INFO] [stdout] | [INFO] [stdout] 310 | |cpu: &mut Z80| { Z80.a = Z80.e; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_ae [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:310:31 [INFO] [stdout] | [INFO] [stdout] 310 | |cpu: &mut Z80| { Z80.a = Z80.e; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_ae [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:310:38 [INFO] [stdout] | [INFO] [stdout] 310 | |cpu: &mut Z80| { Z80.a = Z80.e; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_ae [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:310:54 [INFO] [stdout] | [INFO] [stdout] 310 | |cpu: &mut Z80| { Z80.a = Z80.e; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_ae [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:311:23 [INFO] [stdout] | [INFO] [stdout] 311 | |cpu: &mut Z80| { Z80.a = Z80.h; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_ah [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:311:31 [INFO] [stdout] | [INFO] [stdout] 311 | |cpu: &mut Z80| { Z80.a = Z80.h; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_ah [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:311:38 [INFO] [stdout] | [INFO] [stdout] 311 | |cpu: &mut Z80| { Z80.a = Z80.h; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_ah [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:311:54 [INFO] [stdout] | [INFO] [stdout] 311 | |cpu: &mut Z80| { Z80.a = Z80.h; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_ah [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:312:23 [INFO] [stdout] | [INFO] [stdout] 312 | |cpu: &mut Z80| { Z80.a = Z80.l; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_al [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:312:31 [INFO] [stdout] | [INFO] [stdout] 312 | |cpu: &mut Z80| { Z80.a = Z80.l; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_al [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:312:38 [INFO] [stdout] | [INFO] [stdout] 312 | |cpu: &mut Z80| { Z80.a = Z80.l; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_al [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:312:54 [INFO] [stdout] | [INFO] [stdout] 312 | |cpu: &mut Z80| { Z80.a = Z80.l; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_al [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:314:27 [INFO] [stdout] | [INFO] [stdout] 314 | let mut address = Z80.h as u16 << 8; [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:315:20 [INFO] [stdout] | [INFO] [stdout] 315 | address += 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:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | Z80.a = mem_access_b!(Z80.memory_unit, address); [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:316:31 [INFO] [stdout] | [INFO] [stdout] 316 | Z80.a = mem_access_b!(Z80.memory_unit, address); [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:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | 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:317:25 [INFO] [stdout] | [INFO] [stdout] 317 | 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:319:23 [INFO] [stdout] | [INFO] [stdout] 319 | |cpu: &mut Z80| { Z80.a = Z80.a; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_aa [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:319:31 [INFO] [stdout] | [INFO] [stdout] 319 | |cpu: &mut Z80| { Z80.a = Z80.a; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_aa [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:319:38 [INFO] [stdout] | [INFO] [stdout] 319 | |cpu: &mut Z80| { Z80.a = Z80.a; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_aa [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:319:54 [INFO] [stdout] | [INFO] [stdout] 319 | |cpu: &mut Z80| { Z80.a = Z80.a; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_aa [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:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | 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:395:25 [INFO] [stdout] | [INFO] [stdout] 395 | 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:396:12 [INFO] [stdout] | [INFO] [stdout] 396 | 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:397:13 [INFO] [stdout] | [INFO] [stdout] 397 | 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:397:36 [INFO] [stdout] | [INFO] [stdout] 397 | 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:397:53 [INFO] [stdout] | [INFO] [stdout] 397 | 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:398:13 [INFO] [stdout] | [INFO] [stdout] 398 | 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:398:22 [INFO] [stdout] | [INFO] [stdout] 398 | 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:399:13 [INFO] [stdout] | [INFO] [stdout] 399 | 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:399:30 [INFO] [stdout] | [INFO] [stdout] 399 | 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:403:35 [INFO] [stdout] | [INFO] [stdout] 403 | 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:403:52 [INFO] [stdout] | [INFO] [stdout] 403 | 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:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | 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:18 [INFO] [stdout] | [INFO] [stdout] 404 | 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:405:9 [INFO] [stdout] | [INFO] [stdout] 405 | 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:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | 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:407:9 [INFO] [stdout] | [INFO] [stdout] 407 | 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:407:25 [INFO] [stdout] | [INFO] [stdout] 407 | 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:410:9 [INFO] [stdout] | [INFO] [stdout] 410 | 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:410:25 [INFO] [stdout] | [INFO] [stdout] 410 | 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:411:13 [INFO] [stdout] | [INFO] [stdout] 411 | 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:412:13 [INFO] [stdout] | [INFO] [stdout] 412 | 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:412:36 [INFO] [stdout] | [INFO] [stdout] 412 | 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:412:53 [INFO] [stdout] | [INFO] [stdout] 412 | 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:413:13 [INFO] [stdout] | [INFO] [stdout] 413 | 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:413:30 [INFO] [stdout] | [INFO] [stdout] 413 | 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:414:18 [INFO] [stdout] | [INFO] [stdout] 414 | } 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:414:27 [INFO] [stdout] | [INFO] [stdout] 414 | } 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:417:9 [INFO] [stdout] | [INFO] [stdout] 417 | 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:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | 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:418:25 [INFO] [stdout] | [INFO] [stdout] 418 | 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:421:9 [INFO] [stdout] | [INFO] [stdout] 421 | 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:25 [INFO] [stdout] | [INFO] [stdout] 421 | 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:422:12 [INFO] [stdout] | [INFO] [stdout] 422 | 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:423:13 [INFO] [stdout] | [INFO] [stdout] 423 | 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:423:22 [INFO] [stdout] | [INFO] [stdout] 423 | 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:424:27 [INFO] [stdout] | [INFO] [stdout] 424 | 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:424:44 [INFO] [stdout] | [INFO] [stdout] 424 | 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:424:52 [INFO] [stdout] | [INFO] [stdout] 424 | 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:425:13 [INFO] [stdout] | [INFO] [stdout] 425 | 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:425:36 [INFO] [stdout] | [INFO] [stdout] 425 | 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:425:53 [INFO] [stdout] | [INFO] [stdout] 425 | 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:426:13 [INFO] [stdout] | [INFO] [stdout] 426 | 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:426:30 [INFO] [stdout] | [INFO] [stdout] 426 | 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:427:18 [INFO] [stdout] | [INFO] [stdout] 427 | } 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:427:27 [INFO] [stdout] | [INFO] [stdout] 427 | } 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:430:9 [INFO] [stdout] | [INFO] [stdout] 430 | 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:430:18 [INFO] [stdout] | [INFO] [stdout] 430 | 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:431:22 [INFO] [stdout] | [INFO] [stdout] 431 | 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:431:44 [INFO] [stdout] | [INFO] [stdout] 431 | 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:432:23 [INFO] [stdout] | [INFO] [stdout] 432 | 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:432:40 [INFO] [stdout] | [INFO] [stdout] 432 | 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:433:9 [INFO] [stdout] | [INFO] [stdout] 433 | 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:433:25 [INFO] [stdout] | [INFO] [stdout] 433 | 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:437:9 [INFO] [stdout] | [INFO] [stdout] 437 | 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:437:18 [INFO] [stdout] | [INFO] [stdout] 437 | 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:438:23 [INFO] [stdout] | [INFO] [stdout] 438 | 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:438:40 [INFO] [stdout] | [INFO] [stdout] 438 | 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:438:48 [INFO] [stdout] | [INFO] [stdout] 438 | 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:439:9 [INFO] [stdout] | [INFO] [stdout] 439 | 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: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:443:9 [INFO] [stdout] | [INFO] [stdout] 443 | 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:443:25 [INFO] [stdout] | [INFO] [stdout] 443 | 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:444:12 [INFO] [stdout] | [INFO] [stdout] 444 | 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:445:13 [INFO] [stdout] | [INFO] [stdout] 445 | 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:445:36 [INFO] [stdout] | [INFO] [stdout] 445 | 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:445:53 [INFO] [stdout] | [INFO] [stdout] 445 | 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:446:13 [INFO] [stdout] | [INFO] [stdout] 446 | 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:446:22 [INFO] [stdout] | [INFO] [stdout] 446 | 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:447:13 [INFO] [stdout] | [INFO] [stdout] 447 | 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:447:30 [INFO] [stdout] | [INFO] [stdout] 447 | 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:451:9 [INFO] [stdout] | [INFO] [stdout] 451 | 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:451:32 [INFO] [stdout] | [INFO] [stdout] 451 | 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:451:49 [INFO] [stdout] | [INFO] [stdout] 451 | 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:451:58 [INFO] [stdout] | [INFO] [stdout] 451 | 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:452:9 [INFO] [stdout] | [INFO] [stdout] 452 | 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:452:25 [INFO] [stdout] | [INFO] [stdout] 452 | 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.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:455:25 [INFO] [stdout] | [INFO] [stdout] 455 | 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:456:13 [INFO] [stdout] | [INFO] [stdout] 456 | 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:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | 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:457:36 [INFO] [stdout] | [INFO] [stdout] 457 | 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:457:53 [INFO] [stdout] | [INFO] [stdout] 457 | 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:458:13 [INFO] [stdout] | [INFO] [stdout] 458 | 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:458:30 [INFO] [stdout] | [INFO] [stdout] 458 | 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:459:18 [INFO] [stdout] | [INFO] [stdout] 459 | } 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:459:27 [INFO] [stdout] | [INFO] [stdout] 459 | } 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:463:9 [INFO] [stdout] | [INFO] [stdout] 463 | 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:463:25 [INFO] [stdout] | [INFO] [stdout] 463 | 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:464:12 [INFO] [stdout] | [INFO] [stdout] 464 | 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:465:13 [INFO] [stdout] | [INFO] [stdout] 465 | 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:465:22 [INFO] [stdout] | [INFO] [stdout] 465 | 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:469:18 [INFO] [stdout] | [INFO] [stdout] 469 | } 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:472:9 [INFO] [stdout] | [INFO] [stdout] 472 | 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:472:18 [INFO] [stdout] | [INFO] [stdout] 472 | 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:473:23 [INFO] [stdout] | [INFO] [stdout] 473 | 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:473:40 [INFO] [stdout] | [INFO] [stdout] 473 | 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:473:48 [INFO] [stdout] | [INFO] [stdout] 473 | 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:474:9 [INFO] [stdout] | [INFO] [stdout] 474 | 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:474:32 [INFO] [stdout] | [INFO] [stdout] 474 | 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:474:49 [INFO] [stdout] | [INFO] [stdout] 474 | 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:475:9 [INFO] [stdout] | [INFO] [stdout] 475 | 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:475:25 [INFO] [stdout] | [INFO] [stdout] 475 | 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:479:9 [INFO] [stdout] | [INFO] [stdout] 479 | 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:479:18 [INFO] [stdout] | [INFO] [stdout] 479 | 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:23 [INFO] [stdout] | [INFO] [stdout] 480 | 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:480:40 [INFO] [stdout] | [INFO] [stdout] 480 | 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:480:48 [INFO] [stdout] | [INFO] [stdout] 480 | 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:481:9 [INFO] [stdout] | [INFO] [stdout] 481 | 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:482:9 [INFO] [stdout] | [INFO] [stdout] 482 | 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:482:25 [INFO] [stdout] | [INFO] [stdout] 482 | 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:487:9 [INFO] [stdout] | [INFO] [stdout] 487 | 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:487:25 [INFO] [stdout] | [INFO] [stdout] 487 | 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:488:12 [INFO] [stdout] | [INFO] [stdout] 488 | 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:489:13 [INFO] [stdout] | [INFO] [stdout] 489 | 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:489:36 [INFO] [stdout] | [INFO] [stdout] 489 | 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:489:53 [INFO] [stdout] | [INFO] [stdout] 489 | 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:490:13 [INFO] [stdout] | [INFO] [stdout] 490 | 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:490:22 [INFO] [stdout] | [INFO] [stdout] 490 | 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:491:13 [INFO] [stdout] | [INFO] [stdout] 491 | 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:491:30 [INFO] [stdout] | [INFO] [stdout] 491 | 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:495:35 [INFO] [stdout] | [INFO] [stdout] 495 | 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:495:52 [INFO] [stdout] | [INFO] [stdout] 495 | 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:496:9 [INFO] [stdout] | [INFO] [stdout] 496 | 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:496:18 [INFO] [stdout] | [INFO] [stdout] 496 | 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:497:9 [INFO] [stdout] | [INFO] [stdout] 497 | 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:498:9 [INFO] [stdout] | [INFO] [stdout] 498 | 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:499:9 [INFO] [stdout] | [INFO] [stdout] 499 | 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:499:25 [INFO] [stdout] | [INFO] [stdout] 499 | 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: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:503:12 [INFO] [stdout] | [INFO] [stdout] 503 | 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:504:13 [INFO] [stdout] | [INFO] [stdout] 504 | 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:504:36 [INFO] [stdout] | [INFO] [stdout] 504 | 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:504:53 [INFO] [stdout] | [INFO] [stdout] 504 | 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:505:13 [INFO] [stdout] | [INFO] [stdout] 505 | 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:505:30 [INFO] [stdout] | [INFO] [stdout] 505 | 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:506:18 [INFO] [stdout] | [INFO] [stdout] 506 | } 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:506:27 [INFO] [stdout] | [INFO] [stdout] 506 | } 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:510:9 [INFO] [stdout] | [INFO] [stdout] 510 | 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:510:25 [INFO] [stdout] | [INFO] [stdout] 510 | 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:511:12 [INFO] [stdout] | [INFO] [stdout] 511 | 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:512:13 [INFO] [stdout] | [INFO] [stdout] 512 | 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:512:36 [INFO] [stdout] | [INFO] [stdout] 512 | 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:512:53 [INFO] [stdout] | [INFO] [stdout] 512 | 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:513:13 [INFO] [stdout] | [INFO] [stdout] 513 | 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:513:22 [INFO] [stdout] | [INFO] [stdout] 513 | 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:514:13 [INFO] [stdout] | [INFO] [stdout] 514 | 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:514:30 [INFO] [stdout] | [INFO] [stdout] 514 | 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:518:9 [INFO] [stdout] | [INFO] [stdout] 518 | 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:518:18 [INFO] [stdout] | [INFO] [stdout] 518 | 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:519:22 [INFO] [stdout] | [INFO] [stdout] 519 | 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:519:44 [INFO] [stdout] | [INFO] [stdout] 519 | 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:520:23 [INFO] [stdout] | [INFO] [stdout] 520 | 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:520:40 [INFO] [stdout] | [INFO] [stdout] 520 | 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:521:9 [INFO] [stdout] | [INFO] [stdout] 521 | 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:521:25 [INFO] [stdout] | [INFO] [stdout] 521 | 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:525:9 [INFO] [stdout] | [INFO] [stdout] 525 | 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:525:18 [INFO] [stdout] | [INFO] [stdout] 525 | 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:526:23 [INFO] [stdout] | [INFO] [stdout] 526 | 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:526:40 [INFO] [stdout] | [INFO] [stdout] 526 | 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:526:48 [INFO] [stdout] | [INFO] [stdout] 526 | 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:527:9 [INFO] [stdout] | [INFO] [stdout] 527 | 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:528:9 [INFO] [stdout] | [INFO] [stdout] 528 | 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:528:25 [INFO] [stdout] | [INFO] [stdout] 528 | 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:531:9 [INFO] [stdout] | [INFO] [stdout] 531 | 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:531:25 [INFO] [stdout] | [INFO] [stdout] 531 | 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:532:12 [INFO] [stdout] | [INFO] [stdout] 532 | 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:533:13 [INFO] [stdout] | [INFO] [stdout] 533 | 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:533:36 [INFO] [stdout] | [INFO] [stdout] 533 | 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:533:53 [INFO] [stdout] | [INFO] [stdout] 533 | 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:534:13 [INFO] [stdout] | [INFO] [stdout] 534 | 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:534:22 [INFO] [stdout] | [INFO] [stdout] 534 | 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:535:13 [INFO] [stdout] | [INFO] [stdout] 535 | 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:535:30 [INFO] [stdout] | [INFO] [stdout] 535 | 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:540:9 [INFO] [stdout] | [INFO] [stdout] 540 | 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:540:25 [INFO] [stdout] | [INFO] [stdout] 540 | 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:541:12 [INFO] [stdout] | [INFO] [stdout] 541 | 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:542:13 [INFO] [stdout] | [INFO] [stdout] 542 | 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:542:36 [INFO] [stdout] | [INFO] [stdout] 542 | 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:542:53 [INFO] [stdout] | [INFO] [stdout] 542 | 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:543:13 [INFO] [stdout] | [INFO] [stdout] 543 | 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:543:30 [INFO] [stdout] | [INFO] [stdout] 543 | 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:544:18 [INFO] [stdout] | [INFO] [stdout] 544 | } 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:544:27 [INFO] [stdout] | [INFO] [stdout] 544 | } 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:548:9 [INFO] [stdout] | [INFO] [stdout] 548 | 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:548:25 [INFO] [stdout] | [INFO] [stdout] 548 | 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:549:12 [INFO] [stdout] | [INFO] [stdout] 549 | 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:550:13 [INFO] [stdout] | [INFO] [stdout] 550 | 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:550:22 [INFO] [stdout] | [INFO] [stdout] 550 | 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:551:27 [INFO] [stdout] | [INFO] [stdout] 551 | 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:551:44 [INFO] [stdout] | [INFO] [stdout] 551 | 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:551:52 [INFO] [stdout] | [INFO] [stdout] 551 | 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:552:13 [INFO] [stdout] | [INFO] [stdout] 552 | 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:552:36 [INFO] [stdout] | [INFO] [stdout] 552 | 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:552:53 [INFO] [stdout] | [INFO] [stdout] 552 | 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:553:13 [INFO] [stdout] | [INFO] [stdout] 553 | 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:553:30 [INFO] [stdout] | [INFO] [stdout] 553 | 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:554:18 [INFO] [stdout] | [INFO] [stdout] 554 | } 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:554:27 [INFO] [stdout] | [INFO] [stdout] 554 | } 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:559:9 [INFO] [stdout] | [INFO] [stdout] 559 | 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:559:18 [INFO] [stdout] | [INFO] [stdout] 559 | 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:560:23 [INFO] [stdout] | [INFO] [stdout] 560 | 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:560:40 [INFO] [stdout] | [INFO] [stdout] 560 | 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:560:48 [INFO] [stdout] | [INFO] [stdout] 560 | 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:561:9 [INFO] [stdout] | [INFO] [stdout] 561 | 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:562:9 [INFO] [stdout] | [INFO] [stdout] 562 | 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:562:25 [INFO] [stdout] | [INFO] [stdout] 562 | 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:568:35 [INFO] [stdout] | [INFO] [stdout] 568 | 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:568:52 [INFO] [stdout] | [INFO] [stdout] 568 | 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:569:9 [INFO] [stdout] | [INFO] [stdout] 569 | 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:569:18 [INFO] [stdout] | [INFO] [stdout] 569 | 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:570:9 [INFO] [stdout] | [INFO] [stdout] 570 | 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:571:9 [INFO] [stdout] | [INFO] [stdout] 571 | 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:572:9 [INFO] [stdout] | [INFO] [stdout] 572 | 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:572:25 [INFO] [stdout] | [INFO] [stdout] 572 | 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:578:9 [INFO] [stdout] | [INFO] [stdout] 578 | 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:578:18 [INFO] [stdout] | [INFO] [stdout] 578 | 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:579:22 [INFO] [stdout] | [INFO] [stdout] 579 | 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:579:44 [INFO] [stdout] | [INFO] [stdout] 579 | 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:580:23 [INFO] [stdout] | [INFO] [stdout] 580 | 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:580:40 [INFO] [stdout] | [INFO] [stdout] 580 | 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:581:9 [INFO] [stdout] | [INFO] [stdout] 581 | 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:581:25 [INFO] [stdout] | [INFO] [stdout] 581 | 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:585:9 [INFO] [stdout] | [INFO] [stdout] 585 | 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:585:18 [INFO] [stdout] | [INFO] [stdout] 585 | 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:586:23 [INFO] [stdout] | [INFO] [stdout] 586 | 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:586:40 [INFO] [stdout] | [INFO] [stdout] 586 | 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:586:48 [INFO] [stdout] | [INFO] [stdout] 586 | 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:587:9 [INFO] [stdout] | [INFO] [stdout] 587 | 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:588:9 [INFO] [stdout] | [INFO] [stdout] 588 | 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:588:25 [INFO] [stdout] | [INFO] [stdout] 588 | 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:598:9 [INFO] [stdout] | [INFO] [stdout] 598 | 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:598:18 [INFO] [stdout] | [INFO] [stdout] 598 | 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:599:23 [INFO] [stdout] | [INFO] [stdout] 599 | 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:599:40 [INFO] [stdout] | [INFO] [stdout] 599 | 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:599:48 [INFO] [stdout] | [INFO] [stdout] 599 | 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:600:9 [INFO] [stdout] | [INFO] [stdout] 600 | 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:601:9 [INFO] [stdout] | [INFO] [stdout] 601 | 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:601:25 [INFO] [stdout] | [INFO] [stdout] 601 | 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:607:35 [INFO] [stdout] | [INFO] [stdout] 607 | 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:607:52 [INFO] [stdout] | [INFO] [stdout] 607 | 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:608:9 [INFO] [stdout] | [INFO] [stdout] 608 | 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:608:18 [INFO] [stdout] | [INFO] [stdout] 608 | 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:609:9 [INFO] [stdout] | [INFO] [stdout] 609 | 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:610:9 [INFO] [stdout] | [INFO] [stdout] 610 | 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:611:9 [INFO] [stdout] | [INFO] [stdout] 611 | 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:611:25 [INFO] [stdout] | [INFO] [stdout] 611 | 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:617:9 [INFO] [stdout] | [INFO] [stdout] 617 | 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:617:18 [INFO] [stdout] | [INFO] [stdout] 617 | 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:618:22 [INFO] [stdout] | [INFO] [stdout] 618 | 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:618:44 [INFO] [stdout] | [INFO] [stdout] 618 | 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:619:23 [INFO] [stdout] | [INFO] [stdout] 619 | 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:619:40 [INFO] [stdout] | [INFO] [stdout] 619 | 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:620:9 [INFO] [stdout] | [INFO] [stdout] 620 | 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:620:25 [INFO] [stdout] | [INFO] [stdout] 620 | 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:624:9 [INFO] [stdout] | [INFO] [stdout] 624 | 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:624:18 [INFO] [stdout] | [INFO] [stdout] 624 | 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:625:23 [INFO] [stdout] | [INFO] [stdout] 625 | 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:625:40 [INFO] [stdout] | [INFO] [stdout] 625 | 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:625:48 [INFO] [stdout] | [INFO] [stdout] 625 | 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:626:9 [INFO] [stdout] | [INFO] [stdout] 626 | 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:627:9 [INFO] [stdout] | [INFO] [stdout] 627 | 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:627:25 [INFO] [stdout] | [INFO] [stdout] 627 | 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:637:9 [INFO] [stdout] | [INFO] [stdout] 637 | 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:637:18 [INFO] [stdout] | [INFO] [stdout] 637 | 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:638:23 [INFO] [stdout] | [INFO] [stdout] 638 | 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:638:40 [INFO] [stdout] | [INFO] [stdout] 638 | 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:638:48 [INFO] [stdout] | [INFO] [stdout] 638 | 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:639:9 [INFO] [stdout] | [INFO] [stdout] 639 | 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:640:9 [INFO] [stdout] | [INFO] [stdout] 640 | 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:640:25 [INFO] [stdout] | [INFO] [stdout] 640 | 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: 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: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:508:33 [INFO] [stdout] | [INFO] [stdout] 508 | |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] 508 | |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:546:33 [INFO] [stdout] | [INFO] [stdout] 546 | |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] 546 | |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:556:33 [INFO] [stdout] | [INFO] [stdout] 556 | |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] 556 | |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:575:33 [INFO] [stdout] | [INFO] [stdout] 575 | |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] 575 | |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:576:33 [INFO] [stdout] | [INFO] [stdout] 576 | |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] 576 | |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:593:33 [INFO] [stdout] | [INFO] [stdout] 593 | |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] 593 | |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:594:33 [INFO] [stdout] | [INFO] [stdout] 594 | |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] 594 | |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:595:33 [INFO] [stdout] | [INFO] [stdout] 595 | |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] 595 | |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:615:33 [INFO] [stdout] | [INFO] [stdout] 615 | |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] 615 | |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:630:33 [INFO] [stdout] | [INFO] [stdout] 630 | |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] 630 | |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:633:33 [INFO] [stdout] | [INFO] [stdout] 633 | |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] 633 | |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:634:33 [INFO] [stdout] | [INFO] [stdout] 634 | |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] 634 | |cpu: &mut Z80| { undefined(cpu.pc.try_into().unwrap()); }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [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:187:27 [INFO] [stdout] | [INFO] [stdout] 187 | let mut address = Z80.h as u16 << 8; [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:188:20 [INFO] [stdout] | [INFO] [stdout] 188 | address += 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:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | Z80.b = mem_access_b!(Z80.memory_unit, address); [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:189:31 [INFO] [stdout] | [INFO] [stdout] 189 | Z80.b = mem_access_b!(Z80.memory_unit, address); [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:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | 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:190:25 [INFO] [stdout] | [INFO] [stdout] 190 | 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:200:27 [INFO] [stdout] | [INFO] [stdout] 200 | let mut address = Z80.h as u16 << 8; [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:201:20 [INFO] [stdout] | [INFO] [stdout] 201 | address += 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:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | Z80.c = mem_access_b!(Z80.memory_unit, address); [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:202:31 [INFO] [stdout] | [INFO] [stdout] 202 | Z80.c = mem_access_b!(Z80.memory_unit, address); [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:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | 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:203:25 [INFO] [stdout] | [INFO] [stdout] 203 | 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:215:27 [INFO] [stdout] | [INFO] [stdout] 215 | let mut address = Z80.h as u16 << 8; [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:216:20 [INFO] [stdout] | [INFO] [stdout] 216 | address += 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:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | Z80.d = mem_access_b!(Z80.memory_unit, address); [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:217:31 [INFO] [stdout] | [INFO] [stdout] 217 | Z80.d = mem_access_b!(Z80.memory_unit, address); [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:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | 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:218:25 [INFO] [stdout] | [INFO] [stdout] 218 | 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:228:27 [INFO] [stdout] | [INFO] [stdout] 228 | let mut address = Z80.h as u16 << 8; [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:229:20 [INFO] [stdout] | [INFO] [stdout] 229 | address += 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:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | Z80.e = mem_access_b!(Z80.memory_unit, address); [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:230:31 [INFO] [stdout] | [INFO] [stdout] 230 | Z80.e = mem_access_b!(Z80.memory_unit, address); [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:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | 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:231:25 [INFO] [stdout] | [INFO] [stdout] 231 | 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:243:27 [INFO] [stdout] | [INFO] [stdout] 243 | let mut address = Z80.h as u16 << 8; [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:244:20 [INFO] [stdout] | [INFO] [stdout] 244 | address += 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:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | Z80.h = mem_access_b!(Z80.memory_unit, address); [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:245:31 [INFO] [stdout] | [INFO] [stdout] 245 | Z80.h = mem_access_b!(Z80.memory_unit, address); [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:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | 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:246:25 [INFO] [stdout] | [INFO] [stdout] 246 | 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:256:27 [INFO] [stdout] | [INFO] [stdout] 256 | let mut address = Z80.h as u16 << 8; [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:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | address += 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:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | Z80.h = mem_access_b!(Z80.memory_unit, address); [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:258:31 [INFO] [stdout] | [INFO] [stdout] 258 | Z80.h = mem_access_b!(Z80.memory_unit, address); [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:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | 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:259:25 [INFO] [stdout] | [INFO] [stdout] 259 | 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:265:27 [INFO] [stdout] | [INFO] [stdout] 265 | let mut address = Z80.h as u16 << 8; [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:266:20 [INFO] [stdout] | [INFO] [stdout] 266 | address += 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:267:23 [INFO] [stdout] | [INFO] [stdout] 267 | mem_access_b!(Z80.memory_unit, address, Z80.b); [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:267:49 [INFO] [stdout] | [INFO] [stdout] 267 | mem_access_b!(Z80.memory_unit, address, Z80.b); [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:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | 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:268:25 [INFO] [stdout] | [INFO] [stdout] 268 | 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:271:27 [INFO] [stdout] | [INFO] [stdout] 271 | let mut address = Z80.h as u16 << 8; [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:272:20 [INFO] [stdout] | [INFO] [stdout] 272 | address += 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:273:23 [INFO] [stdout] | [INFO] [stdout] 273 | mem_access_b!(Z80.memory_unit, address, Z80.c); [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:273:49 [INFO] [stdout] | [INFO] [stdout] 273 | mem_access_b!(Z80.memory_unit, address, Z80.c); [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:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | 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:274:25 [INFO] [stdout] | [INFO] [stdout] 274 | 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:277:27 [INFO] [stdout] | [INFO] [stdout] 277 | let mut address = Z80.h as u16 << 8; [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:278:20 [INFO] [stdout] | [INFO] [stdout] 278 | address += 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:279:23 [INFO] [stdout] | [INFO] [stdout] 279 | mem_access_b!(Z80.memory_unit, address, Z80.d); [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:279:49 [INFO] [stdout] | [INFO] [stdout] 279 | mem_access_b!(Z80.memory_unit, address, Z80.d); [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:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | 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:280:25 [INFO] [stdout] | [INFO] [stdout] 280 | 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:283:27 [INFO] [stdout] | [INFO] [stdout] 283 | let mut address = Z80.h as u16 << 8; [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:284:20 [INFO] [stdout] | [INFO] [stdout] 284 | address += 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:285:23 [INFO] [stdout] | [INFO] [stdout] 285 | mem_access_b!(Z80.memory_unit, address, Z80.e); [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:285:49 [INFO] [stdout] | [INFO] [stdout] 285 | mem_access_b!(Z80.memory_unit, address, Z80.e); [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:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | 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:286:25 [INFO] [stdout] | [INFO] [stdout] 286 | 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:289:27 [INFO] [stdout] | [INFO] [stdout] 289 | let mut address = Z80.h as u16 << 8; [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:290:20 [INFO] [stdout] | [INFO] [stdout] 290 | address += 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:291:23 [INFO] [stdout] | [INFO] [stdout] 291 | mem_access_b!(Z80.memory_unit, address, Z80.h); [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:291:49 [INFO] [stdout] | [INFO] [stdout] 291 | mem_access_b!(Z80.memory_unit, address, Z80.h); [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:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | 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:292:25 [INFO] [stdout] | [INFO] [stdout] 292 | 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:295:27 [INFO] [stdout] | [INFO] [stdout] 295 | let mut address = Z80.h as u16 << 8; [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:296:20 [INFO] [stdout] | [INFO] [stdout] 296 | address += 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:297:23 [INFO] [stdout] | [INFO] [stdout] 297 | mem_access_b!(Z80.memory_unit, address, Z80.l); [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:297:49 [INFO] [stdout] | [INFO] [stdout] 297 | mem_access_b!(Z80.memory_unit, address, Z80.l); [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:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | 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:298:25 [INFO] [stdout] | [INFO] [stdout] 298 | 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:302:27 [INFO] [stdout] | [INFO] [stdout] 302 | let mut address = Z80.h as u16 << 8; [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:303:20 [INFO] [stdout] | [INFO] [stdout] 303 | address += 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:304:23 [INFO] [stdout] | [INFO] [stdout] 304 | mem_access_b!(Z80.memory_unit, address, Z80.a); [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:304:49 [INFO] [stdout] | [INFO] [stdout] 304 | mem_access_b!(Z80.memory_unit, address, Z80.a); [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:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | 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:305:25 [INFO] [stdout] | [INFO] [stdout] 305 | 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:307:23 [INFO] [stdout] | [INFO] [stdout] 307 | |cpu: &mut Z80| { Z80.a = Z80.b; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_ab [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:307:31 [INFO] [stdout] | [INFO] [stdout] 307 | |cpu: &mut Z80| { Z80.a = Z80.b; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_ab [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:307:38 [INFO] [stdout] | [INFO] [stdout] 307 | |cpu: &mut Z80| { Z80.a = Z80.b; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_ab [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:307:54 [INFO] [stdout] | [INFO] [stdout] 307 | |cpu: &mut Z80| { Z80.a = Z80.b; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_ab [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:308:23 [INFO] [stdout] | [INFO] [stdout] 308 | |cpu: &mut Z80| { Z80.a = Z80.c; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_ac [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:308:31 [INFO] [stdout] | [INFO] [stdout] 308 | |cpu: &mut Z80| { Z80.a = Z80.c; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_ac [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:308:38 [INFO] [stdout] | [INFO] [stdout] 308 | |cpu: &mut Z80| { Z80.a = Z80.c; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_ac [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:308:54 [INFO] [stdout] | [INFO] [stdout] 308 | |cpu: &mut Z80| { Z80.a = Z80.c; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_ac [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:309:23 [INFO] [stdout] | [INFO] [stdout] 309 | |cpu: &mut Z80| { Z80.a = Z80.d; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_ad [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:309:31 [INFO] [stdout] | [INFO] [stdout] 309 | |cpu: &mut Z80| { Z80.a = Z80.d; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_ad [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:309:38 [INFO] [stdout] | [INFO] [stdout] 309 | |cpu: &mut Z80| { Z80.a = Z80.d; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_ad [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:309:54 [INFO] [stdout] | [INFO] [stdout] 309 | |cpu: &mut Z80| { Z80.a = Z80.d; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_ad [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:310:23 [INFO] [stdout] | [INFO] [stdout] 310 | |cpu: &mut Z80| { Z80.a = Z80.e; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_ae [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:310:31 [INFO] [stdout] | [INFO] [stdout] 310 | |cpu: &mut Z80| { Z80.a = Z80.e; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_ae [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:310:38 [INFO] [stdout] | [INFO] [stdout] 310 | |cpu: &mut Z80| { Z80.a = Z80.e; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_ae [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:310:54 [INFO] [stdout] | [INFO] [stdout] 310 | |cpu: &mut Z80| { Z80.a = Z80.e; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_ae [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:311:23 [INFO] [stdout] | [INFO] [stdout] 311 | |cpu: &mut Z80| { Z80.a = Z80.h; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_ah [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:311:31 [INFO] [stdout] | [INFO] [stdout] 311 | |cpu: &mut Z80| { Z80.a = Z80.h; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_ah [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:311:38 [INFO] [stdout] | [INFO] [stdout] 311 | |cpu: &mut Z80| { Z80.a = Z80.h; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_ah [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:311:54 [INFO] [stdout] | [INFO] [stdout] 311 | |cpu: &mut Z80| { Z80.a = Z80.h; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_ah [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:312:23 [INFO] [stdout] | [INFO] [stdout] 312 | |cpu: &mut Z80| { Z80.a = Z80.l; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_al [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:312:31 [INFO] [stdout] | [INFO] [stdout] 312 | |cpu: &mut Z80| { Z80.a = Z80.l; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_al [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:312:38 [INFO] [stdout] | [INFO] [stdout] 312 | |cpu: &mut Z80| { Z80.a = Z80.l; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_al [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:312:54 [INFO] [stdout] | [INFO] [stdout] 312 | |cpu: &mut Z80| { Z80.a = Z80.l; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_al [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:314:27 [INFO] [stdout] | [INFO] [stdout] 314 | let mut address = Z80.h as u16 << 8; [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:315:20 [INFO] [stdout] | [INFO] [stdout] 315 | address += 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:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | Z80.a = mem_access_b!(Z80.memory_unit, address); [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:316:31 [INFO] [stdout] | [INFO] [stdout] 316 | Z80.a = mem_access_b!(Z80.memory_unit, address); [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:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | 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:317:25 [INFO] [stdout] | [INFO] [stdout] 317 | 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:319:23 [INFO] [stdout] | [INFO] [stdout] 319 | |cpu: &mut Z80| { Z80.a = Z80.a; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_aa [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:319:31 [INFO] [stdout] | [INFO] [stdout] 319 | |cpu: &mut Z80| { Z80.a = Z80.a; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_aa [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:319:38 [INFO] [stdout] | [INFO] [stdout] 319 | |cpu: &mut Z80| { Z80.a = Z80.a; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_aa [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:319:54 [INFO] [stdout] | [INFO] [stdout] 319 | |cpu: &mut Z80| { Z80.a = Z80.a; Z80.last_m = 1; Z80.last_t = 4; }, //LDrr_aa [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:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | 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:395:25 [INFO] [stdout] | [INFO] [stdout] 395 | 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:396:12 [INFO] [stdout] | [INFO] [stdout] 396 | 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:397:13 [INFO] [stdout] | [INFO] [stdout] 397 | 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:397:36 [INFO] [stdout] | [INFO] [stdout] 397 | 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:397:53 [INFO] [stdout] | [INFO] [stdout] 397 | 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:398:13 [INFO] [stdout] | [INFO] [stdout] 398 | 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:398:22 [INFO] [stdout] | [INFO] [stdout] 398 | 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:399:13 [INFO] [stdout] | [INFO] [stdout] 399 | 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:399:30 [INFO] [stdout] | [INFO] [stdout] 399 | 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:403:35 [INFO] [stdout] | [INFO] [stdout] 403 | 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:403:52 [INFO] [stdout] | [INFO] [stdout] 403 | 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:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | 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:18 [INFO] [stdout] | [INFO] [stdout] 404 | 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:405:9 [INFO] [stdout] | [INFO] [stdout] 405 | 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:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | 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:407:9 [INFO] [stdout] | [INFO] [stdout] 407 | 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:407:25 [INFO] [stdout] | [INFO] [stdout] 407 | 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:410:9 [INFO] [stdout] | [INFO] [stdout] 410 | 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:410:25 [INFO] [stdout] | [INFO] [stdout] 410 | 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:411:13 [INFO] [stdout] | [INFO] [stdout] 411 | 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:412:13 [INFO] [stdout] | [INFO] [stdout] 412 | 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:412:36 [INFO] [stdout] | [INFO] [stdout] 412 | 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:412:53 [INFO] [stdout] | [INFO] [stdout] 412 | 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:413:13 [INFO] [stdout] | [INFO] [stdout] 413 | 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:413:30 [INFO] [stdout] | [INFO] [stdout] 413 | 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:414:18 [INFO] [stdout] | [INFO] [stdout] 414 | } 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:414:27 [INFO] [stdout] | [INFO] [stdout] 414 | } 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:417:9 [INFO] [stdout] | [INFO] [stdout] 417 | 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:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | 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:418:25 [INFO] [stdout] | [INFO] [stdout] 418 | 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:421:9 [INFO] [stdout] | [INFO] [stdout] 421 | 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:25 [INFO] [stdout] | [INFO] [stdout] 421 | 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:422:12 [INFO] [stdout] | [INFO] [stdout] 422 | 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:423:13 [INFO] [stdout] | [INFO] [stdout] 423 | 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:423:22 [INFO] [stdout] | [INFO] [stdout] 423 | 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:424:27 [INFO] [stdout] | [INFO] [stdout] 424 | 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:424:44 [INFO] [stdout] | [INFO] [stdout] 424 | 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:424:52 [INFO] [stdout] | [INFO] [stdout] 424 | 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:425:13 [INFO] [stdout] | [INFO] [stdout] 425 | 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:425:36 [INFO] [stdout] | [INFO] [stdout] 425 | 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:425:53 [INFO] [stdout] | [INFO] [stdout] 425 | 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:426:13 [INFO] [stdout] | [INFO] [stdout] 426 | 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:426:30 [INFO] [stdout] | [INFO] [stdout] 426 | 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:427:18 [INFO] [stdout] | [INFO] [stdout] 427 | } 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:427:27 [INFO] [stdout] | [INFO] [stdout] 427 | } 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:430:9 [INFO] [stdout] | [INFO] [stdout] 430 | 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:430:18 [INFO] [stdout] | [INFO] [stdout] 430 | 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:431:22 [INFO] [stdout] | [INFO] [stdout] 431 | 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:431:44 [INFO] [stdout] | [INFO] [stdout] 431 | 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:432:23 [INFO] [stdout] | [INFO] [stdout] 432 | 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:432:40 [INFO] [stdout] | [INFO] [stdout] 432 | 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:433:9 [INFO] [stdout] | [INFO] [stdout] 433 | 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:433:25 [INFO] [stdout] | [INFO] [stdout] 433 | 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:437:9 [INFO] [stdout] | [INFO] [stdout] 437 | 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:437:18 [INFO] [stdout] | [INFO] [stdout] 437 | 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:438:23 [INFO] [stdout] | [INFO] [stdout] 438 | 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:438:40 [INFO] [stdout] | [INFO] [stdout] 438 | 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:438:48 [INFO] [stdout] | [INFO] [stdout] 438 | 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:439:9 [INFO] [stdout] | [INFO] [stdout] 439 | 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: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:443:9 [INFO] [stdout] | [INFO] [stdout] 443 | 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:443:25 [INFO] [stdout] | [INFO] [stdout] 443 | 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:444:12 [INFO] [stdout] | [INFO] [stdout] 444 | 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:445:13 [INFO] [stdout] | [INFO] [stdout] 445 | 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:445:36 [INFO] [stdout] | [INFO] [stdout] 445 | 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:445:53 [INFO] [stdout] | [INFO] [stdout] 445 | 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:446:13 [INFO] [stdout] | [INFO] [stdout] 446 | 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:446:22 [INFO] [stdout] | [INFO] [stdout] 446 | 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:447:13 [INFO] [stdout] | [INFO] [stdout] 447 | 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:447:30 [INFO] [stdout] | [INFO] [stdout] 447 | 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:451:9 [INFO] [stdout] | [INFO] [stdout] 451 | 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:451:32 [INFO] [stdout] | [INFO] [stdout] 451 | 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:451:49 [INFO] [stdout] | [INFO] [stdout] 451 | 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:451:58 [INFO] [stdout] | [INFO] [stdout] 451 | 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:452:9 [INFO] [stdout] | [INFO] [stdout] 452 | 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:452:25 [INFO] [stdout] | [INFO] [stdout] 452 | 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.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:455:25 [INFO] [stdout] | [INFO] [stdout] 455 | 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:456:13 [INFO] [stdout] | [INFO] [stdout] 456 | 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:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | 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:457:36 [INFO] [stdout] | [INFO] [stdout] 457 | 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:457:53 [INFO] [stdout] | [INFO] [stdout] 457 | 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:458:13 [INFO] [stdout] | [INFO] [stdout] 458 | 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:458:30 [INFO] [stdout] | [INFO] [stdout] 458 | 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:459:18 [INFO] [stdout] | [INFO] [stdout] 459 | } 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:459:27 [INFO] [stdout] | [INFO] [stdout] 459 | } 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:463:9 [INFO] [stdout] | [INFO] [stdout] 463 | 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:463:25 [INFO] [stdout] | [INFO] [stdout] 463 | 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:464:12 [INFO] [stdout] | [INFO] [stdout] 464 | 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:465:13 [INFO] [stdout] | [INFO] [stdout] 465 | 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:465:22 [INFO] [stdout] | [INFO] [stdout] 465 | 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:469:18 [INFO] [stdout] | [INFO] [stdout] 469 | } 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:472:9 [INFO] [stdout] | [INFO] [stdout] 472 | 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:472:18 [INFO] [stdout] | [INFO] [stdout] 472 | 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:473:23 [INFO] [stdout] | [INFO] [stdout] 473 | 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:473:40 [INFO] [stdout] | [INFO] [stdout] 473 | 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:473:48 [INFO] [stdout] | [INFO] [stdout] 473 | 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:474:9 [INFO] [stdout] | [INFO] [stdout] 474 | 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:474:32 [INFO] [stdout] | [INFO] [stdout] 474 | 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:474:49 [INFO] [stdout] | [INFO] [stdout] 474 | 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:475:9 [INFO] [stdout] | [INFO] [stdout] 475 | 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:475:25 [INFO] [stdout] | [INFO] [stdout] 475 | 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:479:9 [INFO] [stdout] | [INFO] [stdout] 479 | 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:479:18 [INFO] [stdout] | [INFO] [stdout] 479 | 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:23 [INFO] [stdout] | [INFO] [stdout] 480 | 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:480:40 [INFO] [stdout] | [INFO] [stdout] 480 | 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:480:48 [INFO] [stdout] | [INFO] [stdout] 480 | 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:481:9 [INFO] [stdout] | [INFO] [stdout] 481 | 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:482:9 [INFO] [stdout] | [INFO] [stdout] 482 | 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:482:25 [INFO] [stdout] | [INFO] [stdout] 482 | 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:487:9 [INFO] [stdout] | [INFO] [stdout] 487 | 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:487:25 [INFO] [stdout] | [INFO] [stdout] 487 | 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:488:12 [INFO] [stdout] | [INFO] [stdout] 488 | 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:489:13 [INFO] [stdout] | [INFO] [stdout] 489 | 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:489:36 [INFO] [stdout] | [INFO] [stdout] 489 | 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:489:53 [INFO] [stdout] | [INFO] [stdout] 489 | 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:490:13 [INFO] [stdout] | [INFO] [stdout] 490 | 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:490:22 [INFO] [stdout] | [INFO] [stdout] 490 | 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:491:13 [INFO] [stdout] | [INFO] [stdout] 491 | 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:491:30 [INFO] [stdout] | [INFO] [stdout] 491 | 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:495:35 [INFO] [stdout] | [INFO] [stdout] 495 | 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:495:52 [INFO] [stdout] | [INFO] [stdout] 495 | 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:496:9 [INFO] [stdout] | [INFO] [stdout] 496 | 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:496:18 [INFO] [stdout] | [INFO] [stdout] 496 | 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:497:9 [INFO] [stdout] | [INFO] [stdout] 497 | 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:498:9 [INFO] [stdout] | [INFO] [stdout] 498 | 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:499:9 [INFO] [stdout] | [INFO] [stdout] 499 | 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:499:25 [INFO] [stdout] | [INFO] [stdout] 499 | 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: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:503:12 [INFO] [stdout] | [INFO] [stdout] 503 | 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:504:13 [INFO] [stdout] | [INFO] [stdout] 504 | 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:504:36 [INFO] [stdout] | [INFO] [stdout] 504 | 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:504:53 [INFO] [stdout] | [INFO] [stdout] 504 | 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:505:13 [INFO] [stdout] | [INFO] [stdout] 505 | 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:505:30 [INFO] [stdout] | [INFO] [stdout] 505 | 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:506:18 [INFO] [stdout] | [INFO] [stdout] 506 | } 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:506:27 [INFO] [stdout] | [INFO] [stdout] 506 | } 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:510:9 [INFO] [stdout] | [INFO] [stdout] 510 | 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:510:25 [INFO] [stdout] | [INFO] [stdout] 510 | 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:511:12 [INFO] [stdout] | [INFO] [stdout] 511 | 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:512:13 [INFO] [stdout] | [INFO] [stdout] 512 | 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:512:36 [INFO] [stdout] | [INFO] [stdout] 512 | 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:512:53 [INFO] [stdout] | [INFO] [stdout] 512 | 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:513:13 [INFO] [stdout] | [INFO] [stdout] 513 | 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:513:22 [INFO] [stdout] | [INFO] [stdout] 513 | 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:514:13 [INFO] [stdout] | [INFO] [stdout] 514 | 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:514:30 [INFO] [stdout] | [INFO] [stdout] 514 | 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:518:9 [INFO] [stdout] | [INFO] [stdout] 518 | 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:518:18 [INFO] [stdout] | [INFO] [stdout] 518 | 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:519:22 [INFO] [stdout] | [INFO] [stdout] 519 | 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:519:44 [INFO] [stdout] | [INFO] [stdout] 519 | 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:520:23 [INFO] [stdout] | [INFO] [stdout] 520 | 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:520:40 [INFO] [stdout] | [INFO] [stdout] 520 | 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:521:9 [INFO] [stdout] | [INFO] [stdout] 521 | 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:521:25 [INFO] [stdout] | [INFO] [stdout] 521 | 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:525:9 [INFO] [stdout] | [INFO] [stdout] 525 | 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:525:18 [INFO] [stdout] | [INFO] [stdout] 525 | 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:526:23 [INFO] [stdout] | [INFO] [stdout] 526 | 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:526:40 [INFO] [stdout] | [INFO] [stdout] 526 | 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:526:48 [INFO] [stdout] | [INFO] [stdout] 526 | 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:527:9 [INFO] [stdout] | [INFO] [stdout] 527 | 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:528:9 [INFO] [stdout] | [INFO] [stdout] 528 | 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:528:25 [INFO] [stdout] | [INFO] [stdout] 528 | 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:531:9 [INFO] [stdout] | [INFO] [stdout] 531 | 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:531:25 [INFO] [stdout] | [INFO] [stdout] 531 | 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:532:12 [INFO] [stdout] | [INFO] [stdout] 532 | 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:533:13 [INFO] [stdout] | [INFO] [stdout] 533 | 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:533:36 [INFO] [stdout] | [INFO] [stdout] 533 | 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:533:53 [INFO] [stdout] | [INFO] [stdout] 533 | 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:534:13 [INFO] [stdout] | [INFO] [stdout] 534 | 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:534:22 [INFO] [stdout] | [INFO] [stdout] 534 | 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:535:13 [INFO] [stdout] | [INFO] [stdout] 535 | 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:535:30 [INFO] [stdout] | [INFO] [stdout] 535 | 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:540:9 [INFO] [stdout] | [INFO] [stdout] 540 | 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:540:25 [INFO] [stdout] | [INFO] [stdout] 540 | 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:541:12 [INFO] [stdout] | [INFO] [stdout] 541 | 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:542:13 [INFO] [stdout] | [INFO] [stdout] 542 | 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:542:36 [INFO] [stdout] | [INFO] [stdout] 542 | 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:542:53 [INFO] [stdout] | [INFO] [stdout] 542 | 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:543:13 [INFO] [stdout] | [INFO] [stdout] 543 | 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:543:30 [INFO] [stdout] | [INFO] [stdout] 543 | 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: aborting due to 427 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] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:544:18 [INFO] [stdout] | [INFO] [stdout] 544 | } 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:544:27 [INFO] [stdout] | [INFO] [stdout] 544 | } 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:548:9 [INFO] [stdout] | [INFO] [stdout] 548 | 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:548:25 [INFO] [stdout] | [INFO] [stdout] 548 | 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:549:12 [INFO] [stdout] | [INFO] [stdout] 549 | 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:550:13 [INFO] [stdout] | [INFO] [stdout] 550 | 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:550:22 [INFO] [stdout] | [INFO] [stdout] 550 | 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:551:27 [INFO] [stdout] | [INFO] [stdout] 551 | 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:551:44 [INFO] [stdout] | [INFO] [stdout] 551 | 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:551:52 [INFO] [stdout] | [INFO] [stdout] 551 | 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:552:13 [INFO] [stdout] | [INFO] [stdout] 552 | 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:552:36 [INFO] [stdout] | [INFO] [stdout] 552 | 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:552:53 [INFO] [stdout] | [INFO] [stdout] 552 | 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:553:13 [INFO] [stdout] | [INFO] [stdout] 553 | 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:553:30 [INFO] [stdout] | [INFO] [stdout] 553 | 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:554:18 [INFO] [stdout] | [INFO] [stdout] 554 | } 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:554:27 [INFO] [stdout] | [INFO] [stdout] 554 | } 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:559:9 [INFO] [stdout] | [INFO] [stdout] 559 | 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:559:18 [INFO] [stdout] | [INFO] [stdout] 559 | 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:560:23 [INFO] [stdout] | [INFO] [stdout] 560 | 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:560:40 [INFO] [stdout] | [INFO] [stdout] 560 | 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:560:48 [INFO] [stdout] | [INFO] [stdout] 560 | 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:561:9 [INFO] [stdout] | [INFO] [stdout] 561 | 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:562:9 [INFO] [stdout] | [INFO] [stdout] 562 | 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:562:25 [INFO] [stdout] | [INFO] [stdout] 562 | 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:568:35 [INFO] [stdout] | [INFO] [stdout] 568 | 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:568:52 [INFO] [stdout] | [INFO] [stdout] 568 | 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:569:9 [INFO] [stdout] | [INFO] [stdout] 569 | 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:569:18 [INFO] [stdout] | [INFO] [stdout] 569 | 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:570:9 [INFO] [stdout] | [INFO] [stdout] 570 | 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:571:9 [INFO] [stdout] | [INFO] [stdout] 571 | 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:572:9 [INFO] [stdout] | [INFO] [stdout] 572 | 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:572:25 [INFO] [stdout] | [INFO] [stdout] 572 | 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:578:9 [INFO] [stdout] | [INFO] [stdout] 578 | 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:578:18 [INFO] [stdout] | [INFO] [stdout] 578 | 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:579:22 [INFO] [stdout] | [INFO] [stdout] 579 | 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:579:44 [INFO] [stdout] | [INFO] [stdout] 579 | 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:580:23 [INFO] [stdout] | [INFO] [stdout] 580 | 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:580:40 [INFO] [stdout] | [INFO] [stdout] 580 | 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:581:9 [INFO] [stdout] | [INFO] [stdout] 581 | 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:581:25 [INFO] [stdout] | [INFO] [stdout] 581 | 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:585:9 [INFO] [stdout] | [INFO] [stdout] 585 | 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:585:18 [INFO] [stdout] | [INFO] [stdout] 585 | 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:586:23 [INFO] [stdout] | [INFO] [stdout] 586 | 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:586:40 [INFO] [stdout] | [INFO] [stdout] 586 | 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:586:48 [INFO] [stdout] | [INFO] [stdout] 586 | 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:587:9 [INFO] [stdout] | [INFO] [stdout] 587 | 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:588:9 [INFO] [stdout] | [INFO] [stdout] 588 | 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:588:25 [INFO] [stdout] | [INFO] [stdout] 588 | 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:598:9 [INFO] [stdout] | [INFO] [stdout] 598 | 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:598:18 [INFO] [stdout] | [INFO] [stdout] 598 | 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:599:23 [INFO] [stdout] | [INFO] [stdout] 599 | 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:599:40 [INFO] [stdout] | [INFO] [stdout] 599 | 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:599:48 [INFO] [stdout] | [INFO] [stdout] 599 | 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:600:9 [INFO] [stdout] | [INFO] [stdout] 600 | 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:601:9 [INFO] [stdout] | [INFO] [stdout] 601 | 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:601:25 [INFO] [stdout] | [INFO] [stdout] 601 | 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:607:35 [INFO] [stdout] | [INFO] [stdout] 607 | 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:607:52 [INFO] [stdout] | [INFO] [stdout] 607 | 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:608:9 [INFO] [stdout] | [INFO] [stdout] 608 | 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:608:18 [INFO] [stdout] | [INFO] [stdout] 608 | 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:609:9 [INFO] [stdout] | [INFO] [stdout] 609 | 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:610:9 [INFO] [stdout] | [INFO] [stdout] 610 | 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:611:9 [INFO] [stdout] | [INFO] [stdout] 611 | 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:611:25 [INFO] [stdout] | [INFO] [stdout] 611 | 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:617:9 [INFO] [stdout] | [INFO] [stdout] 617 | 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:617:18 [INFO] [stdout] | [INFO] [stdout] 617 | 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] [stderr] error: could not compile `gb_emulator` [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:618:22 [INFO] [stdout] | [INFO] [stdout] 618 | 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] [stderr] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:618:44 [INFO] [stdout] | [INFO] [stdout] 618 | 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] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:619:23 [INFO] [stdout] | [INFO] [stdout] 619 | 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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:619:40 [INFO] [stdout] | [INFO] [stdout] 619 | 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:620:9 [INFO] [stdout] | [INFO] [stdout] 620 | 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:620:25 [INFO] [stdout] | [INFO] [stdout] 620 | 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:624:9 [INFO] [stdout] | [INFO] [stdout] 624 | 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:624:18 [INFO] [stdout] | [INFO] [stdout] 624 | 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:625:23 [INFO] [stdout] | [INFO] [stdout] 625 | 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:625:40 [INFO] [stdout] | [INFO] [stdout] 625 | 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:625:48 [INFO] [stdout] | [INFO] [stdout] 625 | 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:626:9 [INFO] [stdout] | [INFO] [stdout] 626 | 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:627:9 [INFO] [stdout] | [INFO] [stdout] 627 | 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:627:25 [INFO] [stdout] | [INFO] [stdout] 627 | 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:637:9 [INFO] [stdout] | [INFO] [stdout] 637 | 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:637:18 [INFO] [stdout] | [INFO] [stdout] 637 | 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:638:23 [INFO] [stdout] | [INFO] [stdout] 638 | 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:638:40 [INFO] [stdout] | [INFO] [stdout] 638 | 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:638:48 [INFO] [stdout] | [INFO] [stdout] 638 | 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:639:9 [INFO] [stdout] | [INFO] [stdout] 639 | 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:640:9 [INFO] [stdout] | [INFO] [stdout] 640 | 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:640:25 [INFO] [stdout] | [INFO] [stdout] 640 | 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: 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: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:508:33 [INFO] [stdout] | [INFO] [stdout] 508 | |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] 508 | |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:546:33 [INFO] [stdout] | [INFO] [stdout] 546 | |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] 546 | |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:556:33 [INFO] [stdout] | [INFO] [stdout] 556 | |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] 556 | |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:575:33 [INFO] [stdout] | [INFO] [stdout] 575 | |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] 575 | |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:576:33 [INFO] [stdout] | [INFO] [stdout] 576 | |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] 576 | |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:593:33 [INFO] [stdout] | [INFO] [stdout] 593 | |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] 593 | |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:594:33 [INFO] [stdout] | [INFO] [stdout] 594 | |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] 594 | |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:595:33 [INFO] [stdout] | [INFO] [stdout] 595 | |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] 595 | |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:615:33 [INFO] [stdout] | [INFO] [stdout] 615 | |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] 615 | |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:630:33 [INFO] [stdout] | [INFO] [stdout] 630 | |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] 630 | |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:633:33 [INFO] [stdout] | [INFO] [stdout] 633 | |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] 633 | |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:634:33 [INFO] [stdout] | [INFO] [stdout] 634 | |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] 634 | |cpu: &mut Z80| { undefined(cpu.pc.try_into().unwrap()); }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 427 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" "66ce0674bb5a5266f889509521dec19eb7ee2c6f753ccb04d9e889f8378c82e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66ce0674bb5a5266f889509521dec19eb7ee2c6f753ccb04d9e889f8378c82e9", kill_on_drop: false }` [INFO] [stdout] 66ce0674bb5a5266f889509521dec19eb7ee2c6f753ccb04d9e889f8378c82e9