[INFO] cloning repository https://github.com/Soya-Onishi/rust-riscv [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Soya-Onishi/rust-riscv" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSoya-Onishi%2Frust-riscv", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSoya-Onishi%2Frust-riscv'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a2451d33aa91afb2bc9b78e2db2b532a93e184c [INFO] checking Soya-Onishi/rust-riscv against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSoya-Onishi%2Frust-riscv" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Soya-Onishi/rust-riscv on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Soya-Onishi/rust-riscv [INFO] finished tweaking git repo https://github.com/Soya-Onishi/rust-riscv [INFO] tweaked toml for git repo https://github.com/Soya-Onishi/rust-riscv written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1635b16890c5e663f3c788e9040fcae986976b82a61f9027cf8af0ae39800f9c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1635b16890c5e663f3c788e9040fcae986976b82a61f9027cf8af0ae39800f9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1635b16890c5e663f3c788e9040fcae986976b82a61f9027cf8af0ae39800f9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1635b16890c5e663f3c788e9040fcae986976b82a61f9027cf8af0ae39800f9c", kill_on_drop: false }` [INFO] [stdout] 1635b16890c5e663f3c788e9040fcae986976b82a61f9027cf8af0ae39800f9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1f4b62f065439589ec0931fcb9ff838f17f9037bee551433a2f41d63d44987e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e1f4b62f065439589ec0931fcb9ff838f17f9037bee551433a2f41d63d44987e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Compiling scroll_derive v0.10.4 [INFO] [stderr] Checking scroll v0.10.2 [INFO] [stderr] Checking goblin v0.2.3 [INFO] [stderr] Checking rust-riscv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct is never constructed: `CSRFile` [INFO] [stdout] --> src/core/csr.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CSRFile { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/core/csr.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new() -> CSRFile { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write` [INFO] [stdout] --> src/core/csr.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn write(&mut self, addr: usize, value: u32, inst: u32) -> Result<(), Exception>{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_csr` [INFO] [stdout] --> src/core/csr.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | fn write_csr(&mut self, addr: usize, value: u32, mask: u32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_hpm_counter` [INFO] [stdout] --> src/core/csr.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | fn write_hpm_counter(&mut self, addr: usize, value: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_hpm_counterh` [INFO] [stdout] --> src/core/csr.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | fn write_hpm_counterh(&mut self, addr: usize, value: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_hpm_event` [INFO] [stdout] --> src/core/csr.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | fn write_hpm_event(&mut self, addr: usize, value: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read` [INFO] [stdout] --> src/core/csr.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn read(&self, addr: usize, inst: u32) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_hpm_counter` [INFO] [stdout] --> src/core/csr.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | fn read_hpm_counter(&self, addr: usize) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_hpm_counter_h` [INFO] [stdout] --> src/core/csr.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | fn read_hpm_counter_h(&self, addr: usize) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_exception_vector` [INFO] [stdout] --> src/core/csr.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn make_exception_vector(&self, e: Exception) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mie` [INFO] [stdout] --> src/core/csr.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn get_mie(&self) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_mie` [INFO] [stdout] --> src/core/csr.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn set_mie(&mut self, value: bool) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mpie` [INFO] [stdout] --> src/core/csr.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn get_mpie(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_mpie` [INFO] [stdout] --> src/core/csr.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn set_mpie(&mut self, value: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mpp` [INFO] [stdout] --> src/core/csr.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn get_mpp(&self) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_mpp` [INFO] [stdout] --> src/core/csr.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn set_mpp(&mut self, value: u32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `M_VENDOR_ID` [INFO] [stdout] --> src/core/csr.rs:170:1 [INFO] [stdout] | [INFO] [stdout] 170 | pub const M_VENDOR_ID: usize = 0xF11; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `M_ARCH_ID` [INFO] [stdout] --> src/core/csr.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub const M_ARCH_ID: usize = 0xF12; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `M_IMP_ID` [INFO] [stdout] --> src/core/csr.rs:172:1 [INFO] [stdout] | [INFO] [stdout] 172 | pub const M_IMP_ID: usize = 0xF13; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `M_HARD_ID` [INFO] [stdout] --> src/core/csr.rs:173:1 [INFO] [stdout] | [INFO] [stdout] 173 | pub const M_HARD_ID: usize = 0xF14; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `M_STATUS` [INFO] [stdout] --> src/core/csr.rs:175:1 [INFO] [stdout] | [INFO] [stdout] 175 | pub const M_STATUS: usize = 0x300; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `M_ISA` [INFO] [stdout] --> src/core/csr.rs:176:1 [INFO] [stdout] | [INFO] [stdout] 176 | pub const M_ISA: usize = 0x301; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `M_E_DELEG` [INFO] [stdout] --> src/core/csr.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | pub const M_E_DELEG: usize = 0x302; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `M_I_DELEG` [INFO] [stdout] --> src/core/csr.rs:178:1 [INFO] [stdout] | [INFO] [stdout] 178 | pub const M_I_DELEG: usize = 0x303; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `M_IE` [INFO] [stdout] --> src/core/csr.rs:179:1 [INFO] [stdout] | [INFO] [stdout] 179 | pub const M_IE: usize = 0x304; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `M_T_VEC` [INFO] [stdout] --> src/core/csr.rs:180:1 [INFO] [stdout] | [INFO] [stdout] 180 | pub const M_T_VEC: usize = 0x305; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `M_COUNTER_EN` [INFO] [stdout] --> src/core/csr.rs:181:1 [INFO] [stdout] | [INFO] [stdout] 181 | pub const M_COUNTER_EN: usize = 0x306; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `M_COUNT_INHIBIT` [INFO] [stdout] --> src/core/csr.rs:183:1 [INFO] [stdout] | [INFO] [stdout] 183 | pub const M_COUNT_INHIBIT: usize = 0x320; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `M_HPM_EVENT_BASE` [INFO] [stdout] --> src/core/csr.rs:184:1 [INFO] [stdout] | [INFO] [stdout] 184 | pub const M_HPM_EVENT_BASE: usize = 0x320; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `M_SCRATCH` [INFO] [stdout] --> src/core/csr.rs:186:1 [INFO] [stdout] | [INFO] [stdout] 186 | pub const M_SCRATCH: usize = 0x340; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `M_E_PC` [INFO] [stdout] --> src/core/csr.rs:187:1 [INFO] [stdout] | [INFO] [stdout] 187 | pub const M_E_PC: usize = 0x341; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `M_CAUSE` [INFO] [stdout] --> src/core/csr.rs:188:1 [INFO] [stdout] | [INFO] [stdout] 188 | pub const M_CAUSE: usize = 0x342; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `M_T_VAL` [INFO] [stdout] --> src/core/csr.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 189 | pub const M_T_VAL: usize = 0x343; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `M_IP` [INFO] [stdout] --> src/core/csr.rs:190:1 [INFO] [stdout] | [INFO] [stdout] 190 | pub const M_IP: usize = 0x344; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `M_CYCLE` [INFO] [stdout] --> src/core/csr.rs:192:1 [INFO] [stdout] | [INFO] [stdout] 192 | pub const M_CYCLE: usize = 0xB00; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `M_INST_RET` [INFO] [stdout] --> src/core/csr.rs:193:1 [INFO] [stdout] | [INFO] [stdout] 193 | pub const M_INST_RET: usize = 0xB02; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `M_HPM_COUNTER_BASE` [INFO] [stdout] --> src/core/csr.rs:194:1 [INFO] [stdout] | [INFO] [stdout] 194 | pub const M_HPM_COUNTER_BASE: usize = 0xB00; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `M_CYCLE_H` [INFO] [stdout] --> src/core/csr.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 195 | pub const M_CYCLE_H: usize = 0xB80; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `M_INST_RET_H` [INFO] [stdout] --> src/core/csr.rs:196:1 [INFO] [stdout] | [INFO] [stdout] 196 | pub const M_INST_RET_H: usize = 0xB82; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `M_HPM_COUNTER_H_BASE` [INFO] [stdout] --> src/core/csr.rs:197:1 [INFO] [stdout] | [INFO] [stdout] 197 | pub const M_HPM_COUNTER_H_BASE: usize = 0xB80; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_hpm_counter_range` [INFO] [stdout] --> src/core/csr.rs:199:4 [INFO] [stdout] | [INFO] [stdout] 199 | fn is_hpm_counter_range(addr: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_hpm_counter_h_range` [INFO] [stdout] --> src/core/csr.rs:203:4 [INFO] [stdout] | [INFO] [stdout] 203 | fn is_hpm_counter_h_range(addr: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_hpm_event_range` [INFO] [stdout] --> src/core/csr.rs:207:4 [INFO] [stdout] | [INFO] [stdout] 207 | fn is_hpm_event_range(addr: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CSR_ADDR_LIST` [INFO] [stdout] --> src/core/csr.rs:211:1 [INFO] [stdout] | [INFO] [stdout] 211 | / const CSR_ADDR_LIST: [usize; 21] = [ [INFO] [stdout] 212 | | M_VENDOR_ID, [INFO] [stdout] 213 | | M_ARCH_ID, [INFO] [stdout] 214 | | M_IMP_ID, [INFO] [stdout] ... | [INFO] [stdout] 232 | | M_INST_RET_H, [INFO] [stdout] 233 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `default` [INFO] [stdout] --> src/core/reg.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | default: T, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `regs` [INFO] [stdout] --> src/core/reg.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | regs: [T; 32], [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read` [INFO] [stdout] --> src/core/reg.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn read(&self, addr: usize) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write` [INFO] [stdout] --> src/core/reg.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn write(&mut self, addr: usize, value: T) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/core/reg.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new() -> RegFile { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MMU` [INFO] [stdout] --> src/core/memory.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct MMU { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/core/memory.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn new() -> MMU { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_u8_impl` [INFO] [stdout] --> src/core/memory.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | fn [](&self, address: u32) -> Result<$tpe, Exception>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | / make_interface!( [INFO] [stdout] 48 | | { u8, 1 } [INFO] [stdout] 49 | | { u16, 2 } [INFO] [stdout] 50 | | { u32, 4 } [INFO] [stdout] 51 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_u8_impl` [INFO] [stdout] --> src/core/memory.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | fn [](&mut self, address: u32, value: $tpe) -> Result<(), Exception> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | / make_interface!( [INFO] [stdout] 48 | | { u8, 1 } [INFO] [stdout] 49 | | { u16, 2 } [INFO] [stdout] 50 | | { u32, 4 } [INFO] [stdout] 51 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_u16_impl` [INFO] [stdout] --> src/core/memory.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | fn [](&self, address: u32) -> Result<$tpe, Exception>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | / make_interface!( [INFO] [stdout] 48 | | { u8, 1 } [INFO] [stdout] 49 | | { u16, 2 } [INFO] [stdout] 50 | | { u32, 4 } [INFO] [stdout] 51 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_u16_impl` [INFO] [stdout] --> src/core/memory.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | fn [](&mut self, address: u32, value: $tpe) -> Result<(), Exception> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | / make_interface!( [INFO] [stdout] 48 | | { u8, 1 } [INFO] [stdout] 49 | | { u16, 2 } [INFO] [stdout] 50 | | { u32, 4 } [INFO] [stdout] 51 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_u32_impl` [INFO] [stdout] --> src/core/memory.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | fn [](&self, address: u32) -> Result<$tpe, Exception>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | / make_interface!( [INFO] [stdout] 48 | | { u8, 1 } [INFO] [stdout] 49 | | { u16, 2 } [INFO] [stdout] 50 | | { u32, 4 } [INFO] [stdout] 51 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_u32_impl` [INFO] [stdout] --> src/core/memory.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | fn [](&mut self, address: u32, value: $tpe) -> Result<(), Exception> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | / make_interface!( [INFO] [stdout] 48 | | { u8, 1 } [INFO] [stdout] 49 | | { u16, 2 } [INFO] [stdout] 50 | | { u32, 4 } [INFO] [stdout] 51 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_u8` [INFO] [stdout] --> src/core/memory.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn read_u8(&self, address: u32) -> Result< u8, Exception> { self.read_u8_impl(address) } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_u16` [INFO] [stdout] --> src/core/memory.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn read_u16(&self, address: u32) -> Result { self.read_u16_impl(address) } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_u32` [INFO] [stdout] --> src/core/memory.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn read_u32(&self, address: u32) -> Result { self.read_u32_impl(address) } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_u8` [INFO] [stdout] --> src/core/memory.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn write_u8(&mut self, address: u32, value: u8) -> Result<(), Exception>{ self.write_u8_impl(address, value) } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_u16` [INFO] [stdout] --> src/core/memory.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn write_u16(&mut self, address: u32, value: u16) -> Result<(), Exception> { self.write_u16_impl(address, value) } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_u32` [INFO] [stdout] --> src/core/memory.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn write_u32(&mut self, address: u32, value: u32) -> Result<(), Exception> { self.write_u32_impl(address, value) } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read` [INFO] [stdout] --> src/core/memory.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn read(&self, address: u32) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write` [INFO] [stdout] --> src/core/memory.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | fn write(&mut self, address: u32, value: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_reservation` [INFO] [stdout] --> src/core/memory.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn set_reservation(&mut self, addr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `yield_reservation` [INFO] [stdout] --> src/core/memory.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn yield_reservation(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_reservation` [INFO] [stdout] --> src/core/memory.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn check_reservation(&self, addr: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `separate_addr` [INFO] [stdout] --> src/core/memory.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn separate_addr(address: u32) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `BranchManager` [INFO] [stdout] --> src/core/branch_manager.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct BranchManager { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/core/branch_manager.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn new(delay_cycle: usize) -> BranchManager { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_queue` [INFO] [stdout] --> src/core/branch_manager.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn push_queue(&mut self, address: u32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop_queue` [INFO] [stdout] --> src/core/branch_manager.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn pop_queue(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flush_queue` [INFO] [stdout] --> src/core/branch_manager.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn flush_queue(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Core` [INFO] [stdout] --> src/core.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Core { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/core.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(delay_cycle: usize, use_builtin_exception_handler: bool) -> Core { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute` [INFO] [stdout] --> src/core.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn execute(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_one_instrunction` [INFO] [stdout] --> src/core.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | fn execute_one_instrunction(&mut self) -> Result<(), Exception>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fetch` [INFO] [stdout] --> src/core.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | fn fetch(&self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `raise_exception` [INFO] [stdout] --> src/core.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | fn raise_exception(&mut self, exp: Exception) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Instruction` [INFO] [stdout] --> src/util/instruction.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/util/instruction.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(inst: u32) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rs1` [INFO] [stdout] --> src/util/instruction.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | fn rs1(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rs2` [INFO] [stdout] --> src/util/instruction.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn rs2(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rd` [INFO] [stdout] --> src/util/instruction.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | fn rd(&self) -> usize { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | let mut emu = Emulator::new_with_elf_file("test_bin/rv32ui-p-add".to_string()).unwrap(); [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: associated function is never used: `imm` [INFO] [stdout] --> src/util/instruction.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn imm(&self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lui` [INFO] [stdout] --> src/util/instruction.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | fn lui(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `auipc` [INFO] [stdout] --> src/util/instruction.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | fn auipc(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `jal` [INFO] [stdout] --> src/util/instruction.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | fn jal(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `jalr` [INFO] [stdout] --> src/util/instruction.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | fn jalr(&self, core: &mut Core) -> Result<(), Exception>{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `branch` [INFO] [stdout] --> src/util/instruction.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | fn branch(&self, core: &mut Core, f: impl Fn(u32, u32) -> bool) -> Result<(), Exception> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `beq` [INFO] [stdout] --> src/util/instruction.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | fn beq(&self, core: &mut Core) -> Result<(), Exception> { self.branch(core, |a, b| a == b) } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bne` [INFO] [stdout] --> src/util/instruction.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | fn bne(&self, core: &mut Core) -> Result<(), Exception> { self.branch(core, |a, b| a != b) } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `blt` [INFO] [stdout] --> src/util/instruction.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | fn blt(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bge` [INFO] [stdout] --> src/util/instruction.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 167 | fn bge(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bltu` [INFO] [stdout] --> src/util/instruction.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 175 | fn bltu(&self, core: &mut Core) -> Result<(), Exception> { self.branch(core, |a, b| a < b) } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bgeu` [INFO] [stdout] --> src/util/instruction.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | fn bgeu(&self, core: &mut Core) -> Result<(), Exception> { self.branch(core, |a, b| a >= b) } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load` [INFO] [stdout] --> src/util/instruction.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 178 | fn load>(&self, core: &mut Core, byte_count: u32, use_sign_ext: bool, loader: impl Fn(&MMU, u32) -> Result... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lb` [INFO] [stdout] --> src/util/instruction.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 190 | fn lb(&self, core: &mut Core) -> Result<(), Exception> { self.load(core, 1, true, MMU::read_u8) } [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lh` [INFO] [stdout] --> src/util/instruction.rs:191:8 [INFO] [stdout] | [INFO] [stdout] 191 | fn lh(&self, core: &mut Core) -> Result<(), Exception> { self.load(core, 2, true, MMU::read_u16) } [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lw` [INFO] [stdout] --> src/util/instruction.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 192 | fn lw(&self, core: &mut Core) -> Result<(), Exception> { self.load(core, 4, true, MMU::read_u32) } [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lbu` [INFO] [stdout] --> src/util/instruction.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | fn lbu(&self, core: &mut Core) -> Result<(), Exception> { self.load(core, 1, false, MMU::read_u8) } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lhu` [INFO] [stdout] --> src/util/instruction.rs:194:8 [INFO] [stdout] | [INFO] [stdout] 194 | fn lhu(&self, core: &mut Core) -> Result<(), Exception> { self.load(core, 2, false, MMU::read_u16) } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `store` [INFO] [stdout] --> src/util/instruction.rs:196:8 [INFO] [stdout] | [INFO] [stdout] 196 | fn store(&self, core: &mut Core, storer: impl Fn(&mut MMU, u32, T) -> Result<(), Exception>, caster: impl Fn(u32) -> T) -> Result<... [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sb` [INFO] [stdout] --> src/util/instruction.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | fn sb(&self, core: &mut Core) -> Result<(), Exception> { self.store(core, MMU::write_u8, |v| v as u8) } [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sh` [INFO] [stdout] --> src/util/instruction.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | fn sh(&self, core: &mut Core) -> Result<(), Exception> { self.store(core, MMU::write_u16, |v| v as u16) } [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sw` [INFO] [stdout] --> src/util/instruction.rs:213:8 [INFO] [stdout] | [INFO] [stdout] 213 | fn sw(&self, core: &mut Core) -> Result<(), Exception> { self.store(core, MMU::write_u32, |v| v) } [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rs1_imm_ops` [INFO] [stdout] --> src/util/instruction.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 215 | fn rs1_imm_ops(&self, core: &mut Core, f: impl Fn(u32, u32) -> u32) -> Result<(), Exception> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `addi` [INFO] [stdout] --> src/util/instruction.rs:225:8 [INFO] [stdout] | [INFO] [stdout] 225 | fn addi(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `slti` [INFO] [stdout] --> src/util/instruction.rs:229:8 [INFO] [stdout] | [INFO] [stdout] 229 | fn slti(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sltiu` [INFO] [stdout] --> src/util/instruction.rs:238:8 [INFO] [stdout] | [INFO] [stdout] 238 | fn sltiu(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `xori` [INFO] [stdout] --> src/util/instruction.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 244 | fn xori(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ori` [INFO] [stdout] --> src/util/instruction.rs:248:8 [INFO] [stdout] | [INFO] [stdout] 248 | fn ori(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `andi` [INFO] [stdout] --> src/util/instruction.rs:252:8 [INFO] [stdout] | [INFO] [stdout] 252 | fn andi(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `slli` [INFO] [stdout] --> src/util/instruction.rs:256:8 [INFO] [stdout] | [INFO] [stdout] 256 | fn slli(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `srli` [INFO] [stdout] --> src/util/instruction.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 263 | fn srli(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `srai` [INFO] [stdout] --> src/util/instruction.rs:270:8 [INFO] [stdout] | [INFO] [stdout] 270 | fn srai(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rs1_rs2_ops` [INFO] [stdout] --> src/util/instruction.rs:277:8 [INFO] [stdout] | [INFO] [stdout] 277 | fn rs1_rs2_ops(&self, core: &mut Core, f: impl Fn(u32, u32) -> u32) -> Result<(), Exception> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/util/instruction.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 287 | fn add(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sub` [INFO] [stdout] --> src/util/instruction.rs:291:8 [INFO] [stdout] | [INFO] [stdout] 291 | fn sub(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `xor` [INFO] [stdout] --> src/util/instruction.rs:295:8 [INFO] [stdout] | [INFO] [stdout] 295 | fn xor(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `or` [INFO] [stdout] --> src/util/instruction.rs:299:8 [INFO] [stdout] | [INFO] [stdout] 299 | fn or(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `and` [INFO] [stdout] --> src/util/instruction.rs:303:8 [INFO] [stdout] | [INFO] [stdout] 303 | fn and(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `slt` [INFO] [stdout] --> src/util/instruction.rs:307:8 [INFO] [stdout] | [INFO] [stdout] 307 | fn slt(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sltu` [INFO] [stdout] --> src/util/instruction.rs:316:8 [INFO] [stdout] | [INFO] [stdout] 316 | fn sltu(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sll` [INFO] [stdout] --> src/util/instruction.rs:322:8 [INFO] [stdout] | [INFO] [stdout] 322 | fn sll(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `srl` [INFO] [stdout] --> src/util/instruction.rs:328:8 [INFO] [stdout] | [INFO] [stdout] 328 | fn srl(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sra` [INFO] [stdout] --> src/util/instruction.rs:334:8 [INFO] [stdout] | [INFO] [stdout] 334 | fn sra(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mul` [INFO] [stdout] --> src/util/instruction.rs:341:8 [INFO] [stdout] | [INFO] [stdout] 341 | fn mul(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mulh` [INFO] [stdout] --> src/util/instruction.rs:348:8 [INFO] [stdout] | [INFO] [stdout] 348 | fn mulh(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mulhu` [INFO] [stdout] --> src/util/instruction.rs:361:8 [INFO] [stdout] | [INFO] [stdout] 361 | fn mulhu(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mulhsu` [INFO] [stdout] --> src/util/instruction.rs:374:8 [INFO] [stdout] | [INFO] [stdout] 374 | fn mulhsu(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `div` [INFO] [stdout] --> src/util/instruction.rs:387:8 [INFO] [stdout] | [INFO] [stdout] 387 | fn div(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `divu` [INFO] [stdout] --> src/util/instruction.rs:402:8 [INFO] [stdout] | [INFO] [stdout] 402 | fn divu(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rem` [INFO] [stdout] --> src/util/instruction.rs:412:8 [INFO] [stdout] | [INFO] [stdout] 412 | fn rem(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remu` [INFO] [stdout] --> src/util/instruction.rs:427:8 [INFO] [stdout] | [INFO] [stdout] 427 | fn remu(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lr_w` [INFO] [stdout] --> src/util/instruction.rs:437:8 [INFO] [stdout] | [INFO] [stdout] 437 | fn lr_w(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sc_w` [INFO] [stdout] --> src/util/instruction.rs:448:8 [INFO] [stdout] | [INFO] [stdout] 448 | fn sc_w(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `amoswap_w` [INFO] [stdout] --> src/util/instruction.rs:464:8 [INFO] [stdout] | [INFO] [stdout] 464 | fn amoswap_w(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `amoadd_w` [INFO] [stdout] --> src/util/instruction.rs:468:8 [INFO] [stdout] | [INFO] [stdout] 468 | fn amoadd_w(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `amoxor_w` [INFO] [stdout] --> src/util/instruction.rs:472:8 [INFO] [stdout] | [INFO] [stdout] 472 | fn amoxor_w(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `amoand_w` [INFO] [stdout] --> src/util/instruction.rs:476:8 [INFO] [stdout] | [INFO] [stdout] 476 | fn amoand_w(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `amoor_w` [INFO] [stdout] --> src/util/instruction.rs:480:8 [INFO] [stdout] | [INFO] [stdout] 480 | fn amoor_w(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `amomin_w` [INFO] [stdout] --> src/util/instruction.rs:484:8 [INFO] [stdout] | [INFO] [stdout] 484 | fn amomin_w(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `amomax_w` [INFO] [stdout] --> src/util/instruction.rs:490:8 [INFO] [stdout] | [INFO] [stdout] 490 | fn amomax_w(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `amominu_w` [INFO] [stdout] --> src/util/instruction.rs:496:8 [INFO] [stdout] | [INFO] [stdout] 496 | fn amominu_w(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `amomaxu_w` [INFO] [stdout] --> src/util/instruction.rs:500:8 [INFO] [stdout] | [INFO] [stdout] 500 | fn amomaxu_w(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `amo_operation` [INFO] [stdout] --> src/util/instruction.rs:504:8 [INFO] [stdout] | [INFO] [stdout] 504 | fn amo_operation(&self, core: &mut Core, op: impl Fn(u32, u32) -> u32) -> Result<(), Exception> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `csr_manipulate` [INFO] [stdout] --> src/util/instruction.rs:517:8 [INFO] [stdout] | [INFO] [stdout] 517 | fn csr_manipulate( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `csr_manipulate_uimm` [INFO] [stdout] --> src/util/instruction.rs:534:8 [INFO] [stdout] | [INFO] [stdout] 534 | fn csr_manipulate_uimm( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `csr_manipulate_rs1` [INFO] [stdout] --> src/util/instruction.rs:544:8 [INFO] [stdout] | [INFO] [stdout] 544 | fn csr_manipulate_rs1( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `csrrw` [INFO] [stdout] --> src/util/instruction.rs:553:8 [INFO] [stdout] | [INFO] [stdout] 553 | fn csrrw(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `csrrs` [INFO] [stdout] --> src/util/instruction.rs:566:8 [INFO] [stdout] | [INFO] [stdout] 566 | fn csrrs(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `csrrc` [INFO] [stdout] --> src/util/instruction.rs:579:8 [INFO] [stdout] | [INFO] [stdout] 579 | fn csrrc(&self, core: &mut Core) -> Result<(), Exception>{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `csrrwi` [INFO] [stdout] --> src/util/instruction.rs:592:8 [INFO] [stdout] | [INFO] [stdout] 592 | fn csrrwi(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `csrrsi` [INFO] [stdout] --> src/util/instruction.rs:605:8 [INFO] [stdout] | [INFO] [stdout] 605 | fn csrrsi(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `csrrci` [INFO] [stdout] --> src/util/instruction.rs:618:8 [INFO] [stdout] | [INFO] [stdout] 618 | fn csrrci(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fence` [INFO] [stdout] --> src/util/instruction.rs:632:8 [INFO] [stdout] | [INFO] [stdout] 632 | fn fence(&self, _core: &mut Core) -> Result<(), Exception> { Ok(()) } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fence_i` [INFO] [stdout] --> src/util/instruction.rs:633:8 [INFO] [stdout] | [INFO] [stdout] 633 | fn fence_i(&self, _core: &mut Core) -> Result<(), Exception> { Ok(()) } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ecall` [INFO] [stdout] --> src/util/instruction.rs:635:8 [INFO] [stdout] | [INFO] [stdout] 635 | fn ecall(&self, _core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ebreak` [INFO] [stdout] --> src/util/instruction.rs:639:8 [INFO] [stdout] | [INFO] [stdout] 639 | fn ebreak(&self, core: &mut Core) -> Result<(), Exception> { Err(Exception::Breakpoint(core.pc)) } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mret` [INFO] [stdout] --> src/util/instruction.rs:641:8 [INFO] [stdout] | [INFO] [stdout] 641 | fn mret(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `exec` [INFO] [stdout] --> src/util/instruction.rs:655:12 [INFO] [stdout] | [INFO] [stdout] 655 | pub fn exec(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `make_panic_msg` [INFO] [stdout] --> src/util/instruction.rs:660:4 [INFO] [stdout] | [INFO] [stdout] 660 | fn make_panic_msg(name: EncodeType, field: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `arithmetic_right_shift` [INFO] [stdout] --> src/util/instruction.rs:664:4 [INFO] [stdout] | [INFO] [stdout] 664 | fn arithmetic_right_shift(value: u32, shamt: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RType` [INFO] [stdout] --> src/util/instruction.rs:680:5 [INFO] [stdout] | [INFO] [stdout] 680 | RType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IType` [INFO] [stdout] --> src/util/instruction.rs:681:5 [INFO] [stdout] | [INFO] [stdout] 681 | IType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SType` [INFO] [stdout] --> src/util/instruction.rs:682:5 [INFO] [stdout] | [INFO] [stdout] 682 | SType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BType` [INFO] [stdout] --> src/util/instruction.rs:683:5 [INFO] [stdout] | [INFO] [stdout] 683 | BType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UType` [INFO] [stdout] --> src/util/instruction.rs:684:5 [INFO] [stdout] | [INFO] [stdout] 684 | UType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `JType` [INFO] [stdout] --> src/util/instruction.rs:685:5 [INFO] [stdout] | [INFO] [stdout] 685 | JType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LOAD` [INFO] [stdout] --> src/util/instruction.rs:742:1 [INFO] [stdout] | [INFO] [stdout] 742 | const LOAD: u32 = 0b0000011; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `STORE` [INFO] [stdout] --> src/util/instruction.rs:743:1 [INFO] [stdout] | [INFO] [stdout] 743 | const STORE: u32 = 0b0100011; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MADD` [INFO] [stdout] --> src/util/instruction.rs:744:1 [INFO] [stdout] | [INFO] [stdout] 744 | const MADD: u32 = 0b1000011; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BRANCH` [INFO] [stdout] --> src/util/instruction.rs:745:1 [INFO] [stdout] | [INFO] [stdout] 745 | const BRANCH: u32 = 0b1100011; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LOAD_FP` [INFO] [stdout] --> src/util/instruction.rs:747:1 [INFO] [stdout] | [INFO] [stdout] 747 | const LOAD_FP: u32 = 0b0000111; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `STORE_FP` [INFO] [stdout] --> src/util/instruction.rs:748:1 [INFO] [stdout] | [INFO] [stdout] 748 | const STORE_FP: u32 = 0b0100111; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MSUB` [INFO] [stdout] --> src/util/instruction.rs:749:1 [INFO] [stdout] | [INFO] [stdout] 749 | const MSUB: u32 = 0b1000111; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `JALR` [INFO] [stdout] --> src/util/instruction.rs:750:1 [INFO] [stdout] | [INFO] [stdout] 750 | const JALR: u32 = 0b1100111; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CUSTOM_0` [INFO] [stdout] --> src/util/instruction.rs:752:1 [INFO] [stdout] | [INFO] [stdout] 752 | const CUSTOM_0: u32 = 0b0001011; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CUSTOM_1` [INFO] [stdout] --> src/util/instruction.rs:753:1 [INFO] [stdout] | [INFO] [stdout] 753 | const CUSTOM_1: u32 = 0b0101011; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NMSUM` [INFO] [stdout] --> src/util/instruction.rs:754:1 [INFO] [stdout] | [INFO] [stdout] 754 | const NMSUM: u32 = 0b1001011; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MISC_MEM` [INFO] [stdout] --> src/util/instruction.rs:757:1 [INFO] [stdout] | [INFO] [stdout] 757 | const MISC_MEM: u32 = 0b0001111; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `AMO` [INFO] [stdout] --> src/util/instruction.rs:758:1 [INFO] [stdout] | [INFO] [stdout] 758 | const AMO: u32 = 0b0101111; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NMADD` [INFO] [stdout] --> src/util/instruction.rs:759:1 [INFO] [stdout] | [INFO] [stdout] 759 | const NMADD: u32 = 0b1001111; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `JAL` [INFO] [stdout] --> src/util/instruction.rs:760:1 [INFO] [stdout] | [INFO] [stdout] 760 | const JAL: u32 = 0b1101111; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OP_IMM` [INFO] [stdout] --> src/util/instruction.rs:762:1 [INFO] [stdout] | [INFO] [stdout] 762 | const OP_IMM: u32 = 0b0010011; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OP` [INFO] [stdout] --> src/util/instruction.rs:763:1 [INFO] [stdout] | [INFO] [stdout] 763 | const OP: u32 = 0b0110011; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OP_FP` [INFO] [stdout] --> src/util/instruction.rs:764:1 [INFO] [stdout] | [INFO] [stdout] 764 | const OP_FP: u32 = 0b1010011; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SYSTEM` [INFO] [stdout] --> src/util/instruction.rs:765:1 [INFO] [stdout] | [INFO] [stdout] 765 | const SYSTEM: u32 = 0b1110011; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `AUIPC` [INFO] [stdout] --> src/util/instruction.rs:767:1 [INFO] [stdout] | [INFO] [stdout] 767 | const AUIPC: u32 = 0b0010111; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LUI` [INFO] [stdout] --> src/util/instruction.rs:768:1 [INFO] [stdout] | [INFO] [stdout] 768 | const LUI: u32 = 0b0110111; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OP_IMM_32` [INFO] [stdout] --> src/util/instruction.rs:772:1 [INFO] [stdout] | [INFO] [stdout] 772 | const OP_IMM_32: u32 = 0b0011011; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OP_32` [INFO] [stdout] --> src/util/instruction.rs:773:1 [INFO] [stdout] | [INFO] [stdout] 773 | const OP_32: u32 = 0b0111011; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CUSTOM_2` [INFO] [stdout] --> src/util/instruction.rs:774:1 [INFO] [stdout] | [INFO] [stdout] 774 | const CUSTOM_2: u32 = 0b1011011; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CUSTOM_3` [INFO] [stdout] --> src/util/instruction.rs:775:1 [INFO] [stdout] | [INFO] [stdout] 775 | const CUSTOM_3: u32 = 0b1111011; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_impl` [INFO] [stdout] --> src/util/instruction.rs:697:13 [INFO] [stdout] | [INFO] [stdout] 697 | fn new_impl(inst: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `exec_impl` [INFO] [stdout] --> src/util/instruction.rs:717:13 [INFO] [stdout] | [INFO] [stdout] 717 | fn exec_impl(&self, core: &mut Core) -> Result<(), Exception> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `lui` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `auipc` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `jal` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `jalr` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `beq` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `bne` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `blt` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `bge` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `bltu` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `bgeu` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `lb` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `lh` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `lw` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `lbu` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `lhu` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `sb` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `sh` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `sw` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `addi` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `slti` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `sltiu` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `xori` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ori` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `andi` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `slli` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `srli` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `srai` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `add` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `sub` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `sll` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `slt` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `sltu` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `xor` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `srl` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `sra` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `or` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `and` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `fence` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ecall` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ebreak` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `mret` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `csrrw` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `csrrs` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `csrrc` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `csrrwi` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `csrrsi` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `csrrci` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `fence_i` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `mul` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `mulh` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `mulhsu` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `mulhu` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `div` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `divu` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `rem` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `remu` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `lr_w` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `sc_w` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `amoswap_w` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `amoadd_w` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `amoxor_w` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `amoand_w` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `amoor_w` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `amomin_w` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `amomax_w` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `amominu_w` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `amomaxu_w` [INFO] [stdout] --> src/util/instruction.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | $opcode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | / opcode_list!( [INFO] [stdout] 780 | | // RV32I standard isa [INFO] [stdout] 781 | | { lui, UType, op: LUI, }, [INFO] [stdout] 782 | | { auipc, UType, op: AUIPC, }, [INFO] [stdout] ... | [INFO] [stdout] 857 | | { amomaxu_w, RType, op: AMO, f3: 0b010, [31, 27]: 0b11100 } [INFO] [stdout] 858 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_exception_code` [INFO] [stdout] --> src/util/exception.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn get_exception_code(self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_interrupt` [INFO] [stdout] --> src/util/exception.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn is_interrupt(self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_cause` [INFO] [stdout] --> src/util/exception.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn get_cause(self) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_tval` [INFO] [stdout] --> src/util/exception.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn get_tval(self) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Emulator` [INFO] [stdout] --> src/lib.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct Emulator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_with_elf_file` [INFO] [stdout] --> src/lib.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new_with_elf_file(filename: String) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_with_binary` [INFO] [stdout] --> src/lib.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new_with_binary(binary: Vec) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_core` [INFO] [stdout] --> src/lib.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn make_core(elf: &Elf, binary: &Vec) -> core::Core { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_label` [INFO] [stdout] --> src/lib.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | fn get_label(elf: &Elf) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/lib.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `step` [INFO] [stdout] --> src/lib.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn step(&mut self, num: u32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_breakpoint` [INFO] [stdout] --> src/lib.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | fn is_breakpoint(&self, pc: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_breakpoint_with_string` [INFO] [stdout] --> src/lib.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn set_breakpoint_with_string(&mut self, label: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_breakpoint_with_addr` [INFO] [stdout] --> src/lib.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn set_breakpoint_with_addr(&mut self, addr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn new(msg: String) -> ErrorMsg { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/lib.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | core.mmu.write_u8(exec_addr + index, bin); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MADD` [INFO] [stdout] --> src/util/instruction.rs:744:1 [INFO] [stdout] | [INFO] [stdout] 744 | const MADD: u32 = 0b1000011; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LOAD_FP` [INFO] [stdout] --> src/util/instruction.rs:747:1 [INFO] [stdout] | [INFO] [stdout] 747 | const LOAD_FP: u32 = 0b0000111; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `STORE_FP` [INFO] [stdout] --> src/util/instruction.rs:748:1 [INFO] [stdout] | [INFO] [stdout] 748 | const STORE_FP: u32 = 0b0100111; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MSUB` [INFO] [stdout] --> src/util/instruction.rs:749:1 [INFO] [stdout] | [INFO] [stdout] 749 | const MSUB: u32 = 0b1000111; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CUSTOM_0` [INFO] [stdout] --> src/util/instruction.rs:752:1 [INFO] [stdout] | [INFO] [stdout] 752 | const CUSTOM_0: u32 = 0b0001011; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CUSTOM_1` [INFO] [stdout] --> src/util/instruction.rs:753:1 [INFO] [stdout] | [INFO] [stdout] 753 | const CUSTOM_1: u32 = 0b0101011; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NMSUM` [INFO] [stdout] --> src/util/instruction.rs:754:1 [INFO] [stdout] | [INFO] [stdout] 754 | const NMSUM: u32 = 0b1001011; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NMADD` [INFO] [stdout] --> src/util/instruction.rs:759:1 [INFO] [stdout] | [INFO] [stdout] 759 | const NMADD: u32 = 0b1001111; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OP_FP` [INFO] [stdout] --> src/util/instruction.rs:764:1 [INFO] [stdout] | [INFO] [stdout] 764 | const OP_FP: u32 = 0b1010011; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OP_IMM_32` [INFO] [stdout] --> src/util/instruction.rs:772:1 [INFO] [stdout] | [INFO] [stdout] 772 | const OP_IMM_32: u32 = 0b0011011; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OP_32` [INFO] [stdout] --> src/util/instruction.rs:773:1 [INFO] [stdout] | [INFO] [stdout] 773 | const OP_32: u32 = 0b0111011; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CUSTOM_2` [INFO] [stdout] --> src/util/instruction.rs:774:1 [INFO] [stdout] | [INFO] [stdout] 774 | const CUSTOM_2: u32 = 0b1011011; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CUSTOM_3` [INFO] [stdout] --> src/util/instruction.rs:775:1 [INFO] [stdout] | [INFO] [stdout] 775 | const CUSTOM_3: u32 = 0b1111011; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `elf_bin` [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | elf_bin: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `labels` [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | labels: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `step` [INFO] [stdout] --> src/lib.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn step(&mut self, num: u32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_breakpoint_with_string` [INFO] [stdout] --> src/lib.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn set_breakpoint_with_string(&mut self, label: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_breakpoint_with_addr` [INFO] [stdout] --> src/lib.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn set_breakpoint_with_addr(&mut self, addr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 282 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/lib.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | core.mmu.write_u8(exec_addr + index, bin); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 34.75s [INFO] running `Command { std: "docker" "inspect" "e1f4b62f065439589ec0931fcb9ff838f17f9037bee551433a2f41d63d44987e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1f4b62f065439589ec0931fcb9ff838f17f9037bee551433a2f41d63d44987e", kill_on_drop: false }` [INFO] [stdout] e1f4b62f065439589ec0931fcb9ff838f17f9037bee551433a2f41d63d44987e