[INFO] cloning repository https://github.com/droidengineer/battledroids
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/droidengineer/battledroids" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdroidengineer%2Fbattledroids", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdroidengineer%2Fbattledroids'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8b471e44ee3075bb2c86d23fa4d3ba3e11815b34
[INFO] testing droidengineer/battledroids against 1.90.0 for beta-1.91-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdroidengineer%2Fbattledroids" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/droidengineer/battledroids
[INFO] finished tweaking git repo https://github.com/droidengineer/battledroids
[INFO] tweaked toml for git repo https://github.com/droidengineer/battledroids written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/droidengineer/battledroids on toolchain 1.90.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/droidengineer/battledroids 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rmp v0.8.11
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b15022c9214134f16755b65dcd68333a0601e5a09af1d0eb9f346812af801474
[INFO] running `Command { std: "docker" "start" "-a" "b15022c9214134f16755b65dcd68333a0601e5a09af1d0eb9f346812af801474", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b15022c9214134f16755b65dcd68333a0601e5a09af1d0eb9f346812af801474", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b15022c9214134f16755b65dcd68333a0601e5a09af1d0eb9f346812af801474", kill_on_drop: false }`
[INFO] [stdout] b15022c9214134f16755b65dcd68333a0601e5a09af1d0eb9f346812af801474
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ff3d506cb00972f473721a3f14c5090c040e74cabddf51642f96c170d726d6f8
[INFO] running `Command { std: "docker" "start" "-a" "ff3d506cb00972f473721a3f14c5090c040e74cabddf51642f96c170d726d6f8", kill_on_drop: false }`
[INFO] [stderr]    Compiling regex-syntax v0.6.28
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling paste v1.0.9
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling num-traits v0.1.43
[INFO] [stderr]    Compiling rmp v0.8.11
[INFO] [stderr]    Compiling enum_primitive v0.1.1
[INFO] [stderr]    Compiling regex v1.7.0
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling pretty_env_logger v0.4.0
[INFO] [stderr]    Compiling battledroids v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Deref`
[INFO] [stdout]  --> src/emu/cpu/register.rs:4:33
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ops::{Index, IndexMut, Deref};
[INFO] [stdout]   |                                 ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ToPrimitive`
[INFO] [stdout]  --> src/emu/cpu/register.rs:8:33
[INFO] [stdout]   |
[INFO] [stdout] 8 | use num_traits::{FromPrimitive, ToPrimitive};
[INFO] [stdout]   |                                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `SREG_MASK` should have an upper camel case name
[INFO] [stdout]   --> src/emu/cpu/register.rs:32:10
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub enum SREG_MASK {
[INFO] [stdout]    |          ^^^^^^^^^ help: convert the identifier to upper camel case: `SregMask`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `PE_ID` should have an upper camel case name
[INFO] [stdout]   --> src/emu/cpu/register.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 68 |     PE_ID, CU_ID, CG_ID, DEVICE_ID,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `PeId`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `CU_ID` should have an upper camel case name
[INFO] [stdout]   --> src/emu/cpu/register.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 68 |     PE_ID, CU_ID, CG_ID, DEVICE_ID,
[INFO] [stdout]    |            ^^^^^ help: convert the identifier to upper camel case: `CuId`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `CG_ID` should have an upper camel case name
[INFO] [stdout]   --> src/emu/cpu/register.rs:68:19
[INFO] [stdout]    |
[INFO] [stdout] 68 |     PE_ID, CU_ID, CG_ID, DEVICE_ID,
[INFO] [stdout]    |                   ^^^^^ help: convert the identifier to upper camel case: `CgId`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `DEVICE_ID` should have an upper camel case name
[INFO] [stdout]   --> src/emu/cpu/register.rs:68:26
[INFO] [stdout]    |
[INFO] [stdout] 68 |     PE_ID, CU_ID, CG_ID, DEVICE_ID,
[INFO] [stdout]    |                          ^^^^^^^^^ help: convert the identifier to upper camel case: `DeviceId`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FromPrimitive` and `ToPrimitive`
[INFO] [stdout]   --> src/emu/cpu/isa.rs:30:18
[INFO] [stdout]    |
[INFO] [stdout] 30 | use num_traits::{FromPrimitive, ToPrimitive};
[INFO] [stdout]    |                  ^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `types`
[INFO] [stdout]    --> src/emu/cpu/isa.rs:121:62
[INFO] [stdout]     |
[INFO] [stdout] 121 |     use crate::{emu::{Register, isa::{valid_u16, valid_u8}}, types};
[INFO] [stdout]     |                                                              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `code` should have an upper camel case name
[INFO] [stdout]    --> src/emu/cpu/isa.rs:128:14
[INFO] [stdout]     |
[INFO] [stdout] 128 |     pub enum code {
[INFO] [stdout]     |              ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]    --> src/emu/cpu/isa.rs:367:39
[INFO] [stdout]     |
[INFO] [stdout] 367 | use std::{collections::HashMap, fmt::{Error, Display}, str::FromStr};
[INFO] [stdout]     |                                       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `regex::internal::Inst`
[INFO] [stdout]   --> src/emu/cpu/pe.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use regex::internal::Inst;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FLASH_MAX`
[INFO] [stdout]   --> src/emu/cpu/pe.rs:14:60
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::emu::{INSTRUCTIONS_MAX, SRAM_MAX, L2_CACHE_MAX, FLASH_MAX};
[INFO] [stdout]    |                                                            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MASK_EXT`, `MASK_OP`, `MASK_RD`, `MASK_RS`, and `MASK_XD`
[INFO] [stdout]   --> src/emu/cpu/pe.rs:20:52
[INFO] [stdout]    |
[INFO] [stdout] 20 | use super::isa::{ISA, Instruction, Instruction::*, MASK_OP, MASK_RD, MASK_RS, MASK_EXT, MASK_XD, op, };
[INFO] [stdout]    |                                                    ^^^^^^^  ^^^^^^^  ^^^^^^^  ^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `addr_t`
[INFO] [stdout]   --> src/emu/code.rs:12:83
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::types::{from_byte_code::FromByteCode,to_byte_code::ToByteCode, code_t, addr_t, table::Table};
[INFO] [stdout]    |                                                                                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/isa.rs:177:38
[INFO] [stdout]     |
[INFO] [stdout] 177 |         pub fn to_instruction(&self, args: &[u16]) -> Instruction {
[INFO] [stdout]     |                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/emu/cpu/isa.rs:240:17
[INFO] [stdout]     |
[INFO] [stdout] 240 |                 _ => Instruction::UnknownOp(args[0].parse::<u16>().unwrap()),
[INFO] [stdout]     |                 ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/emu/cpu/isa.rs:240:17
[INFO] [stdout]     |
[INFO] [stdout] 184 |                 code::ADD   => Instruction::ADD(Register::from(args[1]), Register::from(args[2])),
[INFO] [stdout]     |                 --------- matches some of the same values
[INFO] [stdout] 185 |                 code::ADDI  => Instruction::ADDI(Register::from(args[1]), valid_u16(args[2])),
[INFO] [stdout]     |                 ---------- matches some of the same values
[INFO] [stdout] 186 |                 code::AND   => Instruction::AND(Register::from(args[1]), Register::from(args[2])),
[INFO] [stdout]     |                 --------- matches some of the same values
[INFO] [stdout] 187 |                 code::ASR   => Instruction::ASR(Register::from(args[1])),
[INFO] [stdout]     |                 --------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 240 |                 _ => Instruction::UnknownOp(args[0].parse::<u16>().unwrap()),
[INFO] [stdout]     |                 ^ ...and 51 other patterns collectively make this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rd`
[INFO] [stdout]    --> src/emu/cpu/isa.rs:594:17
[INFO] [stdout]     |
[INFO] [stdout] 594 |             CPI(rd, i) => todo!(),
[INFO] [stdout]     |                 ^^ help: if this is intentional, prefix it with an underscore: `_rd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/emu/cpu/isa.rs:594:21
[INFO] [stdout]     |
[INFO] [stdout] 594 |             CPI(rd, i) => todo!(),
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/emu/cpu/isa.rs:829:13
[INFO] [stdout]     |
[INFO] [stdout] 829 |             _ => format!("??")
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/emu/cpu/isa.rs:829:13
[INFO] [stdout]     |
[INFO] [stdout] 773 |             Instruction::ADD(rd,rs) => format!("ADD {:?}, {:?}",rd,rs),
[INFO] [stdout]     |             ----------------------- matches some of the same values
[INFO] [stdout] 774 |             Instruction::ADDI(rd,imm) => format!("ADDI {:?}, {imm}",rd),
[INFO] [stdout]     |             ------------------------- matches some of the same values
[INFO] [stdout] 775 |             Instruction::AND(rd,rs) => format!("AND {:?}, {:?}",rd,rs),
[INFO] [stdout]     |             ----------------------- matches some of the same values
[INFO] [stdout] 776 |             Instruction::ASR(rd) => format!("ASR {:?}", rd),
[INFO] [stdout]     |             -------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 829 |             _ => format!("??")
[INFO] [stdout]     |             ^ ...and 52 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instr`
[INFO] [stdout]    --> src/emu/cpu/isa.rs:919:30
[INFO] [stdout]     |
[INFO] [stdout] 919 |     pub fn insert(&mut self, instr: Instruction) {
[INFO] [stdout]     |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instr`
[INFO] [stdout]    --> src/emu/cpu/isa.rs:929:17
[INFO] [stdout]     |
[INFO] [stdout] 929 |             let instr = &self.0[key];
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/emu/cpu/isa.rs:927:13
[INFO] [stdout]     |
[INFO] [stdout] 927 |         let mut result = vec![];
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `instr` is never read
[INFO] [stdout]   --> src/emu/cpu/pe.rs:99:21
[INFO] [stdout]    |
[INFO] [stdout] 99 |             let mut instr = Instruction::UnknownOp(code);
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/emu/cpu/pe.rs:265:13
[INFO] [stdout]     |
[INFO] [stdout] 265 |         let mut code = &mut builder.instructions.clone();
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/emu/cpu/pe.rs:268:13
[INFO] [stdout]     |
[INFO] [stdout] 268 |         let mut data = &mut builder.data.clone();
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instr`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:285:22
[INFO] [stdout]     |
[INFO] [stdout] 285 |     fn encode(&self, instr: Instruction) -> code_t {
[INFO] [stdout]     |                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `opcode`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:289:13
[INFO] [stdout]     |
[INFO] [stdout] 289 |         let opcode = self.get_opcode(instr);
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_opcode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imm`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:326:18
[INFO] [stdout]     |
[INFO] [stdout] 326 |             BREQ(imm) => { todo!() },
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_imm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imm`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:327:18
[INFO] [stdout]     |
[INFO] [stdout] 327 |             BRGE(imm) => { todo!() },
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_imm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imm`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:329:18
[INFO] [stdout]     |
[INFO] [stdout] 329 |             BRLO(imm) => { todo!() },
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_imm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imm`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:330:18
[INFO] [stdout]     |
[INFO] [stdout] 330 |             BRLT(imm) => { todo!() },
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_imm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imm`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:331:18
[INFO] [stdout]     |
[INFO] [stdout] 331 |             BRNE(imm) => { todo!() },
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_imm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imm`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:332:18
[INFO] [stdout]     |
[INFO] [stdout] 332 |             BRSH(imm) => { todo!() },
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_imm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:345:18
[INFO] [stdout]     |
[INFO] [stdout] 345 |             CBIO(addr,bit) => { todo!() },
[INFO] [stdout]     |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bit`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:345:23
[INFO] [stdout]     |
[INFO] [stdout] 345 |             CBIO(addr,bit) => { todo!() },
[INFO] [stdout]     |                       ^^^ help: if this is intentional, prefix it with an underscore: `_bit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:346:17
[INFO] [stdout]     |
[INFO] [stdout] 346 |             CBR(r,v) => { todo!() },
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:346:19
[INFO] [stdout]     |
[INFO] [stdout] 346 |             CBR(r,v) => { todo!() },
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:347:17
[INFO] [stdout]     |
[INFO] [stdout] 347 |             CLR(r) => { todo!() },
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:353:17
[INFO] [stdout]     |
[INFO] [stdout] 353 |             CPI(r,K) => { todo!() },
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `K`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:353:19
[INFO] [stdout]     |
[INFO] [stdout] 353 |             CPI(r,K) => { todo!() },
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_K`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rd`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:354:18
[INFO] [stdout]     |
[INFO] [stdout] 354 |             CPSE(rd,rs) => { todo!() },
[INFO] [stdout]     |                  ^^ help: if this is intentional, prefix it with an underscore: `_rd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rs`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:354:21
[INFO] [stdout]     |
[INFO] [stdout] 354 |             CPSE(rd,rs) => { todo!() },
[INFO] [stdout]     |                     ^^ help: if this is intentional, prefix it with an underscore: `_rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rd`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:377:16
[INFO] [stdout]     |
[INFO] [stdout] 377 |             IN(rd, imm) => { todo!()},
[INFO] [stdout]     |                ^^ help: if this is intentional, prefix it with an underscore: `_rd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imm`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:377:20
[INFO] [stdout]     |
[INFO] [stdout] 377 |             IN(rd, imm) => { todo!()},
[INFO] [stdout]     |                    ^^^ help: if this is intentional, prefix it with an underscore: `_imm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imm`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:466:19
[INFO] [stdout]     |
[INFO] [stdout] 466 |             RCALL(imm) => { todo!() },
[INFO] [stdout]     |                   ^^^ help: if this is intentional, prefix it with an underscore: `_imm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imm`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:471:18
[INFO] [stdout]     |
[INFO] [stdout] 471 |             RJMP(imm) => { todo!(); },
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_imm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:472:18
[INFO] [stdout]     |
[INFO] [stdout] 472 |             SBIO(addr, bit) => {
[INFO] [stdout]     |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bit`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:472:24
[INFO] [stdout]     |
[INFO] [stdout] 472 |             SBIO(addr, bit) => {
[INFO] [stdout]     |                        ^^^ help: if this is intentional, prefix it with an underscore: `_bit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rd`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:480:17
[INFO] [stdout]     |
[INFO] [stdout] 480 |             SET(rd) => {todo!();},
[INFO] [stdout]     |                 ^^ help: if this is intentional, prefix it with an underscore: `_rd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:515:20
[INFO] [stdout]     |
[INFO] [stdout] 515 |     fn halt(&self, args: &[u16]) {
[INFO] [stdout]     |                    ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:518:19
[INFO] [stdout]     |
[INFO] [stdout] 518 |     fn brk(&self, args: &[u16]) {
[INFO] [stdout]     |                   ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rd`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:529:13
[INFO] [stdout]     |
[INFO] [stdout] 529 |         let rd = Register::from_u16(args[0]).unwrap();
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_rd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:547:24
[INFO] [stdout]     |
[INFO] [stdout] 547 |     fn call(&mut self, args: &[code_t]) {
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:551:24
[INFO] [stdout]     |
[INFO] [stdout] 551 |     fn cbio(&mut self, args: &[code_t]) { 
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rd`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:561:13
[INFO] [stdout]     |
[INFO] [stdout] 561 |         let rd = Register::from_u16(args[0]).unwrap();
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_rd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:588:23
[INFO] [stdout]     |
[INFO] [stdout] 588 |     fn jmp(&mut self, args: &[code_t]) {
[INFO] [stdout]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:637:23
[INFO] [stdout]     |
[INFO] [stdout] 637 |     fn nor(&mut self, args: &[code_t]) {
[INFO] [stdout]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:641:23
[INFO] [stdout]     |
[INFO] [stdout] 641 |     fn ret(&mut self, args: &[code_t]) {
[INFO] [stdout]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:645:24
[INFO] [stdout]     |
[INFO] [stdout] 645 |     fn sbio(&mut self, args: &[code_t]) {
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:649:23
[INFO] [stdout]     |
[INFO] [stdout] 649 |     fn sbr(&mut self, args: &[code_t]) {
[INFO] [stdout]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:653:22
[INFO] [stdout]     |
[INFO] [stdout] 653 |     fn st(&mut self, args: &[code_t]) {
[INFO] [stdout]     |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:657:23
[INFO] [stdout]     |
[INFO] [stdout] 657 |     fn std(&mut self, args: &[code_t]) {
[INFO] [stdout]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:661:23
[INFO] [stdout]     |
[INFO] [stdout] 661 |     fn stp(&mut self, args: &[code_t]) {
[INFO] [stdout]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:695:23
[INFO] [stdout]     |
[INFO] [stdout] 695 |     fn nop(&mut self, args: &[u16]) {
[INFO] [stdout]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:701:23
[INFO] [stdout]     |
[INFO] [stdout] 701 |     fn cli(&mut self, args: &[code_t]) {
[INFO] [stdout]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:706:23
[INFO] [stdout]     |
[INFO] [stdout] 706 |     fn sei(&mut self, args: &[code_t]) {
[INFO] [stdout]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `code`
[INFO] [stdout]   --> src/emu/cpu/cu.rs:46:35
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub fn assign_work(&mut self, code: Vec<addr_t>) {
[INFO] [stdout]    |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/emu/cpu/cmp.rs:62:17
[INFO] [stdout]    |
[INFO] [stdout] 62 |             let mut cg = ComputeGroup::new(CPU_CORES,Rc::clone(&cache),t,(id, n as u16));
[INFO] [stdout]    |                 ----^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `opcode`
[INFO] [stdout]   --> src/emu/code.rs:96:17
[INFO] [stdout]    |
[INFO] [stdout] 96 |             let opcode = self.code[ip];
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_opcode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `symbol`
[INFO] [stdout]    --> src/emu/code.rs:100:17
[INFO] [stdout]     |
[INFO] [stdout] 100 |             for symbol in self.symbols() {
[INFO] [stdout]     |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]    --> src/emu/builder.rs:105:32
[INFO] [stdout]     |
[INFO] [stdout] 105 |     fn to_byte_code(&self, mut buf: &mut dyn Write) {
[INFO] [stdout]     |                                ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/emu/builder.rs:105:28
[INFO] [stdout]     |
[INFO] [stdout] 105 |     fn to_byte_code(&self, mut buf: &mut dyn Write) {
[INFO] [stdout]     |                            ----^^^
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `code`
[INFO] [stdout]  --> src/asm/mod.rs:8:25
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn assemble_to_file(code: &str) -> OsString {
[INFO] [stdout]   |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GPIO_REG_MAX` is never used
[INFO] [stdout]   --> src/emu/cpu/register.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 | const GPIO_REG_MAX: usize = 16;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `iter` and `next_invalid` are never read
[INFO] [stdout]    --> src/emu/cpu/isa.rs:941:52
[INFO] [stdout]     |
[INFO] [stdout] 941 | pub struct DecodedIterator<T: Iterator<Item=u8>> { iter: T, next_invalid: bool }
[INFO] [stdout]     |            --------------- fields in this struct   ^^^^     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `pid` is never used
[INFO] [stdout]   --> src/emu/cpu/pe.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 59 | static mut pid: u16 = 1;
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `pc`, `mp`, `bp`, and `sreg` are never used
[INFO] [stdout]    --> src/emu/cpu/pe.rs:240:8
[INFO] [stdout]     |
[INFO] [stdout]  60 | impl ProcessingElement {
[INFO] [stdout]     | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 240 |     fn pc(&self) -> addr_t { self.registers[Register::PC] }
[INFO] [stdout]     |        ^^
[INFO] [stdout] 241 |     #[inline(always)]
[INFO] [stdout] 242 |     fn mp(&self) -> addr_t { self.registers[Register::MP] }
[INFO] [stdout]     |        ^^
[INFO] [stdout] 243 |     #[inline(always)]
[INFO] [stdout] 244 |     fn bp(&self) -> addr_t { self.registers[Register::BP] }
[INFO] [stdout]     |        ^^
[INFO] [stdout] ...
[INFO] [stdout] 248 |     fn sreg(&mut self) -> &mut register_t { &mut self.registers[Register::SREG] }
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_string` is never used
[INFO] [stdout]    --> src/emu/code.rs:244:4
[INFO] [stdout]     |
[INFO] [stdout] 244 | fn read_string(mut buf: &mut dyn Read) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `push_data` is never used
[INFO] [stdout]   --> src/emu/builder.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl Builder {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 45 |     fn push_data(&mut self, data: addr_t) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `device_count` should have an upper case name
[INFO] [stdout]    --> src/emu/cpu/mod.rs:197:12
[INFO] [stdout]     |
[INFO] [stdout] 197 | static mut device_count: u16 = 1;
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]     |
[INFO] [stdout] 197 - static mut device_count: u16 = 1;
[INFO] [stdout] 197 + static mut DEVICE_COUNT: u16 = 1;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `pid` should have an upper case name
[INFO] [stdout]   --> src/emu/cpu/pe.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 59 | static mut pid: u16 = 1;
[INFO] [stdout]    |            ^^^ help: convert the identifier to upper case: `PID`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `pid` should have an upper case name
[INFO] [stdout]    --> src/emu/cpu/pe.rs:231:20
[INFO] [stdout]     |
[INFO] [stdout] 231 |         static mut pid: u16 = 0;
[INFO] [stdout]     |                    ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]     |
[INFO] [stdout] 231 -         static mut pid: u16 = 0;
[INFO] [stdout] 231 +         static mut PID: u16 = 0;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `K` should have a snake case name
[INFO] [stdout]    --> src/emu/cpu/pe.rs:353:19
[INFO] [stdout]     |
[INFO] [stdout] 353 |             CPI(r,K) => { todo!() },
[INFO] [stdout]     |                   ^ help: convert the identifier to snake case (notice the capitalization): `k`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `InstructionTable`, `InstructionType`, and `types::Value`
[INFO] [stdout]  --> src/bin/bdvm.rs:5:103
[INFO] [stdout]   |
[INFO] [stdout] 5 | ..., emu::cpu::{Register, isa::{Instruction, InstructionTable, InstructionType}}, types::Value};
[INFO] [stdout]   |                                              ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^    ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.42s
[INFO] running `Command { std: "docker" "inspect" "ff3d506cb00972f473721a3f14c5090c040e74cabddf51642f96c170d726d6f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ff3d506cb00972f473721a3f14c5090c040e74cabddf51642f96c170d726d6f8", kill_on_drop: false }`
[INFO] [stdout] ff3d506cb00972f473721a3f14c5090c040e74cabddf51642f96c170d726d6f8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b95c083c1961e743f9d3352094ebe8c93fa0f99262364a6b19e80fb35bf99452
[INFO] running `Command { std: "docker" "start" "-a" "b95c083c1961e743f9d3352094ebe8c93fa0f99262364a6b19e80fb35bf99452", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `Deref`
[INFO] [stdout]  --> src/emu/cpu/register.rs:4:33
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ops::{Index, IndexMut, Deref};
[INFO] [stdout]   |                                 ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ToPrimitive`
[INFO] [stdout]  --> src/emu/cpu/register.rs:8:33
[INFO] [stdout]   |
[INFO] [stdout] 8 | use num_traits::{FromPrimitive, ToPrimitive};
[INFO] [stdout]   |                                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `SREG_MASK` should have an upper camel case name
[INFO] [stdout]   --> src/emu/cpu/register.rs:32:10
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub enum SREG_MASK {
[INFO] [stdout]    |          ^^^^^^^^^ help: convert the identifier to upper camel case: `SregMask`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `PE_ID` should have an upper camel case name
[INFO] [stdout]   --> src/emu/cpu/register.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 68 |     PE_ID, CU_ID, CG_ID, DEVICE_ID,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `PeId`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `CU_ID` should have an upper camel case name
[INFO] [stdout]   --> src/emu/cpu/register.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 68 |     PE_ID, CU_ID, CG_ID, DEVICE_ID,
[INFO] [stdout]    |            ^^^^^ help: convert the identifier to upper camel case: `CuId`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `CG_ID` should have an upper camel case name
[INFO] [stdout]   --> src/emu/cpu/register.rs:68:19
[INFO] [stdout]    |
[INFO] [stdout] 68 |     PE_ID, CU_ID, CG_ID, DEVICE_ID,
[INFO] [stdout]    |                   ^^^^^ help: convert the identifier to upper camel case: `CgId`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `DEVICE_ID` should have an upper camel case name
[INFO] [stdout]   --> src/emu/cpu/register.rs:68:26
[INFO] [stdout]    |
[INFO] [stdout] 68 |     PE_ID, CU_ID, CG_ID, DEVICE_ID,
[INFO] [stdout]    |                          ^^^^^^^^^ help: convert the identifier to upper camel case: `DeviceId`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FromPrimitive` and `ToPrimitive`
[INFO] [stdout]   --> src/emu/cpu/isa.rs:30:18
[INFO] [stdout]    |
[INFO] [stdout] 30 | use num_traits::{FromPrimitive, ToPrimitive};
[INFO] [stdout]    |                  ^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `types`
[INFO] [stdout]    --> src/emu/cpu/isa.rs:121:62
[INFO] [stdout]     |
[INFO] [stdout] 121 |     use crate::{emu::{Register, isa::{valid_u16, valid_u8}}, types};
[INFO] [stdout]     |                                                              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `code` should have an upper camel case name
[INFO] [stdout]    --> src/emu/cpu/isa.rs:128:14
[INFO] [stdout]     |
[INFO] [stdout] 128 |     pub enum code {
[INFO] [stdout]     |              ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]    --> src/emu/cpu/isa.rs:367:39
[INFO] [stdout]     |
[INFO] [stdout] 367 | use std::{collections::HashMap, fmt::{Error, Display}, str::FromStr};
[INFO] [stdout]     |                                       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `regex::internal::Inst`
[INFO] [stdout]   --> src/emu/cpu/pe.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use regex::internal::Inst;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FLASH_MAX`
[INFO] [stdout]   --> src/emu/cpu/pe.rs:14:60
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::emu::{INSTRUCTIONS_MAX, SRAM_MAX, L2_CACHE_MAX, FLASH_MAX};
[INFO] [stdout]    |                                                            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MASK_EXT`, `MASK_OP`, `MASK_RD`, `MASK_RS`, and `MASK_XD`
[INFO] [stdout]   --> src/emu/cpu/pe.rs:20:52
[INFO] [stdout]    |
[INFO] [stdout] 20 | use super::isa::{ISA, Instruction, Instruction::*, MASK_OP, MASK_RD, MASK_RS, MASK_EXT, MASK_XD, op, };
[INFO] [stdout]    |                                                    ^^^^^^^  ^^^^^^^  ^^^^^^^  ^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `addr_t`
[INFO] [stdout]   --> src/emu/code.rs:12:83
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::types::{from_byte_code::FromByteCode,to_byte_code::ToByteCode, code_t, addr_t, table::Table};
[INFO] [stdout]    |                                                                                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/isa.rs:177:38
[INFO] [stdout]     |
[INFO] [stdout] 177 |         pub fn to_instruction(&self, args: &[u16]) -> Instruction {
[INFO] [stdout]     |                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/emu/cpu/isa.rs:240:17
[INFO] [stdout]     |
[INFO] [stdout] 240 |                 _ => Instruction::UnknownOp(args[0].parse::<u16>().unwrap()),
[INFO] [stdout]     |                 ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/emu/cpu/isa.rs:240:17
[INFO] [stdout]     |
[INFO] [stdout] 184 |                 code::ADD   => Instruction::ADD(Register::from(args[1]), Register::from(args[2])),
[INFO] [stdout]     |                 --------- matches some of the same values
[INFO] [stdout] 185 |                 code::ADDI  => Instruction::ADDI(Register::from(args[1]), valid_u16(args[2])),
[INFO] [stdout]     |                 ---------- matches some of the same values
[INFO] [stdout] 186 |                 code::AND   => Instruction::AND(Register::from(args[1]), Register::from(args[2])),
[INFO] [stdout]     |                 --------- matches some of the same values
[INFO] [stdout] 187 |                 code::ASR   => Instruction::ASR(Register::from(args[1])),
[INFO] [stdout]     |                 --------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 240 |                 _ => Instruction::UnknownOp(args[0].parse::<u16>().unwrap()),
[INFO] [stdout]     |                 ^ ...and 51 other patterns collectively make this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rd`
[INFO] [stdout]    --> src/emu/cpu/isa.rs:594:17
[INFO] [stdout]     |
[INFO] [stdout] 594 |             CPI(rd, i) => todo!(),
[INFO] [stdout]     |                 ^^ help: if this is intentional, prefix it with an underscore: `_rd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/emu/cpu/isa.rs:594:21
[INFO] [stdout]     |
[INFO] [stdout] 594 |             CPI(rd, i) => todo!(),
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/emu/cpu/isa.rs:829:13
[INFO] [stdout]     |
[INFO] [stdout] 829 |             _ => format!("??")
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/emu/cpu/isa.rs:829:13
[INFO] [stdout]     |
[INFO] [stdout] 773 |             Instruction::ADD(rd,rs) => format!("ADD {:?}, {:?}",rd,rs),
[INFO] [stdout]     |             ----------------------- matches some of the same values
[INFO] [stdout] 774 |             Instruction::ADDI(rd,imm) => format!("ADDI {:?}, {imm}",rd),
[INFO] [stdout]     |             ------------------------- matches some of the same values
[INFO] [stdout] 775 |             Instruction::AND(rd,rs) => format!("AND {:?}, {:?}",rd,rs),
[INFO] [stdout]     |             ----------------------- matches some of the same values
[INFO] [stdout] 776 |             Instruction::ASR(rd) => format!("ASR {:?}", rd),
[INFO] [stdout]     |             -------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 829 |             _ => format!("??")
[INFO] [stdout]     |             ^ ...and 52 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instr`
[INFO] [stdout]    --> src/emu/cpu/isa.rs:919:30
[INFO] [stdout]     |
[INFO] [stdout] 919 |     pub fn insert(&mut self, instr: Instruction) {
[INFO] [stdout]     |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instr`
[INFO] [stdout]    --> src/emu/cpu/isa.rs:929:17
[INFO] [stdout]     |
[INFO] [stdout] 929 |             let instr = &self.0[key];
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/emu/cpu/isa.rs:927:13
[INFO] [stdout]     |
[INFO] [stdout] 927 |         let mut result = vec![];
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `instr` is never read
[INFO] [stdout]   --> src/emu/cpu/pe.rs:99:21
[INFO] [stdout]    |
[INFO] [stdout] 99 |             let mut instr = Instruction::UnknownOp(code);
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/emu/cpu/pe.rs:265:13
[INFO] [stdout]     |
[INFO] [stdout] 265 |         let mut code = &mut builder.instructions.clone();
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/emu/cpu/pe.rs:268:13
[INFO] [stdout]     |
[INFO] [stdout] 268 |         let mut data = &mut builder.data.clone();
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instr`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:285:22
[INFO] [stdout]     |
[INFO] [stdout] 285 |     fn encode(&self, instr: Instruction) -> code_t {
[INFO] [stdout]     |                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `opcode`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:289:13
[INFO] [stdout]     |
[INFO] [stdout] 289 |         let opcode = self.get_opcode(instr);
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_opcode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imm`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:326:18
[INFO] [stdout]     |
[INFO] [stdout] 326 |             BREQ(imm) => { todo!() },
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_imm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imm`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:327:18
[INFO] [stdout]     |
[INFO] [stdout] 327 |             BRGE(imm) => { todo!() },
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_imm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imm`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:329:18
[INFO] [stdout]     |
[INFO] [stdout] 329 |             BRLO(imm) => { todo!() },
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_imm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imm`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:330:18
[INFO] [stdout]     |
[INFO] [stdout] 330 |             BRLT(imm) => { todo!() },
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_imm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imm`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:331:18
[INFO] [stdout]     |
[INFO] [stdout] 331 |             BRNE(imm) => { todo!() },
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_imm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imm`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:332:18
[INFO] [stdout]     |
[INFO] [stdout] 332 |             BRSH(imm) => { todo!() },
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_imm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:345:18
[INFO] [stdout]     |
[INFO] [stdout] 345 |             CBIO(addr,bit) => { todo!() },
[INFO] [stdout]     |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bit`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:345:23
[INFO] [stdout]     |
[INFO] [stdout] 345 |             CBIO(addr,bit) => { todo!() },
[INFO] [stdout]     |                       ^^^ help: if this is intentional, prefix it with an underscore: `_bit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:346:17
[INFO] [stdout]     |
[INFO] [stdout] 346 |             CBR(r,v) => { todo!() },
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:346:19
[INFO] [stdout]     |
[INFO] [stdout] 346 |             CBR(r,v) => { todo!() },
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:347:17
[INFO] [stdout]     |
[INFO] [stdout] 347 |             CLR(r) => { todo!() },
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:353:17
[INFO] [stdout]     |
[INFO] [stdout] 353 |             CPI(r,K) => { todo!() },
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `K`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:353:19
[INFO] [stdout]     |
[INFO] [stdout] 353 |             CPI(r,K) => { todo!() },
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_K`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rd`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:354:18
[INFO] [stdout]     |
[INFO] [stdout] 354 |             CPSE(rd,rs) => { todo!() },
[INFO] [stdout]     |                  ^^ help: if this is intentional, prefix it with an underscore: `_rd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rs`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:354:21
[INFO] [stdout]     |
[INFO] [stdout] 354 |             CPSE(rd,rs) => { todo!() },
[INFO] [stdout]     |                     ^^ help: if this is intentional, prefix it with an underscore: `_rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rd`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:377:16
[INFO] [stdout]     |
[INFO] [stdout] 377 |             IN(rd, imm) => { todo!()},
[INFO] [stdout]     |                ^^ help: if this is intentional, prefix it with an underscore: `_rd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imm`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:377:20
[INFO] [stdout]     |
[INFO] [stdout] 377 |             IN(rd, imm) => { todo!()},
[INFO] [stdout]     |                    ^^^ help: if this is intentional, prefix it with an underscore: `_imm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imm`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:466:19
[INFO] [stdout]     |
[INFO] [stdout] 466 |             RCALL(imm) => { todo!() },
[INFO] [stdout]     |                   ^^^ help: if this is intentional, prefix it with an underscore: `_imm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imm`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:471:18
[INFO] [stdout]     |
[INFO] [stdout] 471 |             RJMP(imm) => { todo!(); },
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_imm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:472:18
[INFO] [stdout]     |
[INFO] [stdout] 472 |             SBIO(addr, bit) => {
[INFO] [stdout]     |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bit`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:472:24
[INFO] [stdout]     |
[INFO] [stdout] 472 |             SBIO(addr, bit) => {
[INFO] [stdout]     |                        ^^^ help: if this is intentional, prefix it with an underscore: `_bit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rd`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:480:17
[INFO] [stdout]     |
[INFO] [stdout] 480 |             SET(rd) => {todo!();},
[INFO] [stdout]     |                 ^^ help: if this is intentional, prefix it with an underscore: `_rd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:515:20
[INFO] [stdout]     |
[INFO] [stdout] 515 |     fn halt(&self, args: &[u16]) {
[INFO] [stdout]     |                    ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:518:19
[INFO] [stdout]     |
[INFO] [stdout] 518 |     fn brk(&self, args: &[u16]) {
[INFO] [stdout]     |                   ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rd`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:529:13
[INFO] [stdout]     |
[INFO] [stdout] 529 |         let rd = Register::from_u16(args[0]).unwrap();
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_rd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:547:24
[INFO] [stdout]     |
[INFO] [stdout] 547 |     fn call(&mut self, args: &[code_t]) {
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:551:24
[INFO] [stdout]     |
[INFO] [stdout] 551 |     fn cbio(&mut self, args: &[code_t]) { 
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rd`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:561:13
[INFO] [stdout]     |
[INFO] [stdout] 561 |         let rd = Register::from_u16(args[0]).unwrap();
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_rd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:588:23
[INFO] [stdout]     |
[INFO] [stdout] 588 |     fn jmp(&mut self, args: &[code_t]) {
[INFO] [stdout]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:637:23
[INFO] [stdout]     |
[INFO] [stdout] 637 |     fn nor(&mut self, args: &[code_t]) {
[INFO] [stdout]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:641:23
[INFO] [stdout]     |
[INFO] [stdout] 641 |     fn ret(&mut self, args: &[code_t]) {
[INFO] [stdout]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling battledroids v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:645:24
[INFO] [stdout]     |
[INFO] [stdout] 645 |     fn sbio(&mut self, args: &[code_t]) {
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:649:23
[INFO] [stdout]     |
[INFO] [stdout] 649 |     fn sbr(&mut self, args: &[code_t]) {
[INFO] [stdout]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:653:22
[INFO] [stdout]     |
[INFO] [stdout] 653 |     fn st(&mut self, args: &[code_t]) {
[INFO] [stdout]     |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:657:23
[INFO] [stdout]     |
[INFO] [stdout] 657 |     fn std(&mut self, args: &[code_t]) {
[INFO] [stdout]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:661:23
[INFO] [stdout]     |
[INFO] [stdout] 661 |     fn stp(&mut self, args: &[code_t]) {
[INFO] [stdout]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:695:23
[INFO] [stdout]     |
[INFO] [stdout] 695 |     fn nop(&mut self, args: &[u16]) {
[INFO] [stdout]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:701:23
[INFO] [stdout]     |
[INFO] [stdout] 701 |     fn cli(&mut self, args: &[code_t]) {
[INFO] [stdout]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:706:23
[INFO] [stdout]     |
[INFO] [stdout] 706 |     fn sei(&mut self, args: &[code_t]) {
[INFO] [stdout]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `code`
[INFO] [stdout]   --> src/emu/cpu/cu.rs:46:35
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub fn assign_work(&mut self, code: Vec<addr_t>) {
[INFO] [stdout]    |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/emu/cpu/cmp.rs:62:17
[INFO] [stdout]    |
[INFO] [stdout] 62 |             let mut cg = ComputeGroup::new(CPU_CORES,Rc::clone(&cache),t,(id, n as u16));
[INFO] [stdout]    |                 ----^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `opcode`
[INFO] [stdout]   --> src/emu/code.rs:96:17
[INFO] [stdout]    |
[INFO] [stdout] 96 |             let opcode = self.code[ip];
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_opcode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `symbol`
[INFO] [stdout]    --> src/emu/code.rs:100:17
[INFO] [stdout]     |
[INFO] [stdout] 100 |             for symbol in self.symbols() {
[INFO] [stdout]     |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]    --> src/emu/builder.rs:105:32
[INFO] [stdout]     |
[INFO] [stdout] 105 |     fn to_byte_code(&self, mut buf: &mut dyn Write) {
[INFO] [stdout]     |                                ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/emu/builder.rs:105:28
[INFO] [stdout]     |
[INFO] [stdout] 105 |     fn to_byte_code(&self, mut buf: &mut dyn Write) {
[INFO] [stdout]     |                            ----^^^
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `code`
[INFO] [stdout]  --> src/asm/mod.rs:8:25
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn assemble_to_file(code: &str) -> OsString {
[INFO] [stdout]   |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GPIO_REG_MAX` is never used
[INFO] [stdout]   --> src/emu/cpu/register.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 | const GPIO_REG_MAX: usize = 16;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `iter` and `next_invalid` are never read
[INFO] [stdout]    --> src/emu/cpu/isa.rs:941:52
[INFO] [stdout]     |
[INFO] [stdout] 941 | pub struct DecodedIterator<T: Iterator<Item=u8>> { iter: T, next_invalid: bool }
[INFO] [stdout]     |            --------------- fields in this struct   ^^^^     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `pid` is never used
[INFO] [stdout]   --> src/emu/cpu/pe.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 59 | static mut pid: u16 = 1;
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `pc`, `mp`, `bp`, and `sreg` are never used
[INFO] [stdout]    --> src/emu/cpu/pe.rs:240:8
[INFO] [stdout]     |
[INFO] [stdout]  60 | impl ProcessingElement {
[INFO] [stdout]     | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 240 |     fn pc(&self) -> addr_t { self.registers[Register::PC] }
[INFO] [stdout]     |        ^^
[INFO] [stdout] 241 |     #[inline(always)]
[INFO] [stdout] 242 |     fn mp(&self) -> addr_t { self.registers[Register::MP] }
[INFO] [stdout]     |        ^^
[INFO] [stdout] 243 |     #[inline(always)]
[INFO] [stdout] 244 |     fn bp(&self) -> addr_t { self.registers[Register::BP] }
[INFO] [stdout]     |        ^^
[INFO] [stdout] ...
[INFO] [stdout] 248 |     fn sreg(&mut self) -> &mut register_t { &mut self.registers[Register::SREG] }
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_string` is never used
[INFO] [stdout]    --> src/emu/code.rs:244:4
[INFO] [stdout]     |
[INFO] [stdout] 244 | fn read_string(mut buf: &mut dyn Read) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `push_data` is never used
[INFO] [stdout]   --> src/emu/builder.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl Builder {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 45 |     fn push_data(&mut self, data: addr_t) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `device_count` should have an upper case name
[INFO] [stdout]    --> src/emu/cpu/mod.rs:197:12
[INFO] [stdout]     |
[INFO] [stdout] 197 | static mut device_count: u16 = 1;
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]     |
[INFO] [stdout] 197 - static mut device_count: u16 = 1;
[INFO] [stdout] 197 + static mut DEVICE_COUNT: u16 = 1;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `pid` should have an upper case name
[INFO] [stdout]   --> src/emu/cpu/pe.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 59 | static mut pid: u16 = 1;
[INFO] [stdout]    |            ^^^ help: convert the identifier to upper case: `PID`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `pid` should have an upper case name
[INFO] [stdout]    --> src/emu/cpu/pe.rs:231:20
[INFO] [stdout]     |
[INFO] [stdout] 231 |         static mut pid: u16 = 0;
[INFO] [stdout]     |                    ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]     |
[INFO] [stdout] 231 -         static mut pid: u16 = 0;
[INFO] [stdout] 231 +         static mut PID: u16 = 0;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `K` should have a snake case name
[INFO] [stdout]    --> src/emu/cpu/pe.rs:353:19
[INFO] [stdout]     |
[INFO] [stdout] 353 |             CPI(r,K) => { todo!() },
[INFO] [stdout]     |                   ^ help: convert the identifier to snake case (notice the capitalization): `k`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `InstructionTable`, `InstructionType`, and `types::Value`
[INFO] [stdout]  --> src/bin/bdvm.rs:5:103
[INFO] [stdout]   |
[INFO] [stdout] 5 | ..., emu::cpu::{Register, isa::{Instruction, InstructionTable, InstructionType}}, types::Value};
[INFO] [stdout]   |                                              ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^    ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deref`
[INFO] [stdout]  --> src/emu/cpu/register.rs:4:33
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ops::{Index, IndexMut, Deref};
[INFO] [stdout]   |                                 ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ToPrimitive`
[INFO] [stdout]  --> src/emu/cpu/register.rs:8:33
[INFO] [stdout]   |
[INFO] [stdout] 8 | use num_traits::{FromPrimitive, ToPrimitive};
[INFO] [stdout]   |                                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `SREG_MASK` should have an upper camel case name
[INFO] [stdout]   --> src/emu/cpu/register.rs:32:10
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub enum SREG_MASK {
[INFO] [stdout]    |          ^^^^^^^^^ help: convert the identifier to upper camel case: `SregMask`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `PE_ID` should have an upper camel case name
[INFO] [stdout]   --> src/emu/cpu/register.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 68 |     PE_ID, CU_ID, CG_ID, DEVICE_ID,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `PeId`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `CU_ID` should have an upper camel case name
[INFO] [stdout]   --> src/emu/cpu/register.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 68 |     PE_ID, CU_ID, CG_ID, DEVICE_ID,
[INFO] [stdout]    |            ^^^^^ help: convert the identifier to upper camel case: `CuId`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `CG_ID` should have an upper camel case name
[INFO] [stdout]   --> src/emu/cpu/register.rs:68:19
[INFO] [stdout]    |
[INFO] [stdout] 68 |     PE_ID, CU_ID, CG_ID, DEVICE_ID,
[INFO] [stdout]    |                   ^^^^^ help: convert the identifier to upper camel case: `CgId`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `DEVICE_ID` should have an upper camel case name
[INFO] [stdout]   --> src/emu/cpu/register.rs:68:26
[INFO] [stdout]    |
[INFO] [stdout] 68 |     PE_ID, CU_ID, CG_ID, DEVICE_ID,
[INFO] [stdout]    |                          ^^^^^^^^^ help: convert the identifier to upper camel case: `DeviceId`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FromPrimitive` and `ToPrimitive`
[INFO] [stdout]   --> src/emu/cpu/isa.rs:30:18
[INFO] [stdout]    |
[INFO] [stdout] 30 | use num_traits::{FromPrimitive, ToPrimitive};
[INFO] [stdout]    |                  ^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `types`
[INFO] [stdout]    --> src/emu/cpu/isa.rs:121:62
[INFO] [stdout]     |
[INFO] [stdout] 121 |     use crate::{emu::{Register, isa::{valid_u16, valid_u8}}, types};
[INFO] [stdout]     |                                                              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `code` should have an upper camel case name
[INFO] [stdout]    --> src/emu/cpu/isa.rs:128:14
[INFO] [stdout]     |
[INFO] [stdout] 128 |     pub enum code {
[INFO] [stdout]     |              ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]    --> src/emu/cpu/isa.rs:367:39
[INFO] [stdout]     |
[INFO] [stdout] 367 | use std::{collections::HashMap, fmt::{Error, Display}, str::FromStr};
[INFO] [stdout]     |                                       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `regex::internal::Inst`
[INFO] [stdout]   --> src/emu/cpu/pe.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use regex::internal::Inst;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FLASH_MAX`
[INFO] [stdout]   --> src/emu/cpu/pe.rs:14:60
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::emu::{INSTRUCTIONS_MAX, SRAM_MAX, L2_CACHE_MAX, FLASH_MAX};
[INFO] [stdout]    |                                                            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MASK_EXT`, `MASK_OP`, `MASK_RD`, `MASK_RS`, and `MASK_XD`
[INFO] [stdout]   --> src/emu/cpu/pe.rs:20:52
[INFO] [stdout]    |
[INFO] [stdout] 20 | use super::isa::{ISA, Instruction, Instruction::*, MASK_OP, MASK_RD, MASK_RS, MASK_EXT, MASK_XD, op, };
[INFO] [stdout]    |                                                    ^^^^^^^  ^^^^^^^  ^^^^^^^  ^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `addr_t`
[INFO] [stdout]   --> src/emu/code.rs:12:83
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::types::{from_byte_code::FromByteCode,to_byte_code::ToByteCode, code_t, addr_t, table::Table};
[INFO] [stdout]    |                                                                                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufRead` and `BufReader`
[INFO] [stdout]    --> src/emu/builder.rs:140:26
[INFO] [stdout]     |
[INFO] [stdout] 140 |     use std::io::{Write, BufReader, BufRead, Error};
[INFO] [stdout]     |                          ^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/isa.rs:177:38
[INFO] [stdout]     |
[INFO] [stdout] 177 |         pub fn to_instruction(&self, args: &[u16]) -> Instruction {
[INFO] [stdout]     |                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/emu/cpu/isa.rs:240:17
[INFO] [stdout]     |
[INFO] [stdout] 240 |                 _ => Instruction::UnknownOp(args[0].parse::<u16>().unwrap()),
[INFO] [stdout]     |                 ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/emu/cpu/isa.rs:240:17
[INFO] [stdout]     |
[INFO] [stdout] 184 |                 code::ADD   => Instruction::ADD(Register::from(args[1]), Register::from(args[2])),
[INFO] [stdout]     |                 --------- matches some of the same values
[INFO] [stdout] 185 |                 code::ADDI  => Instruction::ADDI(Register::from(args[1]), valid_u16(args[2])),
[INFO] [stdout]     |                 ---------- matches some of the same values
[INFO] [stdout] 186 |                 code::AND   => Instruction::AND(Register::from(args[1]), Register::from(args[2])),
[INFO] [stdout]     |                 --------- matches some of the same values
[INFO] [stdout] 187 |                 code::ASR   => Instruction::ASR(Register::from(args[1])),
[INFO] [stdout]     |                 --------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 240 |                 _ => Instruction::UnknownOp(args[0].parse::<u16>().unwrap()),
[INFO] [stdout]     |                 ^ ...and 51 other patterns collectively make this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rd`
[INFO] [stdout]    --> src/emu/cpu/isa.rs:594:17
[INFO] [stdout]     |
[INFO] [stdout] 594 |             CPI(rd, i) => todo!(),
[INFO] [stdout]     |                 ^^ help: if this is intentional, prefix it with an underscore: `_rd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/emu/cpu/isa.rs:594:21
[INFO] [stdout]     |
[INFO] [stdout] 594 |             CPI(rd, i) => todo!(),
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/emu/cpu/isa.rs:829:13
[INFO] [stdout]     |
[INFO] [stdout] 829 |             _ => format!("??")
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/emu/cpu/isa.rs:829:13
[INFO] [stdout]     |
[INFO] [stdout] 773 |             Instruction::ADD(rd,rs) => format!("ADD {:?}, {:?}",rd,rs),
[INFO] [stdout]     |             ----------------------- matches some of the same values
[INFO] [stdout] 774 |             Instruction::ADDI(rd,imm) => format!("ADDI {:?}, {imm}",rd),
[INFO] [stdout]     |             ------------------------- matches some of the same values
[INFO] [stdout] 775 |             Instruction::AND(rd,rs) => format!("AND {:?}, {:?}",rd,rs),
[INFO] [stdout]     |             ----------------------- matches some of the same values
[INFO] [stdout] 776 |             Instruction::ASR(rd) => format!("ASR {:?}", rd),
[INFO] [stdout]     |             -------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 829 |             _ => format!("??")
[INFO] [stdout]     |             ^ ...and 52 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instr`
[INFO] [stdout]    --> src/emu/cpu/isa.rs:919:30
[INFO] [stdout]     |
[INFO] [stdout] 919 |     pub fn insert(&mut self, instr: Instruction) {
[INFO] [stdout]     |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instr`
[INFO] [stdout]    --> src/emu/cpu/isa.rs:929:17
[INFO] [stdout]     |
[INFO] [stdout] 929 |             let instr = &self.0[key];
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/emu/cpu/isa.rs:927:13
[INFO] [stdout]     |
[INFO] [stdout] 927 |         let mut result = vec![];
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `instr` is never read
[INFO] [stdout]   --> src/emu/cpu/pe.rs:99:21
[INFO] [stdout]    |
[INFO] [stdout] 99 |             let mut instr = Instruction::UnknownOp(code);
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/emu/cpu/pe.rs:265:13
[INFO] [stdout]     |
[INFO] [stdout] 265 |         let mut code = &mut builder.instructions.clone();
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/emu/cpu/pe.rs:268:13
[INFO] [stdout]     |
[INFO] [stdout] 268 |         let mut data = &mut builder.data.clone();
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instr`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:285:22
[INFO] [stdout]     |
[INFO] [stdout] 285 |     fn encode(&self, instr: Instruction) -> code_t {
[INFO] [stdout]     |                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `opcode`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:289:13
[INFO] [stdout]     |
[INFO] [stdout] 289 |         let opcode = self.get_opcode(instr);
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_opcode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imm`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:326:18
[INFO] [stdout]     |
[INFO] [stdout] 326 |             BREQ(imm) => { todo!() },
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_imm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imm`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:327:18
[INFO] [stdout]     |
[INFO] [stdout] 327 |             BRGE(imm) => { todo!() },
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_imm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imm`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:329:18
[INFO] [stdout]     |
[INFO] [stdout] 329 |             BRLO(imm) => { todo!() },
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_imm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imm`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:330:18
[INFO] [stdout]     |
[INFO] [stdout] 330 |             BRLT(imm) => { todo!() },
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_imm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imm`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:331:18
[INFO] [stdout]     |
[INFO] [stdout] 331 |             BRNE(imm) => { todo!() },
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_imm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imm`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:332:18
[INFO] [stdout]     |
[INFO] [stdout] 332 |             BRSH(imm) => { todo!() },
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_imm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:345:18
[INFO] [stdout]     |
[INFO] [stdout] 345 |             CBIO(addr,bit) => { todo!() },
[INFO] [stdout]     |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bit`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:345:23
[INFO] [stdout]     |
[INFO] [stdout] 345 |             CBIO(addr,bit) => { todo!() },
[INFO] [stdout]     |                       ^^^ help: if this is intentional, prefix it with an underscore: `_bit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:346:17
[INFO] [stdout]     |
[INFO] [stdout] 346 |             CBR(r,v) => { todo!() },
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:346:19
[INFO] [stdout]     |
[INFO] [stdout] 346 |             CBR(r,v) => { todo!() },
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:347:17
[INFO] [stdout]     |
[INFO] [stdout] 347 |             CLR(r) => { todo!() },
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:353:17
[INFO] [stdout]     |
[INFO] [stdout] 353 |             CPI(r,K) => { todo!() },
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `K`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:353:19
[INFO] [stdout]     |
[INFO] [stdout] 353 |             CPI(r,K) => { todo!() },
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_K`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rd`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:354:18
[INFO] [stdout]     |
[INFO] [stdout] 354 |             CPSE(rd,rs) => { todo!() },
[INFO] [stdout]     |                  ^^ help: if this is intentional, prefix it with an underscore: `_rd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rs`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:354:21
[INFO] [stdout]     |
[INFO] [stdout] 354 |             CPSE(rd,rs) => { todo!() },
[INFO] [stdout]     |                     ^^ help: if this is intentional, prefix it with an underscore: `_rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rd`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:377:16
[INFO] [stdout]     |
[INFO] [stdout] 377 |             IN(rd, imm) => { todo!()},
[INFO] [stdout]     |                ^^ help: if this is intentional, prefix it with an underscore: `_rd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imm`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:377:20
[INFO] [stdout]     |
[INFO] [stdout] 377 |             IN(rd, imm) => { todo!()},
[INFO] [stdout]     |                    ^^^ help: if this is intentional, prefix it with an underscore: `_imm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imm`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:466:19
[INFO] [stdout]     |
[INFO] [stdout] 466 |             RCALL(imm) => { todo!() },
[INFO] [stdout]     |                   ^^^ help: if this is intentional, prefix it with an underscore: `_imm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imm`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:471:18
[INFO] [stdout]     |
[INFO] [stdout] 471 |             RJMP(imm) => { todo!(); },
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_imm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:472:18
[INFO] [stdout]     |
[INFO] [stdout] 472 |             SBIO(addr, bit) => {
[INFO] [stdout]     |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bit`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:472:24
[INFO] [stdout]     |
[INFO] [stdout] 472 |             SBIO(addr, bit) => {
[INFO] [stdout]     |                        ^^^ help: if this is intentional, prefix it with an underscore: `_bit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rd`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:480:17
[INFO] [stdout]     |
[INFO] [stdout] 480 |             SET(rd) => {todo!();},
[INFO] [stdout]     |                 ^^ help: if this is intentional, prefix it with an underscore: `_rd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:515:20
[INFO] [stdout]     |
[INFO] [stdout] 515 |     fn halt(&self, args: &[u16]) {
[INFO] [stdout]     |                    ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:518:19
[INFO] [stdout]     |
[INFO] [stdout] 518 |     fn brk(&self, args: &[u16]) {
[INFO] [stdout]     |                   ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rd`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:529:13
[INFO] [stdout]     |
[INFO] [stdout] 529 |         let rd = Register::from_u16(args[0]).unwrap();
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_rd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:547:24
[INFO] [stdout]     |
[INFO] [stdout] 547 |     fn call(&mut self, args: &[code_t]) {
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:551:24
[INFO] [stdout]     |
[INFO] [stdout] 551 |     fn cbio(&mut self, args: &[code_t]) { 
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rd`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:561:13
[INFO] [stdout]     |
[INFO] [stdout] 561 |         let rd = Register::from_u16(args[0]).unwrap();
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_rd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:588:23
[INFO] [stdout]     |
[INFO] [stdout] 588 |     fn jmp(&mut self, args: &[code_t]) {
[INFO] [stdout]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:637:23
[INFO] [stdout]     |
[INFO] [stdout] 637 |     fn nor(&mut self, args: &[code_t]) {
[INFO] [stdout]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:641:23
[INFO] [stdout]     |
[INFO] [stdout] 641 |     fn ret(&mut self, args: &[code_t]) {
[INFO] [stdout]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:645:24
[INFO] [stdout]     |
[INFO] [stdout] 645 |     fn sbio(&mut self, args: &[code_t]) {
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:649:23
[INFO] [stdout]     |
[INFO] [stdout] 649 |     fn sbr(&mut self, args: &[code_t]) {
[INFO] [stdout]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:653:22
[INFO] [stdout]     |
[INFO] [stdout] 653 |     fn st(&mut self, args: &[code_t]) {
[INFO] [stdout]     |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:657:23
[INFO] [stdout]     |
[INFO] [stdout] 657 |     fn std(&mut self, args: &[code_t]) {
[INFO] [stdout]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:661:23
[INFO] [stdout]     |
[INFO] [stdout] 661 |     fn stp(&mut self, args: &[code_t]) {
[INFO] [stdout]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:695:23
[INFO] [stdout]     |
[INFO] [stdout] 695 |     fn nop(&mut self, args: &[u16]) {
[INFO] [stdout]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:701:23
[INFO] [stdout]     |
[INFO] [stdout] 701 |     fn cli(&mut self, args: &[code_t]) {
[INFO] [stdout]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/emu/cpu/pe.rs:706:23
[INFO] [stdout]     |
[INFO] [stdout] 706 |     fn sei(&mut self, args: &[code_t]) {
[INFO] [stdout]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `code`
[INFO] [stdout]   --> src/emu/cpu/cu.rs:46:35
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub fn assign_work(&mut self, code: Vec<addr_t>) {
[INFO] [stdout]    |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/emu/cpu/cmp.rs:62:17
[INFO] [stdout]    |
[INFO] [stdout] 62 |             let mut cg = ComputeGroup::new(CPU_CORES,Rc::clone(&cache),t,(id, n as u16));
[INFO] [stdout]    |                 ----^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `opcode`
[INFO] [stdout]   --> src/emu/code.rs:96:17
[INFO] [stdout]    |
[INFO] [stdout] 96 |             let opcode = self.code[ip];
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_opcode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `symbol`
[INFO] [stdout]    --> src/emu/code.rs:100:17
[INFO] [stdout]     |
[INFO] [stdout] 100 |             for symbol in self.symbols() {
[INFO] [stdout]     |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]    --> src/emu/builder.rs:105:32
[INFO] [stdout]     |
[INFO] [stdout] 105 |     fn to_byte_code(&self, mut buf: &mut dyn Write) {
[INFO] [stdout]     |                                ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/emu/builder.rs:105:28
[INFO] [stdout]     |
[INFO] [stdout] 105 |     fn to_byte_code(&self, mut buf: &mut dyn Write) {
[INFO] [stdout]     |                            ----^^^
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `code`
[INFO] [stdout]  --> src/asm/mod.rs:8:25
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn assemble_to_file(code: &str) -> OsString {
[INFO] [stdout]   |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GPIO_REG_MAX` is never used
[INFO] [stdout]   --> src/emu/cpu/register.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 | const GPIO_REG_MAX: usize = 16;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `iter` and `next_invalid` are never read
[INFO] [stdout]    --> src/emu/cpu/isa.rs:941:52
[INFO] [stdout]     |
[INFO] [stdout] 941 | pub struct DecodedIterator<T: Iterator<Item=u8>> { iter: T, next_invalid: bool }
[INFO] [stdout]     |            --------------- fields in this struct   ^^^^     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `pid` is never used
[INFO] [stdout]   --> src/emu/cpu/pe.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 59 | static mut pid: u16 = 1;
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `pc`, `mp`, `bp`, and `sreg` are never used
[INFO] [stdout]    --> src/emu/cpu/pe.rs:240:8
[INFO] [stdout]     |
[INFO] [stdout]  60 | impl ProcessingElement {
[INFO] [stdout]     | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 240 |     fn pc(&self) -> addr_t { self.registers[Register::PC] }
[INFO] [stdout]     |        ^^
[INFO] [stdout] 241 |     #[inline(always)]
[INFO] [stdout] 242 |     fn mp(&self) -> addr_t { self.registers[Register::MP] }
[INFO] [stdout]     |        ^^
[INFO] [stdout] 243 |     #[inline(always)]
[INFO] [stdout] 244 |     fn bp(&self) -> addr_t { self.registers[Register::BP] }
[INFO] [stdout]     |        ^^
[INFO] [stdout] ...
[INFO] [stdout] 248 |     fn sreg(&mut self) -> &mut register_t { &mut self.registers[Register::SREG] }
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_string` is never used
[INFO] [stdout]    --> src/emu/code.rs:244:4
[INFO] [stdout]     |
[INFO] [stdout] 244 | fn read_string(mut buf: &mut dyn Read) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `push_data` is never used
[INFO] [stdout]   --> src/emu/builder.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl Builder {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 45 |     fn push_data(&mut self, data: addr_t) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `device_count` should have an upper case name
[INFO] [stdout]    --> src/emu/cpu/mod.rs:197:12
[INFO] [stdout]     |
[INFO] [stdout] 197 | static mut device_count: u16 = 1;
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]     |
[INFO] [stdout] 197 - static mut device_count: u16 = 1;
[INFO] [stdout] 197 + static mut DEVICE_COUNT: u16 = 1;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `pid` should have an upper case name
[INFO] [stdout]   --> src/emu/cpu/pe.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 59 | static mut pid: u16 = 1;
[INFO] [stdout]    |            ^^^ help: convert the identifier to upper case: `PID`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `pid` should have an upper case name
[INFO] [stdout]    --> src/emu/cpu/pe.rs:231:20
[INFO] [stdout]     |
[INFO] [stdout] 231 |         static mut pid: u16 = 0;
[INFO] [stdout]     |                    ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]     |
[INFO] [stdout] 231 -         static mut pid: u16 = 0;
[INFO] [stdout] 231 +         static mut PID: u16 = 0;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `K` should have a snake case name
[INFO] [stdout]    --> src/emu/cpu/pe.rs:353:19
[INFO] [stdout]     |
[INFO] [stdout] 353 |             CPI(r,K) => { todo!() },
[INFO] [stdout]     |                   ^ help: convert the identifier to snake case (notice the capitalization): `k`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/emu/builder.rs:167:9
[INFO] [stdout]     |
[INFO] [stdout] 167 |         write!(fl, "LDI R0, 100\nLDI R1, 23\nADD R0, R1");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 167 |         let _ = write!(fl, "LDI R0, 100\nLDI R1, 23\nADD R0, R1");
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.31s
[INFO] running `Command { std: "docker" "inspect" "b95c083c1961e743f9d3352094ebe8c93fa0f99262364a6b19e80fb35bf99452", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b95c083c1961e743f9d3352094ebe8c93fa0f99262364a6b19e80fb35bf99452", kill_on_drop: false }`
[INFO] [stdout] b95c083c1961e743f9d3352094ebe8c93fa0f99262364a6b19e80fb35bf99452
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] f30190b1f4e422844c74317aeead4df09d5badf8dc36f7525b9993072a724fb3
[INFO] running `Command { std: "docker" "start" "-a" "f30190b1f4e422844c74317aeead4df09d5badf8dc36f7525b9993072a724fb3", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `Deref`
[INFO] [stderr]  --> src/emu/cpu/register.rs:4:33
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::ops::{Index, IndexMut, Deref};
[INFO] [stderr]   |                                 ^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `ToPrimitive`
[INFO] [stderr]  --> src/emu/cpu/register.rs:8:33
[INFO] [stderr]   |
[INFO] [stderr] 8 | use num_traits::{FromPrimitive, ToPrimitive};
[INFO] [stderr]   |                                 ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: type `SREG_MASK` should have an upper camel case name
[INFO] [stderr]   --> src/emu/cpu/register.rs:32:10
[INFO] [stderr]    |
[INFO] [stderr] 32 | pub enum SREG_MASK {
[INFO] [stderr]    |          ^^^^^^^^^ help: convert the identifier to upper camel case: `SregMask`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variant `PE_ID` should have an upper camel case name
[INFO] [stderr]   --> src/emu/cpu/register.rs:68:5
[INFO] [stderr]    |
[INFO] [stderr] 68 |     PE_ID, CU_ID, CG_ID, DEVICE_ID,
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `PeId`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `CU_ID` should have an upper camel case name
[INFO] [stderr]   --> src/emu/cpu/register.rs:68:12
[INFO] [stderr]    |
[INFO] [stderr] 68 |     PE_ID, CU_ID, CG_ID, DEVICE_ID,
[INFO] [stderr]    |            ^^^^^ help: convert the identifier to upper camel case: `CuId`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `CG_ID` should have an upper camel case name
[INFO] [stderr]   --> src/emu/cpu/register.rs:68:19
[INFO] [stderr]    |
[INFO] [stderr] 68 |     PE_ID, CU_ID, CG_ID, DEVICE_ID,
[INFO] [stderr]    |                   ^^^^^ help: convert the identifier to upper camel case: `CgId`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `DEVICE_ID` should have an upper camel case name
[INFO] [stderr]   --> src/emu/cpu/register.rs:68:26
[INFO] [stderr]    |
[INFO] [stderr] 68 |     PE_ID, CU_ID, CG_ID, DEVICE_ID,
[INFO] [stderr]    |                          ^^^^^^^^^ help: convert the identifier to upper camel case: `DeviceId`
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `FromPrimitive` and `ToPrimitive`
[INFO] [stderr]   --> src/emu/cpu/isa.rs:30:18
[INFO] [stderr]    |
[INFO] [stderr] 30 | use num_traits::{FromPrimitive, ToPrimitive};
[INFO] [stderr]    |                  ^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `types`
[INFO] [stderr]    --> src/emu/cpu/isa.rs:121:62
[INFO] [stderr]     |
[INFO] [stderr] 121 |     use crate::{emu::{Register, isa::{valid_u16, valid_u8}}, types};
[INFO] [stderr]     |                                                              ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: type `code` should have an upper camel case name
[INFO] [stderr]    --> src/emu/cpu/isa.rs:128:14
[INFO] [stderr]     |
[INFO] [stderr] 128 |     pub enum code {
[INFO] [stderr]     |              ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Code`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Error`
[INFO] [stderr]    --> src/emu/cpu/isa.rs:367:39
[INFO] [stderr]     |
[INFO] [stderr] 367 | use std::{collections::HashMap, fmt::{Error, Display}, str::FromStr};
[INFO] [stderr]     |                                       ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `regex::internal::Inst`
[INFO] [stderr]   --> src/emu/cpu/pe.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use regex::internal::Inst;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `FLASH_MAX`
[INFO] [stderr]   --> src/emu/cpu/pe.rs:14:60
[INFO] [stderr]    |
[INFO] [stderr] 14 | use crate::emu::{INSTRUCTIONS_MAX, SRAM_MAX, L2_CACHE_MAX, FLASH_MAX};
[INFO] [stderr]    |                                                            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `MASK_EXT`, `MASK_OP`, `MASK_RD`, `MASK_RS`, and `MASK_XD`
[INFO] [stderr]   --> src/emu/cpu/pe.rs:20:52
[INFO] [stderr]    |
[INFO] [stderr] 20 | use super::isa::{ISA, Instruction, Instruction::*, MASK_OP, MASK_RD, MASK_RS, MASK_EXT, MASK_XD, op, };
[INFO] [stderr]    |                                                    ^^^^^^^  ^^^^^^^  ^^^^^^^  ^^^^^^^^  ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `addr_t`
[INFO] [stderr]   --> src/emu/code.rs:12:83
[INFO] [stderr]    |
[INFO] [stderr] 12 | use crate::types::{from_byte_code::FromByteCode,to_byte_code::ToByteCode, code_t, addr_t, table::Table};
[INFO] [stderr]    |                                                                                   ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `args`
[INFO] [stderr]    --> src/emu/cpu/isa.rs:177:38
[INFO] [stderr]     |
[INFO] [stderr] 177 |         pub fn to_instruction(&self, args: &[u16]) -> Instruction {
[INFO] [stderr]     |                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]    --> src/emu/cpu/isa.rs:240:17
[INFO] [stderr]     |
[INFO] [stderr] 240 |                 _ => Instruction::UnknownOp(args[0].parse::<u16>().unwrap()),
[INFO] [stderr]     |                 ^ no value can reach this
[INFO] [stderr]     |
[INFO] [stderr] note: multiple earlier patterns match some of the same values
[INFO] [stderr]    --> src/emu/cpu/isa.rs:240:17
[INFO] [stderr]     |
[INFO] [stderr] 184 |                 code::ADD   => Instruction::ADD(Register::from(args[1]), Register::from(args[2])),
[INFO] [stderr]     |                 --------- matches some of the same values
[INFO] [stderr] 185 |                 code::ADDI  => Instruction::ADDI(Register::from(args[1]), valid_u16(args[2])),
[INFO] [stderr]     |                 ---------- matches some of the same values
[INFO] [stderr] 186 |                 code::AND   => Instruction::AND(Register::from(args[1]), Register::from(args[2])),
[INFO] [stderr]     |                 --------- matches some of the same values
[INFO] [stderr] 187 |                 code::ASR   => Instruction::ASR(Register::from(args[1])),
[INFO] [stderr]     |                 --------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 240 |                 _ => Instruction::UnknownOp(args[0].parse::<u16>().unwrap()),
[INFO] [stderr]     |                 ^ ...and 51 other patterns collectively make this unreachable
[INFO] [stderr]     = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `rd`
[INFO] [stderr]    --> src/emu/cpu/isa.rs:594:17
[INFO] [stderr]     |
[INFO] [stderr] 594 |             CPI(rd, i) => todo!(),
[INFO] [stderr]     |                 ^^ help: if this is intentional, prefix it with an underscore: `_rd`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]    --> src/emu/cpu/isa.rs:594:21
[INFO] [stderr]     |
[INFO] [stderr] 594 |             CPI(rd, i) => todo!(),
[INFO] [stderr]     |                     ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]    --> src/emu/cpu/isa.rs:829:13
[INFO] [stderr]     |
[INFO] [stderr] 829 |             _ => format!("??")
[INFO] [stderr]     |             ^ no value can reach this
[INFO] [stderr]     |
[INFO] [stderr] note: multiple earlier patterns match some of the same values
[INFO] [stderr]    --> src/emu/cpu/isa.rs:829:13
[INFO] [stderr]     |
[INFO] [stderr] 773 |             Instruction::ADD(rd,rs) => format!("ADD {:?}, {:?}",rd,rs),
[INFO] [stderr]     |             ----------------------- matches some of the same values
[INFO] [stderr] 774 |             Instruction::ADDI(rd,imm) => format!("ADDI {:?}, {imm}",rd),
[INFO] [stderr]     |             ------------------------- matches some of the same values
[INFO] [stderr] 775 |             Instruction::AND(rd,rs) => format!("AND {:?}, {:?}",rd,rs),
[INFO] [stderr]     |             ----------------------- matches some of the same values
[INFO] [stderr] 776 |             Instruction::ASR(rd) => format!("ASR {:?}", rd),
[INFO] [stderr]     |             -------------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 829 |             _ => format!("??")
[INFO] [stderr]     |             ^ ...and 52 other patterns collectively make this unreachable
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `instr`
[INFO] [stderr]    --> src/emu/cpu/isa.rs:919:30
[INFO] [stderr]     |
[INFO] [stderr] 919 |     pub fn insert(&mut self, instr: Instruction) {
[INFO] [stderr]     |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `instr`
[INFO] [stderr]    --> src/emu/cpu/isa.rs:929:17
[INFO] [stderr]     |
[INFO] [stderr] 929 |             let instr = &self.0[key];
[INFO] [stderr]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/emu/cpu/isa.rs:927:13
[INFO] [stderr]     |
[INFO] [stderr] 927 |         let mut result = vec![];
[INFO] [stderr]     |             ----^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `instr` is never read
[INFO] [stderr]   --> src/emu/cpu/pe.rs:99:21
[INFO] [stderr]    |
[INFO] [stderr] 99 |             let mut instr = Instruction::UnknownOp(code);
[INFO] [stderr]    |                     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/emu/cpu/pe.rs:265:13
[INFO] [stderr]     |
[INFO] [stderr] 265 |         let mut code = &mut builder.instructions.clone();
[INFO] [stderr]     |             ----^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/emu/cpu/pe.rs:268:13
[INFO] [stderr]     |
[INFO] [stderr] 268 |         let mut data = &mut builder.data.clone();
[INFO] [stderr]     |             ----^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `instr`
[INFO] [stderr]    --> src/emu/cpu/pe.rs:285:22
[INFO] [stderr]     |
[INFO] [stderr] 285 |     fn encode(&self, instr: Instruction) -> code_t {
[INFO] [stderr]     |                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `opcode`
[INFO] [stderr]    --> src/emu/cpu/pe.rs:289:13
[INFO] [stderr]     |
[INFO] [stderr] 289 |         let opcode = self.get_opcode(instr);
[INFO] [stderr]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_opcode`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `imm`
[INFO] [stderr]    --> src/emu/cpu/pe.rs:326:18
[INFO] [stderr]     |
[INFO] [stderr] 326 |             BREQ(imm) => { todo!() },
[INFO] [stderr]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_imm`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `imm`
[INFO] [stderr]    --> src/emu/cpu/pe.rs:327:18
[INFO] [stderr]     |
[INFO] [stderr] 327 |             BRGE(imm) => { todo!() },
[INFO] [stderr]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_imm`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `imm`
[INFO] [stderr]    --> src/emu/cpu/pe.rs:329:18
[INFO] [stderr]     |
[INFO] [stderr] 329 |             BRLO(imm) => { todo!() },
[INFO] [stderr]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_imm`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `imm`
[INFO] [stderr]    --> src/emu/cpu/pe.rs:330:18
[INFO] [stderr]     |
[INFO] [stderr] 330 |             BRLT(imm) => { todo!() },
[INFO] [stderr]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_imm`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `imm`
[INFO] [stderr]    --> src/emu/cpu/pe.rs:331:18
[INFO] [stderr]     |
[INFO] [stderr] 331 |             BRNE(imm) => { todo!() },
[INFO] [stderr]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_imm`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `imm`
[INFO] [stderr]    --> src/emu/cpu/pe.rs:332:18
[INFO] [stderr]     |
[INFO] [stderr] 332 |             BRSH(imm) => { todo!() },
[INFO] [stderr]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_imm`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `addr`
[INFO] [stderr]    --> src/emu/cpu/pe.rs:345:18
[INFO] [stderr]     |
[INFO] [stderr] 345 |             CBIO(addr,bit) => { todo!() },
[INFO] [stderr]     |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `bit`
[INFO] [stderr]    --> src/emu/cpu/pe.rs:345:23
[INFO] [stderr]     |
[INFO] [stderr] 345 |             CBIO(addr,bit) => { todo!() },
[INFO] [stderr]     |                       ^^^ help: if this is intentional, prefix it with an underscore: `_bit`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `r`
[INFO] [stderr]    --> src/emu/cpu/pe.rs:346:17
[INFO] [stderr]     |
[INFO] [stderr] 346 |             CBR(r,v) => { todo!() },
[INFO] [stderr]     |                 ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `v`
[INFO] [stderr]    --> src/emu/cpu/pe.rs:346:19
[INFO] [stderr]     |
[INFO] [stderr] 346 |             CBR(r,v) => { todo!() },
[INFO] [stderr]     |                   ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `r`
[INFO] [stderr]    --> src/emu/cpu/pe.rs:347:17
[INFO] [stderr]     |
[INFO] [stderr] 347 |             CLR(r) => { todo!() },
[INFO] [stderr]     |                 ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `r`
[INFO] [stderr]    --> src/emu/cpu/pe.rs:353:17
[INFO] [stderr]     |
[INFO] [stderr] 353 |             CPI(r,K) => { todo!() },
[INFO] [stderr]     |                 ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `K`
[INFO] [stderr]    --> src/emu/cpu/pe.rs:353:19
[INFO] [stderr]     |
[INFO] [stderr] 353 |             CPI(r,K) => { todo!() },
[INFO] [stderr]     |                   ^ help: if this is intentional, prefix it with an underscore: `_K`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `rd`
[INFO] [stderr]    --> src/emu/cpu/pe.rs:354:18
[INFO] [stderr]     |
[INFO] [stderr] 354 |             CPSE(rd,rs) => { todo!() },
[INFO] [stderr]     |                  ^^ help: if this is intentional, prefix it with an underscore: `_rd`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `rs`
[INFO] [stderr]    --> src/emu/cpu/pe.rs:354:21
[INFO] [stderr]     |
[INFO] [stderr] 354 |             CPSE(rd,rs) => { todo!() },
[INFO] [stderr]     |                     ^^ help: if this is intentional, prefix it with an underscore: `_rs`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `rd`
[INFO] [stderr]    --> src/emu/cpu/pe.rs:377:16
[INFO] [stderr]     |
[INFO] [stderr] 377 |             IN(rd, imm) => { todo!()},
[INFO] [stderr]     |                ^^ help: if this is intentional, prefix it with an underscore: `_rd`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `imm`
[INFO] [stderr]    --> src/emu/cpu/pe.rs:377:20
[INFO] [stderr]     |
[INFO] [stderr] 377 |             IN(rd, imm) => { todo!()},
[INFO] [stderr]     |                    ^^^ help: if this is intentional, prefix it with an underscore: `_imm`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `imm`
[INFO] [stderr]    --> src/emu/cpu/pe.rs:466:19
[INFO] [stderr]     |
[INFO] [stderr] 466 |             RCALL(imm) => { todo!() },
[INFO] [stderr]     |                   ^^^ help: if this is intentional, prefix it with an underscore: `_imm`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `imm`
[INFO] [stderr]    --> src/emu/cpu/pe.rs:471:18
[INFO] [stderr]     |
[INFO] [stderr] 471 |             RJMP(imm) => { todo!(); },
[INFO] [stderr]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_imm`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `addr`
[INFO] [stderr]    --> src/emu/cpu/pe.rs:472:18
[INFO] [stderr]     |
[INFO] [stderr] 472 |             SBIO(addr, bit) => {
[INFO] [stderr]     |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `bit`
[INFO] [stderr]    --> src/emu/cpu/pe.rs:472:24
[INFO] [stderr]     |
[INFO] [stderr] 472 |             SBIO(addr, bit) => {
[INFO] [stderr]     |                        ^^^ help: if this is intentional, prefix it with an underscore: `_bit`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `rd`
[INFO] [stderr]    --> src/emu/cpu/pe.rs:480:17
[INFO] [stderr]     |
[INFO] [stderr] 480 |             SET(rd) => {todo!();},
[INFO] [stderr]     |                 ^^ help: if this is intentional, prefix it with an underscore: `_rd`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `args`
[INFO] [stderr]    --> src/emu/cpu/pe.rs:515:20
[INFO] [stderr]     |
[INFO] [stderr] 515 |     fn halt(&self, args: &[u16]) {
[INFO] [stderr]     |                    ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `args`
[INFO] [stderr]    --> src/emu/cpu/pe.rs:518:19
[INFO] [stderr]     |
[INFO] [stderr] 518 |     fn brk(&self, args: &[u16]) {
[INFO] [stderr]     |                   ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `rd`
[INFO] [stderr]    --> src/emu/cpu/pe.rs:529:13
[INFO] [stderr]     |
[INFO] [stderr] 529 |         let rd = Register::from_u16(args[0]).unwrap();
[INFO] [stderr]     |             ^^ help: if this is intentional, prefix it with an underscore: `_rd`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `args`
[INFO] [stderr]    --> src/emu/cpu/pe.rs:547:24
[INFO] [stderr]     |
[INFO] [stderr] 547 |     fn call(&mut self, args: &[code_t]) {
[INFO] [stderr]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `args`
[INFO] [stderr]    --> src/emu/cpu/pe.rs:551:24
[INFO] [stderr]     |
[INFO] [stderr] 551 |     fn cbio(&mut self, args: &[code_t]) { 
[INFO] [stderr]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `rd`
[INFO] [stderr]    --> src/emu/cpu/pe.rs:561:13
[INFO] [stderr]     |
[INFO] [stderr] 561 |         let rd = Register::from_u16(args[0]).unwrap();
[INFO] [stderr]     |             ^^ help: if this is intentional, prefix it with an underscore: `_rd`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `args`
[INFO] [stderr]    --> src/emu/cpu/pe.rs:588:23
[INFO] [stderr]     |
[INFO] [stderr] 588 |     fn jmp(&mut self, args: &[code_t]) {
[INFO] [stderr]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `args`
[INFO] [stderr]    --> src/emu/cpu/pe.rs:637:23
[INFO] [stderr]     |
[INFO] [stderr] 637 |     fn nor(&mut self, args: &[code_t]) {
[INFO] [stderr]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `args`
[INFO] [stderr]    --> src/emu/cpu/pe.rs:641:23
[INFO] [stderr]     |
[INFO] [stderr] 641 |     fn ret(&mut self, args: &[code_t]) {
[INFO] [stderr]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `args`
[INFO] [stderr]    --> src/emu/cpu/pe.rs:645:24
[INFO] [stderr]     |
[INFO] [stderr] 645 |     fn sbio(&mut self, args: &[code_t]) {
[INFO] [stderr]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `args`
[INFO] [stderr]    --> src/emu/cpu/pe.rs:649:23
[INFO] [stderr]     |
[INFO] [stderr] 649 |     fn sbr(&mut self, args: &[code_t]) {
[INFO] [stderr]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `args`
[INFO] [stderr]    --> src/emu/cpu/pe.rs:653:22
[INFO] [stderr]     |
[INFO] [stderr] 653 |     fn st(&mut self, args: &[code_t]) {
[INFO] [stderr]     |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `args`
[INFO] [stderr]    --> src/emu/cpu/pe.rs:657:23
[INFO] [stderr]     |
[INFO] [stderr] 657 |     fn std(&mut self, args: &[code_t]) {
[INFO] [stderr]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `args`
[INFO] [stderr]    --> src/emu/cpu/pe.rs:661:23
[INFO] [stderr]     |
[INFO] [stderr] 661 |     fn stp(&mut self, args: &[code_t]) {
[INFO] [stderr]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `args`
[INFO] [stderr]    --> src/emu/cpu/pe.rs:695:23
[INFO] [stderr]     |
[INFO] [stderr] 695 |     fn nop(&mut self, args: &[u16]) {
[INFO] [stderr]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `args`
[INFO] [stderr]    --> src/emu/cpu/pe.rs:701:23
[INFO] [stderr]     |
[INFO] [stderr] 701 |     fn cli(&mut self, args: &[code_t]) {
[INFO] [stderr]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `args`
[INFO] [stderr]    --> src/emu/cpu/pe.rs:706:23
[INFO] [stderr]     |
[INFO] [stderr] 706 |     fn sei(&mut self, args: &[code_t]) {
[INFO] [stderr]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `code`
[INFO] [stderr]   --> src/emu/cpu/cu.rs:46:35
[INFO] [stderr]    |
[INFO] [stderr] 46 |     pub fn assign_work(&mut self, code: Vec<addr_t>) {
[INFO] [stderr]    |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_code`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/emu/cpu/cmp.rs:62:17
[INFO] [stderr]    |
[INFO] [stderr] 62 |             let mut cg = ComputeGroup::new(CPU_CORES,Rc::clone(&cache),t,(id, n as u16));
[INFO] [stderr]    |                 ----^^
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `opcode`
[INFO] [stderr]   --> src/emu/code.rs:96:17
[INFO] [stderr]    |
[INFO] [stderr] 96 |             let opcode = self.code[ip];
[INFO] [stderr]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_opcode`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `symbol`
[INFO] [stderr]    --> src/emu/code.rs:100:17
[INFO] [stderr]     |
[INFO] [stderr] 100 |             for symbol in self.symbols() {
[INFO] [stderr]     |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `buf`
[INFO] [stderr]    --> src/emu/builder.rs:105:32
[INFO] [stderr]     |
[INFO] [stderr] 105 |     fn to_byte_code(&self, mut buf: &mut dyn Write) {
[INFO] [stderr]     |                                ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/emu/builder.rs:105:28
[INFO] [stderr]     |
[INFO] [stderr] 105 |     fn to_byte_code(&self, mut buf: &mut dyn Write) {
[INFO] [stderr]     |                            ----^^^
[INFO] [stderr]     |                            |
[INFO] [stderr]     |                            help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `code`
[INFO] [stderr]  --> src/asm/mod.rs:8:25
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub fn assemble_to_file(code: &str) -> OsString {
[INFO] [stderr]   |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_code`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `GPIO_REG_MAX` is never used
[INFO] [stderr]   --> src/emu/cpu/register.rs:12:7
[INFO] [stderr]    |
[INFO] [stderr] 12 | const GPIO_REG_MAX: usize = 16;
[INFO] [stderr]    |       ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `iter` and `next_invalid` are never read
[INFO] [stderr]    --> src/emu/cpu/isa.rs:941:52
[INFO] [stderr]     |
[INFO] [stderr] 941 | pub struct DecodedIterator<T: Iterator<Item=u8>> { iter: T, next_invalid: bool }
[INFO] [stderr]     |            --------------- fields in this struct   ^^^^     ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: static `pid` is never used
[INFO] [stderr]   --> src/emu/cpu/pe.rs:59:12
[INFO] [stderr]    |
[INFO] [stderr] 59 | static mut pid: u16 = 1;
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `pc`, `mp`, `bp`, and `sreg` are never used
[INFO] [stderr]    --> src/emu/cpu/pe.rs:240:8
[INFO] [stderr]     |
[INFO] [stderr]  60 | impl ProcessingElement {
[INFO] [stderr]     | ---------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 240 |     fn pc(&self) -> addr_t { self.registers[Register::PC] }
[INFO] [stderr]     |        ^^
[INFO] [stderr] 241 |     #[inline(always)]
[INFO] [stderr] 242 |     fn mp(&self) -> addr_t { self.registers[Register::MP] }
[INFO] [stderr]     |        ^^
[INFO] [stderr] 243 |     #[inline(always)]
[INFO] [stderr] 244 |     fn bp(&self) -> addr_t { self.registers[Register::BP] }
[INFO] [stderr]     |        ^^
[INFO] [stderr] ...
[INFO] [stderr] 248 |     fn sreg(&mut self) -> &mut register_t { &mut self.registers[Register::SREG] }
[INFO] [stderr]     |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `read_string` is never used
[INFO] [stderr]    --> src/emu/code.rs:244:4
[INFO] [stderr]     |
[INFO] [stderr] 244 | fn read_string(mut buf: &mut dyn Read) -> String {
[INFO] [stderr]     |    ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `push_data` is never used
[INFO] [stderr]   --> src/emu/builder.rs:45:8
[INFO] [stderr]    |
[INFO] [stderr] 32 | impl Builder {
[INFO] [stderr]    | ------------ method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 45 |     fn push_data(&mut self, data: addr_t) -> usize {
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: static variable `device_count` should have an upper case name
[INFO] [stderr]    --> src/emu/cpu/mod.rs:197:12
[INFO] [stderr]     |
[INFO] [stderr] 197 | static mut device_count: u16 = 1;
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stderr] help: convert the identifier to upper case
[INFO] [stderr]     |
[INFO] [stderr] 197 - static mut device_count: u16 = 1;
[INFO] [stderr] 197 + static mut DEVICE_COUNT: u16 = 1;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: static variable `pid` should have an upper case name
[INFO] [stderr]   --> src/emu/cpu/pe.rs:59:12
[INFO] [stderr]    |
[INFO] [stderr] 59 | static mut pid: u16 = 1;
[INFO] [stderr]    |            ^^^ help: convert the identifier to upper case: `PID`
[INFO] [stderr] 
[INFO] [stderr] warning: static variable `pid` should have an upper case name
[INFO] [stderr]    --> src/emu/cpu/pe.rs:231:20
[INFO] [stderr]     |
[INFO] [stderr] 231 |         static mut pid: u16 = 0;
[INFO] [stderr]     |                    ^^^
[INFO] [stderr]     |
[INFO] [stderr] help: convert the identifier to upper case
[INFO] [stderr]     |
[INFO] [stderr] 231 -         static mut pid: u16 = 0;
[INFO] [stderr] 231 +         static mut PID: u16 = 0;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: variable `K` should have a snake case name
[INFO] [stderr]    --> src/emu/cpu/pe.rs:353:19
[INFO] [stderr]     |
[INFO] [stderr] 353 |             CPI(r,K) => { todo!() },
[INFO] [stderr]     |                   ^ help: convert the identifier to snake case (notice the capitalization): `k`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `BufRead` and `BufReader`
[INFO] [stderr]    --> src/emu/builder.rs:140:26
[INFO] [stderr]     |
[INFO] [stderr] 140 |     use std::io::{Write, BufReader, BufRead, Error};
[INFO] [stderr]     |                          ^^^^^^^^^  ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/emu/builder.rs:167:9
[INFO] [stderr]     |
[INFO] [stderr] 167 |         write!(fl, "LDI R0, 100\nLDI R1, 23\nADD R0, R1");
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 167 |         let _ = write!(fl, "LDI R0, 100\nLDI R1, 23\nADD R0, R1");
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `battledroids` (lib) generated 84 warnings (run `cargo fix --lib -p battledroids` to apply 17 suggestions)
[INFO] [stderr] warning: `battledroids` (lib test) generated 86 warnings (84 duplicates) (run `cargo fix --lib -p battledroids --tests` to apply 1 suggestion)
[INFO] [stderr] warning: unused imports: `InstructionTable`, `InstructionType`, and `types::Value`
[INFO] [stderr]  --> src/bin/bdvm.rs:5:103
[INFO] [stderr]   |
[INFO] [stderr] 5 | ..., emu::cpu::{Register, isa::{Instruction, InstructionTable, InstructionType}}, types::Value};
[INFO] [stderr]   |                                              ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^    ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `battledroids` (bin "bdvm" test) generated 1 warning (run `cargo fix --bin "bdvm" --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/battledroids-4b927d982f84891a)
[INFO] [stdout] 
[INFO] [stdout] running 28 tests
[INFO] [stdout] test emu::cpu::isa::tests::instruction_from_code ... ok
[INFO] [stdout] test emu::cpu::isa::tests::decode ... ok
[INFO] [stdout] test emu::cpu::isa::tests::instruction_to_code ... ok
[INFO] [stdout] test types::flaken::test_bitmask ... ok
[INFO] [stdout] test types::flaken::test_encode_decode ... ok
[INFO] [stdout] test emu::cpu::isa::tests::encode ... ok
[INFO] [stdout] test types::from_byte_code::test::from_byte_code ... ok
[INFO] [stdout] test emu::cpu::pe::test::fetch_from_code ... ok
[INFO] [stdout] test types::stack::test::new ... ok
[INFO] [stdout] test types::stack::test::peek ... ok
[INFO] [stdout] test types::flaken::test_next ... ok
[INFO] [stdout] test types::stack::test::pop ... ok
[INFO] [stdout] test types::stack::test::push ... ok
[INFO] [stdout] test types::to_byte_code::test::to_byte_code ... ok
[INFO] [stdout] test emu::cpu::isa::tests::instruction_from_string ... ok
[INFO] [stdout] test emu::cpu::pe::test::instruction_test ... ok
[INFO] [stdout] test emu::cpu::isa::tests::from_variant_str ... FAILED
[INFO] [stdout] test emu::builder::test::label ... FAILED
[INFO] [stdout] test emu::cpu::isa::tests::instruction_to_string ... FAILED
[INFO] [stdout] test emu::builder::test::push ... FAILED
[INFO] [stdout] test emu::cpu::pe::test::and ... FAILED
[INFO] [stdout] test emu::builder::test::load_from_asm_file ... FAILED
[INFO] [stdout] test emu::cpu::pe::test::addi ... FAILED
[INFO] [stdout] test types::stack::test::empty_pop - should panic ... ok
[INFO] [stdout] test emu::cpu::pe::test::from_builder ... FAILED
[INFO] [stdout] test types::stack::test::empty_peek - should panic ... ok
[INFO] [stdout] test emu::cpu::pe::test::add ... FAILED
[INFO] [stdout] test emu::cpu::pe::test::asr ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- emu::cpu::isa::tests::from_variant_str stdout ----
[INFO] [stdout] ADDI::to_instruction(["addi", "r1", "888"])
[INFO] [stdout] LDI::to_instruction(["LDI", "R10", "0xfe"])
[INFO] [stdout] 
[INFO] [stdout] thread 'emu::cpu::isa::tests::from_variant_str' panicked at src/emu/cpu/isa.rs:1260:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: LDI(R10, 254)
[INFO] [stdout]  right: ADDI(R1, 254)
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5c4c170c16d2 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5c4c170c16d2 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5c4c170c16d2 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5c4c170c16d2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hdcfcb6d4c8489523
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5c4c170e7ec3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x5c4c170e7ec3 - core::fmt::write::h8a494366950f23bb
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25
[INFO] [stdout]    6:     0x5c4c170be643 - std::io::default_write_fmt::h7b8824096454f323
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5c4c170be643 - std::io::Write::write_fmt::h4e71294925c334d0
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x5c4c170c1522 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x5c4c170c2c59 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27
[INFO] [stdout]   10:     0x5c4c170c2a8e - std::panicking::default_hook::h2c66fc99e962531d
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9
[INFO] [stdout]   11:     0x5c4c16f4d364 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hb6bd65493727d71a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   12:     0x5c4c16f4d364 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5c4c170c372e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h318e4efb8c1a5689
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   14:     0x5c4c170c372e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13
[INFO] [stdout]   15:     0x5c4c170c33fa - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13
[INFO] [stdout]   16:     0x5c4c170c1bd9 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x5c4c170c308d - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5
[INFO] [stdout]   18:     0x5c4c170e65f0 - core::panicking::panic_fmt::h62f63d096dd276af
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14
[INFO] [stdout]   19:     0x5c4c170e699c - core::panicking::assert_failed_inner::h102b4539a88470c2
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:448:17
[INFO] [stdout]   20:     0x5c4c16ed66ce - core::panicking::assert_failed::hf89de7bc52f6e070
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:403:5
[INFO] [stdout]   21:     0x5c4c16f05c1f - battledroids::emu::cpu::isa::tests::from_variant_str::h537c9253a1232ca1
[INFO] [stdout]                                at /opt/rustwide/workdir/src/emu/cpu/isa.rs:1260:9
[INFO] [stdout]   22:     0x5c4c16f05877 - battledroids::emu::cpu::isa::tests::from_variant_str::{{closure}}::h5a522bf6603326ae
[INFO] [stdout]                                at /opt/rustwide/workdir/src/emu/cpu/isa.rs:1256:26
[INFO] [stdout]   23:     0x5c4c16ed58c6 - core::ops::function::FnOnce::call_once::hf0307e5b76ab362f
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
[INFO] [stdout]   24:     0x5c4c16f52bcb - core::ops::function::FnOnce::call_once::h1f9474f1347fff52
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
[INFO] [stdout]   25:     0x5c4c16f52bcb - test::__rust_begin_short_backtrace::ha52ab26e77157f03
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18
[INFO] [stdout]   26:     0x5c4c16f51d05 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74
[INFO] [stdout]   27:     0x5c4c16f51d05 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x5c4c16f51d05 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40
[INFO] [stdout]   29:     0x5c4c16f51d05 - std::panicking::catch_unwind::h6deb5fe1e91873c9
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19
[INFO] [stdout]   30:     0x5c4c16f51d05 - std::panic::catch_unwind::hea0829b6b565654b
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x5c4c16f51d05 - test::run_test_in_process::hdc44dfecea3db21b
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27
[INFO] [stdout]   32:     0x5c4c16f51d05 - test::run_test::{{closure}}::h0364ba59bf23f652
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43
[INFO] [stdout]   33:     0x5c4c16f15904 - test::run_test::{{closure}}::h32730b304eec05da
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41
[INFO] [stdout]   34:     0x5c4c16f15904 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   35:     0x5c4c16f192da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   36:     0x5c4c16f192da - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x5c4c16f192da - std::panicking::catch_unwind::do_call::h163fe12cca9901c2
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40
[INFO] [stdout]   38:     0x5c4c16f192da - std::panicking::catch_unwind::he81557d0e17cc1bc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19
[INFO] [stdout]   39:     0x5c4c16f192da - std::panic::catch_unwind::hc2b8e79c20593955
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x5c4c16f192da - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   41:     0x5c4c16f192da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
[INFO] [stdout]   42:     0x5c4c170c66af - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5924238c754de3b8
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9
[INFO] [stdout]   43:     0x5c4c170c66af - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17
[INFO] [stdout]   44:     0x71bbc052eaa4 - <unknown>
[INFO] [stdout]   45:     0x71bbc05bba34 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- emu::builder::test::label stdout ----
[INFO] [stdout] LDI::to_instruction(["LDI", "R0", "20"])
[INFO] [stdout] 
[INFO] [stdout] thread 'emu::builder::test::label' panicked at src/emu/builder.rs:158:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: 32769
[INFO] [stdout]  right: 2
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5c4c170c16d2 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5c4c170c16d2 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5c4c170c16d2 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5c4c170c16d2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hdcfcb6d4c8489523
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5c4c170e7ec3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x5c4c170e7ec3 - core::fmt::write::h8a494366950f23bb
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25
[INFO] [stdout]    6:     0x5c4c170be643 - std::io::default_write_fmt::h7b8824096454f323
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5c4c170be643 - std::io::Write::write_fmt::h4e71294925c334d0
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x5c4c170c1522 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x5c4c170c2c59 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27
[INFO] [stdout]   10:     0x5c4c170c2a8e - std::panicking::default_hook::h2c66fc99e962531d
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9
[INFO] [stdout]   11:     0x5c4c16f4d364 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hb6bd65493727d71a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   12:     0x5c4c16f4d364 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5c4c170c372e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h318e4efb8c1a5689
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   14:     0x5c4c170c372e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13
[INFO] [stdout]   15:     0x5c4c170c33fa - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13
[INFO] [stdout]   16:     0x5c4c170c1bd9 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x5c4c170c308d - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5
[INFO] [stdout]   18:     0x5c4c170e65f0 - core::panicking::panic_fmt::h62f63d096dd276af
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14
[INFO] [stdout]   19:     0x5c4c170e699c - core::panicking::assert_failed_inner::h102b4539a88470c2
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:448:17
[INFO] [stdout]   20:     0x5c4c170e68ee - core::panicking::assert_failed::h417a72379c307893
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:403:5
[INFO] [stdout]   21:     0x5c4c16ee104f - battledroids::emu::builder::test::label::hc7ae6e4394e1b6b3
[INFO] [stdout]                                at /opt/rustwide/workdir/src/emu/builder.rs:158:9
[INFO] [stdout]   22:     0x5c4c16ee0ef7 - battledroids::emu::builder::test::label::{{closure}}::h45a8c8d7a6dd843e
[INFO] [stdout]                                at /opt/rustwide/workdir/src/emu/builder.rs:154:15
[INFO] [stdout]   23:     0x5c4c16ed55a6 - core::ops::function::FnOnce::call_once::hba3e0b23639fae11
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
[INFO] [stdout]   24:     0x5c4c16f52bcb - core::ops::function::FnOnce::call_once::h1f9474f1347fff52
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
[INFO] [stdout]   25:     0x5c4c16f52bcb - test::__rust_begin_short_backtrace::ha52ab26e77157f03
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18
[INFO] [stdout]   26:     0x5c4c16f51d05 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74
[INFO] [stdout]   27:     0x5c4c16f51d05 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x5c4c16f51d05 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40
[INFO] [stdout]   29:     0x5c4c16f51d05 - std::panicking::catch_unwind::h6deb5fe1e91873c9
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19
[INFO] [stdout]   30:     0x5c4c16f51d05 - std::panic::catch_unwind::hea0829b6b565654b
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x5c4c16f51d05 - test::run_test_in_process::hdc44dfecea3db21b
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27
[INFO] [stdout]   32:     0x5c4c16f51d05 - test::run_test::{{closure}}::h0364ba59bf23f652
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43
[INFO] [stdout]   33:     0x5c4c16f15904 - test::run_test::{{closure}}::h32730b304eec05da
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41
[INFO] [stdout]   34:     0x5c4c16f15904 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   35:     0x5c4c16f192da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   36:     0x5c4c16f192da - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x5c4c16f192da - std::panicking::catch_unwind::do_call::h163fe12cca9901c2
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40
[INFO] [stdout]   38:     0x5c4c16f192da - std::panicking::catch_unwind::he81557d0e17cc1bc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19
[INFO] [stdout]   39:     0x5c4c16f192da - std::panic::catch_unwind::hc2b8e79c20593955
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x5c4c16f192da - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   41:     0x5c4c16f192da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
[INFO] [stdout]   42:     0x5c4c170c66af - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5924238c754de3b8
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9
[INFO] [stdout]   43:     0x5c4c170c66af - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17
[INFO] [stdout]   44:     0x71bbc052eaa4 - <unknown>
[INFO] [stdout]   45:     0x71bbc05bba34 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- emu::cpu::isa::tests::instruction_to_string stdout ----
[INFO] [stdout] ADD(R7, R3)
[INFO] [stdout] 
[INFO] [stdout] thread 'emu::cpu::isa::tests::instruction_to_string' panicked at src/emu/cpu/isa.rs:1116:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "IN R2 198"
[INFO] [stdout]  right: "IN R2, 198"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5c4c170c16d2 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5c4c170c16d2 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5c4c170c16d2 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5c4c170c16d2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hdcfcb6d4c8489523
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5c4c170e7ec3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x5c4c170e7ec3 - core::fmt::write::h8a494366950f23bb
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25
[INFO] [stdout]    6:     0x5c4c170be643 - std::io::default_write_fmt::h7b8824096454f323
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5c4c170be643 - std::io::Write::write_fmt::h4e71294925c334d0
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x5c4c170c1522 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x5c4c170c2c59 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27
[INFO] [stdout]   10:     0x5c4c170c2a8e - std::panicking::default_hook::h2c66fc99e962531d
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9
[INFO] [stdout]   11:     0x5c4c16f4d364 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hb6bd65493727d71a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   12:     0x5c4c16f4d364 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5c4c170c372e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h318e4efb8c1a5689
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   14:     0x5c4c170c372e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13
[INFO] [stdout]   15:     0x5c4c170c33fa - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13
[INFO] [stdout]   16:     0x5c4c170c1bd9 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x5c4c170c308d - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5
[INFO] [stdout]   18:     0x5c4c170e65f0 - core::panicking::panic_fmt::h62f63d096dd276af
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14
[INFO] [stdout]   19:     0x5c4c170e699c - core::panicking::assert_failed_inner::h102b4539a88470c2
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:448:17
[INFO] [stdout]   20:     0x5c4c16ed6515 - core::panicking::assert_failed::h3886ea06f5adcad7
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:403:5
[INFO] [stdout]   21:     0x5c4c16efa252 - battledroids::emu::cpu::isa::tests::instruction_to_string::h608519a9b56d87f3
[INFO] [stdout]                                at /opt/rustwide/workdir/src/emu/cpu/isa.rs:1116:9
[INFO] [stdout]   22:     0x5c4c16ef8967 - battledroids::emu::cpu::isa::tests::instruction_to_string::{{closure}}::h8d814146889338b3
[INFO] [stdout]                                at /opt/rustwide/workdir/src/emu/cpu/isa.rs:1091:31
[INFO] [stdout]   23:     0x5c4c16ed5426 - core::ops::function::FnOnce::call_once::ha4883b41ec8455e5
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
[INFO] [stdout]   24:     0x5c4c16f52bcb - core::ops::function::FnOnce::call_once::h1f9474f1347fff52
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
[INFO] [stdout]   25:     0x5c4c16f52bcb - test::__rust_begin_short_backtrace::ha52ab26e77157f03
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18
[INFO] [stdout]   26:     0x5c4c16f51d05 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74
[INFO] [stdout]   27:     0x5c4c16f51d05 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x5c4c16f51d05 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40
[INFO] [stdout]   29:     0x5c4c16f51d05 - std::panicking::catch_unwind::h6deb5fe1e91873c9
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19
[INFO] [stdout]   30:     0x5c4c16f51d05 - std::panic::catch_unwind::hea0829b6b565654b
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x5c4c16f51d05 - test::run_test_in_process::hdc44dfecea3db21b
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27
[INFO] [stdout]   32:     0x5c4c16f51d05 - test::run_test::{{closure}}::h0364ba59bf23f652
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43
[INFO] [stdout]   33:     0x5c4c16f15904 - test::run_test::{{closure}}::h32730b304eec05da
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41
[INFO] [stdout]   34:     0x5c4c16f15904 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   35:     0x5c4c16f192da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   36:     0x5c4c16f192da - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x5c4c16f192da - std::panicking::catch_unwind::do_call::h163fe12cca9901c2
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40
[INFO] [stdout]   38:     0x5c4c16f192da - std::panicking::catch_unwind::he81557d0e17cc1bc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19
[INFO] [stdout]   39:     0x5c4c16f192da - std::panic::catch_unwind::hc2b8e79c20593955
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x5c4c16f192da - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   41:     0x5c4c16f192da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
[INFO] [stdout]   42:     0x5c4c170c66af - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5924238c754de3b8
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9
[INFO] [stdout]   43:     0x5c4c170c66af - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17
[INFO] [stdout]   44:     0x71bbc052eaa4 - <unknown>
[INFO] [stdout]   45:     0x71bbc05bba34 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- emu::builder::test::push stdout ----
[INFO] [stdout] LDI::to_instruction(["LDI", "R0", "20"])
[INFO] [stdout] LDI::to_instruction(["LDI", "R1", "200"])
[INFO] [stdout] 
[INFO] [stdout] thread 'emu::builder::test::push' panicked at src/emu/builder.rs:151:9:
[INFO] [stdout] assertion failed: builder.len() == 2
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5c4c170c16d2 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5c4c170c16d2 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5c4c170c16d2 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5c4c170c16d2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hdcfcb6d4c8489523
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5c4c170e7ec3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x5c4c170e7ec3 - core::fmt::write::h8a494366950f23bb
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25
[INFO] [stdout]    6:     0x5c4c170be643 - std::io::default_write_fmt::h7b8824096454f323
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5c4c170be643 - std::io::Write::write_fmt::h4e71294925c334d0
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x5c4c170c1522 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x5c4c170c2c59 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27
[INFO] [stdout]   10:     0x5c4c170c2a8e - std::panicking::default_hook::h2c66fc99e962531d
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9
[INFO] [stdout]   11:     0x5c4c16f4d364 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hb6bd65493727d71a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   12:     0x5c4c16f4d364 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5c4c170c372e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h318e4efb8c1a5689
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   14:     0x5c4c170c372e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13
[INFO] [stdout]   15:     0x5c4c170c33c6 - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:699:13
[INFO] [stdout]   16:     0x5c4c170c1bd9 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x5c4c170c308d - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5
[INFO] [stdout]   18:     0x5c4c170e65f0 - core::panicking::panic_fmt::h62f63d096dd276af
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] [stdout]   19:     0x5c4c170e667c - core::panicking::panic::h89a5f2df32b0508a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:145:5
[INFO] [stdout]   20:     0x5c4c16ee0ec5 - battledroids::emu::builder::test::push::h159fc4af2212b4e5
[INFO] [stdout]                                at /opt/rustwide/workdir/src/emu/builder.rs:151:9
[INFO] [stdout]   21:     0x5c4c16ee0df7 - battledroids::emu::builder::test::push::{{closure}}::h47b250b61113e7a3
[INFO] [stdout]                                at /opt/rustwide/workdir/src/emu/builder.rs:147:14
[INFO] [stdout]   22:     0x5c4c16ed51a6 - core::ops::function::FnOnce::call_once::h08066d03b3918a75
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
[INFO] [stdout]   23:     0x5c4c16f52bcb - core::ops::function::FnOnce::call_once::h1f9474f1347fff52
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
[INFO] [stdout]   24:     0x5c4c16f52bcb - test::__rust_begin_short_backtrace::ha52ab26e77157f03
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18
[INFO] [stdout]   25:     0x5c4c16f51d05 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74
[INFO] [stdout]   26:     0x5c4c16f51d05 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   27:     0x5c4c16f51d05 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40
[INFO] [stdout]   28:     0x5c4c16f51d05 - std::panicking::catch_unwind::h6deb5fe1e91873c9
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19
[INFO] [stdout]   29:     0x5c4c16f51d05 - std::panic::catch_unwind::hea0829b6b565654b
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14
[INFO] [stdout]   30:     0x5c4c16f51d05 - test::run_test_in_process::hdc44dfecea3db21b
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27
[INFO] [stdout]   31:     0x5c4c16f51d05 - test::run_test::{{closure}}::h0364ba59bf23f652
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43
[INFO] [stdout]   32:     0x5c4c16f15904 - test::run_test::{{closure}}::h32730b304eec05da
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41
[INFO] [stdout]   33:     0x5c4c16f15904 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   34:     0x5c4c16f192da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   35:     0x5c4c16f192da - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   36:     0x5c4c16f192da - std::panicking::catch_unwind::do_call::h163fe12cca9901c2
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40
[INFO] [stdout]   37:     0x5c4c16f192da - std::panicking::catch_unwind::he81557d0e17cc1bc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19
[INFO] [stdout]   38:     0x5c4c16f192da - std::panic::catch_unwind::hc2b8e79c20593955
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14
[INFO] [stdout]   39:     0x5c4c16f192da - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   40:     0x5c4c16f192da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
[INFO] [stdout]   41:     0x5c4c170c66af - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5924238c754de3b8
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9
[INFO] [stdout]   42:     0x5c4c170c66af - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17
[INFO] [stdout]   43:     0x71bbc052eaa4 - <unknown>
[INFO] [stdout]   44:     0x71bbc05bba34 - clone
[INFO] [stdout]   45:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- emu::cpu::pe::test::and stdout ----
[INFO] [stdout] Line: and r3, r1
[INFO] [stdout] AND::to_instruction(["and", "r3", "r1"])
[INFO] [stdout] fetched: HALT
[INFO] [stdout] 
[INFO] [stdout] thread 'emu::cpu::pe::test::and' panicked at src/emu/cpu/pe.rs:825:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: 420
[INFO] [stdout]  right: 0
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5c4c170c16d2 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5c4c170c16d2 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5c4c170c16d2 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5c4c170c16d2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hdcfcb6d4c8489523
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5c4c170e7ec3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x5c4c170e7ec3 - core::fmt::write::h8a494366950f23bb
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25
[INFO] [stdout]    6:     0x5c4c170be643 - std::io::default_write_fmt::h7b8824096454f323
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5c4c170be643 - std::io::Write::write_fmt::h4e71294925c334d0
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x5c4c170c1522 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x5c4c170c2c59 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27
[INFO] [stdout]   10:     0x5c4c170c2a8e - std::panicking::default_hook::h2c66fc99e962531d
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9
[INFO] [stdout]   11:     0x5c4c16f4d364 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hb6bd65493727d71a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   12:     0x5c4c16f4d364 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5c4c170c372e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h318e4efb8c1a5689
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   14:     0x5c4c170c372e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13
[INFO] [stdout]   15:     0x5c4c170c33fa - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13
[INFO] [stdout]   16:     0x5c4c170c1bd9 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x5c4c170c308d - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5
[INFO] [stdout]   18:     0x5c4c170e65f0 - core::panicking::panic_fmt::h62f63d096dd276af
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14
[INFO] [stdout]   19:     0x5c4c170e699c - core::panicking::assert_failed_inner::h102b4539a88470c2
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:448:17
[INFO] [stdout]   20:     0x5c4c16fedde3 - core::panicking::assert_failed::h76c3ac034af32658
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:403:5
[INFO] [stdout]   21:     0x5c4c16f13964 - battledroids::emu::cpu::pe::test::and::h0872676072838a24
[INFO] [stdout]                                at /opt/rustwide/workdir/src/emu/cpu/pe.rs:747:15
[INFO] [stdout]   22:     0x5c4c16f13757 - battledroids::emu::cpu::pe::test::and::{{closure}}::h55d52c5af283511a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/emu/cpu/pe.rs:824:13
[INFO] [stdout]   23:     0x5c4c16ed5306 - core::ops::function::FnOnce::call_once::h851471a0196fc997
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
[INFO] [stdout]   24:     0x5c4c16f52bcb - core::ops::function::FnOnce::call_once::h1f9474f1347fff52
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
[INFO] [stdout]   25:     0x5c4c16f52bcb - test::__rust_begin_short_backtrace::ha52ab26e77157f03
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18
[INFO] [stdout]   26:     0x5c4c16f51d05 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74
[INFO] [stdout]   27:     0x5c4c16f51d05 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x5c4c16f51d05 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40
[INFO] [stdout]   29:     0x5c4c16f51d05 - std::panicking::catch_unwind::h6deb5fe1e91873c9
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19
[INFO] [stdout]   30:     0x5c4c16f51d05 - std::panic::catch_unwind::hea0829b6b565654b
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x5c4c16f51d05 - test::run_test_in_process::hdc44dfecea3db21b
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27
[INFO] [stdout]   32:     0x5c4c16f51d05 - test::run_test::{{closure}}::h0364ba59bf23f652
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43
[INFO] [stdout]   33:     0x5c4c16f15904 - test::run_test::{{closure}}::h32730b304eec05da
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41
[INFO] [stdout]   34:     0x5c4c16f15904 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   35:     0x5c4c16f192da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   36:     0x5c4c16f192da - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x5c4c16f192da - std::panicking::catch_unwind::do_call::h163fe12cca9901c2
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40
[INFO] [stdout]   38:     0x5c4c16f192da - std::panicking::catch_unwind::he81557d0e17cc1bc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19
[INFO] [stdout]   39:     0x5c4c16f192da - std::panic::catch_unwind::hc2b8e79c20593955
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x5c4c16f192da - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   41:     0x5c4c16f192da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
[INFO] [stdout]   42:     0x5c4c170c66af - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5924238c754de3b8
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9
[INFO] [stdout]   43:     0x5c4c170c66af - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17
[INFO] [stdout]   44:     0x71bbc052eaa4 - <unknown>
[INFO] [stdout]   45:     0x71bbc05bba34 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- emu::builder::test::load_from_asm_file stdout ----
[INFO] [stdout] Temporary directory: /tmp
[INFO] [stdout] LDI R0, 100
[INFO] [stdout] LDI R1, 23
[INFO] [stdout] ADD R0, R1
[INFO] [stdout] Line: LDI R0, 100
[INFO] [stdout] LDI::to_instruction(["LDI", "R0", "100"])
[INFO] [stdout] Line: LDI R1, 23
[INFO] [stdout] LDI::to_instruction(["LDI", "R1", "23"])
[INFO] [stdout] Line: ADD R0, R1
[INFO] [stdout] ADD::to_instruction(["ADD", "R0", "R1"])
[INFO] [stdout] 
[INFO] [stdout] thread 'emu::builder::test::load_from_asm_file' panicked at src/emu/builder.rs:169:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: HALT
[INFO] [stdout]  right: LDI(R0, 100)
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5c4c170c16d2 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5c4c170c16d2 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5c4c170c16d2 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5c4c170c16d2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hdcfcb6d4c8489523
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5c4c170e7ec3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x5c4c170e7ec3 - core::fmt::write::h8a494366950f23bb
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25
[INFO] [stdout]    6:     0x5c4c170be643 - std::io::default_write_fmt::h7b8824096454f323
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5c4c170be643 - std::io::Write::write_fmt::h4e71294925c334d0
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x5c4c170c1522 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x5c4c170c2c59 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27
[INFO] [stdout]   10:     0x5c4c170c2a8e - std::panicking::default_hook::h2c66fc99e962531d
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9
[INFO] [stdout]   11:     0x5c4c16f4d364 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hb6bd65493727d71a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   12:     0x5c4c16f4d364 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5c4c170c372e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h318e4efb8c1a5689
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   14:     0x5c4c170c372e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13
[INFO] [stdout]   15:     0x5c4c170c33fa - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13
[INFO] [stdout]   16:     0x5c4c170c1bd9 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x5c4c170c308d - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5
[INFO] [stdout]   18:     0x5c4c170e65f0 - core::panicking::panic_fmt::h62f63d096dd276af
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14
[INFO] [stdout]   19:     0x5c4c170e699c - core::panicking::assert_failed_inner::h102b4539a88470c2
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:448:17
[INFO] [stdout]   20:     0x5c4c16ed66ce - core::panicking::assert_failed::hf89de7bc52f6e070
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:403:5
[INFO] [stdout]   21:     0x5c4c16ee13c4 - battledroids::emu::builder::test::load_from_asm_file::h5dcbe25424cdeaa0
[INFO] [stdout]                                at /opt/rustwide/workdir/src/emu/builder.rs:169:9
[INFO] [stdout]   22:     0x5c4c16ee1097 - battledroids::emu::builder::test::load_from_asm_file::{{closure}}::hb7fc2c9674f31f64
[INFO] [stdout]                                at /opt/rustwide/workdir/src/emu/builder.rs:161:32
[INFO] [stdout]   23:     0x5c4c16ed5626 - core::ops::function::FnOnce::call_once::hc1dc987ff6850d33
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
[INFO] [stdout]   24:     0x5c4c16f52bcb - core::ops::function::FnOnce::call_once::h1f9474f1347fff52
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
[INFO] [stdout]   25:     0x5c4c16f52bcb - test::__rust_begin_short_backtrace::ha52ab26e77157f03
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18
[INFO] [stdout]   26:     0x5c4c16f51d05 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74
[INFO] [stdout]   27:     0x5c4c16f51d05 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x5c4c16f51d05 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40
[INFO] [stdout]   29:     0x5c4c16f51d05 - std::panicking::catch_unwind::h6deb5fe1e91873c9
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19
[INFO] [stdout]   30:     0x5c4c16f51d05 - std::panic::catch_unwind::hea0829b6b565654b
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x5c4c16f51d05 - test::run_test_in_process::hdc44dfecea3db21b
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27
[INFO] [stdout]   32:     0x5c4c16f51d05 - test::run_test::{{closure}}::h0364ba59bf23f652
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43
[INFO] [stdout]   33:     0x5c4c16f15904 - test::run_test::{{closure}}::h32730b304eec05da
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41
[INFO] [stdout]   34:     0x5c4c16f15904 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   35:     0x5c4c16f192da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   36:     0x5c4c16f192da - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x5c4c16f192da - std::panicking::catch_unwind::do_call::h163fe12cca9901c2
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40
[INFO] [stdout]   38:     0x5c4c16f192da - std::panicking::catch_unwind::he81557d0e17cc1bc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19
[INFO] [stdout]   39:     0x5c4c16f192da - std::panic::catch_unwind::hc2b8e79c20593955
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x5c4c16f192da - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   41:     0x5c4c16f192da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
[INFO] [stdout]   42:     0x5c4c170c66af - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5924238c754de3b8
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9
[INFO] [stdout]   43:     0x5c4c170c66af - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17
[INFO] [stdout]   44:     0x71bbc052eaa4 - <unknown>
[INFO] [stdout]   45:     0x71bbc05bba34 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- emu::cpu::pe::test::addi stdout ----
[INFO] [stdout] Line: addi r4, 23
[INFO] [stdout] ADDI::to_instruction(["addi", "r4", "23"])
[INFO] [stdout] fetched: HALT
[INFO] [stdout] 
[INFO] [stdout] thread 'emu::cpu::pe::test::addi' panicked at src/emu/cpu/pe.rs:817:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: 100
[INFO] [stdout]  right: 123
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5c4c170c16d2 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5c4c170c16d2 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5c4c170c16d2 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5c4c170c16d2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hdcfcb6d4c8489523
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5c4c170e7ec3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x5c4c170e7ec3 - core::fmt::write::h8a494366950f23bb
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25
[INFO] [stdout]    6:     0x5c4c170be643 - std::io::default_write_fmt::h7b8824096454f323
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5c4c170be643 - std::io::Write::write_fmt::h4e71294925c334d0
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x5c4c170c1522 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x5c4c170c2c59 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27
[INFO] [stdout]   10:     0x5c4c170c2a8e - std::panicking::default_hook::h2c66fc99e962531d
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9
[INFO] [stdout]   11:     0x5c4c16f4d364 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hb6bd65493727d71a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   12:     0x5c4c16f4d364 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5c4c170c372e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h318e4efb8c1a5689
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   14:     0x5c4c170c372e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13
[INFO] [stdout]   15:     0x5c4c170c33fa - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13
[INFO] [stdout]   16:     0x5c4c170c1bd9 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x5c4c170c308d - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5
[INFO] [stdout]   18:     0x5c4c170e65f0 - core::panicking::panic_fmt::h62f63d096dd276af
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14
[INFO] [stdout]   19:     0x5c4c170e699c - core::panicking::assert_failed_inner::h102b4539a88470c2
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:448:17
[INFO] [stdout]   20:     0x5c4c16fedde3 - core::panicking::assert_failed::h76c3ac034af32658
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:403:5
[INFO] [stdout]   21:     0x5c4c16f1361f - battledroids::emu::cpu::pe::test::addi::ha0133f838332ef74
[INFO] [stdout]                                at /opt/rustwide/workdir/src/emu/cpu/pe.rs:747:15
[INFO] [stdout]   22:     0x5c4c16f13467 - battledroids::emu::cpu::pe::test::addi::{{closure}}::hef8f015a6495a71f
[INFO] [stdout]                                at /opt/rustwide/workdir/src/emu/cpu/pe.rs:816:14
[INFO] [stdout]   23:     0x5c4c16ed5226 - core::ops::function::FnOnce::call_once::h2b2f1c2036839641
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
[INFO] [stdout]   24:     0x5c4c16f52bcb - core::ops::function::FnOnce::call_once::h1f9474f1347fff52
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
[INFO] [stdout]   25:     0x5c4c16f52bcb - test::__rust_begin_short_backtrace::ha52ab26e77157f03
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18
[INFO] [stdout]   26:     0x5c4c16f51d05 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74
[INFO] [stdout]   27:     0x5c4c16f51d05 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x5c4c16f51d05 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40
[INFO] [stdout]   29:     0x5c4c16f51d05 - std::panicking::catch_unwind::h6deb5fe1e91873c9
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19
[INFO] [stdout]   30:     0x5c4c16f51d05 - std::panic::catch_unwind::hea0829b6b565654b
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x5c4c16f51d05 - test::run_test_in_process::hdc44dfecea3db21b
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27
[INFO] [stdout]   32:     0x5c4c16f51d05 - test::run_test::{{closure}}::h0364ba59bf23f652
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43
[INFO] [stdout]   33:     0x5c4c16f15904 - test::run_test::{{closure}}::h32730b304eec05da
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41
[INFO] [stdout]   34:     0x5c4c16f15904 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   35:     0x5c4c16f192da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   36:     0x5c4c16f192da - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x5c4c16f192da - std::panicking::catch_unwind::do_call::h163fe12cca9901c2
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40
[INFO] [stdout]   38:     0x5c4c16f192da - std::panicking::catch_unwind::he81557d0e17cc1bc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19
[INFO] [stdout]   39:     0x5c4c16f192da - std::panic::catch_unwind::hc2b8e79c20593955
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x5c4c16f192da - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   41:     0x5c4c16f192da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
[INFO] [stdout]   42:     0x5c4c170c66af - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5924238c754de3b8
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9
[INFO] [stdout]   43:     0x5c4c170c66af - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17
[INFO] [stdout]   44:     0x71bbc052eaa4 - <unknown>
[INFO] [stdout]   45:     0x71bbc05bba34 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- emu::cpu::pe::test::from_builder stdout ----
[INFO] [stdout] LDI::to_instruction(["LDI", "R0", "100"])
[INFO] [stdout] LDI::to_instruction(["LDI", "R1", "23"])
[INFO] [stdout] ADD::to_instruction(["ADD", "R0", "R1"])
[INFO] [stdout] 
[INFO] [stdout] thread 'emu::cpu::pe::test::from_builder' panicked at src/emu/cpu/pe.rs:760:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: HALT
[INFO] [stdout]  right: LDI(R0, 100)
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5c4c170c16d2 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5c4c170c16d2 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5c4c170c16d2 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5c4c170c16d2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hdcfcb6d4c8489523
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5c4c170e7ec3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x5c4c170e7ec3 - core::fmt::write::h8a494366950f23bb
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25
[INFO] [stdout]    6:     0x5c4c170be643 - std::io::default_write_fmt::h7b8824096454f323
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5c4c170be643 - std::io::Write::write_fmt::h4e71294925c334d0
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x5c4c170c1522 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x5c4c170c2c59 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27
[INFO] [stdout]   10:     0x5c4c170c2a8e - std::panicking::default_hook::h2c66fc99e962531d
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9
[INFO] [stdout]   11:     0x5c4c16f4d364 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hb6bd65493727d71a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   12:     0x5c4c16f4d364 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5c4c170c372e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h318e4efb8c1a5689
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   14:     0x5c4c170c372e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13
[INFO] [stdout]   15:     0x5c4c170c33fa - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13
[INFO] [stdout]   16:     0x5c4c170c1bd9 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x5c4c170c308d - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5
[INFO] [stdout]   18:     0x5c4c170e65f0 - core::panicking::panic_fmt::h62f63d096dd276af
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14
[INFO] [stdout]   19:     0x5c4c170e699c - core::panicking::assert_failed_inner::h102b4539a88470c2
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:448:17
[INFO] [stdout]   20:     0x5c4c16ed66ce - core::panicking::assert_failed::hf89de7bc52f6e070
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:403:5
[INFO] [stdout]   21:     0x5c4c16f0aa6d - battledroids::emu::cpu::pe::test::from_builder::h0d79f9ac7047cad0
[INFO] [stdout]                                at /opt/rustwide/workdir/src/emu/cpu/pe.rs:760:9
[INFO] [stdout]   22:     0x5c4c16f0a8f7 - battledroids::emu::cpu::pe::test::from_builder::{{closure}}::hdb9b941585e2d9e1
[INFO] [stdout]                                at /opt/rustwide/workdir/src/emu/cpu/pe.rs:753:22
[INFO] [stdout]   23:     0x5c4c16ed5386 - core::ops::function::FnOnce::call_once::h8a36557c89eb39e2
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
[INFO] [stdout]   24:     0x5c4c16f52bcb - core::ops::function::FnOnce::call_once::h1f9474f1347fff52
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
[INFO] [stdout]   25:     0x5c4c16f52bcb - test::__rust_begin_short_backtrace::ha52ab26e77157f03
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18
[INFO] [stdout]   26:     0x5c4c16f51d05 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74
[INFO] [stdout]   27:     0x5c4c16f51d05 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x5c4c16f51d05 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40
[INFO] [stdout]   29:     0x5c4c16f51d05 - std::panicking::catch_unwind::h6deb5fe1e91873c9
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19
[INFO] [stdout]   30:     0x5c4c16f51d05 - std::panic::catch_unwind::hea0829b6b565654b
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x5c4c16f51d05 - test::run_test_in_process::hdc44dfecea3db21b
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27
[INFO] [stdout]   32:     0x5c4c16f51d05 - test::run_test::{{closure}}::h0364ba59bf23f652
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43
[INFO] [stdout]   33:     0x5c4c16f15904 - test::run_test::{{closure}}::h32730b304eec05da
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41
[INFO] [stdout]   34:     0x5c4c16f15904 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   35:     0x5c4c16f192da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   36:     0x5c4c16f192da - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x5c4c16f192da - std::panicking::catch_unwind::do_call::h163fe12cca9901c2
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40
[INFO] [stdout]   38:     0x5c4c16f192da - std::panicking::catch_unwind::he81557d0e17cc1bc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19
[INFO] [stdout]   39:     0x5c4c16f192da - std::panic::catch_unwind::hc2b8e79c20593955
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x5c4c16f192da - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   41:     0x5c4c16f192da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
[INFO] [stdout]   42:     0x5c4c170c66af - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5924238c754de3b8
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9
[INFO] [stdout]   43:     0x5c4c170c66af - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17
[INFO] [stdout]   44:     0x71bbc052eaa4 - <unknown>
[INFO] [stdout]   45:     0x71bbc05bba34 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- emu::cpu::pe::test::add stdout ----
[INFO] [stdout] Line: add r0, r1
[INFO] [stdout] ADD::to_instruction(["add", "r0", "r1"])
[INFO] [stdout] fetched: HALT
[INFO] [stdout] 
[INFO] [stdout] thread 'emu::cpu::pe::test::add' panicked at src/emu/cpu/pe.rs:809:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: 10
[INFO] [stdout]  right: 17
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5c4c170c16d2 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5c4c170c16d2 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5c4c170c16d2 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5c4c170c16d2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hdcfcb6d4c8489523
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5c4c170e7ec3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x5c4c170e7ec3 - core::fmt::write::h8a494366950f23bb
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25
[INFO] [stdout]    6:     0x5c4c170be643 - std::io::default_write_fmt::h7b8824096454f323
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5c4c170be643 - std::io::Write::write_fmt::h4e71294925c334d0
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x5c4c170c1522 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x5c4c170c2c59 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27
[INFO] [stdout]   10:     0x5c4c170c2a8e - std::panicking::default_hook::h2c66fc99e962531d
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9
[INFO] [stdout]   11:     0x5c4c16f4d364 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hb6bd65493727d71a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   12:     0x5c4c16f4d364 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5c4c170c372e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h318e4efb8c1a5689
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   14:     0x5c4c170c372e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13
[INFO] [stdout]   15:     0x5c4c170c33fa - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13
[INFO] [stdout]   16:     0x5c4c170c1bd9 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x5c4c170c308d - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5
[INFO] [stdout]   18:     0x5c4c170e65f0 - core::panicking::panic_fmt::h62f63d096dd276af
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14
[INFO] [stdout]   19:     0x5c4c170e699c - core::panicking::assert_failed_inner::h102b4539a88470c2
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:448:17
[INFO] [stdout]   20:     0x5c4c16fedde3 - core::panicking::assert_failed::h76c3ac034af32658
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:403:5
[INFO] [stdout]   21:     0x5c4c16f1325e - battledroids::emu::cpu::pe::test::add::h6e0c595f7a34566c
[INFO] [stdout]                                at /opt/rustwide/workdir/src/emu/cpu/pe.rs:747:15
[INFO] [stdout]   22:     0x5c4c16f13057 - battledroids::emu::cpu::pe::test::add::{{closure}}::hbcccb668e895d674
[INFO] [stdout]                                at /opt/rustwide/workdir/src/emu/cpu/pe.rs:808:13
[INFO] [stdout]   23:     0x5c4c16ed54a6 - core::ops::function::FnOnce::call_once::hae7fd0ef9dc226ce
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
[INFO] [stdout]   24:     0x5c4c16f52bcb - core::ops::function::FnOnce::call_once::h1f9474f1347fff52
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
[INFO] [stdout]   25:     0x5c4c16f52bcb - test::__rust_begin_short_backtrace::ha52ab26e77157f03
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18
[INFO] [stdout]   26:     0x5c4c16f51d05 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74
[INFO] [stdout]   27:     0x5c4c16f51d05 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x5c4c16f51d05 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40
[INFO] [stdout]   29:     0x5c4c16f51d05 - std::panicking::catch_unwind::h6deb5fe1e91873c9
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19
[INFO] [stdout]   30:     0x5c4c16f51d05 - std::panic::catch_unwind::hea0829b6b565654b
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x5c4c16f51d05 - test::run_test_in_process::hdc44dfecea3db21b
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27
[INFO] [stdout]   32:     0x5c4c16f51d05 - test::run_test::{{closure}}::h0364ba59bf23f652
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43
[INFO] [stdout]   33:     0x5c4c16f15904 - test::run_test::{{closure}}::h32730b304eec05da
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41
[INFO] [stdout]   34:     0x5c4c16f15904 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   35:     0x5c4c16f192da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   36:     0x5c4c16f192da - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x5c4c16f192da - std::panicking::catch_unwind::do_call::h163fe12cca9901c2
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40
[INFO] [stdout]   38:     0x5c4c16f192da - std::panicking::catch_unwind::he81557d0e17cc1bc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19
[INFO] [stdout]   39:     0x5c4c16f192da - std::panic::catch_unwind::hc2b8e79c20593955
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x5c4c16f192da - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   41:     0x5c4c16f192da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
[INFO] [stdout]   42:     0x5c4c170c66af - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5924238c754de3b8
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9
[INFO] [stdout]   43:     0x5c4c170c66af - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17
[INFO] [stdout]   44:     0x71bbc052eaa4 - <unknown>
[INFO] [stdout]   45:     0x71bbc05bba34 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- emu::cpu::pe::test::asr stdout ----
[INFO] [stdout] Line: asr r0
[INFO] [stdout] ASR::to_instruction(["asr", "r0"])
[INFO] [stdout] fetched: HALT
[INFO] [stdout] 
[INFO] [stdout] thread 'emu::cpu::pe::test::asr' panicked at src/emu/cpu/pe.rs:833:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: 65534
[INFO] [stdout]  right: 65535
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5c4c170c16d2 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5c4c170c16d2 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5c4c170c16d2 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5c4c170c16d2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hdcfcb6d4c8489523
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5c4c170e7ec3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x5c4c170e7ec3 - core::fmt::write::h8a494366950f23bb
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25
[INFO] [stdout]    6:     0x5c4c170be643 - std::io::default_write_fmt::h7b8824096454f323
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5c4c170be643 - std::io::Write::write_fmt::h4e71294925c334d0
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x5c4c170c1522 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x5c4c170c2c59 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27
[INFO] [stdout]   10:     0x5c4c170c2a8e - std::panicking::default_hook::h2c66fc99e962531d
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9
[INFO] [stdout]   11:     0x5c4c16f4d364 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hb6bd65493727d71a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   12:     0x5c4c16f4d364 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5c4c170c372e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h318e4efb8c1a5689
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   14:     0x5c4c170c372e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13
[INFO] [stdout]   15:     0x5c4c170c33fa - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13
[INFO] [stdout]   16:     0x5c4c170c1bd9 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x5c4c170c308d - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5
[INFO] [stdout]   18:     0x5c4c170e65f0 - core::panicking::panic_fmt::h62f63d096dd276af
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14
[INFO] [stdout]   19:     0x5c4c170e699c - core::panicking::assert_failed_inner::h102b4539a88470c2
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:448:17
[INFO] [stdout]   20:     0x5c4c16fedde3 - core::panicking::assert_failed::h76c3ac034af32658
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:403:5
[INFO] [stdout]   21:     0x5c4c16f13d19 - battledroids::emu::cpu::pe::test::asr::hc5e8549149769e85
[INFO] [stdout]                                at /opt/rustwide/workdir/src/emu/cpu/pe.rs:747:15
[INFO] [stdout]   22:     0x5c4c16f13b67 - battledroids::emu::cpu::pe::test::asr::{{closure}}::hddac02091e7bec9f
[INFO] [stdout]                                at /opt/rustwide/workdir/src/emu/cpu/pe.rs:832:13
[INFO] [stdout]   23:     0x5c4c16ed5826 - core::ops::function::FnOnce::call_once::he6e5d810484e1d16
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
[INFO] [stdout]   24:     0x5c4c16f52bcb - core::ops::function::FnOnce::call_once::h1f9474f1347fff52
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
[INFO] [stdout]   25:     0x5c4c16f52bcb - test::__rust_begin_short_backtrace::ha52ab26e77157f03
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18
[INFO] [stdout]   26:     0x5c4c16f51d05 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74
[INFO] [stdout]   27:     0x5c4c16f51d05 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x5c4c16f51d05 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40
[INFO] [stdout]   29:     0x5c4c16f51d05 - std::panicking::catch_unwind::h6deb5fe1e91873c9
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19
[INFO] [stdout]   30:     0x5c4c16f51d05 - std::panic::catch_unwind::hea0829b6b565654b
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x5c4c16f51d05 - test::run_test_in_process::hdc44dfecea3db21b
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27
[INFO] [stdout]   32:     0x5c4c16f51d05 - test::run_test::{{closure}}::h0364ba59bf23f652
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43
[INFO] [stdout]   33:     0x5c4c16f15904 - test::run_test::{{closure}}::h32730b304eec05da
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41
[INFO] [stdout]   34:     0x5c4c16f15904 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   35:     0x5c4c16f192da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   36:     0x5c4c16f192da - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x5c4c16f192da - std::panicking::catch_unwind::do_call::h163fe12cca9901c2
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40
[INFO] [stdout]   38:     0x5c4c16f192da - std::panicking::catch_unwind::he81557d0e17cc1bc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19
[INFO] [stdout]   39:     0x5c4c16f192da - std::panic::catch_unwind::hc2b8e79c20593955
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x5c4c16f192da - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   41:     0x5c4c16f192da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
[INFO] [stdout]   42:     0x5c4c170c66af - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5924238c754de3b8
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9
[INFO] [stdout]   43:     0x5c4c170c66af - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17
[INFO] [stdout]   44:     0x71bbc052eaa4 - <unknown>
[INFO] [stdout]   45:     0x71bbc05bba34 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     emu::builder::test::label
[INFO] [stdout]     emu::builder::test::load_from_asm_file
[INFO] [stdout]     emu::builder::test::push
[INFO] [stdout]     emu::cpu::isa::tests::from_variant_str
[INFO] [stdout]     emu::cpu::isa::tests::instruction_to_string
[INFO] [stdout]     emu::cpu::pe::test::add
[INFO] [stdout]     emu::cpu::pe::test::addi
[INFO] [stdout]     emu::cpu::pe::test::and
[INFO] [stdout]     emu::cpu::pe::test::asr
[INFO] [stdout]     emu::cpu::pe::test::from_builder
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 18 passed; 10 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "f30190b1f4e422844c74317aeead4df09d5badf8dc36f7525b9993072a724fb3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f30190b1f4e422844c74317aeead4df09d5badf8dc36f7525b9993072a724fb3", kill_on_drop: false }`
[INFO] [stdout] f30190b1f4e422844c74317aeead4df09d5badf8dc36f7525b9993072a724fb3
