[INFO] cloning repository https://github.com/kaioluanro/emulador-gba
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kaioluanro/emulador-gba" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaioluanro%2Femulador-gba", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaioluanro%2Femulador-gba'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 93877c3adfe0db1a962b95f042b81a4e2390392a
[INFO] checking kaioluanro/emulador-gba against try#bac5816c5f3d02cebd0599070af62d1782530294 for pr-150408
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaioluanro%2Femulador-gba" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/kaioluanro/emulador-gba
[INFO] finished tweaking git repo https://github.com/kaioluanro/emulador-gba
[INFO] tweaked toml for git repo https://github.com/kaioluanro/emulador-gba written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kaioluanro/emulador-gba on toolchain bac5816c5f3d02cebd0599070af62d1782530294
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bac5816c5f3d02cebd0599070af62d1782530294" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kaioluanro/emulador-gba 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" "+bac5816c5f3d02cebd0599070af62d1782530294" "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
[ERROR] error running command: no output for 300 seconds
[INFO] checking kaioluanro/emulador-gba against try#bac5816c5f3d02cebd0599070af62d1782530294 for pr-150408
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaioluanro%2Femulador-gba" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/kaioluanro/emulador-gba
[INFO] finished tweaking git repo https://github.com/kaioluanro/emulador-gba
[INFO] tweaked toml for git repo https://github.com/kaioluanro/emulador-gba written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kaioluanro/emulador-gba on toolchain bac5816c5f3d02cebd0599070af62d1782530294
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bac5816c5f3d02cebd0599070af62d1782530294" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kaioluanro/emulador-gba 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" "+bac5816c5f3d02cebd0599070af62d1782530294" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+bac5816c5f3d02cebd0599070af62d1782530294" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f0543b1a4d4942fdf6206803e62751ddd0d1e0234a0a2a39b81bb29c8d3102ea
[INFO] running `Command { std: "docker" "start" "-a" "f0543b1a4d4942fdf6206803e62751ddd0d1e0234a0a2a39b81bb29c8d3102ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f0543b1a4d4942fdf6206803e62751ddd0d1e0234a0a2a39b81bb29c8d3102ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f0543b1a4d4942fdf6206803e62751ddd0d1e0234a0a2a39b81bb29c8d3102ea", kill_on_drop: false }`
[INFO] [stdout] f0543b1a4d4942fdf6206803e62751ddd0d1e0234a0a2a39b81bb29c8d3102ea
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+bac5816c5f3d02cebd0599070af62d1782530294" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a1fbb73f22ec45363299f47c31c0dd72ed374d116eff52375b56df9ad6762633
[INFO] running `Command { std: "docker" "start" "-a" "a1fbb73f22ec45363299f47c31c0dd72ed374d116eff52375b56df9ad6762633", kill_on_drop: false }`
[INFO] [stderr]     Checking emulator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find value `flag` in this scope
[INFO] [stdout]   --> src/main.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |         (if flag.zero   {1} else {0}) << ZERO_FLAG_BYTE_POSITION |
[INFO] [stdout]    |             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `flag` in this scope
[INFO] [stdout]   --> src/main.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |         (if flag.subtract  {1} else {0}) << SUBSTRACT_FLAG_BYTE_POSITION |
[INFO] [stdout]    |             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `flag` in this scope
[INFO] [stdout]   --> src/main.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |         (if flag.half_carry   {1} else {0}) << HALF_CARRY_FLAG_BYTE_POSITION |
[INFO] [stdout]    |             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `flag` in this scope
[INFO] [stdout]   --> src/main.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout] 57 |         (if flag.carry   {1} else {0}) << CARRY_FLAG_BYTE_POSITION
[INFO] [stdout]    |             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `flag` in this scope
[INFO] [stdout]   --> src/main.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |         (if flag.zero   {1} else {0}) << ZERO_FLAG_BYTE_POSITION |
[INFO] [stdout]    |             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `flag` in this scope
[INFO] [stdout]   --> src/main.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |         (if flag.subtract  {1} else {0}) << SUBSTRACT_FLAG_BYTE_POSITION |
[INFO] [stdout]    |             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `flag` in this scope
[INFO] [stdout]   --> src/main.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |         (if flag.half_carry   {1} else {0}) << HALF_CARRY_FLAG_BYTE_POSITION |
[INFO] [stdout]    |             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `flag` in this scope
[INFO] [stdout]   --> src/main.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout] 57 |         (if flag.carry   {1} else {0}) << CARRY_FLAG_BYTE_POSITION
[INFO] [stdout]    |             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `emulator`
[INFO] [stdout]    --> src/main.rs:194:2
[INFO] [stdout]     |
[INFO] [stdout] 194 | }
[INFO] [stdout]     |  ^ consider adding a `main` function to `src/main.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0053]: method `from` has an incompatible type for trait
[INFO] [stdout]   --> src/main.rs:53:20
[INFO] [stdout]    |
[INFO] [stdout] 53 |     fn from (byte: u8) -> Self {
[INFO] [stdout]    |                    ^^ expected `FlagsRegister`, found `u8`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(FlagsRegister) -> _`
[INFO] [stdout]               found signature `fn(u8) -> _`
[INFO] [stdout] help: change the parameter type to match the trait
[INFO] [stdout]    |
[INFO] [stdout] 53 -     fn from (byte: u8) -> Self {
[INFO] [stdout] 53 +     fn from (byte: FlagsRegister) -> Self {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0053]: method `from` has an incompatible type for trait
[INFO] [stdout]   --> src/main.rs:53:20
[INFO] [stdout]    |
[INFO] [stdout] 53 |     fn from (byte: u8) -> Self {
[INFO] [stdout]    |                    ^^ expected `FlagsRegister`, found `u8`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(FlagsRegister) -> _`
[INFO] [stdout]               found signature `fn(u8) -> _`
[INFO] [stdout] help: change the parameter type to match the trait
[INFO] [stdout]    |
[INFO] [stdout] 53 -     fn from (byte: u8) -> Self {
[INFO] [stdout] 53 +     fn from (byte: FlagsRegister) -> Self {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `from_byte_prefixed`
[INFO] [stdout]    --> src/main.rs:188:5
[INFO] [stdout]     |
[INFO] [stdout] 181 |     fn from_byte_prefixed (byte:u8) -> Option <Instruction>{
[INFO] [stdout]     |     ------------------------------------------------------- other definition for `from_byte_prefixed`
[INFO] [stdout] ...
[INFO] [stdout] 188 |     fn from_byte_prefixed (byte:u8) -> Option <Instruction>{
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `from_byte_prefixed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `from_byte_prefixed`
[INFO] [stdout]    --> src/main.rs:188:5
[INFO] [stdout]     |
[INFO] [stdout] 181 |     fn from_byte_prefixed (byte:u8) -> Option <Instruction>{
[INFO] [stdout]     |     ------------------------------------------------------- other definition for `from_byte_prefixed`
[INFO] [stdout] ...
[INFO] [stdout] 188 |     fn from_byte_prefixed (byte:u8) -> Option <Instruction>{
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `from_byte_prefixed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:19:18
[INFO] [stdout]    |
[INFO] [stdout] 19 |         self.b = ((value & 0xFF00)) >> 8 as u8;
[INFO] [stdout]    |         ------   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `u16`
[INFO] [stdout]    |         |
[INFO] [stdout]    |         expected due to the type of this binding
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:19:18
[INFO] [stdout]    |
[INFO] [stdout] 19 |         self.b = ((value & 0xFF00)) >> 8 as u8;
[INFO] [stdout]    |         ------   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `u16`
[INFO] [stdout]    |         |
[INFO] [stdout]    |         expected due to the type of this binding
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:104:25
[INFO] [stdout]     |
[INFO] [stdout] 104 |                         self.pc.wrapping_add(1)
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `u16`
[INFO] [stdout]     |
[INFO] [stdout] help: consider using a semicolon here
[INFO] [stdout]     |
[INFO] [stdout] 104 |                         self.pc.wrapping_add(1);
[INFO] [stdout]     |                                                +
[INFO] [stdout] help: try adding a return type
[INFO] [stdout]     |
[INFO] [stdout]  96 |     fn execute(&mut self, instruction: Instruction) -> u16{
[INFO] [stdout]     |                                                     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:104:25
[INFO] [stdout]     |
[INFO] [stdout] 104 |                         self.pc.wrapping_add(1)
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `u16`
[INFO] [stdout]     |
[INFO] [stdout] help: consider using a semicolon here
[INFO] [stdout]     |
[INFO] [stdout] 104 |                         self.pc.wrapping_add(1);
[INFO] [stdout]     |                                                +
[INFO] [stdout] help: try adding a return type
[INFO] [stdout]     |
[INFO] [stdout]  96 |     fn execute(&mut self, instruction: Instruction) -> u16{
[INFO] [stdout]     |                                                     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:106:25
[INFO] [stdout]     |
[INFO] [stdout]  96 |     fn execute(&mut self, instruction: Instruction){
[INFO] [stdout]     |                                                    - help: try adding a return type: `-> u16`
[INFO] [stdout] ...
[INFO] [stdout] 106 |                     _=>{self.pc}
[INFO] [stdout]     |                         ^^^^^^^ expected `()`, found `u16`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:106:25
[INFO] [stdout]     |
[INFO] [stdout]  96 |     fn execute(&mut self, instruction: Instruction){
[INFO] [stdout]     |                                                    - help: try adding a return type: `-> u16`
[INFO] [stdout] ...
[INFO] [stdout] 106 |                     _=>{self.pc}
[INFO] [stdout]     |                         ^^^^^^^ expected `()`, found `u16`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0610]: `u8` is a primitive type and therefore doesn't have fields
[INFO] [stdout]    --> src/main.rs:112:60
[INFO] [stdout]     |
[INFO] [stdout] 112 |                     JumpTest::NotZero => !self.registers.f.zero,
[INFO] [stdout]     |                                                            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0610]: `u8` is a primitive type and therefore doesn't have fields
[INFO] [stdout]    --> src/main.rs:112:60
[INFO] [stdout]     |
[INFO] [stdout] 112 |                     JumpTest::NotZero => !self.registers.f.zero,
[INFO] [stdout]     |                                                            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0610]: `u8` is a primitive type and therefore doesn't have fields
[INFO] [stdout]    --> src/main.rs:113:61
[INFO] [stdout]     |
[INFO] [stdout] 113 |                     JumpTest::NotCarry => !self.registers.f.carry,
[INFO] [stdout]     |                                                             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0610]: `u8` is a primitive type and therefore doesn't have fields
[INFO] [stdout]    --> src/main.rs:113:61
[INFO] [stdout]     |
[INFO] [stdout] 113 |                     JumpTest::NotCarry => !self.registers.f.carry,
[INFO] [stdout]     |                                                             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0610]: `u8` is a primitive type and therefore doesn't have fields
[INFO] [stdout]    --> src/main.rs:114:57
[INFO] [stdout]     |
[INFO] [stdout] 114 |                     JumpTest::Zero => !self.registers.f.zero,
[INFO] [stdout]     |                                                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0610]: `u8` is a primitive type and therefore doesn't have fields
[INFO] [stdout]    --> src/main.rs:115:58
[INFO] [stdout]     |
[INFO] [stdout] 115 |                     JumpTest::Carry => !self.registers.f.carry,
[INFO] [stdout]     |                                                          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0610]: `u8` is a primitive type and therefore doesn't have fields
[INFO] [stdout]    --> src/main.rs:114:57
[INFO] [stdout]     |
[INFO] [stdout] 114 |                     JumpTest::Zero => !self.registers.f.zero,
[INFO] [stdout]     |                                                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0610]: `u8` is a primitive type and therefore doesn't have fields
[INFO] [stdout]    --> src/main.rs:115:58
[INFO] [stdout]     |
[INFO] [stdout] 115 |                     JumpTest::Carry => !self.registers.f.carry,
[INFO] [stdout]     |                                                          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:118:17
[INFO] [stdout]     |
[INFO] [stdout] 118 |                 self.jump(jump_condition)
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `u16`
[INFO] [stdout]     |
[INFO] [stdout] help: consider using a semicolon here
[INFO] [stdout]     |
[INFO] [stdout] 118 |                 self.jump(jump_condition);
[INFO] [stdout]     |                                          +
[INFO] [stdout] help: try adding a return type
[INFO] [stdout]     |
[INFO] [stdout]  96 |     fn execute(&mut self, instruction: Instruction) -> u16{
[INFO] [stdout]     |                                                     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:120:18
[INFO] [stdout]     |
[INFO] [stdout]  96 |     fn execute(&mut self, instruction: Instruction){
[INFO] [stdout]     |                                                    - help: try adding a return type: `-> u16`
[INFO] [stdout] ...
[INFO] [stdout] 120 |             _=> {self.pc}
[INFO] [stdout]     |                  ^^^^^^^ expected `()`, found `u16`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0610]: `u8` is a primitive type and therefore doesn't have fields
[INFO] [stdout]    --> src/main.rs:126:26
[INFO] [stdout]     |
[INFO] [stdout] 126 |         self.registers.f.zero = new_value == 0;
[INFO] [stdout]     |                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:118:17
[INFO] [stdout]     |
[INFO] [stdout] 118 |                 self.jump(jump_condition)
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `u16`
[INFO] [stdout]     |
[INFO] [stdout] help: consider using a semicolon here
[INFO] [stdout]     |
[INFO] [stdout] 118 |                 self.jump(jump_condition);
[INFO] [stdout]     |                                          +
[INFO] [stdout] help: try adding a return type
[INFO] [stdout]     |
[INFO] [stdout]  96 |     fn execute(&mut self, instruction: Instruction) -> u16{
[INFO] [stdout]     |                                                     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0610]: `u8` is a primitive type and therefore doesn't have fields
[INFO] [stdout]    --> src/main.rs:127:26
[INFO] [stdout]     |
[INFO] [stdout] 127 |         self.registers.f.subtract = false;
[INFO] [stdout]     |                          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0610]: `u8` is a primitive type and therefore doesn't have fields
[INFO] [stdout]    --> src/main.rs:128:26
[INFO] [stdout]     |
[INFO] [stdout] 128 |         self.registers.f.carry = did_overflow;
[INFO] [stdout]     |                          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0610]: `u8` is a primitive type and therefore doesn't have fields
[INFO] [stdout]    --> src/main.rs:132:26
[INFO] [stdout]     |
[INFO] [stdout] 132 |         self.registers.f.half_carry = (self.registers.a & 0xF) + (value & 0xF) > 0xF;
[INFO] [stdout]     |                          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:120:18
[INFO] [stdout]     |
[INFO] [stdout]  96 |     fn execute(&mut self, instruction: Instruction){
[INFO] [stdout]     |                                                    - help: try adding a return type: `-> u16`
[INFO] [stdout] ...
[INFO] [stdout] 120 |             _=> {self.pc}
[INFO] [stdout]     |                  ^^^^^^^ expected `()`, found `u16`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0610]: `u8` is a primitive type and therefore doesn't have fields
[INFO] [stdout]    --> src/main.rs:126:26
[INFO] [stdout]     |
[INFO] [stdout] 126 |         self.registers.f.zero = new_value == 0;
[INFO] [stdout]     |                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0610]: `u8` is a primitive type and therefore doesn't have fields
[INFO] [stdout]    --> src/main.rs:127:26
[INFO] [stdout]     |
[INFO] [stdout] 127 |         self.registers.f.subtract = false;
[INFO] [stdout]     |                          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0610]: `u8` is a primitive type and therefore doesn't have fields
[INFO] [stdout]    --> src/main.rs:128:26
[INFO] [stdout]     |
[INFO] [stdout] 128 |         self.registers.f.carry = did_overflow;
[INFO] [stdout]     |                          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0610]: `u8` is a primitive type and therefore doesn't have fields
[INFO] [stdout]    --> src/main.rs:132:26
[INFO] [stdout]     |
[INFO] [stdout] 132 |         self.registers.f.half_carry = (self.registers.a & 0xF) + (value & 0xF) > 0xF;
[INFO] [stdout]     |                          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `String: LowerHex` is not satisfied
[INFO] [stdout]    --> src/main.rs:147:60
[INFO] [stdout]     |
[INFO] [stdout] 147 |             panic!("Unkown instruction found for: Ox{:x}", description);
[INFO] [stdout]     |                                                     ----   ^^^^^^^^^^^ the trait `LowerHex` is not implemented for `String`
[INFO] [stdout]     |                                                     |
[INFO] [stdout]     |                                                     required by this formatting parameter
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `LowerHex`:
[INFO] [stdout]               &T
[INFO] [stdout]               &mut T
[INFO] [stdout]               NonZero<T>
[INFO] [stdout]               Saturating<T>
[INFO] [stdout]               Wrapping<T>
[INFO] [stdout]               i128
[INFO] [stdout]               i16
[INFO] [stdout]               i32
[INFO] [stdout]             and 9 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `String: LowerHex` is not satisfied
[INFO] [stdout]    --> src/main.rs:147:60
[INFO] [stdout]     |
[INFO] [stdout] 147 |             panic!("Unkown instruction found for: Ox{:x}", description);
[INFO] [stdout]     |                                                     ----   ^^^^^^^^^^^ the trait `LowerHex` is not implemented for `String`
[INFO] [stdout]     |                                                     |
[INFO] [stdout]     |                                                     required by this formatting parameter
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `LowerHex`:
[INFO] [stdout]               &T
[INFO] [stdout]               &mut T
[INFO] [stdout]               NonZero<T>
[INFO] [stdout]               Saturating<T>
[INFO] [stdout]               Wrapping<T>
[INFO] [stdout]               i128
[INFO] [stdout]               i16
[INFO] [stdout]               i32
[INFO] [stdout]             and 9 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:150:19
[INFO] [stdout]     |
[INFO] [stdout] 150 |         self.pc = next_pc;
[INFO] [stdout]     |         -------   ^^^^^^^ expected `u16`, found `()`
[INFO] [stdout]     |         |
[INFO] [stdout]     |         expected due to the type of this binding
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:150:19
[INFO] [stdout]     |
[INFO] [stdout] 150 |         self.pc = next_pc;
[INFO] [stdout]     |         -------   ^^^^^^^ expected `u16`, found `()`
[INFO] [stdout]     |         |
[INFO] [stdout]     |         expected due to the type of this binding
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `INC` found for enum `Instruction` in the current scope
[INFO] [stdout]    --> src/main.rs:165:39
[INFO] [stdout]     |
[INFO] [stdout]  78 | enum Instruction {
[INFO] [stdout]     | ---------------- variant or associated item `INC` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 165 |             0x02 => Some(Instruction::INC(IncDecTarget::BC)),
[INFO] [stdout]     |                                       ^^^ variant or associated item not found in `Instruction`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Instruction` consider using one of the following associated functions:
[INFO] [stdout]       Instruction::from_byte
[INFO] [stdout]       Instruction::from_byte_prefixed
[INFO] [stdout]       Instruction::from_byte_prefixed
[INFO] [stdout]    --> src/main.rs:173:5
[INFO] [stdout]     |
[INFO] [stdout] 173 |     fn from_byte(byte: u8, prefixed: bool) -> Option<Instruction> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 181 |     fn from_byte_prefixed (byte:u8) -> Option <Instruction>{
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 188 |     fn from_byte_prefixed (byte:u8) -> Option <Instruction>{
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `INC` found for enum `Instruction` in the current scope
[INFO] [stdout]    --> src/main.rs:165:39
[INFO] [stdout]     |
[INFO] [stdout]  78 | enum Instruction {
[INFO] [stdout]     | ---------------- variant or associated item `INC` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 165 |             0x02 => Some(Instruction::INC(IncDecTarget::BC)),
[INFO] [stdout]     |                                       ^^^ variant or associated item not found in `Instruction`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Instruction` consider using one of the following associated functions:
[INFO] [stdout]       Instruction::from_byte
[INFO] [stdout]       Instruction::from_byte_prefixed
[INFO] [stdout]       Instruction::from_byte_prefixed
[INFO] [stdout]    --> src/main.rs:173:5
[INFO] [stdout]     |
[INFO] [stdout] 173 |     fn from_byte(byte: u8, prefixed: bool) -> Option<Instruction> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 181 |     fn from_byte_prefixed (byte:u8) -> Option <Instruction>{
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 188 |     fn from_byte_prefixed (byte:u8) -> Option <Instruction>{
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IncDecTarget`
[INFO] [stdout]    --> src/main.rs:165:43
[INFO] [stdout]     |
[INFO] [stdout] 165 |             0x02 => Some(Instruction::INC(IncDecTarget::BC)),
[INFO] [stdout]     |                                           ^^^^^^^^^^^^ use of undeclared type `IncDecTarget`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IncDecTarget`
[INFO] [stdout]    --> src/main.rs:165:43
[INFO] [stdout]     |
[INFO] [stdout] 165 |             0x02 => Some(Instruction::INC(IncDecTarget::BC)),
[INFO] [stdout]     |                                           ^^^^^^^^^^^^ use of undeclared type `IncDecTarget`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `INC` found for enum `Instruction` in the current scope
[INFO] [stdout]    --> src/main.rs:166:39
[INFO] [stdout]     |
[INFO] [stdout]  78 | enum Instruction {
[INFO] [stdout]     | ---------------- variant or associated item `INC` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 166 |             0x13 => Some(Instruction::INC(IncDecTarget::DE)),
[INFO] [stdout]     |                                       ^^^ variant or associated item not found in `Instruction`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Instruction` consider using one of the following associated functions:
[INFO] [stdout]       Instruction::from_byte
[INFO] [stdout]       Instruction::from_byte_prefixed
[INFO] [stdout]       Instruction::from_byte_prefixed
[INFO] [stdout]    --> src/main.rs:173:5
[INFO] [stdout]     |
[INFO] [stdout] 173 |     fn from_byte(byte: u8, prefixed: bool) -> Option<Instruction> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 181 |     fn from_byte_prefixed (byte:u8) -> Option <Instruction>{
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 188 |     fn from_byte_prefixed (byte:u8) -> Option <Instruction>{
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `INC` found for enum `Instruction` in the current scope
[INFO] [stdout]    --> src/main.rs:166:39
[INFO] [stdout]     |
[INFO] [stdout]  78 | enum Instruction {
[INFO] [stdout]     | ---------------- variant or associated item `INC` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 166 |             0x13 => Some(Instruction::INC(IncDecTarget::DE)),
[INFO] [stdout]     |                                       ^^^ variant or associated item not found in `Instruction`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Instruction` consider using one of the following associated functions:
[INFO] [stdout]       Instruction::from_byte
[INFO] [stdout]       Instruction::from_byte_prefixed
[INFO] [stdout]       Instruction::from_byte_prefixed
[INFO] [stdout]    --> src/main.rs:173:5
[INFO] [stdout]     |
[INFO] [stdout] 173 |     fn from_byte(byte: u8, prefixed: bool) -> Option<Instruction> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 181 |     fn from_byte_prefixed (byte:u8) -> Option <Instruction>{
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 188 |     fn from_byte_prefixed (byte:u8) -> Option <Instruction>{
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IncDecTarget`
[INFO] [stdout]    --> src/main.rs:166:43
[INFO] [stdout]     |
[INFO] [stdout] 166 |             0x13 => Some(Instruction::INC(IncDecTarget::DE)),
[INFO] [stdout]     |                                           ^^^^^^^^^^^^ use of undeclared type `IncDecTarget`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IncDecTarget`
[INFO] [stdout]    --> src/main.rs:166:43
[INFO] [stdout]     |
[INFO] [stdout] 166 |             0x13 => Some(Instruction::INC(IncDecTarget::DE)),
[INFO] [stdout]     |                                           ^^^^^^^^^^^^ use of undeclared type `IncDecTarget`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `from_byte_not_prefixed` found for enum `Instruction` in the current scope
[INFO] [stdout]    --> src/main.rs:177:26
[INFO] [stdout]     |
[INFO] [stdout]  78 | enum Instruction {
[INFO] [stdout]     | ---------------- variant or associated item `from_byte_not_prefixed` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 177 |             Instruction::from_byte_not_prefixed(byte)
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `Instruction`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Instruction` consider using one of the following associated functions:
[INFO] [stdout]       Instruction::from_byte
[INFO] [stdout]       Instruction::from_byte_prefixed
[INFO] [stdout]       Instruction::from_byte_prefixed
[INFO] [stdout]    --> src/main.rs:173:5
[INFO] [stdout]     |
[INFO] [stdout] 173 |     fn from_byte(byte: u8, prefixed: bool) -> Option<Instruction> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 181 |     fn from_byte_prefixed (byte:u8) -> Option <Instruction>{
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 188 |     fn from_byte_prefixed (byte:u8) -> Option <Instruction>{
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: there is an associated function `from_byte_prefixed` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 177 -             Instruction::from_byte_not_prefixed(byte)
[INFO] [stdout] 177 +             Instruction::from_byte_prefixed(byte)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `from_byte_not_prefixed` found for enum `Instruction` in the current scope
[INFO] [stdout]    --> src/main.rs:177:26
[INFO] [stdout]     |
[INFO] [stdout]  78 | enum Instruction {
[INFO] [stdout]     | ---------------- variant or associated item `from_byte_not_prefixed` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 177 |             Instruction::from_byte_not_prefixed(byte)
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `Instruction`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Instruction` consider using one of the following associated functions:
[INFO] [stdout]       Instruction::from_byte
[INFO] [stdout]       Instruction::from_byte_prefixed
[INFO] [stdout]       Instruction::from_byte_prefixed
[INFO] [stdout]    --> src/main.rs:173:5
[INFO] [stdout]     |
[INFO] [stdout] 173 |     fn from_byte(byte: u8, prefixed: bool) -> Option<Instruction> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 181 |     fn from_byte_prefixed (byte:u8) -> Option <Instruction>{
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 188 |     fn from_byte_prefixed (byte:u8) -> Option <Instruction>{
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: there is an associated function `from_byte_prefixed` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 177 -             Instruction::from_byte_not_prefixed(byte)
[INFO] [stdout] 177 +             Instruction::from_byte_prefixed(byte)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `RLC` found for enum `Instruction` in the current scope
[INFO] [stdout]    --> src/main.rs:183:39
[INFO] [stdout]     |
[INFO] [stdout]  78 | enum Instruction {
[INFO] [stdout]     | ---------------- variant or associated item `RLC` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 183 |             0x00 => Some(Instruction::RLC(PrefixTarget::B)),
[INFO] [stdout]     |                                       ^^^ variant or associated item not found in `Instruction`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Instruction` consider using one of the following associated functions:
[INFO] [stdout]       Instruction::from_byte
[INFO] [stdout]       Instruction::from_byte_prefixed
[INFO] [stdout]       Instruction::from_byte_prefixed
[INFO] [stdout]    --> src/main.rs:173:5
[INFO] [stdout]     |
[INFO] [stdout] 173 |     fn from_byte(byte: u8, prefixed: bool) -> Option<Instruction> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 181 |     fn from_byte_prefixed (byte:u8) -> Option <Instruction>{
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 188 |     fn from_byte_prefixed (byte:u8) -> Option <Instruction>{
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PrefixTarget`
[INFO] [stdout]    --> src/main.rs:183:43
[INFO] [stdout]     |
[INFO] [stdout] 183 |             0x00 => Some(Instruction::RLC(PrefixTarget::B)),
[INFO] [stdout]     |                                           ^^^^^^^^^^^^ use of undeclared type `PrefixTarget`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `RLC` found for enum `Instruction` in the current scope
[INFO] [stdout]    --> src/main.rs:183:39
[INFO] [stdout]     |
[INFO] [stdout]  78 | enum Instruction {
[INFO] [stdout]     | ---------------- variant or associated item `RLC` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 183 |             0x00 => Some(Instruction::RLC(PrefixTarget::B)),
[INFO] [stdout]     |                                       ^^^ variant or associated item not found in `Instruction`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Instruction` consider using one of the following associated functions:
[INFO] [stdout]       Instruction::from_byte
[INFO] [stdout]       Instruction::from_byte_prefixed
[INFO] [stdout]       Instruction::from_byte_prefixed
[INFO] [stdout]    --> src/main.rs:173:5
[INFO] [stdout]     |
[INFO] [stdout] 173 |     fn from_byte(byte: u8, prefixed: bool) -> Option<Instruction> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 181 |     fn from_byte_prefixed (byte:u8) -> Option <Instruction>{
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 188 |     fn from_byte_prefixed (byte:u8) -> Option <Instruction>{
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PrefixTarget`
[INFO] [stdout]    --> src/main.rs:183:43
[INFO] [stdout]     |
[INFO] [stdout] 183 |             0x00 => Some(Instruction::RLC(PrefixTarget::B)),
[INFO] [stdout]     |                                           ^^^^^^^^^^^^ use of undeclared type `PrefixTarget`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `RLC` found for enum `Instruction` in the current scope
[INFO] [stdout]    --> src/main.rs:190:39
[INFO] [stdout]     |
[INFO] [stdout]  78 | enum Instruction {
[INFO] [stdout]     | ---------------- variant or associated item `RLC` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 190 |             0x02 => Some(Instruction::RLC(PrefixTarget::BC)),
[INFO] [stdout]     |                                       ^^^ variant or associated item not found in `Instruction`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Instruction` consider using one of the following associated functions:
[INFO] [stdout]       Instruction::from_byte
[INFO] [stdout]       Instruction::from_byte_prefixed
[INFO] [stdout]       Instruction::from_byte_prefixed
[INFO] [stdout]    --> src/main.rs:173:5
[INFO] [stdout]     |
[INFO] [stdout] 173 |     fn from_byte(byte: u8, prefixed: bool) -> Option<Instruction> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 181 |     fn from_byte_prefixed (byte:u8) -> Option <Instruction>{
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 188 |     fn from_byte_prefixed (byte:u8) -> Option <Instruction>{
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PrefixTarget`
[INFO] [stdout]    --> src/main.rs:190:43
[INFO] [stdout]     |
[INFO] [stdout] 190 |             0x02 => Some(Instruction::RLC(PrefixTarget::BC)),
[INFO] [stdout]     |                                           ^^^^^^^^^^^^ use of undeclared type `PrefixTarget`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `RLC` found for enum `Instruction` in the current scope
[INFO] [stdout]    --> src/main.rs:190:39
[INFO] [stdout]     |
[INFO] [stdout]  78 | enum Instruction {
[INFO] [stdout]     | ---------------- variant or associated item `RLC` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 190 |             0x02 => Some(Instruction::RLC(PrefixTarget::BC)),
[INFO] [stdout]     |                                       ^^^ variant or associated item not found in `Instruction`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Instruction` consider using one of the following associated functions:
[INFO] [stdout]       Instruction::from_byte
[INFO] [stdout]       Instruction::from_byte_prefixed
[INFO] [stdout]       Instruction::from_byte_prefixed
[INFO] [stdout]    --> src/main.rs:173:5
[INFO] [stdout]     |
[INFO] [stdout] 173 |     fn from_byte(byte: u8, prefixed: bool) -> Option<Instruction> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 181 |     fn from_byte_prefixed (byte:u8) -> Option <Instruction>{
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 188 |     fn from_byte_prefixed (byte:u8) -> Option <Instruction>{
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PrefixTarget`
[INFO] [stdout]    --> src/main.rs:190:43
[INFO] [stdout]     |
[INFO] [stdout] 190 |             0x02 => Some(Instruction::RLC(PrefixTarget::BC)),
[INFO] [stdout]     |                                           ^^^^^^^^^^^^ use of undeclared type `PrefixTarget`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0053, E0277, E0308, E0425, E0433, E0592, E0599, E0601, E0610.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0053`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0053, E0277, E0308, E0425, E0433, E0592, E0599, E0610.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0053`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `emulator` (bin "emulator" test) due to 30 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `emulator` (bin "emulator") due to 31 previous errors
[INFO] running `Command { std: "docker" "inspect" "a1fbb73f22ec45363299f47c31c0dd72ed374d116eff52375b56df9ad6762633", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a1fbb73f22ec45363299f47c31c0dd72ed374d116eff52375b56df9ad6762633", kill_on_drop: false }`
[INFO] [stdout] a1fbb73f22ec45363299f47c31c0dd72ed374d116eff52375b56df9ad6762633
