[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 try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdroidengineer%2Fbattledroids" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/droidengineer/battledroids on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded enum_primitive v0.1.1 [INFO] [stderr] Downloaded pretty_env_logger v0.4.0 [INFO] [stderr] Downloaded paste v1.0.9 [INFO] [stderr] Downloaded num-traits v0.1.43 [INFO] [stderr] Downloaded rmp v0.8.11 [INFO] [stderr] Downloaded libc v0.2.137 [INFO] [stderr] Downloaded regex v1.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14c489af83805439238b43ec918c629dc663cebde3d7e0638ee7212e0dd64764 [INFO] running `Command { std: "docker" "start" "-a" "14c489af83805439238b43ec918c629dc663cebde3d7e0638ee7212e0dd64764", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14c489af83805439238b43ec918c629dc663cebde3d7e0638ee7212e0dd64764", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14c489af83805439238b43ec918c629dc663cebde3d7e0638ee7212e0dd64764", kill_on_drop: false }` [INFO] [stdout] 14c489af83805439238b43ec918c629dc663cebde3d7e0638ee7212e0dd64764 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 25739786a39960a0546479bcde65bae2001ecddeb0179e2373fba1681b6b6b0d [INFO] running `Command { std: "docker" "start" "-a" "25739786a39960a0546479bcde65bae2001ecddeb0179e2373fba1681b6b6b0d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [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 rand v0.8.5 [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::().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::().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) { [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> { 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] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `DEVICE_COUNT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [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] | ^^^ help: convert the identifier to upper case: `PID` [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 10.51s [INFO] running `Command { std: "docker" "inspect" "25739786a39960a0546479bcde65bae2001ecddeb0179e2373fba1681b6b6b0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25739786a39960a0546479bcde65bae2001ecddeb0179e2373fba1681b6b6b0d", kill_on_drop: false }` [INFO] [stdout] 25739786a39960a0546479bcde65bae2001ecddeb0179e2373fba1681b6b6b0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 56c2a4a3c0126f504a233996f4d2059965d43380731a27092a83d5feafdf7be6 [INFO] running `Command { std: "docker" "start" "-a" "56c2a4a3c0126f504a233996f4d2059965d43380731a27092a83d5feafdf7be6", 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::().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::().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) { [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> { 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] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `DEVICE_COUNT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [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] | ^^^ help: convert the identifier to upper case: `PID` [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] [stderr] Compiling battledroids v0.1.0 (/opt/rustwide/workdir) [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::().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::().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) { [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> { 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] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `DEVICE_COUNT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [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] | ^^^ help: convert the identifier to upper case: `PID` [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] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.19s [INFO] running `Command { std: "docker" "inspect" "56c2a4a3c0126f504a233996f4d2059965d43380731a27092a83d5feafdf7be6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56c2a4a3c0126f504a233996f4d2059965d43380731a27092a83d5feafdf7be6", kill_on_drop: false }` [INFO] [stdout] 56c2a4a3c0126f504a233996f4d2059965d43380731a27092a83d5feafdf7be6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b4947d23ad997b86b88ac9e8348435c2ab9e9b9aa1a4974317f1472593c56a14 [INFO] running `Command { std: "docker" "start" "-a" "b4947d23ad997b86b88ac9e8348435c2ab9e9b9aa1a4974317f1472593c56a14", 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::().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::().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) { [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> { 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] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `DEVICE_COUNT` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [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] | ^^^ help: convert the identifier to upper case: `PID` [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] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `battledroids` (lib) generated 84 warnings (run `cargo fix --lib -p battledroids` to apply 14 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.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/battledroids-c2e8c9b9329ff18e) [INFO] [stdout] [INFO] [stdout] running 28 tests [INFO] [stdout] test emu::cpu::isa::tests::decode ... ok [INFO] [stdout] test emu::cpu::isa::tests::encode ... ok [INFO] [stdout] test emu::cpu::isa::tests::instruction_to_code ... ok [INFO] [stdout] test emu::cpu::isa::tests::instruction_from_code ... ok [INFO] [stdout] test types::flaken::test_encode_decode ... ok [INFO] [stdout] test types::flaken::test_bitmask ... 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::stack::test::pop ... ok [INFO] [stdout] test types::flaken::test_next ... 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::pe::test::instruction_test ... ok [INFO] [stdout] test emu::cpu::isa::tests::instruction_from_string ... ok [INFO] [stdout] test emu::builder::test::label ... FAILED [INFO] [stdout] test emu::cpu::isa::tests::instruction_to_string ... FAILED [INFO] [stdout] test types::stack::test::empty_peek - should panic ... ok [INFO] [stdout] test emu::cpu::pe::test::add ... FAILED [INFO] [stdout] test types::stack::test::empty_pop - should panic ... ok [INFO] [stdout] test emu::cpu::pe::test::addi ... FAILED [INFO] [stdout] test emu::cpu::isa::tests::from_variant_str ... FAILED [INFO] [stdout] test emu::cpu::pe::test::and ... FAILED [INFO] [stdout] test emu::builder::test::push ... FAILED [INFO] [stdout] test emu::builder::test::load_from_asm_file ... FAILED [INFO] [stdout] test emu::cpu::pe::test::from_builder ... FAILED [INFO] [stdout] test emu::cpu::pe::test::asr ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [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: 0x7b1be864f532 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x7b1be864f532 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x7b1be864f532 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x7b1be864f532 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x7b1be868a573 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x7b1be868a573 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x7b1be864c853 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x7b1be864c853 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x7b1be864f382 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x7b1be8650b0c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x7b1be8650962 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x7b1be84e17c4 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x7b1be84e17c4 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7b1be8651573 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x7b1be8651573 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x7b1be865125a - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x7b1be864fa39 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x7b1be8650eed - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x7b1be845e5b0 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x7b1be845e903 - core::panicking::assert_failed_inner::h483faaa3ae844fd5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:432:17 [INFO] [stdout] 20: 0x7b1be845e855 - core::panicking::assert_failed::hf8b169ac4b7bfd88 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:387:5 [INFO] [stdout] 21: 0x7b1be84a4545 - battledroids::emu::builder::test::label::hd0280b2631861ac7 [INFO] [stdout] at /opt/rustwide/workdir/src/emu/builder.rs:158:9 [INFO] [stdout] 22: 0x7b1be84a43e7 - battledroids::emu::builder::test::label::{{closure}}::h6f018d0a4f7e1e39 [INFO] [stdout] at /opt/rustwide/workdir/src/emu/builder.rs:154:15 [INFO] [stdout] 23: 0x7b1be84a5fc6 - core::ops::function::FnOnce::call_once::hb82854b5301a82a8 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x7b1be84e6ebb - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x7b1be84e6ebb - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x7b1be84e612e - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x7b1be84e612e - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x7b1be84e612e - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x7b1be84e612e - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x7b1be84e612e - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x7b1be84e612e - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x7b1be84e612e - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x7b1be84aafb4 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x7b1be84aafb4 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x7b1be84ae7aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x7b1be84ae7aa - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x7b1be84ae7aa - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x7b1be84ae7aa - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x7b1be84ae7aa - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x7b1be84ae7aa - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x7b1be84ae7aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x7b1be8653fc7 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x7b1be8653fc7 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x7b1be8653fc7 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [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: 0x7b1be864f532 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x7b1be864f532 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x7b1be864f532 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x7b1be864f532 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x7b1be868a573 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x7b1be868a573 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x7b1be864c853 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x7b1be864c853 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x7b1be864f382 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x7b1be8650b0c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x7b1be8650962 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x7b1be84e17c4 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x7b1be84e17c4 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7b1be8651573 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x7b1be8651573 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x7b1be865125a - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x7b1be864fa39 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x7b1be8650eed - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x7b1be845e5b0 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x7b1be845e903 - core::panicking::assert_failed_inner::h483faaa3ae844fd5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:432:17 [INFO] [stdout] 20: 0x7b1be84a1b8d - core::panicking::assert_failed::h3a4abeac7386bff1 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:387:5 [INFO] [stdout] 21: 0x7b1be8480892 - battledroids::emu::cpu::isa::tests::instruction_to_string::h476013f9f46c7fe0 [INFO] [stdout] at /opt/rustwide/workdir/src/emu/cpu/isa.rs:1116:9 [INFO] [stdout] 22: 0x7b1be847eec7 - battledroids::emu::cpu::isa::tests::instruction_to_string::{{closure}}::hd13b390a28c31479 [INFO] [stdout] at /opt/rustwide/workdir/src/emu/cpu/isa.rs:1091:31 [INFO] [stdout] 23: 0x7b1be84a5c36 - core::ops::function::FnOnce::call_once::h66a39177340041d9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x7b1be84e6ebb - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x7b1be84e6ebb - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x7b1be84e612e - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x7b1be84e612e - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x7b1be84e612e - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x7b1be84e612e - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x7b1be84e612e - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x7b1be84e612e - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x7b1be84e612e - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x7b1be84aafb4 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x7b1be84aafb4 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x7b1be84ae7aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x7b1be84ae7aa - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x7b1be84ae7aa - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x7b1be84ae7aa - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x7b1be84ae7aa - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x7b1be84ae7aa - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x7b1be84ae7aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x7b1be8653fc7 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x7b1be8653fc7 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x7b1be8653fc7 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [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: 0x7b1be864f532 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x7b1be864f532 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x7b1be864f532 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x7b1be864f532 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x7b1be868a573 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x7b1be868a573 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x7b1be864c853 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x7b1be864c853 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x7b1be864f382 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x7b1be8650b0c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x7b1be8650962 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x7b1be84e17c4 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x7b1be84e17c4 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7b1be8651573 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x7b1be8651573 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x7b1be865125a - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x7b1be864fa39 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x7b1be8650eed - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x7b1be845e5b0 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x7b1be845e903 - core::panicking::assert_failed_inner::h483faaa3ae844fd5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:432:17 [INFO] [stdout] 20: 0x7b1be858dade - core::panicking::assert_failed::hf2b2b136366f70e4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:387:5 [INFO] [stdout] 21: 0x7b1be8498b14 - battledroids::emu::cpu::pe::test::add::h8fd9e3bf3f158ca1 [INFO] [stdout] at /opt/rustwide/workdir/src/emu/cpu/pe.rs:747:15 [INFO] [stdout] 22: 0x7b1be8498907 - battledroids::emu::cpu::pe::test::add::{{closure}}::hf71d2ee235bd89f0 [INFO] [stdout] at /opt/rustwide/workdir/src/emu/cpu/pe.rs:808:13 [INFO] [stdout] 23: 0x7b1be84a5d76 - core::ops::function::FnOnce::call_once::h7f2c75bdc4f8335b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x7b1be84e6ebb - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x7b1be84e6ebb - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x7b1be84e612e - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x7b1be84e612e - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x7b1be84e612e - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x7b1be84e612e - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x7b1be84e612e - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x7b1be84e612e - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x7b1be84e612e - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x7b1be84aafb4 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x7b1be84aafb4 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x7b1be84ae7aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x7b1be84ae7aa - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x7b1be84ae7aa - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x7b1be84ae7aa - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x7b1be84ae7aa - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x7b1be84ae7aa - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x7b1be84ae7aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x7b1be8653fc7 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x7b1be8653fc7 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x7b1be8653fc7 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [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: 0x7b1be864f532 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x7b1be864f532 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x7b1be864f532 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x7b1be864f532 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x7b1be868a573 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x7b1be868a573 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x7b1be864c853 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x7b1be864c853 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x7b1be864f382 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x7b1be8650b0c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x7b1be8650962 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x7b1be84e17c4 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x7b1be84e17c4 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7b1be8651573 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x7b1be8651573 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x7b1be865125a - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x7b1be864fa39 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x7b1be8650eed - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stdout] 18: 0x7b1be845e5b0 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x7b1be845e903 - core::panicking::assert_failed_inner::h483faaa3ae844fd5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:432:17 [INFO] [stdout] 20: 0x7b1be858dade - core::panicking::assert_failed::hf2b2b136366f70e4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:387:5 [INFO] [stdout] 21: 0x7b1be8498ee5 - battledroids::emu::cpu::pe::test::addi::h08d6b8524aefe015 [INFO] [stdout] at /opt/rustwide/workdir/src/emu/cpu/pe.rs:747:15 [INFO] [stdout] 22: 0x7b1be8498d27 - battledroids::emu::cpu::pe::test::addi::{{closure}}::hda47bcc0cec5f494 [INFO] [stdout] at /opt/rustwide/workdir/src/emu/cpu/pe.rs:816:14 [INFO] [stdout] 23: 0x7b1be84a60c6 - core::ops::function::FnOnce::call_once::he453d1b6db4f8d72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x7b1be84e6ebb - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x7b1be84e6ebb - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x7b1be84e612e - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x7b1be84e612e - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x7b1be84e612e - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x7b1be84e612e - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x7b1be84e612e - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x7b1be84e612e - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x7b1be84e612e - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x7b1be84aafb4 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x7b1be84aafb4 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x7b1be84ae7aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x7b1be84ae7aa - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x7b1be84ae7aa - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x7b1be84ae7aa - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x7b1be84ae7aa - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x7b1be84ae7aa - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x7b1be84ae7aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x7b1be8653fc7 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x7b1be8653fc7 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x7b1be8653fc7 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [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: 0x7b1be864f532 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x7b1be864f532 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x7b1be864f532 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x7b1be864f532 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x7b1be868a573 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x7b1be868a573 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x7b1be864c853 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x7b1be864c853 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x7b1be864f382 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x7b1be8650b0c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x7b1be8650962 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x7b1be84e17c4 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x7b1be84e17c4 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7b1be8651573 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x7b1be8651573 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x7b1be865125a - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x7b1be864fa39 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x7b1be8650eed - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x7b1be845e5b0 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x7b1be845e903 - core::panicking::assert_failed_inner::h483faaa3ae844fd5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:432:17 [INFO] [stdout] 20: 0x7b1be84a1c89 - core::panicking::assert_failed::hb4151628d593f08c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:387:5 [INFO] [stdout] 21: 0x7b1be848b76d - battledroids::emu::cpu::isa::tests::from_variant_str::h996e75f28e04ca5b [INFO] [stdout] at /opt/rustwide/workdir/src/emu/cpu/isa.rs:1260:9 [INFO] [stdout] 22: 0x7b1be848b3c7 - battledroids::emu::cpu::isa::tests::from_variant_str::{{closure}}::heb1072e79589e6b5 [INFO] [stdout] at /opt/rustwide/workdir/src/emu/cpu/isa.rs:1256:26 [INFO] [stdout] 23: 0x7b1be84a5bf6 - core::ops::function::FnOnce::call_once::h651cd4594f802ee4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x7b1be84e6ebb - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x7b1be84e6ebb - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x7b1be84e612e - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x7b1be84e612e - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x7b1be84e612e - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x7b1be84e612e - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x7b1be84e612e - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x7b1be84e612e - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x7b1be84e612e - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x7b1be84aafb4 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x7b1be84aafb4 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x7b1be84ae7aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x7b1be84ae7aa - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x7b1be84ae7aa - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x7b1be84ae7aa - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x7b1be84ae7aa - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x7b1be84ae7aa - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x7b1be84ae7aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x7b1be8653fc7 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x7b1be8653fc7 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x7b1be8653fc7 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [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: 0x7b1be864f532 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x7b1be864f532 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x7b1be864f532 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x7b1be864f532 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x7b1be868a573 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x7b1be868a573 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x7b1be864c853 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x7b1be864c853 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x7b1be864f382 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x7b1be8650b0c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x7b1be8650962 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x7b1be84e17c4 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x7b1be84e17c4 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7b1be8651573 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x7b1be8651573 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x7b1be865125a - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x7b1be864fa39 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x7b1be8650eed - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x7b1be845e5b0 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x7b1be845e903 - core::panicking::assert_failed_inner::h483faaa3ae844fd5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:432:17 [INFO] [stdout] 20: 0x7b1be858dade - core::panicking::assert_failed::hf2b2b136366f70e4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:387:5 [INFO] [stdout] 21: 0x7b1be849923a - battledroids::emu::cpu::pe::test::and::h29067269f5e412c6 [INFO] [stdout] at /opt/rustwide/workdir/src/emu/cpu/pe.rs:747:15 [INFO] [stdout] 22: 0x7b1be8499027 - battledroids::emu::cpu::pe::test::and::{{closure}}::h0e4a42d52d8eb9c8 [INFO] [stdout] at /opt/rustwide/workdir/src/emu/cpu/pe.rs:824:13 [INFO] [stdout] 23: 0x7b1be84a5eb6 - core::ops::function::FnOnce::call_once::haea0636f10568665 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x7b1be84e6ebb - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x7b1be84e6ebb - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x7b1be84e612e - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x7b1be84e612e - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x7b1be84e612e - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x7b1be84e612e - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x7b1be84e612e - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x7b1be84e612e - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x7b1be84e612e - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x7b1be84aafb4 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x7b1be84aafb4 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x7b1be84ae7aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x7b1be84ae7aa - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x7b1be84ae7aa - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x7b1be84ae7aa - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x7b1be84ae7aa - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x7b1be84ae7aa - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x7b1be84ae7aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x7b1be8653fc7 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x7b1be8653fc7 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x7b1be8653fc7 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [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: 0x7b1be864f532 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x7b1be864f532 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x7b1be864f532 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x7b1be864f532 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x7b1be868a573 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x7b1be868a573 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x7b1be864c853 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x7b1be864c853 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x7b1be864f382 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x7b1be8650b0c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x7b1be8650962 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x7b1be84e17c4 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x7b1be84e17c4 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7b1be8651573 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x7b1be8651573 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x7b1be8651226 - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:699:13 [INFO] [stdout] 16: 0x7b1be864fa39 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x7b1be8650eed - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x7b1be845e5b0 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x7b1be845e63c - core::panicking::panic::hd54a104e9b8d4d02 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:145:5 [INFO] [stdout] 20: 0x7b1be84a43b5 - battledroids::emu::builder::test::push::hbed8f06db2c50564 [INFO] [stdout] at /opt/rustwide/workdir/src/emu/builder.rs:151:9 [INFO] [stdout] 21: 0x7b1be84a42e7 - battledroids::emu::builder::test::push::{{closure}}::h868cc2178a2cba9d [INFO] [stdout] at /opt/rustwide/workdir/src/emu/builder.rs:147:14 [INFO] [stdout] 22: 0x7b1be84a5df6 - core::ops::function::FnOnce::call_once::h8a2df1aecf58724a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x7b1be84e6ebb - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x7b1be84e6ebb - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 25: 0x7b1be84e612e - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 26: 0x7b1be84e612e - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x7b1be84e612e - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 28: 0x7b1be84e612e - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 29: 0x7b1be84e612e - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x7b1be84e612e - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 31: 0x7b1be84e612e - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 32: 0x7b1be84aafb4 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 33: 0x7b1be84aafb4 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 34: 0x7b1be84ae7aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 35: 0x7b1be84ae7aa - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x7b1be84ae7aa - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 37: 0x7b1be84ae7aa - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 38: 0x7b1be84ae7aa - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 39: 0x7b1be84ae7aa - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 40: 0x7b1be84ae7aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x7b1be8653fc7 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 42: 0x7b1be8653fc7 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x7b1be8653fc7 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [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: 0x7b1be864f532 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x7b1be864f532 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x7b1be864f532 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x7b1be864f532 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x7b1be868a573 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x7b1be868a573 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x7b1be864c853 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x7b1be864c853 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x7b1be864f382 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x7b1be8650b0c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x7b1be8650962 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x7b1be84e17c4 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x7b1be84e17c4 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7b1be8651573 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x7b1be8651573 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x7b1be865125a - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x7b1be864fa39 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x7b1be8650eed - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x7b1be845e5b0 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x7b1be845e903 - core::panicking::assert_failed_inner::h483faaa3ae844fd5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:432:17 [INFO] [stdout] 20: 0x7b1be84a1c89 - core::panicking::assert_failed::hb4151628d593f08c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:387:5 [INFO] [stdout] 21: 0x7b1be84a48ba - battledroids::emu::builder::test::load_from_asm_file::h2e902a6c1c398959 [INFO] [stdout] at /opt/rustwide/workdir/src/emu/builder.rs:169:9 [INFO] [stdout] 22: 0x7b1be84a4587 - battledroids::emu::builder::test::load_from_asm_file::{{closure}}::h9d5007a68d59d565 [INFO] [stdout] at /opt/rustwide/workdir/src/emu/builder.rs:161:32 [INFO] [stdout] 23: 0x7b1be84a5b96 - core::ops::function::FnOnce::call_once::h577882a4ee611666 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x7b1be84e6ebb - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x7b1be84e6ebb - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x7b1be84e612e - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x7b1be84e612e - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x7b1be84e612e - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x7b1be84e612e - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x7b1be84e612e - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x7b1be84e612e - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x7b1be84e612e - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x7b1be84aafb4 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x7b1be84aafb4 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x7b1be84ae7aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x7b1be84ae7aa - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x7b1be84ae7aa - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x7b1be84ae7aa - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x7b1be84ae7aa - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x7b1be84ae7aa - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x7b1be84ae7aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x7b1be8653fc7 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x7b1be8653fc7 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x7b1be8653fc7 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [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: 0x7b1be864f532 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x7b1be864f532 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x7b1be864f532 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x7b1be864f532 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x7b1be868a573 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x7b1be868a573 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x7b1be864c853 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x7b1be864c853 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x7b1be864f382 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x7b1be8650b0c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x7b1be8650962 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x7b1be84e17c4 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x7b1be84e17c4 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7b1be8651573 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x7b1be8651573 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x7b1be865125a - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x7b1be864fa39 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x7b1be8650eed - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x7b1be845e5b0 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x7b1be845e903 - core::panicking::assert_failed_inner::h483faaa3ae844fd5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:432:17 [INFO] [stdout] 20: 0x7b1be84a1c89 - core::panicking::assert_failed::hb4151628d593f08c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:387:5 [INFO] [stdout] 21: 0x7b1be84908f3 - battledroids::emu::cpu::pe::test::from_builder::hf62892076c8882bf [INFO] [stdout] at /opt/rustwide/workdir/src/emu/cpu/pe.rs:760:9 [INFO] [stdout] 22: 0x7b1be8490777 - battledroids::emu::cpu::pe::test::from_builder::{{closure}}::h8e77c57b9bdf8e25 [INFO] [stdout] at /opt/rustwide/workdir/src/emu/cpu/pe.rs:753:22 [INFO] [stdout] 23: 0x7b1be84a5a06 - core::ops::function::FnOnce::call_once::h1b230b2fa1b6f429 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x7b1be84e6ebb - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x7b1be84e6ebb - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x7b1be84e612e - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x7b1be84e612e - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x7b1be84e612e - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x7b1be84e612e - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x7b1be84e612e - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x7b1be84e612e - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x7b1be84e612e - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x7b1be84aafb4 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x7b1be84aafb4 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x7b1be84ae7aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x7b1be84ae7aa - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x7b1be84ae7aa - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x7b1be84ae7aa - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x7b1be84ae7aa - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x7b1be84ae7aa - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x7b1be84ae7aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x7b1be8653fc7 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x7b1be8653fc7 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x7b1be8653fc7 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [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: 0x7b1be864f532 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x7b1be864f532 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x7b1be864f532 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x7b1be864f532 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x7b1be868a573 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x7b1be868a573 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x7b1be864c853 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x7b1be864c853 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x7b1be864f382 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x7b1be8650b0c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x7b1be8650962 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x7b1be84e17c4 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x7b1be84e17c4 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7b1be8651573 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x7b1be8651573 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x7b1be865125a - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x7b1be864fa39 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x7b1be8650eed - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x7b1be845e5b0 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x7b1be845e903 - core::panicking::assert_failed_inner::h483faaa3ae844fd5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:432:17 [INFO] [stdout] 20: 0x7b1be858dade - core::panicking::assert_failed::hf2b2b136366f70e4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:387:5 [INFO] [stdout] 21: 0x7b1be849960f - battledroids::emu::cpu::pe::test::asr::hb2a7e8b34206f30e [INFO] [stdout] at /opt/rustwide/workdir/src/emu/cpu/pe.rs:747:15 [INFO] [stdout] 22: 0x7b1be8499457 - battledroids::emu::cpu::pe::test::asr::{{closure}}::h71c962445f171aa0 [INFO] [stdout] at /opt/rustwide/workdir/src/emu/cpu/pe.rs:832:13 [INFO] [stdout] 23: 0x7b1be84a6046 - core::ops::function::FnOnce::call_once::hcd43f26f409a293e [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x7b1be84e6ebb - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x7b1be84e6ebb - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x7b1be84e612e - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x7b1be84e612e - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x7b1be84e612e - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x7b1be84e612e - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x7b1be84e612e - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x7b1be84e612e - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x7b1be84e612e - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x7b1be84aafb4 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x7b1be84aafb4 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x7b1be84ae7aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x7b1be84ae7aa - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x7b1be84ae7aa - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x7b1be84ae7aa - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x7b1be84ae7aa - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x7b1be84ae7aa - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x7b1be84ae7aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x7b1be8653fc7 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x7b1be8653fc7 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x7b1be8653fc7 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [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.14s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b4947d23ad997b86b88ac9e8348435c2ab9e9b9aa1a4974317f1472593c56a14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4947d23ad997b86b88ac9e8348435c2ab9e9b9aa1a4974317f1472593c56a14", kill_on_drop: false }` [INFO] [stdout] b4947d23ad997b86b88ac9e8348435c2ab9e9b9aa1a4974317f1472593c56a14