[INFO] cloning repository https://github.com/veniamin-ilmer/semu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/veniamin-ilmer/semu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fveniamin-ilmer%2Fsemu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fveniamin-ilmer%2Fsemu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ac5d3260eade15505e0fa60f189d27b71b97e379 [INFO] checking veniamin-ilmer/semu against try#6284d7b4bd27983dba388146648ab844ca7d032f for pr-152971 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fveniamin-ilmer%2Fsemu" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/veniamin-ilmer/semu [INFO] finished tweaking git repo https://github.com/veniamin-ilmer/semu [INFO] tweaked toml for git repo https://github.com/veniamin-ilmer/semu written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/veniamin-ilmer/semu on toolchain 6284d7b4bd27983dba388146648ab844ca7d032f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6284d7b4bd27983dba388146648ab844ca7d032f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/veniamin-ilmer/semu already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6284d7b4bd27983dba388146648ab844ca7d032f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simplelog v0.12.0 [INFO] [stderr] Downloaded time v0.3.12 [INFO] [stderr] Downloaded libc v0.2.127 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+6284d7b4bd27983dba388146648ab844ca7d032f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 022250b481f7ebd749455596f76c3ed0751670e4b41cdc91827b01030e50335a [INFO] running `Command { std: "docker" "start" "-a" "022250b481f7ebd749455596f76c3ed0751670e4b41cdc91827b01030e50335a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "022250b481f7ebd749455596f76c3ed0751670e4b41cdc91827b01030e50335a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "022250b481f7ebd749455596f76c3ed0751670e4b41cdc91827b01030e50335a", kill_on_drop: false }` [INFO] [stdout] 022250b481f7ebd749455596f76c3ed0751670e4b41cdc91827b01030e50335a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+6284d7b4bd27983dba388146648ab844ca7d032f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8055b9801820870fc2c9d7d797cef68d6d60fc16d115dd7a00dde82fa3781af7 [INFO] running `Command { std: "docker" "start" "-a" "8055b9801820870fc2c9d7d797cef68d6d60fc16d115dd7a00dde82fa3781af7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.127 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking time v0.3.12 [INFO] [stderr] Checking simplelog v0.12.0 [INFO] [stderr] Checking remu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `get_val` in this scope [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | cycles += 5 + 4 * get_val; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `get_val` in this scope [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:269:25 [INFO] [stdout] | [INFO] [stdout] 269 | cycles += 5 + 4 * get_val; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `label_word` in module `general` [INFO] [stdout] --> src/chips/cpu8086/instructions/flag.rs:41:84 [INFO] [stdout] | [INFO] [stdout] 41 | if log_enabled!(Trace) { trace!("{:05X}: PUSH {}", cpu.current_address, general::label_word(&op)); } [INFO] [stdout] | ^^^^^^^^^^ not found in `general` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `label_word` in module `general` [INFO] [stdout] --> src/chips/cpu8086/instructions/flag.rs:52:83 [INFO] [stdout] | [INFO] [stdout] 52 | if log_enabled!(Trace) { trace!("{:05X}: POP {}", cpu.current_address, general::label_word(&op)); } [INFO] [stdout] | ^^^^^^^^^^ not found in `general` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `label_word` in module `general` [INFO] [stdout] --> src/chips/cpu8086/instructions/jump.rs:12:83 [INFO] [stdout] | [INFO] [stdout] 12 | if log_enabled!(Trace) { trace!("{:05X}: JMP {}", cpu.current_address, general::label_word(&op)); } [INFO] [stdout] | ^^^^^^^^^^ not found in `general` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `label_word` in module `general` [INFO] [stdout] --> src/chips/cpu8086/instructions/jump.rs:18:86 [INFO] [stdout] | [INFO] [stdout] 18 | if log_enabled!(Trace) { trace!("{:05X}: JMP {}:{}", cpu.current_address, general::label_word(&segment), general::label_word(&offs... [INFO] [stdout] | ^^^^^^^^^^ not found in `general` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `label_word` in module `general` [INFO] [stdout] --> src/chips/cpu8086/instructions/jump.rs:18:117 [INFO] [stdout] | [INFO] [stdout] 18 | ...ddress, general::label_word(&segment), general::label_word(&offset)); } [INFO] [stdout] | ^^^^^^^^^^ not found in `general` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `label_word` in module `general` [INFO] [stdout] --> src/chips/cpu8086/instructions/jump.rs:38:87 [INFO] [stdout] | [INFO] [stdout] 38 | if log_enabled!(Trace) { trace!("{:05X}: JMP FAR {}", cpu.current_address, general::label_word(&op)); } [INFO] [stdout] | ^^^^^^^^^^ not found in `general` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `label_word` in module `general` [INFO] [stdout] --> src/chips/cpu8086/instructions/jump.rs:47:127 [INFO] [stdout] | [INFO] [stdout] 47 | ...o Jump word {}.", cpu.current_address, general::label_word(&op)); } [INFO] [stdout] | ^^^^^^^^^^ not found in `general` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `label_word` in module `general` [INFO] [stdout] --> src/chips/cpu8086/instructions/jump.rs:55:84 [INFO] [stdout] | [INFO] [stdout] 55 | if log_enabled!(Trace) { trace!("{:05X}: CALL {}", cpu.current_address, general::label_word(&offset)); } [INFO] [stdout] | ^^^^^^^^^^ not found in `general` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `label_word` in module `general` [INFO] [stdout] --> src/chips/cpu8086/instructions/jump.rs:62:85 [INFO] [stdout] | [INFO] [stdout] 62 | if log_enabled!(Trace) { trace!("{:05X}: CALL +{}", cpu.current_address, general::label_word(&offset)); } [INFO] [stdout] | ^^^^^^^^^^ not found in `general` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `label_word` in module `general` [INFO] [stdout] --> src/chips/cpu8086/instructions/jump.rs:70:87 [INFO] [stdout] | [INFO] [stdout] 70 | if log_enabled!(Trace) { trace!("{:05X}: CALL {}:{}", cpu.current_address, general::label_word(&segment), general::label_word(&off... [INFO] [stdout] | ^^^^^^^^^^ not found in `general` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `label_word` in module `general` [INFO] [stdout] --> src/chips/cpu8086/instructions/jump.rs:70:118 [INFO] [stdout] | [INFO] [stdout] 70 | ...ddress, general::label_word(&segment), general::label_word(&offset)); } [INFO] [stdout] | ^^^^^^^^^^ not found in `general` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `label_word` in module `general` [INFO] [stdout] --> src/chips/cpu8086/instructions/jump.rs:79:88 [INFO] [stdout] | [INFO] [stdout] 79 | if log_enabled!(Trace) { trace!("{:05X}: CALL FAR {}", cpu.current_address, general::label_word(&op)); } [INFO] [stdout] | ^^^^^^^^^^ not found in `general` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `label_word` in module `general` [INFO] [stdout] --> src/chips/cpu8086/instructions/jump.rs:90:127 [INFO] [stdout] | [INFO] [stdout] 90 | ...o Call word {}.", cpu.current_address, general::label_word(&op)); } [INFO] [stdout] | ^^^^^^^^^^ not found in `general` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Mem` in this scope [INFO] [stdout] --> src/chips/cpu8086/instructions/set.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | if let Mem{cycles, ..} = get_op { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these variants [INFO] [stdout] | [INFO] [stdout] 1 + use crate::chips::cpu8086::operand::Byte::Mem; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::chips::cpu8086::operand::Word::Mem; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:110:11 [INFO] [stdout] | [INFO] [stdout] 110 | match (self) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 110 - match (self) { [INFO] [stdout] 110 + match self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:259:11 [INFO] [stdout] | [INFO] [stdout] 259 | match (self) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 259 - match (self) { [INFO] [stdout] 259 + match self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time` [INFO] [stdout] --> src/chips/pit.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace` [INFO] [stdout] --> src/chips/pit.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | use log::{debug, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `get_val` in this scope [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | cycles += 5 + 4 * get_val; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `get_val` in this scope [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:269:25 [INFO] [stdout] | [INFO] [stdout] 269 | cycles += 5 + 4 * get_val; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `label_word` in module `general` [INFO] [stdout] --> src/chips/cpu8086/instructions/flag.rs:41:84 [INFO] [stdout] | [INFO] [stdout] 41 | if log_enabled!(Trace) { trace!("{:05X}: PUSH {}", cpu.current_address, general::label_word(&op)); } [INFO] [stdout] | ^^^^^^^^^^ not found in `general` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `label_word` in module `general` [INFO] [stdout] --> src/chips/cpu8086/instructions/flag.rs:52:83 [INFO] [stdout] | [INFO] [stdout] 52 | if log_enabled!(Trace) { trace!("{:05X}: POP {}", cpu.current_address, general::label_word(&op)); } [INFO] [stdout] | ^^^^^^^^^^ not found in `general` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `label_word` in module `general` [INFO] [stdout] --> src/chips/cpu8086/instructions/jump.rs:12:83 [INFO] [stdout] | [INFO] [stdout] 12 | if log_enabled!(Trace) { trace!("{:05X}: JMP {}", cpu.current_address, general::label_word(&op)); } [INFO] [stdout] | ^^^^^^^^^^ not found in `general` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `label_word` in module `general` [INFO] [stdout] --> src/chips/cpu8086/instructions/jump.rs:18:86 [INFO] [stdout] | [INFO] [stdout] 18 | if log_enabled!(Trace) { trace!("{:05X}: JMP {}:{}", cpu.current_address, general::label_word(&segment), general::label_word(&offs... [INFO] [stdout] | ^^^^^^^^^^ not found in `general` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `label_word` in module `general` [INFO] [stdout] --> src/chips/cpu8086/instructions/jump.rs:18:117 [INFO] [stdout] | [INFO] [stdout] 18 | ...ddress, general::label_word(&segment), general::label_word(&offset)); } [INFO] [stdout] | ^^^^^^^^^^ not found in `general` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `label_word` in module `general` [INFO] [stdout] --> src/chips/cpu8086/instructions/jump.rs:38:87 [INFO] [stdout] | [INFO] [stdout] 38 | if log_enabled!(Trace) { trace!("{:05X}: JMP FAR {}", cpu.current_address, general::label_word(&op)); } [INFO] [stdout] | ^^^^^^^^^^ not found in `general` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `label_word` in module `general` [INFO] [stdout] --> src/chips/cpu8086/instructions/jump.rs:47:127 [INFO] [stdout] | [INFO] [stdout] 47 | ...o Jump word {}.", cpu.current_address, general::label_word(&op)); } [INFO] [stdout] | ^^^^^^^^^^ not found in `general` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `label_word` in module `general` [INFO] [stdout] --> src/chips/cpu8086/instructions/jump.rs:55:84 [INFO] [stdout] | [INFO] [stdout] 55 | if log_enabled!(Trace) { trace!("{:05X}: CALL {}", cpu.current_address, general::label_word(&offset)); } [INFO] [stdout] | ^^^^^^^^^^ not found in `general` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `label_word` in module `general` [INFO] [stdout] --> src/chips/cpu8086/instructions/jump.rs:62:85 [INFO] [stdout] | [INFO] [stdout] 62 | if log_enabled!(Trace) { trace!("{:05X}: CALL +{}", cpu.current_address, general::label_word(&offset)); } [INFO] [stdout] | ^^^^^^^^^^ not found in `general` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `label_word` in module `general` [INFO] [stdout] --> src/chips/cpu8086/instructions/jump.rs:70:87 [INFO] [stdout] | [INFO] [stdout] 70 | if log_enabled!(Trace) { trace!("{:05X}: CALL {}:{}", cpu.current_address, general::label_word(&segment), general::label_word(&off... [INFO] [stdout] | ^^^^^^^^^^ not found in `general` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `label_word` in module `general` [INFO] [stdout] --> src/chips/cpu8086/instructions/jump.rs:70:118 [INFO] [stdout] | [INFO] [stdout] 70 | ...ddress, general::label_word(&segment), general::label_word(&offset)); } [INFO] [stdout] | ^^^^^^^^^^ not found in `general` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `label_word` in module `general` [INFO] [stdout] --> src/chips/cpu8086/instructions/jump.rs:79:88 [INFO] [stdout] | [INFO] [stdout] 79 | if log_enabled!(Trace) { trace!("{:05X}: CALL FAR {}", cpu.current_address, general::label_word(&op)); } [INFO] [stdout] | ^^^^^^^^^^ not found in `general` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `label_word` in module `general` [INFO] [stdout] --> src/chips/cpu8086/instructions/jump.rs:90:127 [INFO] [stdout] | [INFO] [stdout] 90 | ...o Call word {}.", cpu.current_address, general::label_word(&op)); } [INFO] [stdout] | ^^^^^^^^^^ not found in `general` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Mem` in this scope [INFO] [stdout] --> src/chips/cpu8086/instructions/set.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | if let Mem{cycles, ..} = get_op { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these variants [INFO] [stdout] | [INFO] [stdout] 1 + use crate::chips::cpu8086::operand::Byte::Mem; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::chips::cpu8086::operand::Word::Mem; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:110:11 [INFO] [stdout] | [INFO] [stdout] 110 | match (self) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 110 - match (self) { [INFO] [stdout] 110 + match self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:259:11 [INFO] [stdout] | [INFO] [stdout] 259 | match (self) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 259 - match (self) { [INFO] [stdout] 259 + match self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time` [INFO] [stdout] --> src/chips/pit.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace` [INFO] [stdout] --> src/chips/pit.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | use log::{debug, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/chips/cpu8086/instructions/lookup.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 24 | match op0 { [INFO] [stdout] | --------- `match` arms have incompatible types [INFO] [stdout] 25 | 0x00..=0x05 => { [INFO] [stdout] 26 | / match lookup::get_standard_ops(cpu, op0 & 0b111) { [INFO] [stdout] 27 | | operand::Pair::Bytes(set_op, get_op) => math::add_byte(cpu, set_op, get_op), [INFO] [stdout] 28 | | operand::Pair::Words(set_op, get_op) => math::add_word(cpu, set_op, get_op), [INFO] [stdout] 29 | | } [INFO] [stdout] | |_______- this is found to be of type `usize` [INFO] [stdout] 30 | }, [INFO] [stdout] 31 | 0x06 => flag::push(cpu, operand::Word::Seg(memory::Segment::ES)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `usize`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/chips/cpu8086/instructions/lookup.rs:520:14 [INFO] [stdout] | [INFO] [stdout] 513 | / match (op1 & 0b111000) >> 3 { [INFO] [stdout] 514 | | 0 => { [INFO] [stdout] 515 | | let get_op = operand::Byte::Imm(cpu.memory.next_byte()); [INFO] [stdout] 516 | | logic::test_byte(cpu, set_op, get_op); [INFO] [stdout] | | -------------------------------------- this is found to be of type `()` [INFO] [stdout] ... | [INFO] [stdout] 519 | | 2 => logic::not_byte(cpu, set_op), [INFO] [stdout] | | ---------------------------- this is found to be of type `()` [INFO] [stdout] 520 | | 3 => math::neg_byte(cpu, set_op), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `usize` [INFO] [stdout] ... | [INFO] [stdout] 525 | | _ => unreachable!(), [INFO] [stdout] 526 | | } [INFO] [stdout] | |_______- `match` arms have incompatible types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/chips/cpu8086/instructions/lookup.rs:538:14 [INFO] [stdout] | [INFO] [stdout] 531 | / match (op1 & 0b111000) >> 3 { [INFO] [stdout] 532 | | 0 => { [INFO] [stdout] 533 | | let get_op = operand::Word::Imm(cpu.memory.next_word()); [INFO] [stdout] 534 | | logic::test_word(cpu, set_op, get_op); [INFO] [stdout] | | -------------------------------------- this is found to be of type `()` [INFO] [stdout] ... | [INFO] [stdout] 537 | | 2 => logic::not_word(cpu, set_op), [INFO] [stdout] | | ---------------------------- this is found to be of type `()` [INFO] [stdout] 538 | | 3 => math::neg_word(cpu, set_op), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `usize` [INFO] [stdout] ... | [INFO] [stdout] 543 | | _ => unreachable!(), [INFO] [stdout] 544 | | } [INFO] [stdout] | |_______- `match` arms have incompatible types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/chips/cpu8086/instructions/lookup.rs:568:14 [INFO] [stdout] | [INFO] [stdout] 565 | / match (op1 & 0b111000) >> 3 { [INFO] [stdout] 566 | | 0 => math::inc_word(cpu, set_op), [INFO] [stdout] | | --------------------------- this is found to be of type `usize` [INFO] [stdout] 567 | | 1 => math::dec_word(cpu, set_op), [INFO] [stdout] | | --------------------------- this is found to be of type `usize` [INFO] [stdout] 568 | | 2 => jump::call_word(cpu, set_op), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `usize`, found `()` [INFO] [stdout] ... | [INFO] [stdout] 574 | | _ => unreachable!(), [INFO] [stdout] 575 | | } [INFO] [stdout] | |_______- `match` arms have incompatible types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/chips/cpu8086/instructions/lookup.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 24 | match op0 { [INFO] [stdout] | --------- `match` arms have incompatible types [INFO] [stdout] 25 | 0x00..=0x05 => { [INFO] [stdout] 26 | / match lookup::get_standard_ops(cpu, op0 & 0b111) { [INFO] [stdout] 27 | | operand::Pair::Bytes(set_op, get_op) => math::add_byte(cpu, set_op, get_op), [INFO] [stdout] 28 | | operand::Pair::Words(set_op, get_op) => math::add_word(cpu, set_op, get_op), [INFO] [stdout] 29 | | } [INFO] [stdout] | |_______- this is found to be of type `usize` [INFO] [stdout] 30 | }, [INFO] [stdout] 31 | 0x06 => flag::push(cpu, operand::Word::Seg(memory::Segment::ES)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `usize`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0164]: expected tuple struct or tuple variant, found struct variant `operand::Word::Mem` [INFO] [stdout] --> src/chips/cpu8086/instructions/jump.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | operand::Word::Mem(addr, _) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a tuple struct or tuple variant [INFO] [stdout] | [INFO] [stdout] help: the struct variant's fields are being ignored [INFO] [stdout] | [INFO] [stdout] 40 - operand::Word::Mem(addr, _) => { [INFO] [stdout] 40 + operand::Word::Mem { addr: _, label: _, cycles: _ } => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0164]: expected tuple struct or tuple variant, found struct variant `operand::Word::Mem` [INFO] [stdout] --> src/chips/cpu8086/instructions/jump.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | operand::Word::Mem(addr, _) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a tuple struct or tuple variant [INFO] [stdout] | [INFO] [stdout] help: the struct variant's fields are being ignored [INFO] [stdout] | [INFO] [stdout] 81 - operand::Word::Mem(addr, _) => { [INFO] [stdout] 81 + operand::Word::Mem { addr: _, label: _, cycles: _ } => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/chips/cpu8086/instructions/lookup.rs:520:14 [INFO] [stdout] | [INFO] [stdout] 513 | / match (op1 & 0b111000) >> 3 { [INFO] [stdout] 514 | | 0 => { [INFO] [stdout] 515 | | let get_op = operand::Byte::Imm(cpu.memory.next_byte()); [INFO] [stdout] 516 | | logic::test_byte(cpu, set_op, get_op); [INFO] [stdout] | | -------------------------------------- this is found to be of type `()` [INFO] [stdout] ... | [INFO] [stdout] 519 | | 2 => logic::not_byte(cpu, set_op), [INFO] [stdout] | | ---------------------------- this is found to be of type `()` [INFO] [stdout] 520 | | 3 => math::neg_byte(cpu, set_op), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `usize` [INFO] [stdout] ... | [INFO] [stdout] 525 | | _ => unreachable!(), [INFO] [stdout] 526 | | } [INFO] [stdout] | |_______- `match` arms have incompatible types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/chips/cpu8086/instructions/lookup.rs:538:14 [INFO] [stdout] | [INFO] [stdout] 531 | / match (op1 & 0b111000) >> 3 { [INFO] [stdout] 532 | | 0 => { [INFO] [stdout] 533 | | let get_op = operand::Word::Imm(cpu.memory.next_word()); [INFO] [stdout] 534 | | logic::test_word(cpu, set_op, get_op); [INFO] [stdout] | | -------------------------------------- this is found to be of type `()` [INFO] [stdout] ... | [INFO] [stdout] 537 | | 2 => logic::not_word(cpu, set_op), [INFO] [stdout] | | ---------------------------- this is found to be of type `()` [INFO] [stdout] 538 | | 3 => math::neg_word(cpu, set_op), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `usize` [INFO] [stdout] ... | [INFO] [stdout] 543 | | _ => unreachable!(), [INFO] [stdout] 544 | | } [INFO] [stdout] | |_______- `match` arms have incompatible types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/chips/cpu8086/instructions/lookup.rs:568:14 [INFO] [stdout] | [INFO] [stdout] 565 | / match (op1 & 0b111000) >> 3 { [INFO] [stdout] 566 | | 0 => math::inc_word(cpu, set_op), [INFO] [stdout] | | --------------------------- this is found to be of type `usize` [INFO] [stdout] 567 | | 1 => math::dec_word(cpu, set_op), [INFO] [stdout] | | --------------------------- this is found to be of type `usize` [INFO] [stdout] 568 | | 2 => jump::call_word(cpu, set_op), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `usize`, found `()` [INFO] [stdout] ... | [INFO] [stdout] 574 | | _ => unreachable!(), [INFO] [stdout] 575 | | } [INFO] [stdout] | |_______- `match` arms have incompatible types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_cycles_slow` found for enum `operand::Byte` in the current scope [INFO] [stdout] --> src/chips/cpu8086/instructions/logic.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | set_op.get_cycles_slow(&get_op) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/chips/cpu8086/definitions/operand.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Byte { [INFO] [stdout] | ------------- method `get_cycles_slow` not found for this enum [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_cycles` with a similar name, but with different arguments [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:109:3 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_cycles(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0164]: expected tuple struct or tuple variant, found struct variant `operand::Word::Mem` [INFO] [stdout] --> src/chips/cpu8086/instructions/jump.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | operand::Word::Mem(addr, _) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a tuple struct or tuple variant [INFO] [stdout] | [INFO] [stdout] help: the struct variant's fields are being ignored [INFO] [stdout] | [INFO] [stdout] 40 - operand::Word::Mem(addr, _) => { [INFO] [stdout] 40 + operand::Word::Mem { addr: _, label: _, cycles: _ } => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0164]: expected tuple struct or tuple variant, found struct variant `operand::Word::Mem` [INFO] [stdout] --> src/chips/cpu8086/instructions/jump.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | operand::Word::Mem(addr, _) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a tuple struct or tuple variant [INFO] [stdout] | [INFO] [stdout] help: the struct variant's fields are being ignored [INFO] [stdout] | [INFO] [stdout] 81 - operand::Word::Mem(addr, _) => { [INFO] [stdout] 81 + operand::Word::Mem { addr: _, label: _, cycles: _ } => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_cycles_slow` found for enum `operand::Byte` in the current scope [INFO] [stdout] --> src/chips/cpu8086/instructions/logic.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | set_op.get_cycles_slow(&get_op) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/chips/cpu8086/definitions/operand.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Byte { [INFO] [stdout] | ------------- method `get_cycles_slow` not found for this enum [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_cycles` with a similar name, but with different arguments [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:109:3 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_cycles(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_cycles_slow` found for enum `operand::Byte` in the current scope [INFO] [stdout] --> src/chips/cpu8086/instructions/logic.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | set_op.get_cycles_slow(&get_op) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/chips/cpu8086/definitions/operand.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Byte { [INFO] [stdout] | ------------- method `get_cycles_slow` not found for this enum [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_cycles` with a similar name, but with different arguments [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:109:3 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_cycles(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_cycles_slow` found for enum `operand::Byte` in the current scope [INFO] [stdout] --> src/chips/cpu8086/instructions/logic.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | set_op.get_cycles_slow(&get_op) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/chips/cpu8086/definitions/operand.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Byte { [INFO] [stdout] | ------------- method `get_cycles_slow` not found for this enum [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_cycles` with a similar name, but with different arguments [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:109:3 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_cycles(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_cycles_fast` found for enum `operand::Byte` in the current scope [INFO] [stdout] --> src/chips/cpu8086/instructions/logic.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | set_op.get_cycles_fast(&get_op) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/chips/cpu8086/definitions/operand.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Byte { [INFO] [stdout] | ------------- method `get_cycles_fast` not found for this enum [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_cycles` with a similar name, but with different arguments [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:109:3 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_cycles(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chips/cpu8086/instructions/logic.rs:69:3 [INFO] [stdout] | [INFO] [stdout] 69 | op.get_cycles() [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `()`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 69 | op.get_cycles(); [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 65 | pub fn not_byte(cpu: &mut CPU, op: operand::Byte) -> usize { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chips/cpu8086/instructions/logic.rs:75:3 [INFO] [stdout] | [INFO] [stdout] 75 | op.get_cycles() [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `()`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 75 | op.get_cycles(); [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 71 | pub fn not_word(cpu: &mut CPU, op: operand::Word) -> usize { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_cycles_slow` found for enum `operand::Byte` in the current scope [INFO] [stdout] --> src/chips/cpu8086/instructions/logic.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | set_op.get_cycles_slow(&get_op) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/chips/cpu8086/definitions/operand.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Byte { [INFO] [stdout] | ------------- method `get_cycles_slow` not found for this enum [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_cycles` with a similar name, but with different arguments [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:109:3 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_cycles(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_cycles_slow` found for enum `operand::Byte` in the current scope [INFO] [stdout] --> src/chips/cpu8086/instructions/math.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | set_op.get_cycles_slow(&get_op) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/chips/cpu8086/definitions/operand.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Byte { [INFO] [stdout] | ------------- method `get_cycles_slow` not found for this enum [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_cycles` with a similar name, but with different arguments [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:109:3 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_cycles(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_cycles_slow` found for enum `operand::Byte` in the current scope [INFO] [stdout] --> src/chips/cpu8086/instructions/logic.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | set_op.get_cycles_slow(&get_op) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/chips/cpu8086/definitions/operand.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Byte { [INFO] [stdout] | ------------- method `get_cycles_slow` not found for this enum [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_cycles` with a similar name, but with different arguments [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:109:3 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_cycles(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_cycles_fast` found for enum `operand::Byte` in the current scope [INFO] [stdout] --> src/chips/cpu8086/instructions/logic.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | set_op.get_cycles_fast(&get_op) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/chips/cpu8086/definitions/operand.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Byte { [INFO] [stdout] | ------------- method `get_cycles_fast` not found for this enum [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_cycles` with a similar name, but with different arguments [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:109:3 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_cycles(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_cycles_slow` found for enum `operand::Byte` in the current scope [INFO] [stdout] --> src/chips/cpu8086/instructions/math.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | set_op.get_cycles_slow(&get_op) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/chips/cpu8086/definitions/operand.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Byte { [INFO] [stdout] | ------------- method `get_cycles_slow` not found for this enum [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_cycles` with a similar name, but with different arguments [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:109:3 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_cycles(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chips/cpu8086/instructions/logic.rs:69:3 [INFO] [stdout] | [INFO] [stdout] 69 | op.get_cycles() [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `()`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 69 | op.get_cycles(); [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 65 | pub fn not_byte(cpu: &mut CPU, op: operand::Byte) -> usize { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chips/cpu8086/instructions/logic.rs:75:3 [INFO] [stdout] | [INFO] [stdout] 75 | op.get_cycles() [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `()`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 75 | op.get_cycles(); [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 71 | pub fn not_word(cpu: &mut CPU, op: operand::Word) -> usize { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_cycles_slow` found for enum `operand::Byte` in the current scope [INFO] [stdout] --> src/chips/cpu8086/instructions/math.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | set_op.get_cycles_slow(&get_op) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/chips/cpu8086/definitions/operand.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Byte { [INFO] [stdout] | ------------- method `get_cycles_slow` not found for this enum [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_cycles` with a similar name, but with different arguments [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:109:3 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_cycles(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_cycles_slow` found for enum `operand::Byte` in the current scope [INFO] [stdout] --> src/chips/cpu8086/instructions/math.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | set_op.get_cycles_slow(&get_op) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/chips/cpu8086/definitions/operand.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Byte { [INFO] [stdout] | ------------- method `get_cycles_slow` not found for this enum [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_cycles` with a similar name, but with different arguments [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:109:3 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_cycles(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_cycles_fast` found for enum `operand::Byte` in the current scope [INFO] [stdout] --> src/chips/cpu8086/instructions/math.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | set_op.get_cycles_fast(&get_op) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/chips/cpu8086/definitions/operand.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Byte { [INFO] [stdout] | ------------- method `get_cycles_fast` not found for this enum [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_cycles` with a similar name, but with different arguments [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:109:3 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_cycles(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_cycles_slow` found for enum `operand::Byte` in the current scope [INFO] [stdout] --> src/chips/cpu8086/instructions/math.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | set_op.get_cycles_slow(&get_op) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/chips/cpu8086/definitions/operand.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Byte { [INFO] [stdout] | ------------- method `get_cycles_slow` not found for this enum [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_cycles` with a similar name, but with different arguments [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:109:3 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_cycles(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_cycles_slow` found for enum `operand::Byte` in the current scope [INFO] [stdout] --> src/chips/cpu8086/instructions/math.rs:101:10 [INFO] [stdout] | [INFO] [stdout] 101 | set_op.get_cycles_slow(&get_op) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/chips/cpu8086/definitions/operand.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Byte { [INFO] [stdout] | ------------- method `get_cycles_slow` not found for this enum [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_cycles` with a similar name, but with different arguments [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:109:3 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_cycles(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_cycles_slow` found for enum `operand::Byte` in the current scope [INFO] [stdout] --> src/chips/cpu8086/instructions/math.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | set_op.get_cycles_slow(&get_op) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/chips/cpu8086/definitions/operand.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Byte { [INFO] [stdout] | ------------- method `get_cycles_slow` not found for this enum [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_cycles` with a similar name, but with different arguments [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:109:3 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_cycles(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_cycles_fast` found for enum `operand::Byte` in the current scope [INFO] [stdout] --> src/chips/cpu8086/instructions/math.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | set_op.get_cycles_fast(&get_op) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/chips/cpu8086/definitions/operand.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Byte { [INFO] [stdout] | ------------- method `get_cycles_fast` not found for this enum [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_cycles` with a similar name, but with different arguments [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:109:3 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_cycles(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_cycles_slow` found for enum `operand::Byte` in the current scope [INFO] [stdout] --> src/chips/cpu8086/instructions/math.rs:101:10 [INFO] [stdout] | [INFO] [stdout] 101 | set_op.get_cycles_slow(&get_op) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/chips/cpu8086/definitions/operand.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Byte { [INFO] [stdout] | ------------- method `get_cycles_slow` not found for this enum [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_cycles` with a similar name, but with different arguments [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:109:3 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_cycles(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_cycles_fast` found for enum `operand::Byte` in the current scope [INFO] [stdout] --> src/chips/cpu8086/instructions/set.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | set_op.get_cycles_fast(&get_op) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/chips/cpu8086/definitions/operand.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Byte { [INFO] [stdout] | ------------- method `get_cycles_fast` not found for this enum [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_cycles` with a similar name, but with different arguments [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:109:3 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_cycles(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_cycles_fast` found for enum `operand::Byte` in the current scope [INFO] [stdout] --> src/chips/cpu8086/instructions/set.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | set_op.get_cycles_fast(&get_op) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/chips/cpu8086/definitions/operand.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Byte { [INFO] [stdout] | ------------- method `get_cycles_fast` not found for this enum [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_cycles` with a similar name, but with different arguments [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:109:3 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_cycles(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chips/cpu8086/instructions/shift.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | set_op.get_rotate_cycles(get_op) [INFO] [stdout] | ----------------- ^^^^^^ expected `&Byte`, found `Byte` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn get_rotate_cycles(&self, get_op: &Byte) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 13 | set_op.get_rotate_cycles(&get_op) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chips/cpu8086/instructions/shift.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | set_op.get_rotate_cycles(get_op) [INFO] [stdout] | ----------------- ^^^^^^ expected `&Byte`, found `Byte` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:266:10 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn get_rotate_cycles(&self, get_op: &Byte) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 20 | set_op.get_rotate_cycles(&get_op) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chips/cpu8086/instructions/shift.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | set_op.get_rotate_cycles(get_op) [INFO] [stdout] | ----------------- ^^^^^^ expected `&Byte`, found `Byte` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn get_rotate_cycles(&self, get_op: &Byte) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 31 | set_op.get_rotate_cycles(&get_op) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chips/cpu8086/instructions/shift.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | set_op.get_rotate_cycles(get_op) [INFO] [stdout] | ----------------- ^^^^^^ expected `&Byte`, found `Byte` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn get_rotate_cycles(&self, get_op: &Byte) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 13 | set_op.get_rotate_cycles(&get_op) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chips/cpu8086/instructions/shift.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | set_op.get_rotate_cycles(get_op) [INFO] [stdout] | ----------------- ^^^^^^ expected `&Byte`, found `Byte` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:266:10 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn get_rotate_cycles(&self, get_op: &Byte) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 41 | set_op.get_rotate_cycles(&get_op) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chips/cpu8086/instructions/shift.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | set_op.get_rotate_cycles(get_op) [INFO] [stdout] | ----------------- ^^^^^^ expected `&Byte`, found `Byte` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:266:10 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn get_rotate_cycles(&self, get_op: &Byte) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 20 | set_op.get_rotate_cycles(&get_op) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chips/cpu8086/instructions/shift.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | set_op.get_rotate_cycles(get_op) [INFO] [stdout] | ----------------- ^^^^^^ expected `&Byte`, found `Byte` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn get_rotate_cycles(&self, get_op: &Byte) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 52 | set_op.get_rotate_cycles(&get_op) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chips/cpu8086/instructions/shift.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | set_op.get_rotate_cycles(get_op) [INFO] [stdout] | ----------------- ^^^^^^ expected `&Byte`, found `Byte` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn get_rotate_cycles(&self, get_op: &Byte) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 31 | set_op.get_rotate_cycles(&get_op) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chips/cpu8086/instructions/shift.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | set_op.get_rotate_cycles(get_op) [INFO] [stdout] | ----------------- ^^^^^^ expected `&Byte`, found `Byte` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:266:10 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn get_rotate_cycles(&self, get_op: &Byte) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 62 | set_op.get_rotate_cycles(&get_op) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chips/cpu8086/instructions/shift.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | set_op.get_rotate_cycles(get_op) [INFO] [stdout] | ----------------- ^^^^^^ expected `&Byte`, found `Byte` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:266:10 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn get_rotate_cycles(&self, get_op: &Byte) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 41 | set_op.get_rotate_cycles(&get_op) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chips/cpu8086/instructions/shift.rs:74:28 [INFO] [stdout] | [INFO] [stdout] 74 | set_op.get_rotate_cycles(get_op) [INFO] [stdout] | ----------------- ^^^^^^ expected `&Byte`, found `Byte` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn get_rotate_cycles(&self, get_op: &Byte) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 74 | set_op.get_rotate_cycles(&get_op) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chips/cpu8086/instructions/shift.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | set_op.get_rotate_cycles(get_op) [INFO] [stdout] | ----------------- ^^^^^^ expected `&Byte`, found `Byte` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn get_rotate_cycles(&self, get_op: &Byte) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 52 | set_op.get_rotate_cycles(&get_op) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chips/cpu8086/instructions/shift.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | set_op.get_rotate_cycles(get_op) [INFO] [stdout] | ----------------- ^^^^^^ expected `&Byte`, found `Byte` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:266:10 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn get_rotate_cycles(&self, get_op: &Byte) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 62 | set_op.get_rotate_cycles(&get_op) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chips/cpu8086/instructions/shift.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | set_op.get_rotate_cycles(get_op) [INFO] [stdout] | ----------------- ^^^^^^ expected `&Byte`, found `Byte` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:266:10 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn get_rotate_cycles(&self, get_op: &Byte) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 85 | set_op.get_rotate_cycles(&get_op) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chips/cpu8086/instructions/shift.rs:74:28 [INFO] [stdout] | [INFO] [stdout] 74 | set_op.get_rotate_cycles(get_op) [INFO] [stdout] | ----------------- ^^^^^^ expected `&Byte`, found `Byte` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn get_rotate_cycles(&self, get_op: &Byte) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 74 | set_op.get_rotate_cycles(&get_op) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chips/cpu8086/instructions/shift.rs:95:28 [INFO] [stdout] | [INFO] [stdout] 95 | set_op.get_rotate_cycles(get_op) [INFO] [stdout] | ----------------- ^^^^^^ expected `&Byte`, found `Byte` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn get_rotate_cycles(&self, get_op: &Byte) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 95 | set_op.get_rotate_cycles(&get_op) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chips/cpu8086/instructions/shift.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | set_op.get_rotate_cycles(get_op) [INFO] [stdout] | ----------------- ^^^^^^ expected `&Byte`, found `Byte` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:266:10 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn get_rotate_cycles(&self, get_op: &Byte) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 85 | set_op.get_rotate_cycles(&get_op) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chips/cpu8086/instructions/shift.rs:102:28 [INFO] [stdout] | [INFO] [stdout] 102 | set_op.get_rotate_cycles(get_op) [INFO] [stdout] | ----------------- ^^^^^^ expected `&Byte`, found `Byte` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:266:10 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn get_rotate_cycles(&self, get_op: &Byte) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 102 | set_op.get_rotate_cycles(&get_op) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chips/cpu8086/instructions/shift.rs:95:28 [INFO] [stdout] | [INFO] [stdout] 95 | set_op.get_rotate_cycles(get_op) [INFO] [stdout] | ----------------- ^^^^^^ expected `&Byte`, found `Byte` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn get_rotate_cycles(&self, get_op: &Byte) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 95 | set_op.get_rotate_cycles(&get_op) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chips/cpu8086/instructions/shift.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 113 | set_op.get_rotate_cycles(get_op) [INFO] [stdout] | ----------------- ^^^^^^ expected `&Byte`, found `Byte` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn get_rotate_cycles(&self, get_op: &Byte) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 113 | set_op.get_rotate_cycles(&get_op) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chips/cpu8086/instructions/shift.rs:102:28 [INFO] [stdout] | [INFO] [stdout] 102 | set_op.get_rotate_cycles(get_op) [INFO] [stdout] | ----------------- ^^^^^^ expected `&Byte`, found `Byte` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:266:10 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn get_rotate_cycles(&self, get_op: &Byte) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 102 | set_op.get_rotate_cycles(&get_op) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chips/cpu8086/instructions/shift.rs:123:28 [INFO] [stdout] | [INFO] [stdout] 123 | set_op.get_rotate_cycles(get_op) [INFO] [stdout] | ----------------- ^^^^^^ expected `&Byte`, found `Byte` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:266:10 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn get_rotate_cycles(&self, get_op: &Byte) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 123 | set_op.get_rotate_cycles(&get_op) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chips/cpu8086/instructions/shift.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 113 | set_op.get_rotate_cycles(get_op) [INFO] [stdout] | ----------------- ^^^^^^ expected `&Byte`, found `Byte` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn get_rotate_cycles(&self, get_op: &Byte) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 113 | set_op.get_rotate_cycles(&get_op) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chips/cpu8086/instructions/shift.rs:135:28 [INFO] [stdout] | [INFO] [stdout] 135 | set_op.get_rotate_cycles(get_op) [INFO] [stdout] | ----------------- ^^^^^^ expected `&Byte`, found `Byte` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn get_rotate_cycles(&self, get_op: &Byte) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 135 | set_op.get_rotate_cycles(&get_op) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chips/cpu8086/instructions/shift.rs:123:28 [INFO] [stdout] | [INFO] [stdout] 123 | set_op.get_rotate_cycles(get_op) [INFO] [stdout] | ----------------- ^^^^^^ expected `&Byte`, found `Byte` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:266:10 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn get_rotate_cycles(&self, get_op: &Byte) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 123 | set_op.get_rotate_cycles(&get_op) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chips/cpu8086/instructions/shift.rs:146:28 [INFO] [stdout] | [INFO] [stdout] 146 | set_op.get_rotate_cycles(get_op) [INFO] [stdout] | ----------------- ^^^^^^ expected `&Byte`, found `Byte` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:266:10 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn get_rotate_cycles(&self, get_op: &Byte) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 146 | set_op.get_rotate_cycles(&get_op) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chips/cpu8086/instructions/shift.rs:135:28 [INFO] [stdout] | [INFO] [stdout] 135 | set_op.get_rotate_cycles(get_op) [INFO] [stdout] | ----------------- ^^^^^^ expected `&Byte`, found `Byte` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn get_rotate_cycles(&self, get_op: &Byte) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 135 | set_op.get_rotate_cycles(&get_op) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chips/cpu8086/instructions/shift.rs:146:28 [INFO] [stdout] | [INFO] [stdout] 146 | set_op.get_rotate_cycles(get_op) [INFO] [stdout] | ----------------- ^^^^^^ expected `&Byte`, found `Byte` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/chips/cpu8086/definitions/operand.rs:266:10 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn get_rotate_cycles(&self, get_op: &Byte) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 146 | set_op.get_rotate_cycles(&get_op) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/clock.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | for mut count in &mut self.counts { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/clock.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | for mut count in &mut self.counts { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0164, E0308, E0422, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0164`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0164, E0308, E0422, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0164`. [INFO] [stdout] [INFO] [stderr] error: could not compile `remu` (bin "remu") due to 48 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `remu` (bin "remu" test) due to 48 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8055b9801820870fc2c9d7d797cef68d6d60fc16d115dd7a00dde82fa3781af7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8055b9801820870fc2c9d7d797cef68d6d60fc16d115dd7a00dde82fa3781af7", kill_on_drop: false }` [INFO] [stdout] 8055b9801820870fc2c9d7d797cef68d6d60fc16d115dd7a00dde82fa3781af7