[INFO] cloning repository https://github.com/cfeitong/cft-riscv-vm
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cfeitong/cft-riscv-vm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcfeitong%2Fcft-riscv-vm", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcfeitong%2Fcft-riscv-vm'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 37d095ea4d735f4981681b597c9ca6b70ee3765b
[INFO] checking cfeitong/cft-riscv-vm against try#012cd62c9add58ab3910e44c137d87db3ab70f61 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcfeitong%2Fcft-riscv-vm" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/cfeitong/cft-riscv-vm
[INFO] finished tweaking git repo https://github.com/cfeitong/cft-riscv-vm
[INFO] tweaked toml for git repo https://github.com/cfeitong/cft-riscv-vm written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/cfeitong/cft-riscv-vm on toolchain 012cd62c9add58ab3910e44c137d87db3ab70f61
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/cfeitong/cft-riscv-vm 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" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0bc46dc2da6d9e926d7e8388e05998286d9939ff00fb8819332b88a9220609f4
[INFO] running `Command { std: "docker" "start" "-a" "0bc46dc2da6d9e926d7e8388e05998286d9939ff00fb8819332b88a9220609f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0bc46dc2da6d9e926d7e8388e05998286d9939ff00fb8819332b88a9220609f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0bc46dc2da6d9e926d7e8388e05998286d9939ff00fb8819332b88a9220609f4", kill_on_drop: false }`
[INFO] [stdout] 0bc46dc2da6d9e926d7e8388e05998286d9939ff00fb8819332b88a9220609f4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d7579677622e44c244db7d19f717e0225b627ca5c82901b28d6b738ba90ee4d8
[INFO] running `Command { std: "docker" "start" "-a" "d7579677622e44c244db7d19f717e0225b627ca5c82901b28d6b738ba90ee4d8", kill_on_drop: false }`
[INFO] [stderr]     Checking overload v0.1.1
[INFO] [stderr]     Checking log v0.4.22
[INFO] [stderr]    Compiling libc v0.2.158
[INFO] [stderr]    Compiling thiserror v1.0.64
[INFO] [stderr]    Compiling eyre v0.6.12
[INFO] [stderr]     Checking gimli v0.28.1
[INFO] [stderr]     Checking thread_local v1.1.8
[INFO] [stderr]    Compiling cc v1.1.21
[INFO] [stderr]     Checking miniz_oxide v0.7.4
[INFO] [stderr]     Checking object v0.32.2
[INFO] [stderr]     Checking rustc-demangle v0.1.24
[INFO] [stderr]    Compiling rustix v0.38.37
[INFO] [stderr]     Checking indenter v0.3.3
[INFO] [stderr]     Checking owo-colors v3.5.0
[INFO] [stderr]    Compiling syn v2.0.77
[INFO] [stderr]     Checking wyz v0.5.1
[INFO] [stderr]     Checking nu-ansi-term v0.46.0
[INFO] [stderr]     Checking twox-hash v1.6.3
[INFO] [stderr]     Checking linux-raw-sys v0.4.14
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking bitvec v1.0.1
[INFO] [stderr]     Checking flate2 v1.0.33
[INFO] [stderr]     Checking fastrand v2.1.1
[INFO] [stderr]     Checking tracing-subscriber v0.3.18
[INFO] [stderr]    Compiling backtrace v0.3.71
[INFO] [stderr]     Checking tempfile v3.12.0
[INFO] [stderr]     Checking addr2line v0.21.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling thiserror-impl v1.0.64
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking ruzstd v0.3.1
[INFO] [stderr]     Checking tracing-error v0.2.0
[INFO] [stderr]     Checking color-spantrace v0.2.1
[INFO] [stderr]     Checking color-eyre v0.6.3
[INFO] [stderr]     Checking object v0.31.1
[INFO] [stderr]     Checking cft-riscv-vm v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `low_bitmask_u8`
[INFO] [stdout]  --> src/instruction/format.rs:1:30
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::{low_bitmask_u32, low_bitmask_u8};
[INFO] [stdout]   |                              ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `lazy_cell` has been stable since 1.80.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(lazy_cell)]
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/instruction/rv32i.rs:206:14
[INFO] [stdout]     |
[INFO] [stdout] 206 | pub fn fence(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |              ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/instruction/rv32i.rs:206:32
[INFO] [stdout]     |
[INFO] [stdout] 206 | pub fn fence(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |                                ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/instruction/rv32i.rs:210:16
[INFO] [stdout]     |
[INFO] [stdout] 210 | pub fn fence_i(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |                ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/instruction/rv32i.rs:210:34
[INFO] [stdout]     |
[INFO] [stdout] 210 | pub fn fence_i(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/instruction/rv32i.rs:277:14
[INFO] [stdout]     |
[INFO] [stdout] 277 | pub fn ecall(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |              ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/instruction/rv32i.rs:277:32
[INFO] [stdout]     |
[INFO] [stdout] 277 | pub fn ecall(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |                                ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/instruction/rv32i.rs:281:15
[INFO] [stdout]     |
[INFO] [stdout] 281 | pub fn ebreak(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |               ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/instruction/rv32i.rs:281:33
[INFO] [stdout]     |
[INFO] [stdout] 281 | pub fn ebreak(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |                                 ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/instruction/rv32i.rs:285:13
[INFO] [stdout]     |
[INFO] [stdout] 285 | pub fn uret(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/instruction/rv32i.rs:285:31
[INFO] [stdout]     |
[INFO] [stdout] 285 | pub fn uret(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |                               ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/instruction/rv32i.rs:289:13
[INFO] [stdout]     |
[INFO] [stdout] 289 | pub fn sret(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/instruction/rv32i.rs:289:31
[INFO] [stdout]     |
[INFO] [stdout] 289 | pub fn sret(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |                               ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/instruction/rv32i.rs:293:13
[INFO] [stdout]     |
[INFO] [stdout] 293 | pub fn mret(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/instruction/rv32i.rs:293:31
[INFO] [stdout]     |
[INFO] [stdout] 293 | pub fn mret(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |                               ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/instruction/rv32i.rs:297:12
[INFO] [stdout]     |
[INFO] [stdout] 297 | pub fn wfi(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |            ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/instruction/rv32i.rs:297:30
[INFO] [stdout]     |
[INFO] [stdout] 297 | pub fn wfi(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |                              ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/instruction/rv32i.rs:301:19
[INFO] [stdout]     |
[INFO] [stdout] 301 | pub fn sfence_vma(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |                   ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/instruction/rv32i.rs:301:37
[INFO] [stdout]     |
[INFO] [stdout] 301 | pub fn sfence_vma(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |                                     ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `N_CSR` is never used
[INFO] [stdout]  --> src/cpu.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub const N_CSR: usize = 4096;
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `INST_SIZE` is never used
[INFO] [stdout]  --> src/cpu.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub const INST_SIZE: u32 = 4;
[INFO] [stdout]   |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cpu` is never constructed
[INFO] [stdout]  --> src/cpu.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Cpu {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `execute`, and `reset` are never used
[INFO] [stdout]   --> src/cpu.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl Cpu {
[INFO] [stdout]    | -------- associated items in this implementation
[INFO] [stdout] 27 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub fn execute(&mut self, ins_buf: &[u32]) -> Result<()> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn reset(&mut self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `InstExecResult` is never used
[INFO] [stdout]   --> src/cpu.rs:47:10
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub enum InstExecResult {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ReturnTarget` is never used
[INFO] [stdout]   --> src/cpu.rs:55:10
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub enum ReturnTarget {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `InstException` is never used
[INFO] [stdout]   --> src/cpu.rs:60:10
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub enum InstException {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Bus` is never constructed
[INFO] [stdout]   --> src/cpu.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub struct Bus {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `read` and `write` are never used
[INFO] [stdout]   --> src/cpu.rs:71:12
[INFO] [stdout]    |
[INFO] [stdout] 70 | impl Bus {
[INFO] [stdout]    | -------- methods in this implementation
[INFO] [stdout] 71 |     pub fn read(&self, addr: u32, buf: &mut [u8]) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     pub fn write(&mut self, addr: u32, data: &[u8]) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Mem` is never constructed
[INFO] [stdout]   --> src/cpu.rs:94:12
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub struct Mem(pub Vec<u8>);
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OPCODE_SIZE` is never used
[INFO] [stdout]  --> src/instruction/mod.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const OPCODE_SIZE: usize = 1 << 5;
[INFO] [stdout]   |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `InsImpl` is never used
[INFO] [stdout]  --> src/instruction/mod.rs:9:6
[INFO] [stdout]   |
[INFO] [stdout] 9 | type InsImpl = fn(u32, &mut Cpu) -> InstExecResult;
[INFO] [stdout]   |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Instruction` is never constructed
[INFO] [stdout]   --> src/instruction/mod.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Instruction(pub u32);
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `opcode` is never used
[INFO] [stdout]   --> src/instruction/mod.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Instruction {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] 14 |     pub fn opcode(self) -> usize {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `instruction_array` is never used
[INFO] [stdout]   --> src/instruction/mod.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn instruction_array() -> &'static [InsImpl; OPCODE_SIZE] {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `nop` is never used
[INFO] [stdout]   --> src/instruction/mod.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn nop(_: u32, _: &mut Cpu) -> InstExecResult {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `low_bitmask_u8` is never used
[INFO] [stdout]   --> src/instruction/mod.rs:34:4
[INFO] [stdout]    |
[INFO] [stdout] 34 | fn low_bitmask_u8(cnt: usize) -> u8 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `low_bitmask_u32` is never used
[INFO] [stdout]   --> src/instruction/mod.rs:39:10
[INFO] [stdout]    |
[INFO] [stdout] 39 | const fn low_bitmask_u32(cnt: usize) -> u32 {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RFormat` is never constructed
[INFO] [stdout]  --> src/instruction/format.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct RFormat(pub u32);
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `funct7`, `rs2`, `rs1`, `funct3`, `rd`, and `opcode` are never used
[INFO] [stdout]   --> src/instruction/format.rs:8:12
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl RFormat {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout]  8 |     pub fn funct7(self) -> u32 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub fn rs2(self) -> u8 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn rs1(self) -> u8 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn funct3(self) -> u8 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn rd(self) -> u8 {
[INFO] [stdout]    |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn opcode(self) -> u8 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IFormat` is never constructed
[INFO] [stdout]   --> src/instruction/format.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct IFormat(pub u32);
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `imm`, `rs1`, `funct3`, `rd`, and `opcode` are never used
[INFO] [stdout]   --> src/instruction/format.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl IFormat {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] 38 |     pub fn imm(self) -> u32 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn rs1(self) -> u8 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn funct3(self) -> u8 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn rd(self) -> u8 {
[INFO] [stdout]    |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn opcode(self) -> u8 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SFormat` is never constructed
[INFO] [stdout]   --> src/instruction/format.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct SFormat(pub u32);
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `imm`, `rs2`, `rs1`, `funct3`, and `opcode` are never used
[INFO] [stdout]   --> src/instruction/format.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | impl SFormat {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] 64 |     pub fn imm(self) -> u32 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 68 |     pub fn rs2(self) -> u8 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 72 |     pub fn rs1(self) -> u8 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 76 |     pub fn funct3(self) -> u8 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 80 |     pub fn opcode(self) -> u8 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SBFormat` is never constructed
[INFO] [stdout]   --> src/instruction/format.rs:88:12
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub struct SBFormat(pub u32);
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `imm`, `rs2`, `rs1`, `funct3`, and `opcode` are never used
[INFO] [stdout]    --> src/instruction/format.rs:90:12
[INFO] [stdout]     |
[INFO] [stdout]  89 | impl SBFormat {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout]  90 |     pub fn imm(self) -> u32 {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  98 |     pub fn rs2(self) -> u8 {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     pub fn rs1(self) -> u8 {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     pub fn funct3(self) -> u8 {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub fn opcode(self) -> u8 {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UFormat` is never constructed
[INFO] [stdout]    --> src/instruction/format.rs:118:12
[INFO] [stdout]     |
[INFO] [stdout] 118 | pub struct UFormat(pub u32);
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `imm`, `rd`, and `opcode` are never used
[INFO] [stdout]    --> src/instruction/format.rs:120:12
[INFO] [stdout]     |
[INFO] [stdout] 119 | impl UFormat {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout] 120 |     pub fn imm(self) -> u32 {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 124 |     pub fn rd(self) -> u8 {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 128 |     pub fn opcode(self) -> u8 {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UJFormat` is never constructed
[INFO] [stdout]    --> src/instruction/format.rs:136:12
[INFO] [stdout]     |
[INFO] [stdout] 136 | pub struct UJFormat(pub u32);
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `imm`, `rd`, and `opcode` are never used
[INFO] [stdout]    --> src/instruction/format.rs:138:12
[INFO] [stdout]     |
[INFO] [stdout] 137 | impl UJFormat {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] 138 |     pub fn imm(self) -> u32 {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 146 |     pub fn rd(self) -> u8 {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 150 |     pub fn opcode(self) -> u8 {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SHIFT_MASK` is never used
[INFO] [stdout]  --> src/instruction/rv32i.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const SHIFT_MASK: u32 = 0b11111;
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `OPCODE2INS_IMPL` is never used
[INFO] [stdout]   --> src/instruction/rv32i.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub static OPCODE2INS_IMPL: LazyLock<BTreeMap<u8, InsImpl>> = LazyLock::new(|| {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `lui` is never used
[INFO] [stdout]   --> src/instruction/rv32i.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn lui(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `auipc` is never used
[INFO] [stdout]   --> src/instruction/rv32i.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn auipc(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `addi` is never used
[INFO] [stdout]   --> src/instruction/rv32i.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn addi(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `slti` is never used
[INFO] [stdout]   --> src/instruction/rv32i.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn slti(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sltiu` is never used
[INFO] [stdout]   --> src/instruction/rv32i.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub fn sltiu(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `xori` is never used
[INFO] [stdout]   --> src/instruction/rv32i.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub fn xori(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ori` is never used
[INFO] [stdout]   --> src/instruction/rv32i.rs:67:8
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub fn ori(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `andi` is never used
[INFO] [stdout]   --> src/instruction/rv32i.rs:76:8
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub fn andi(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `slli` is never used
[INFO] [stdout]   --> src/instruction/rv32i.rs:85:8
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub fn slli(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `srli` is never used
[INFO] [stdout]   --> src/instruction/rv32i.rs:94:8
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub fn srli(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `srai` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:103:8
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub fn srai(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:112:8
[INFO] [stdout]     |
[INFO] [stdout] 112 | pub fn add(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sub` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:121:8
[INFO] [stdout]     |
[INFO] [stdout] 121 | pub fn sub(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sll` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:130:8
[INFO] [stdout]     |
[INFO] [stdout] 130 | pub fn sll(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `slt` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:139:8
[INFO] [stdout]     |
[INFO] [stdout] 139 | pub fn slt(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sltu` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:150:8
[INFO] [stdout]     |
[INFO] [stdout] 150 | pub fn sltu(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `xor` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:161:8
[INFO] [stdout]     |
[INFO] [stdout] 161 | pub fn xor(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `srl` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:170:8
[INFO] [stdout]     |
[INFO] [stdout] 170 | pub fn srl(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sra` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:179:8
[INFO] [stdout]     |
[INFO] [stdout] 179 | pub fn sra(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `or` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:188:8
[INFO] [stdout]     |
[INFO] [stdout] 188 | pub fn or(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |        ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `and` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:197:8
[INFO] [stdout]     |
[INFO] [stdout] 197 | pub fn and(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fence` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:206:8
[INFO] [stdout]     |
[INFO] [stdout] 206 | pub fn fence(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fence_i` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:210:8
[INFO] [stdout]     |
[INFO] [stdout] 210 | pub fn fence_i(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `csrrw` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:214:8
[INFO] [stdout]     |
[INFO] [stdout] 214 | pub fn csrrw(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `csrrs` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:224:8
[INFO] [stdout]     |
[INFO] [stdout] 224 | pub fn csrrs(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `csrrc` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:234:8
[INFO] [stdout]     |
[INFO] [stdout] 234 | pub fn csrrc(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `csrrwi` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:244:8
[INFO] [stdout]     |
[INFO] [stdout] 244 | pub fn csrrwi(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `csrrsi` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:255:8
[INFO] [stdout]     |
[INFO] [stdout] 255 | pub fn csrrsi(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `csrrci` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:266:8
[INFO] [stdout]     |
[INFO] [stdout] 266 | pub fn csrrci(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ecall` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:277:8
[INFO] [stdout]     |
[INFO] [stdout] 277 | pub fn ecall(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ebreak` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:281:8
[INFO] [stdout]     |
[INFO] [stdout] 281 | pub fn ebreak(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `uret` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:285:8
[INFO] [stdout]     |
[INFO] [stdout] 285 | pub fn uret(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sret` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:289:8
[INFO] [stdout]     |
[INFO] [stdout] 289 | pub fn sret(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mret` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:293:8
[INFO] [stdout]     |
[INFO] [stdout] 293 | pub fn mret(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `wfi` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:297:8
[INFO] [stdout]     |
[INFO] [stdout] 297 | pub fn wfi(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sfence_vma` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:301:8
[INFO] [stdout]     |
[INFO] [stdout] 301 | pub fn sfence_vma(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `l` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:305:8
[INFO] [stdout]     |
[INFO] [stdout] 305 | pub fn l(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `s` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:323:8
[INFO] [stdout]     |
[INFO] [stdout] 323 | pub fn s(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `jal` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:339:8
[INFO] [stdout]     |
[INFO] [stdout] 339 | pub fn jal(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `jalr` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:348:8
[INFO] [stdout]     |
[INFO] [stdout] 348 | pub fn jalr(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `beq` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:358:8
[INFO] [stdout]     |
[INFO] [stdout] 358 | pub fn beq(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bne` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:369:8
[INFO] [stdout]     |
[INFO] [stdout] 369 | pub fn bne(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `blt` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:380:8
[INFO] [stdout]     |
[INFO] [stdout] 380 | pub fn blt(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bge` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:391:8
[INFO] [stdout]     |
[INFO] [stdout] 391 | pub fn bge(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bltu` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:402:8
[INFO] [stdout]     |
[INFO] [stdout] 402 | pub fn bltu(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bgeu` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:413:8
[INFO] [stdout]     |
[INFO] [stdout] 413 | pub fn bgeu(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_mem` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:424:4
[INFO] [stdout]     |
[INFO] [stdout] 424 | fn load_mem<const BYTES: usize>(
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `store_mem` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:441:4
[INFO] [stdout]     |
[INFO] [stdout] 441 | fn store_mem<const BYTES: usize>(instruction: SFormat, cpu: &mut Cpu) {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bit_op` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:451:4
[INFO] [stdout]     |
[INFO] [stdout] 451 | fn bit_op(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `alu_op` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:474:4
[INFO] [stdout]     |
[INFO] [stdout] 474 | fn alu_op(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fence_op` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:505:4
[INFO] [stdout]     |
[INFO] [stdout] 505 | fn fence_op(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `special_op` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:516:4
[INFO] [stdout]     |
[INFO] [stdout] 516 | fn special_op(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `env_op` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:532:4
[INFO] [stdout]     |
[INFO] [stdout] 532 | fn env_op(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `branch_op` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:548:4
[INFO] [stdout]     |
[INFO] [stdout] 548 | fn branch_op(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `register_instructions` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:563:4
[INFO] [stdout]     |
[INFO] [stdout] 563 | fn register_instructions(map: &mut BTreeMap<u8, InsImpl>) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sext` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:577:4
[INFO] [stdout]     |
[INFO] [stdout] 577 | fn sext(imm: u32, msb: usize) -> u32 {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `uext` is never used
[INFO] [stdout]    --> src/instruction/rv32i.rs:586:4
[INFO] [stdout]     |
[INFO] [stdout] 586 | fn uext(imm: u32, _: usize) -> u32 {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `low_bitmask_u8`
[INFO] [stdout]  --> src/instruction/format.rs:1:30
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::{low_bitmask_u32, low_bitmask_u8};
[INFO] [stdout]   |                              ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `lazy_cell` has been stable since 1.80.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(lazy_cell)]
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/instruction/rv32i.rs:206:14
[INFO] [stdout]     |
[INFO] [stdout] 206 | pub fn fence(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |              ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/instruction/rv32i.rs:206:32
[INFO] [stdout]     |
[INFO] [stdout] 206 | pub fn fence(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |                                ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/instruction/rv32i.rs:210:16
[INFO] [stdout]     |
[INFO] [stdout] 210 | pub fn fence_i(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |                ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/instruction/rv32i.rs:210:34
[INFO] [stdout]     |
[INFO] [stdout] 210 | pub fn fence_i(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/instruction/rv32i.rs:277:14
[INFO] [stdout]     |
[INFO] [stdout] 277 | pub fn ecall(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |              ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/instruction/rv32i.rs:277:32
[INFO] [stdout]     |
[INFO] [stdout] 277 | pub fn ecall(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |                                ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/instruction/rv32i.rs:281:15
[INFO] [stdout]     |
[INFO] [stdout] 281 | pub fn ebreak(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |               ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/instruction/rv32i.rs:281:33
[INFO] [stdout]     |
[INFO] [stdout] 281 | pub fn ebreak(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |                                 ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/instruction/rv32i.rs:285:13
[INFO] [stdout]     |
[INFO] [stdout] 285 | pub fn uret(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/instruction/rv32i.rs:285:31
[INFO] [stdout]     |
[INFO] [stdout] 285 | pub fn uret(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |                               ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/instruction/rv32i.rs:289:13
[INFO] [stdout]     |
[INFO] [stdout] 289 | pub fn sret(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/instruction/rv32i.rs:289:31
[INFO] [stdout]     |
[INFO] [stdout] 289 | pub fn sret(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |                               ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/instruction/rv32i.rs:293:13
[INFO] [stdout]     |
[INFO] [stdout] 293 | pub fn mret(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/instruction/rv32i.rs:293:31
[INFO] [stdout]     |
[INFO] [stdout] 293 | pub fn mret(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |                               ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/instruction/rv32i.rs:297:12
[INFO] [stdout]     |
[INFO] [stdout] 297 | pub fn wfi(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |            ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/instruction/rv32i.rs:297:30
[INFO] [stdout]     |
[INFO] [stdout] 297 | pub fn wfi(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |                              ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]    --> src/instruction/rv32i.rs:301:19
[INFO] [stdout]     |
[INFO] [stdout] 301 | pub fn sfence_vma(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |                   ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/instruction/rv32i.rs:301:37
[INFO] [stdout]     |
[INFO] [stdout] 301 | pub fn sfence_vma(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]     |                                     ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `reset` is never used
[INFO] [stdout]   --> src/cpu.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl Cpu {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn reset(&mut self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/cpu.rs:49:15
[INFO] [stdout]    |
[INFO] [stdout] 49 |     Exception(InstException),
[INFO] [stdout]    |     --------- ^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 49 -     Exception(InstException),
[INFO] [stdout] 49 +     Exception(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/cpu.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 50 |     Return(ReturnTarget),
[INFO] [stdout]    |     ------ ^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 50 -     Return(ReturnTarget),
[INFO] [stdout] 50 +     Return(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/cpu.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |     BadInst(String),
[INFO] [stdout]    |     ------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 52 -     BadInst(String),
[INFO] [stdout] 52 +     BadInst(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `low_bitmask_u8` is never used
[INFO] [stdout]   --> src/instruction/mod.rs:34:4
[INFO] [stdout]    |
[INFO] [stdout] 34 | fn low_bitmask_u8(cnt: usize) -> u8 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `funct7`, `funct3`, and `opcode` are never used
[INFO] [stdout]   --> src/instruction/format.rs:8:12
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl RFormat {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout]  8 |     pub fn funct7(self) -> u32 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn funct3(self) -> u8 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn opcode(self) -> u8 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `opcode` is never used
[INFO] [stdout]   --> src/instruction/format.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl IFormat {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn opcode(self) -> u8 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `opcode` is never used
[INFO] [stdout]   --> src/instruction/format.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | impl SFormat {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 80 |     pub fn opcode(self) -> u8 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `opcode` is never used
[INFO] [stdout]    --> src/instruction/format.rs:110:12
[INFO] [stdout]     |
[INFO] [stdout]  89 | impl SBFormat {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub fn opcode(self) -> u8 {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `opcode` is never used
[INFO] [stdout]    --> src/instruction/format.rs:128:12
[INFO] [stdout]     |
[INFO] [stdout] 119 | impl UFormat {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 128 |     pub fn opcode(self) -> u8 {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `opcode` is never used
[INFO] [stdout]    --> src/instruction/format.rs:150:12
[INFO] [stdout]     |
[INFO] [stdout] 137 | impl UJFormat {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 150 |     pub fn opcode(self) -> u8 {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `slli` is never used
[INFO] [stdout]   --> src/instruction/rv32i.rs:85:8
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub fn slli(instruction: u32, cpu: &mut Cpu) -> InstExecResult {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.28s
[INFO] running `Command { std: "docker" "inspect" "d7579677622e44c244db7d19f717e0225b627ca5c82901b28d6b738ba90ee4d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d7579677622e44c244db7d19f717e0225b627ca5c82901b28d6b738ba90ee4d8", kill_on_drop: false }`
[INFO] [stdout] d7579677622e44c244db7d19f717e0225b627ca5c82901b28d6b738ba90ee4d8
