[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] 05ed6a1babb54be464de1a9f62130a1c87e9321b [INFO] checking VictorFordham/rust_gb_emulator against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVictorFordham%2Frust_gb_emulator" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/VictorFordham/rust_gb_emulator on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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-12/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52e0f834cf09d2c32361d694ea50d75fc9294531b16c7303da613f27a13f3f06 [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" "52e0f834cf09d2c32361d694ea50d75fc9294531b16c7303da613f27a13f3f06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52e0f834cf09d2c32361d694ea50d75fc9294531b16c7303da613f27a13f3f06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52e0f834cf09d2c32361d694ea50d75fc9294531b16c7303da613f27a13f3f06", kill_on_drop: false }` [INFO] [stdout] 52e0f834cf09d2c32361d694ea50d75fc9294531b16c7303da613f27a13f3f06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c664ee3371ba8074322426a7997c0a8b4a7a1b0b7a186214341834cf7f3b5b6 [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" "6c664ee3371ba8074322426a7997c0a8b4a7a1b0b7a186214341834cf7f3b5b6", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.62 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking futures-sink v0.3.13 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking futures-core v0.3.13 [INFO] [stderr] Checking futures-task v0.3.13 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking pin-utils v0.1.0 [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 instant v0.1.9 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking wgpu-types v0.6.1 [INFO] [stderr] Checking ash v0.31.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Compiling x11 v2.18.2 [INFO] [stderr] Compiling quote v1.0.9 [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 parking_lot v0.11.1 [INFO] [stderr] Checking spirv_headers v1.5.0 [INFO] [stderr] Checking gfx-backend-empty v0.6.0 [INFO] [stderr] Checking gfx-memory v0.2.2 [INFO] [stderr] Checking gfx-descriptor v0.2.0 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking naga v0.2.0 [INFO] [stderr] Checking gfx-backend-vulkan v0.6.5 [INFO] [stderr] Checking wgpu-core v0.6.5 [INFO] [stderr] Checking futures-executor v0.3.13 [INFO] [stderr] Checking futures v0.3.13 [INFO] [stderr] Checking wgpu v0.6.2 [INFO] [stderr] Checking pixels v0.2.0 [INFO] [stderr] Checking gb_emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `<` is interpreted as a start of generic arguments for `u16`, not a shift [INFO] [stdout] --> src/cpu.rs:341:35 [INFO] [stdout] | [INFO] [stdout] 341 | 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:389:35 [INFO] [stdout] | [INFO] [stdout] 389 | 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:428:35 [INFO] [stdout] | [INFO] [stdout] 428 | 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:467:35 [INFO] [stdout] | [INFO] [stdout] 467 | 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: `<` is interpreted as a start of generic arguments for `u16`, not a shift [INFO] [stdout] --> src/cpu.rs:341:35 [INFO] [stdout] | [INFO] [stdout] 341 | 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:389:35 [INFO] [stdout] | [INFO] [stdout] 389 | 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:428:35 [INFO] [stdout] | [INFO] [stdout] 428 | 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:467:35 [INFO] [stdout] | [INFO] [stdout] 467 | 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[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:321:35 [INFO] [stdout] | [INFO] [stdout] 321 | 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:321:52 [INFO] [stdout] | [INFO] [stdout] 321 | 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:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | 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:322:18 [INFO] [stdout] | [INFO] [stdout] 322 | 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:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | 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:324:9 [INFO] [stdout] | [INFO] [stdout] 324 | 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:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:325:25 [INFO] [stdout] | [INFO] [stdout] 325 | 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:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | 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:328:25 [INFO] [stdout] | [INFO] [stdout] 328 | 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:329:13 [INFO] [stdout] | [INFO] [stdout] 329 | 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:330:13 [INFO] [stdout] | [INFO] [stdout] 330 | 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:330:36 [INFO] [stdout] | [INFO] [stdout] 330 | 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:330:53 [INFO] [stdout] | [INFO] [stdout] 330 | 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:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | 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:331:30 [INFO] [stdout] | [INFO] [stdout] 331 | 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:332:18 [INFO] [stdout] | [INFO] [stdout] 332 | } 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:332:27 [INFO] [stdout] | [INFO] [stdout] 332 | } 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:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | 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:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | 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:336:25 [INFO] [stdout] | [INFO] [stdout] 336 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:340:18 [INFO] [stdout] | [INFO] [stdout] 340 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:341:22 [INFO] [stdout] | [INFO] [stdout] 341 | 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:341:44 [INFO] [stdout] | [INFO] [stdout] 341 | let value = (Z80.b as u16 << 8) + (Z80.c as u16); [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:342:23 [INFO] [stdout] | [INFO] [stdout] 342 | mem_access_w!(Z80.memory_unit, Z80.sp, value); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:342:40 [INFO] [stdout] | [INFO] [stdout] 342 | mem_access_w!(Z80.memory_unit, Z80.sp, value); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:343:25 [INFO] [stdout] | [INFO] [stdout] 343 | 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:347:9 [INFO] [stdout] | [INFO] [stdout] 347 | 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:347:18 [INFO] [stdout] | [INFO] [stdout] 347 | 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:348:23 [INFO] [stdout] | [INFO] [stdout] 348 | 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:348:40 [INFO] [stdout] | [INFO] [stdout] 348 | 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:348:48 [INFO] [stdout] | [INFO] [stdout] 348 | 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:349:9 [INFO] [stdout] | [INFO] [stdout] 349 | 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:350:9 [INFO] [stdout] | [INFO] [stdout] 350 | 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:350:25 [INFO] [stdout] | [INFO] [stdout] 350 | 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:354:9 [INFO] [stdout] | [INFO] [stdout] 354 | 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:354:32 [INFO] [stdout] | [INFO] [stdout] 354 | 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:354:49 [INFO] [stdout] | [INFO] [stdout] 354 | 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:354:58 [INFO] [stdout] | [INFO] [stdout] 354 | 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:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | 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:355:25 [INFO] [stdout] | [INFO] [stdout] 355 | 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:358:9 [INFO] [stdout] | [INFO] [stdout] 358 | 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:358:25 [INFO] [stdout] | [INFO] [stdout] 358 | 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:321:35 [INFO] [stdout] | [INFO] [stdout] 321 | 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:359:13 [INFO] [stdout] | [INFO] [stdout] 359 | 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:321:52 [INFO] [stdout] | [INFO] [stdout] 321 | 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:360:13 [INFO] [stdout] | [INFO] [stdout] 360 | 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:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | 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:322:18 [INFO] [stdout] | [INFO] [stdout] 322 | 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:360:36 [INFO] [stdout] | [INFO] [stdout] 360 | 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:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | 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:360:53 [INFO] [stdout] | [INFO] [stdout] 360 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:361:13 [INFO] [stdout] | [INFO] [stdout] 361 | 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:361:30 [INFO] [stdout] | [INFO] [stdout] 361 | 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:362:18 [INFO] [stdout] | [INFO] [stdout] 362 | } 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:362:27 [INFO] [stdout] | [INFO] [stdout] 362 | } 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:369:9 [INFO] [stdout] | [INFO] [stdout] 369 | 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:369:18 [INFO] [stdout] | [INFO] [stdout] 369 | 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:370:23 [INFO] [stdout] | [INFO] [stdout] 370 | 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:370:40 [INFO] [stdout] | [INFO] [stdout] 370 | 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:370:48 [INFO] [stdout] | [INFO] [stdout] 370 | 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:371:9 [INFO] [stdout] | [INFO] [stdout] 371 | 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:372:9 [INFO] [stdout] | [INFO] [stdout] 372 | 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:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | 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:378:35 [INFO] [stdout] | [INFO] [stdout] 378 | 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:378:52 [INFO] [stdout] | [INFO] [stdout] 378 | 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:379:9 [INFO] [stdout] | [INFO] [stdout] 379 | 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:379:18 [INFO] [stdout] | [INFO] [stdout] 379 | 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:380:9 [INFO] [stdout] | [INFO] [stdout] 380 | 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:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | 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:382:9 [INFO] [stdout] | [INFO] [stdout] 382 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:382:25 [INFO] [stdout] | [INFO] [stdout] 382 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 388 | 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:388:18 [INFO] [stdout] | [INFO] [stdout] 388 | 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:389:22 [INFO] [stdout] | [INFO] [stdout] 389 | 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:389:44 [INFO] [stdout] | [INFO] [stdout] 389 | 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:324:9 [INFO] [stdout] | [INFO] [stdout] 324 | 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:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:325:25 [INFO] [stdout] | [INFO] [stdout] 325 | 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:390:23 [INFO] [stdout] | [INFO] [stdout] 390 | 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:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | 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:328:25 [INFO] [stdout] | [INFO] [stdout] 328 | 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:390:40 [INFO] [stdout] | [INFO] [stdout] 390 | 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:329:13 [INFO] [stdout] | [INFO] [stdout] 329 | 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:391:9 [INFO] [stdout] | [INFO] [stdout] 391 | 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:330:13 [INFO] [stdout] | [INFO] [stdout] 330 | 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:391:25 [INFO] [stdout] | [INFO] [stdout] 391 | 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:330:36 [INFO] [stdout] | [INFO] [stdout] 330 | 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:330:53 [INFO] [stdout] | [INFO] [stdout] 330 | 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:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | 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:331:30 [INFO] [stdout] | [INFO] [stdout] 331 | 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:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:332:18 [INFO] [stdout] | [INFO] [stdout] 332 | } 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:395:18 [INFO] [stdout] | [INFO] [stdout] 395 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:332:27 [INFO] [stdout] | [INFO] [stdout] 332 | } 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:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | 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:396:23 [INFO] [stdout] | [INFO] [stdout] 396 | 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:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | 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:396:40 [INFO] [stdout] | [INFO] [stdout] 396 | 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:336:25 [INFO] [stdout] | [INFO] [stdout] 336 | 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:396:48 [INFO] [stdout] | [INFO] [stdout] 396 | 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:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | 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:397:9 [INFO] [stdout] | [INFO] [stdout] 397 | 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:340:18 [INFO] [stdout] | [INFO] [stdout] 340 | 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:398:9 [INFO] [stdout] | [INFO] [stdout] 398 | 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:341:22 [INFO] [stdout] | [INFO] [stdout] 341 | 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:398:25 [INFO] [stdout] | [INFO] [stdout] 398 | 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:341:44 [INFO] [stdout] | [INFO] [stdout] 341 | let value = (Z80.b as u16 << 8) + (Z80.c as u16); [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:342:23 [INFO] [stdout] | [INFO] [stdout] 342 | mem_access_w!(Z80.memory_unit, Z80.sp, value); [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::memory_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:342:40 [INFO] [stdout] | [INFO] [stdout] 342 | mem_access_w!(Z80.memory_unit, Z80.sp, value); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:343:25 [INFO] [stdout] | [INFO] [stdout] 343 | 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:408:9 [INFO] [stdout] | [INFO] [stdout] 408 | 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:347:9 [INFO] [stdout] | [INFO] [stdout] 347 | 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:408:18 [INFO] [stdout] | [INFO] [stdout] 408 | 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:347:18 [INFO] [stdout] | [INFO] [stdout] 347 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:409:23 [INFO] [stdout] | [INFO] [stdout] 409 | 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:348:23 [INFO] [stdout] | [INFO] [stdout] 348 | 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:409:40 [INFO] [stdout] | [INFO] [stdout] 409 | 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:348:40 [INFO] [stdout] | [INFO] [stdout] 348 | 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:409:48 [INFO] [stdout] | [INFO] [stdout] 409 | 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:348:48 [INFO] [stdout] | [INFO] [stdout] 348 | 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:410:9 [INFO] [stdout] | [INFO] [stdout] 410 | 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:349:9 [INFO] [stdout] | [INFO] [stdout] 349 | 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:350:9 [INFO] [stdout] | [INFO] [stdout] 350 | 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:350:25 [INFO] [stdout] | [INFO] [stdout] 350 | 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:354:9 [INFO] [stdout] | [INFO] [stdout] 354 | 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:354:32 [INFO] [stdout] | [INFO] [stdout] 354 | 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:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:354:49 [INFO] [stdout] | [INFO] [stdout] 354 | 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:411:25 [INFO] [stdout] | [INFO] [stdout] 411 | 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:354:58 [INFO] [stdout] | [INFO] [stdout] 354 | 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:417:35 [INFO] [stdout] | [INFO] [stdout] 417 | 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:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | 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:417:52 [INFO] [stdout] | [INFO] [stdout] 417 | 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:355:25 [INFO] [stdout] | [INFO] [stdout] 355 | 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:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | 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:418:18 [INFO] [stdout] | [INFO] [stdout] 418 | 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:419:9 [INFO] [stdout] | [INFO] [stdout] 419 | 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:420:9 [INFO] [stdout] | [INFO] [stdout] 420 | 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: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:427:9 [INFO] [stdout] | [INFO] [stdout] 427 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:427:18 [INFO] [stdout] | [INFO] [stdout] 427 | 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:428:22 [INFO] [stdout] | [INFO] [stdout] 428 | 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:428:44 [INFO] [stdout] | [INFO] [stdout] 428 | 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:429:23 [INFO] [stdout] | [INFO] [stdout] 429 | 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:429:40 [INFO] [stdout] | [INFO] [stdout] 429 | 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:430:9 [INFO] [stdout] | [INFO] [stdout] 430 | 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:430:25 [INFO] [stdout] | [INFO] [stdout] 430 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:434:9 [INFO] [stdout] | [INFO] [stdout] 434 | 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:434:18 [INFO] [stdout] | [INFO] [stdout] 434 | 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:435:23 [INFO] [stdout] | [INFO] [stdout] 435 | 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:435:40 [INFO] [stdout] | [INFO] [stdout] 435 | 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:435:48 [INFO] [stdout] | [INFO] [stdout] 435 | 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:436:9 [INFO] [stdout] | [INFO] [stdout] 436 | 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:437:9 [INFO] [stdout] | [INFO] [stdout] 437 | 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:437:25 [INFO] [stdout] | [INFO] [stdout] 437 | 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:447:9 [INFO] [stdout] | [INFO] [stdout] 447 | 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:447:18 [INFO] [stdout] | [INFO] [stdout] 447 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:448:23 [INFO] [stdout] | [INFO] [stdout] 448 | 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:448:40 [INFO] [stdout] | [INFO] [stdout] 448 | 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:448:48 [INFO] [stdout] | [INFO] [stdout] 448 | 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:449:9 [INFO] [stdout] | [INFO] [stdout] 449 | 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:450:9 [INFO] [stdout] | [INFO] [stdout] 450 | 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:450:25 [INFO] [stdout] | [INFO] [stdout] 450 | 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:35 [INFO] [stdout] | [INFO] [stdout] 456 | 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:456:52 [INFO] [stdout] | [INFO] [stdout] 456 | 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:457:9 [INFO] [stdout] | [INFO] [stdout] 457 | 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:457:18 [INFO] [stdout] | [INFO] [stdout] 457 | 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:458:9 [INFO] [stdout] | [INFO] [stdout] 458 | 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:459:9 [INFO] [stdout] | [INFO] [stdout] 459 | 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:460:9 [INFO] [stdout] | [INFO] [stdout] 460 | 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:358:9 [INFO] [stdout] | [INFO] [stdout] 358 | 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:460:25 [INFO] [stdout] | [INFO] [stdout] 460 | 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:358:25 [INFO] [stdout] | [INFO] [stdout] 358 | 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:466:9 [INFO] [stdout] | [INFO] [stdout] 466 | 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:359:13 [INFO] [stdout] | [INFO] [stdout] 359 | 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:466:18 [INFO] [stdout] | [INFO] [stdout] 466 | 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:467:22 [INFO] [stdout] | [INFO] [stdout] 467 | 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:360:13 [INFO] [stdout] | [INFO] [stdout] 360 | 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:467:44 [INFO] [stdout] | [INFO] [stdout] 467 | 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:360:36 [INFO] [stdout] | [INFO] [stdout] 360 | 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:468:23 [INFO] [stdout] | [INFO] [stdout] 468 | 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:360:53 [INFO] [stdout] | [INFO] [stdout] 360 | Z80.pc = mem_access_w!(Z80.memory_unit, Z80.pc); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:361:13 [INFO] [stdout] | [INFO] [stdout] 361 | 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:361:30 [INFO] [stdout] | [INFO] [stdout] 361 | 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:362:18 [INFO] [stdout] | [INFO] [stdout] 362 | } 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:362:27 [INFO] [stdout] | [INFO] [stdout] 362 | } 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:369:9 [INFO] [stdout] | [INFO] [stdout] 369 | 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:369:18 [INFO] [stdout] | [INFO] [stdout] 369 | 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:370:23 [INFO] [stdout] | [INFO] [stdout] 370 | 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:370:40 [INFO] [stdout] | [INFO] [stdout] 370 | 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:370:48 [INFO] [stdout] | [INFO] [stdout] 370 | 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:371:9 [INFO] [stdout] | [INFO] [stdout] 371 | 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:372:9 [INFO] [stdout] | [INFO] [stdout] 372 | 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:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | 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:378:35 [INFO] [stdout] | [INFO] [stdout] 378 | 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:378:52 [INFO] [stdout] | [INFO] [stdout] 378 | 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:379:9 [INFO] [stdout] | [INFO] [stdout] 379 | 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:379:18 [INFO] [stdout] | [INFO] [stdout] 379 | 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:380:9 [INFO] [stdout] | [INFO] [stdout] 380 | 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:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | 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:382:9 [INFO] [stdout] | [INFO] [stdout] 382 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:382:25 [INFO] [stdout] | [INFO] [stdout] 382 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 388 | 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:388:18 [INFO] [stdout] | [INFO] [stdout] 388 | 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:389:22 [INFO] [stdout] | [INFO] [stdout] 389 | 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:389:44 [INFO] [stdout] | [INFO] [stdout] 389 | 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:390:23 [INFO] [stdout] | [INFO] [stdout] 390 | 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:390:40 [INFO] [stdout] | [INFO] [stdout] 390 | 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:391:9 [INFO] [stdout] | [INFO] [stdout] 391 | 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:468:40 [INFO] [stdout] | [INFO] [stdout] 468 | 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:469:9 [INFO] [stdout] | [INFO] [stdout] 469 | 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:469:25 [INFO] [stdout] | [INFO] [stdout] 469 | 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:473:9 [INFO] [stdout] | [INFO] [stdout] 473 | 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:18 [INFO] [stdout] | [INFO] [stdout] 473 | 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:474:23 [INFO] [stdout] | [INFO] [stdout] 474 | 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:474:40 [INFO] [stdout] | [INFO] [stdout] 474 | 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:474:48 [INFO] [stdout] | [INFO] [stdout] 474 | 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:475:9 [INFO] [stdout] | [INFO] [stdout] 475 | 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:476:9 [INFO] [stdout] | [INFO] [stdout] 476 | 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:476:25 [INFO] [stdout] | [INFO] [stdout] 476 | 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:486:9 [INFO] [stdout] | [INFO] [stdout] 486 | 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:391:25 [INFO] [stdout] | [INFO] [stdout] 391 | 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:486:18 [INFO] [stdout] | [INFO] [stdout] 486 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:395:18 [INFO] [stdout] | [INFO] [stdout] 395 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:396:23 [INFO] [stdout] | [INFO] [stdout] 396 | 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:487:23 [INFO] [stdout] | [INFO] [stdout] 487 | 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:396:40 [INFO] [stdout] | [INFO] [stdout] 396 | 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:487:40 [INFO] [stdout] | [INFO] [stdout] 487 | 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:396:48 [INFO] [stdout] | [INFO] [stdout] 396 | 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:487:48 [INFO] [stdout] | [INFO] [stdout] 487 | 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:397:9 [INFO] [stdout] | [INFO] [stdout] 397 | 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:488:9 [INFO] [stdout] | [INFO] [stdout] 488 | 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:398:9 [INFO] [stdout] | [INFO] [stdout] 398 | 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:489:9 [INFO] [stdout] | [INFO] [stdout] 489 | 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:398:25 [INFO] [stdout] | [INFO] [stdout] 398 | 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:408:9 [INFO] [stdout] | [INFO] [stdout] 408 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:489:25 [INFO] [stdout] | [INFO] [stdout] 489 | 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:408:18 [INFO] [stdout] | [INFO] [stdout] 408 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:409:23 [INFO] [stdout] | [INFO] [stdout] 409 | 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:409:40 [INFO] [stdout] | [INFO] [stdout] 409 | 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:409:48 [INFO] [stdout] | [INFO] [stdout] 409 | 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:410:9 [INFO] [stdout] | [INFO] [stdout] 410 | 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:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | 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:411:25 [INFO] [stdout] | [INFO] [stdout] 411 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:417:35 [INFO] [stdout] | [INFO] [stdout] 417 | 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:417:52 [INFO] [stdout] | [INFO] [stdout] 417 | 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:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | 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:418:18 [INFO] [stdout] | [INFO] [stdout] 418 | 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:419:9 [INFO] [stdout] | [INFO] [stdout] 419 | 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:420:9 [INFO] [stdout] | [INFO] [stdout] 420 | 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: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:427:9 [INFO] [stdout] | [INFO] [stdout] 427 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:427:18 [INFO] [stdout] | [INFO] [stdout] 427 | 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:428:22 [INFO] [stdout] | [INFO] [stdout] 428 | 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:428:44 [INFO] [stdout] | [INFO] [stdout] 428 | 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:429:23 [INFO] [stdout] | [INFO] [stdout] 429 | 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:429:40 [INFO] [stdout] | [INFO] [stdout] 429 | 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:430:9 [INFO] [stdout] | [INFO] [stdout] 430 | 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:430:25 [INFO] [stdout] | [INFO] [stdout] 430 | Z80.last_m = 3; Z80.last_t = 12; [INFO] [stdout] | ^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::last_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:434:9 [INFO] [stdout] | [INFO] [stdout] 434 | 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:434:18 [INFO] [stdout] | [INFO] [stdout] 434 | 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:435:23 [INFO] [stdout] | [INFO] [stdout] 435 | 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:435:40 [INFO] [stdout] | [INFO] [stdout] 435 | 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:435:48 [INFO] [stdout] | [INFO] [stdout] 435 | 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:436:9 [INFO] [stdout] | [INFO] [stdout] 436 | 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:437:9 [INFO] [stdout] | [INFO] [stdout] 437 | 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:437:25 [INFO] [stdout] | [INFO] [stdout] 437 | 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:447:9 [INFO] [stdout] | [INFO] [stdout] 447 | 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:447:18 [INFO] [stdout] | [INFO] [stdout] 447 | Z80.sp = Z80.sp.wrapping_sub(2); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `Z80::sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Z80` [INFO] [stdout] --> src/cpu.rs:448:23 [INFO] [stdout] | [INFO] [stdout] 448 | 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:448:40 [INFO] [stdout] | [INFO] [stdout] 448 | 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:448:48 [INFO] [stdout] | [INFO] [stdout] 448 | 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:449:9 [INFO] [stdout] | [INFO] [stdout] 449 | 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:450:9 [INFO] [stdout] | [INFO] [stdout] 450 | 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:450:25 [INFO] [stdout] | [INFO] [stdout] 450 | 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:35 [INFO] [stdout] | [INFO] [stdout] 456 | 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:456:52 [INFO] [stdout] | [INFO] [stdout] 456 | 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:457:9 [INFO] [stdout] | [INFO] [stdout] 457 | 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:457:18 [INFO] [stdout] | [INFO] [stdout] 457 | 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:458:9 [INFO] [stdout] | [INFO] [stdout] 458 | 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:459:9 [INFO] [stdout] | [INFO] [stdout] 459 | 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:460:9 [INFO] [stdout] | [INFO] [stdout] 460 | 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:460:25 [INFO] [stdout] | [INFO] [stdout] 460 | 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:466:9 [INFO] [stdout] | [INFO] [stdout] 466 | 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:466:18 [INFO] [stdout] | [INFO] [stdout] 466 | 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:467:22 [INFO] [stdout] | [INFO] [stdout] 467 | 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:467:44 [INFO] [stdout] | [INFO] [stdout] 467 | 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:468:23 [INFO] [stdout] | [INFO] [stdout] 468 | 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:468:40 [INFO] [stdout] | [INFO] [stdout] 468 | 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:469:9 [INFO] [stdout] | [INFO] [stdout] 469 | 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:469:25 [INFO] [stdout] | [INFO] [stdout] 469 | 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:473:9 [INFO] [stdout] | [INFO] [stdout] 473 | 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:18 [INFO] [stdout] | [INFO] [stdout] 473 | 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:474:23 [INFO] [stdout] | [INFO] [stdout] 474 | 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:474:40 [INFO] [stdout] | [INFO] [stdout] 474 | 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:474:48 [INFO] [stdout] | [INFO] [stdout] 474 | 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:475:9 [INFO] [stdout] | [INFO] [stdout] 475 | 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:476:9 [INFO] [stdout] | [INFO] [stdout] 476 | 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:476:25 [INFO] [stdout] | [INFO] [stdout] 476 | 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:486:9 [INFO] [stdout] | [INFO] [stdout] 486 | 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:486:18 [INFO] [stdout] | [INFO] [stdout] 486 | 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:487:23 [INFO] [stdout] | [INFO] [stdout] 487 | 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:487:40 [INFO] [stdout] | [INFO] [stdout] 487 | 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:487:48 [INFO] [stdout] | [INFO] [stdout] 487 | 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:488:9 [INFO] [stdout] | [INFO] [stdout] 488 | 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:489:9 [INFO] [stdout] | [INFO] [stdout] 489 | 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:489:25 [INFO] [stdout] | [INFO] [stdout] 489 | 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] 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: 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:143:33 [INFO] [stdout] | [INFO] [stdout] 143 | |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] 143 | |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:143:33 [INFO] [stdout] | [INFO] [stdout] 143 | |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] 143 | |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:385:33 [INFO] [stdout] | [INFO] [stdout] 385 | |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] 385 | |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:403:33 [INFO] [stdout] | [INFO] [stdout] 403 | |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] 403 | |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:405:33 [INFO] [stdout] | [INFO] [stdout] 405 | |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] 405 | |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:424:33 [INFO] [stdout] | [INFO] [stdout] 424 | |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] 424 | |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:425:33 [INFO] [stdout] | [INFO] [stdout] 425 | |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] 425 | |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:442:33 [INFO] [stdout] | [INFO] [stdout] 442 | |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] 442 | |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:443:33 [INFO] [stdout] | [INFO] [stdout] 443 | |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] 443 | |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:444:33 [INFO] [stdout] | [INFO] [stdout] 444 | |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] 444 | |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:464:33 [INFO] [stdout] | [INFO] [stdout] 464 | |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] 464 | |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:479:33 [INFO] [stdout] | [INFO] [stdout] 479 | |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] 479 | |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:482:33 [INFO] [stdout] | [INFO] [stdout] 482 | |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] 482 | |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:483:33 [INFO] [stdout] | [INFO] [stdout] 483 | |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] 483 | |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:385:33 [INFO] [stdout] | [INFO] [stdout] 385 | |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] 385 | |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:403:33 [INFO] [stdout] | [INFO] [stdout] 403 | |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] 403 | |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:405:33 [INFO] [stdout] | [INFO] [stdout] 405 | |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] 405 | |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:424:33 [INFO] [stdout] | [INFO] [stdout] 424 | |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] 424 | |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:425:33 [INFO] [stdout] | [INFO] [stdout] 425 | |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] 425 | |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:442:33 [INFO] [stdout] | [INFO] [stdout] 442 | |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] 442 | |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:443:33 [INFO] [stdout] | [INFO] [stdout] 443 | |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] 443 | |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:444:33 [INFO] [stdout] | [INFO] [stdout] 444 | |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] 444 | |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:464:33 [INFO] [stdout] | [INFO] [stdout] 464 | |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] 464 | |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:479:33 [INFO] [stdout] | [INFO] [stdout] 479 | |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] 479 | |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:482:33 [INFO] [stdout] | [INFO] [stdout] 482 | |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] 482 | |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:483:33 [INFO] [stdout] | [INFO] [stdout] 483 | |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] 483 | |cpu: &mut Z80| { undefined(cpu.pc.try_into().unwrap()); }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 176 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0423. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gb_emulator` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 176 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" "6c664ee3371ba8074322426a7997c0a8b4a7a1b0b7a186214341834cf7f3b5b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c664ee3371ba8074322426a7997c0a8b4a7a1b0b7a186214341834cf7f3b5b6", kill_on_drop: false }` [INFO] [stdout] 6c664ee3371ba8074322426a7997c0a8b4a7a1b0b7a186214341834cf7f3b5b6