[INFO] cloning repository https://github.com/SuperTails/riscv-sim
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SuperTails/riscv-sim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuperTails%2Friscv-sim", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuperTails%2Friscv-sim'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1df9335e71231eee2fbf34186684a927fa03dfa4
[INFO] checking SuperTails/riscv-sim against master#9e293ae9f8abecb0be5105787d181518c9012a19 for pr-146440-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuperTails%2Friscv-sim" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/SuperTails/riscv-sim
[INFO] finished tweaking git repo https://github.com/SuperTails/riscv-sim
[INFO] tweaked toml for git repo https://github.com/SuperTails/riscv-sim written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/SuperTails/riscv-sim on toolchain 9e293ae9f8abecb0be5105787d181518c9012a19
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/SuperTails/riscv-sim already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded proc-macro2 v1.0.86
[INFO] [stderr]   Downloaded smart-default v0.7.1
[INFO] [stderr]   Downloaded elf v0.7.4
[INFO] [stderr]   Downloaded bitfield v0.15.0
[INFO] [stderr]   Downloaded syn v2.0.68
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 141a4f5f688f4d0caa441782b44f23f811519c9f511dfdbc3fffe2d5538accd1
[INFO] running `Command { std: "docker" "start" "-a" "141a4f5f688f4d0caa441782b44f23f811519c9f511dfdbc3fffe2d5538accd1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "141a4f5f688f4d0caa441782b44f23f811519c9f511dfdbc3fffe2d5538accd1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "141a4f5f688f4d0caa441782b44f23f811519c9f511dfdbc3fffe2d5538accd1", kill_on_drop: false }`
[INFO] [stdout] 141a4f5f688f4d0caa441782b44f23f811519c9f511dfdbc3fffe2d5538accd1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f744ff241b223082e9509ec31a6ed15f594e9c4d5938661a9c68ada4641155f5
[INFO] running `Command { std: "docker" "start" "-a" "f744ff241b223082e9509ec31a6ed15f594e9c4d5938661a9c68ada4641155f5", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking bitflags v2.6.0
[INFO] [stderr]     Checking elf v0.7.4
[INFO] [stderr]     Checking bitfield v0.15.0
[INFO] [stderr]     Checking bytemuck v1.24.0
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.68
[INFO] [stderr]    Compiling smart-default v0.7.1
[INFO] [stderr]     Checking sim v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/cpu.rs:437:21
[INFO] [stdout]     |
[INFO] [stdout] 436 |                     todo!();
[INFO] [stdout]     |                     ------- any code following this expression is unreachable
[INFO] [stdout] 437 |                     self.disk = false;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/cpu.rs:534:9
[INFO] [stdout]     |
[INFO] [stdout] 532 |         return None;
[INFO] [stdout]     |         ----------- any code following this expression is unreachable
[INFO] [stdout] 533 |
[INFO] [stdout] 534 |         let mut paddr = None;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/cpu.rs:564:9
[INFO] [stdout]     |
[INFO] [stdout] 562 |           return None;
[INFO] [stdout]     |           ----------- any code following this expression is unreachable
[INFO] [stdout] 563 |
[INFO] [stdout] 564 | /         if let Some((v, p)) = self.load && v == vaddr & !0xFFF {
[INFO] [stdout] 565 | |             self.hit += 1;
[INFO] [stdout] 566 | |             return Some(p | (vaddr & 0xFFF));
[INFO] [stdout] 567 | |         }
[INFO] [stdout]     | |_________^ unreachable statement
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/cpu.rs:437:21
[INFO] [stdout]     |
[INFO] [stdout] 436 |                     todo!();
[INFO] [stdout]     |                     ------- any code following this expression is unreachable
[INFO] [stdout] 437 |                     self.disk = false;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/cpu.rs:534:9
[INFO] [stdout]     |
[INFO] [stdout] 532 |         return None;
[INFO] [stdout]     |         ----------- any code following this expression is unreachable
[INFO] [stdout] 533 |
[INFO] [stdout] 534 |         let mut paddr = None;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/cpu.rs:564:9
[INFO] [stdout]     |
[INFO] [stdout] 562 |           return None;
[INFO] [stdout]     |           ----------- any code following this expression is unreachable
[INFO] [stdout] 563 |
[INFO] [stdout] 564 | /         if let Some((v, p)) = self.load && v == vaddr & !0xFFF {
[INFO] [stdout] 565 | |             self.hit += 1;
[INFO] [stdout] 566 | |             return Some(p | (vaddr & 0xFFF));
[INFO] [stdout] 567 | |         }
[INFO] [stdout]     | |_________^ unreachable statement
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memory`
[INFO] [stdout]    --> src/cpu.rs:423:29
[INFO] [stdout]     |
[INFO] [stdout] 423 |     pub fn store(&mut self, memory: &mut Memory, addr: u32, data: u32) {
[INFO] [stdout]     |                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vaddr`
[INFO] [stdout]    --> src/cpu.rs:531:28
[INFO] [stdout]     |
[INFO] [stdout] 531 |     pub fn exec(&mut self, vaddr: u32) -> Option<u32> {
[INFO] [stdout]     |                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_vaddr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vaddr`
[INFO] [stdout]    --> src/cpu.rs:561:28
[INFO] [stdout]     |
[INFO] [stdout] 561 |     pub fn load(&mut self, vaddr: u32) -> Option<u32> {
[INFO] [stdout]     |                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_vaddr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cpu.rs:781:13
[INFO] [stdout]     |
[INFO] [stdout] 781 |         let mut pte = PageTableEntry(memory.read(root_table_addr + 4 * vpn1).map_err(|_| Exception::LoadAccessFault { addr })?);
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cpu.rs:820:17
[INFO] [stdout]     |
[INFO] [stdout] 820 |             let mut pte = PageTableEntry(memory.read(table_addr + 4 * vpn0).map_err(|_| Exception::LoadAccessFault { addr })?);
[INFO] [stdout]     |                 ----^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cpu.rs:896:13
[INFO] [stdout]     |
[INFO] [stdout] 896 |         let mut pte = PageTableEntry(memory.read(root_table_addr + 4 * vpn1).map_err(|_| Exception::StoreAccessFault { addr })?);
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cpu.rs:933:17
[INFO] [stdout]     |
[INFO] [stdout] 933 |             let mut pte = PageTableEntry(memory.read(table_addr + 4 * vpn0).map_err(|_| Exception::LoadAccessFault { addr })?);
[INFO] [stdout]     |                 ----^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memory`
[INFO] [stdout]    --> src/cpu.rs:423:29
[INFO] [stdout]     |
[INFO] [stdout] 423 |     pub fn store(&mut self, memory: &mut Memory, addr: u32, data: u32) {
[INFO] [stdout]     |                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vaddr`
[INFO] [stdout]    --> src/cpu.rs:531:28
[INFO] [stdout]     |
[INFO] [stdout] 531 |     pub fn exec(&mut self, vaddr: u32) -> Option<u32> {
[INFO] [stdout]     |                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_vaddr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/mem.rs:172:28
[INFO] [stdout]     |
[INFO] [stdout] 172 |     pub fn step(&mut self, cpu: &RV32ICore) {
[INFO] [stdout]     |                            ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vaddr`
[INFO] [stdout]    --> src/cpu.rs:561:28
[INFO] [stdout]     |
[INFO] [stdout] 561 |     pub fn load(&mut self, vaddr: u32) -> Option<u32> {
[INFO] [stdout]     |                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_vaddr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `off`
[INFO] [stdout]    --> src/mem.rs:193:30
[INFO] [stdout]     |
[INFO] [stdout] 193 |             (AddrKind::Disk, off) => todo!(), /*Ok(self.disk.load(off)),*/
[INFO] [stdout]     |                              ^^^ help: if this is intentional, prefix it with an underscore: `_off`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `off`
[INFO] [stdout]    --> src/mem.rs:226:30
[INFO] [stdout]     |
[INFO] [stdout] 226 |             (AddrKind::Disk, off) => todo!(), /*{ self.disk.store(off, value); Ok(()) }*/
[INFO] [stdout]     |                              ^^^ help: if this is intentional, prefix it with an underscore: `_off`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cpu.rs:781:13
[INFO] [stdout]     |
[INFO] [stdout] 781 |         let mut pte = PageTableEntry(memory.read(root_table_addr + 4 * vpn1).map_err(|_| Exception::LoadAccessFault { addr })?);
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cpu.rs:820:17
[INFO] [stdout]     |
[INFO] [stdout] 820 |             let mut pte = PageTableEntry(memory.read(table_addr + 4 * vpn0).map_err(|_| Exception::LoadAccessFault { addr })?);
[INFO] [stdout]     |                 ----^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cpu.rs:896:13
[INFO] [stdout]     |
[INFO] [stdout] 896 |         let mut pte = PageTableEntry(memory.read(root_table_addr + 4 * vpn1).map_err(|_| Exception::StoreAccessFault { addr })?);
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cpu.rs:933:17
[INFO] [stdout]     |
[INFO] [stdout] 933 |             let mut pte = PageTableEntry(memory.read(table_addr + 4 * vpn0).map_err(|_| Exception::LoadAccessFault { addr })?);
[INFO] [stdout]     |                 ----^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `src_offset`
[INFO] [stdout]    --> src/virtio.rs:175:29
[INFO] [stdout]     |
[INFO] [stdout] 175 |                         let src_offset = (req.sector + s) * 512 + i * 4;
[INFO] [stdout]     |                             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `src`
[INFO] [stdout]    --> src/virtio.rs:191:29
[INFO] [stdout]     |
[INFO] [stdout] 191 |                         let src = ram.load_32(src_addr.try_into().unwrap()).unwrap().to_le_bytes();
[INFO] [stdout]     |                             ^^^ help: if this is intentional, prefix it with an underscore: `_src`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dst_offset`
[INFO] [stdout]    --> src/virtio.rs:192:29
[INFO] [stdout]     |
[INFO] [stdout] 192 |                         let dst_offset = (req.sector + s) * 512 + i * 4;
[INFO] [stdout]     |                             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dst_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAXIMUM_VQUEUE_SIZE` is never used
[INFO] [stdout]   --> src/virtio.rs:71:7
[INFO] [stdout]    |
[INFO] [stdout] 71 | const MAXIMUM_VQUEUE_SIZE: u32 = 8;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `typ` and `sector` are never read
[INFO] [stdout]   --> src/virtio.rs:84:5
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub struct BlkRequest {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 84 |     typ: u32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 85 |     sector: u64,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BlkRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `VirtioDevice` is never constructed
[INFO] [stdout]   --> src/virtio.rs:89:8
[INFO] [stdout]    |
[INFO] [stdout] 89 | struct VirtioDevice {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/virtio.rs:107:8
[INFO] [stdout]     |
[INFO] [stdout] 106 | impl VirtioDevice {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] 107 |     fn vqueue_addr(&self, queue: u32) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 112 |     fn descriptor_addr(&self, queue: u32, index: u16) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     fn avail_ring_addr(&self, queue: u32) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     fn used_ring_addr(&self, queue: u32) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 126 |     pub fn descriptor(&self, ram: &Ram, queue: u32, index: u16) -> VirtqDesc {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 144 |     pub fn avail_ring_idx(&self, ram: &Ram, queue: u32) -> u16 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 150 |     pub fn avail_ring_entry(&self, ram: &Ram, queue: u32, index: u16) -> u16 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 156 |     pub fn handle_descriptor(&mut self, ram: &mut Ram, queue: u32, index: u16) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 216 |     pub fn append_to_used_ring(&mut self, ram: &mut Ram, queue: u32, id: u32) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 230 |     pub fn step(&mut self, ram: &mut Ram) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 244 |     pub fn load(&mut self, addr: u32) -> u32 {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 263 |     pub fn store(&mut self, addr: u32, data: u32) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 337 |     pub fn reset(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/mem.rs:172:28
[INFO] [stdout]     |
[INFO] [stdout] 172 |     pub fn step(&mut self, cpu: &RV32ICore) {
[INFO] [stdout]     |                            ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `off`
[INFO] [stdout]    --> src/mem.rs:193:30
[INFO] [stdout]     |
[INFO] [stdout] 193 |             (AddrKind::Disk, off) => todo!(), /*Ok(self.disk.load(off)),*/
[INFO] [stdout]     |                              ^^^ help: if this is intentional, prefix it with an underscore: `_off`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `off`
[INFO] [stdout]    --> src/mem.rs:226:30
[INFO] [stdout]     |
[INFO] [stdout] 226 |             (AddrKind::Disk, off) => todo!(), /*{ self.disk.store(off, value); Ok(()) }*/
[INFO] [stdout]     |                              ^^^ help: if this is intentional, prefix it with an underscore: `_off`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `src_offset`
[INFO] [stdout]    --> src/virtio.rs:175:29
[INFO] [stdout]     |
[INFO] [stdout] 175 |                         let src_offset = (req.sector + s) * 512 + i * 4;
[INFO] [stdout]     |                             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `src`
[INFO] [stdout]    --> src/virtio.rs:191:29
[INFO] [stdout]     |
[INFO] [stdout] 191 |                         let src = ram.load_32(src_addr.try_into().unwrap()).unwrap().to_le_bytes();
[INFO] [stdout]     |                             ^^^ help: if this is intentional, prefix it with an underscore: `_src`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dst_offset`
[INFO] [stdout]    --> src/virtio.rs:192:29
[INFO] [stdout]     |
[INFO] [stdout] 192 |                         let dst_offset = (req.sector + s) * 512 + i * 4;
[INFO] [stdout]     |                             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dst_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAXIMUM_VQUEUE_SIZE` is never used
[INFO] [stdout]   --> src/virtio.rs:71:7
[INFO] [stdout]    |
[INFO] [stdout] 71 | const MAXIMUM_VQUEUE_SIZE: u32 = 8;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `typ` and `sector` are never read
[INFO] [stdout]   --> src/virtio.rs:84:5
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub struct BlkRequest {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 84 |     typ: u32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 85 |     sector: u64,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BlkRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `VirtioDevice` is never constructed
[INFO] [stdout]   --> src/virtio.rs:89:8
[INFO] [stdout]    |
[INFO] [stdout] 89 | struct VirtioDevice {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/virtio.rs:107:8
[INFO] [stdout]     |
[INFO] [stdout] 106 | impl VirtioDevice {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] 107 |     fn vqueue_addr(&self, queue: u32) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 112 |     fn descriptor_addr(&self, queue: u32, index: u16) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     fn avail_ring_addr(&self, queue: u32) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     fn used_ring_addr(&self, queue: u32) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 126 |     pub fn descriptor(&self, ram: &Ram, queue: u32, index: u16) -> VirtqDesc {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 144 |     pub fn avail_ring_idx(&self, ram: &Ram, queue: u32) -> u16 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 150 |     pub fn avail_ring_entry(&self, ram: &Ram, queue: u32, index: u16) -> u16 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 156 |     pub fn handle_descriptor(&mut self, ram: &mut Ram, queue: u32, index: u16) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 216 |     pub fn append_to_used_ring(&mut self, ram: &mut Ram, queue: u32, id: u32) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 230 |     pub fn step(&mut self, ram: &mut Ram) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 244 |     pub fn load(&mut self, addr: u32) -> u32 {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 263 |     pub fn store(&mut self, addr: u32, data: u32) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 337 |     pub fn reset(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.69s
[INFO] running `Command { std: "docker" "inspect" "f744ff241b223082e9509ec31a6ed15f594e9c4d5938661a9c68ada4641155f5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f744ff241b223082e9509ec31a6ed15f594e9c4d5938661a9c68ada4641155f5", kill_on_drop: false }`
[INFO] [stdout] f744ff241b223082e9509ec31a6ed15f594e9c4d5938661a9c68ada4641155f5
