[INFO] cloning repository https://github.com/elribonazo/riscv-vm
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/elribonazo/riscv-vm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felribonazo%2Friscv-vm", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felribonazo%2Friscv-vm'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 96d94b814c4250a7d7be1337530ed266d46addc6
[INFO] checking elribonazo/riscv-vm against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felribonazo%2Friscv-vm" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/elribonazo/riscv-vm
[INFO] finished tweaking git repo https://github.com/elribonazo/riscv-vm
[INFO] tweaked toml for git repo https://github.com/elribonazo/riscv-vm written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/elribonazo/riscv-vm on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/elribonazo/riscv-vm already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c7300407ff7ed2ea9c58df8fe9117cd375ae3628dfb41a96e2c008f3f0a9e226
[INFO] running `Command { std: "docker" "start" "-a" "c7300407ff7ed2ea9c58df8fe9117cd375ae3628dfb41a96e2c008f3f0a9e226", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c7300407ff7ed2ea9c58df8fe9117cd375ae3628dfb41a96e2c008f3f0a9e226", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c7300407ff7ed2ea9c58df8fe9117cd375ae3628dfb41a96e2c008f3f0a9e226", kill_on_drop: false }`
[INFO] [stdout] c7300407ff7ed2ea9c58df8fe9117cd375ae3628dfb41a96e2c008f3f0a9e226
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5289e714f27859b1d562857c1ff10f00a111ceec8b49916d0e43734386379887
[INFO] running `Command { std: "docker" "start" "-a" "5289e714f27859b1d562857c1ff10f00a111ceec8b49916d0e43734386379887", kill_on_drop: false }`
[INFO] [stderr]     Checking log v0.4.28
[INFO] [stderr]    Compiling cc v1.2.48
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]     Checking bitflags v2.10.0
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]    Compiling wayland-sys v0.31.7
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking rustls-pki-types v1.13.1
[INFO] [stderr]    Compiling zerocopy v0.8.30
[INFO] [stderr]     Checking socket2 v0.6.1
[INFO] [stderr]    Compiling quick-xml v0.37.5
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]    Compiling parking_lot_core v0.6.3
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking signal-hook-registry v1.4.7
[INFO] [stderr]     Checking mio v1.1.0
[INFO] [stderr]    Compiling wayland-client v0.31.11
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]     Checking smallvec v0.6.14
[INFO] [stderr]     Checking net2 v0.2.39
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]     Checking tokio-io v0.1.13
[INFO] [stderr]     Checking tracing-core v0.1.35
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling rustls v0.23.35
[INFO] [stderr]    Compiling wayland-scanner v0.29.5
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]     Checking time v0.3.44
[INFO] [stderr]     Checking tokio-sync v0.1.8
[INFO] [stderr]    Compiling wayland-sys v0.29.5
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.106
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking tokio-executor v0.1.10
[INFO] [stderr]     Checking nix v0.24.3
[INFO] [stderr]     Checking rustix v0.38.44
[INFO] [stderr]     Checking crossbeam-deque v0.7.4
[INFO] [stderr]     Checking crossbeam-queue v0.2.3
[INFO] [stderr]     Checking tokio-codec v0.1.2
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]    Compiling wayland-client v0.29.5
[INFO] [stderr]    Compiling naga v24.0.0
[INFO] [stderr]     Checking indexmap v2.12.1
[INFO] [stderr]     Checking tokio-threadpool v0.1.18
[INFO] [stderr]     Checking webpki-roots v1.0.4
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking tokio-reactor v0.1.12
[INFO] [stderr]    Compiling wayland-scanner v0.31.7
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]     Checking gpu-descriptor-types v0.2.0
[INFO] [stderr]     Checking gpu-alloc-types v0.3.0
[INFO] [stderr]     Checking spirv v0.3.0+sdk-1.3.268.0
[INFO] [stderr]    Compiling quinn-udp v0.5.14
[INFO] [stderr]    Compiling wgpu-hal v24.0.4
[INFO] [stderr]    Compiling oid-registry v0.8.1
[INFO] [stderr]     Checking gpu-alloc v0.6.0
[INFO] [stderr]     Checking tokio-udp v0.1.6
[INFO] [stderr]     Checking tokio-uds v0.2.7
[INFO] [stderr]     Checking tokio-tcp v0.1.4
[INFO] [stderr]     Checking rusticata-macros v4.1.0
[INFO] [stderr]     Checking tokio-fs v0.1.7
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling wayland-backend v0.3.11
[INFO] [stderr]     Checking gpu-descriptor v0.3.2
[INFO] [stderr]     Checking khronos-egl v6.0.0
[INFO] [stderr]    Compiling wayland-protocols v0.29.5
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking tokio-timer v0.2.13
[INFO] [stderr]     Checking tokio-current-thread v0.1.7
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking wgpu-types v24.0.0
[INFO] [stderr]     Checking ordered-float v4.6.0
[INFO] [stderr]     Checking memmap2 v0.9.9
[INFO] [stderr]    Compiling wgpu-core v24.0.5
[INFO] [stderr]    Compiling quinn v0.11.9
[INFO] [stderr]     Checking regex-syntax v0.8.8
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]    Compiling bumpalo v3.19.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking tokio v0.1.22
[INFO] [stderr]    Compiling minifb v0.27.0
[INFO] [stderr]    Compiling tun-tap v0.1.4
[INFO] [stderr]     Checking x11-dl v2.21.0
[INFO] [stderr]     Checking yasna v0.5.2
[INFO] [stderr]     Checking pem v3.0.6
[INFO] [stderr]     Checking wayland-commons v0.29.5
[INFO] [stderr]    Compiling wasm-bindgen v0.2.106
[INFO] [stderr]    Compiling wgpu v24.0.5
[INFO] [stderr]     Checking httlib-huffman v0.3.4
[INFO] [stderr]    Compiling napi-build v2.3.1
[INFO] [stderr]     Checking scoped-tls v0.1.2
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking octets v0.3.3
[INFO] [stderr]     Checking tokio-core v0.1.18
[INFO] [stderr]     Checking rustls-native-certs v0.8.2
[INFO] [stderr]     Checking flate2 v1.1.5
[INFO] [stderr]    Compiling riscv-vm v0.7.2 (/opt/rustwide/workdir/riscv-vm)
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]     Checking xkbcommon-dl v0.4.2
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking webpki-roots v0.26.11
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking rustls-pemfile v2.2.0
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking is-terminal v0.4.17
[INFO] [stderr]     Checking plain v0.2.3
[INFO] [stderr]     Checking pollster v0.4.0
[INFO] [stderr]     Checking wayland-cursor v0.29.5
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.106
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling bytemuck_derive v1.10.2
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking polling v3.11.0
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]     Checking tokio v1.48.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling asn1-rs-derive v0.6.0
[INFO] [stderr]     Checking bytemuck v1.24.0
[INFO] [stderr]     Checking thiserror v2.0.17
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]    Compiling asn1-rs-impl v0.2.0
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]     Checking wayland-csd-frame v0.3.0
[INFO] [stderr]     Checking tracing v0.1.43
[INFO] [stderr]     Checking tiny-skia-path v0.11.4
[INFO] [stderr]     Checking gethostname v1.1.0
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]     Checking rustls-webpki v0.103.8
[INFO] [stderr]    Compiling scroll_derive v0.12.1
[INFO] [stderr]     Checking x11rb v0.13.2
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking asn1-rs v0.7.1
[INFO] [stderr]     Checking calloop v0.13.0
[INFO] [stderr]     Checking rcgen v0.13.2
[INFO] [stderr]     Checking regex v1.12.2
[INFO] [stderr]     Checking tiny-skia v0.11.4
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]     Checking scroll v0.12.0
[INFO] [stderr]     Checking tempfile v3.23.0
[INFO] [stderr]    Compiling clap_derive v4.5.49
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]     Checking goblin v0.8.2
[INFO] [stderr]     Checking env_logger v0.10.2
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.106
[INFO] [stderr]     Checking wayland-protocols v0.32.9
[INFO] [stderr]     Checking calloop-wayland-source v0.3.0
[INFO] [stderr]     Checking wayland-cursor v0.31.11
[INFO] [stderr]     Checking strum v0.26.3
[INFO] [stderr]     Checking der-parser v10.0.0
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking icu_properties v2.1.1
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking x509-parser v0.17.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking clap v4.5.53
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking wtransport-proto v0.6.1
[INFO] [stderr]     Checking tungstenite v0.21.0
[INFO] [stderr]     Checking quinn-proto v0.11.13
[INFO] [stderr]     Checking ureq v2.12.1
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]     Checking tower-http v0.6.7
[INFO] [stderr]     Checking hyper-util v0.1.18
[INFO] [stderr]     Checking wayland-protocols-wlr v0.3.9
[INFO] [stderr]     Checking wayland-protocols-plasma v0.3.9
[INFO] [stderr]     Checking wtransport v0.6.1
[INFO] [stderr]     Checking hyper-rustls v0.27.7
[INFO] [stderr]     Checking reqwest v0.12.24
[INFO] [stderr]     Checking smithay-client-toolkit v0.19.2
[INFO] [stderr]     Checking sctk-adwaita v0.10.1
[INFO] [stderr]     Checking winit v0.30.12
[INFO] [stdout] warning: unused import: `MAX_BLOCK_SIZE`
[INFO] [stdout]   --> riscv-vm/src/cpu/execution.rs:10:65
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::engine::block::{Block, BlockCompiler, CompileResult, MAX_BLOCK_SIZE};
[INFO] [stdout]    |                                                                 ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::engine::microop::MicroOp`
[INFO] [stdout]   --> riscv-vm/src/cpu/execution.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::engine::microop::MicroOp;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ReadDir`
[INFO] [stdout]   --> riscv-vm/src/devices/virtio/p9.rs:20:40
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::fs::{self, File, OpenOptions, ReadDir};
[INFO] [stdout]    |                                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc` and `RwLock`
[INFO] [stdout]   --> riscv-vm/src/devices/d1_touch.rs:15:17
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::sync::{Arc, RwLock};
[INFO] [stdout]    |                 ^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MAX_BLOCK_SIZE`
[INFO] [stdout]   --> riscv-vm/src/cpu/execution.rs:10:65
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::engine::block::{Block, BlockCompiler, CompileResult, MAX_BLOCK_SIZE};
[INFO] [stdout]    |                                                                 ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::engine::microop::MicroOp`
[INFO] [stdout]   --> riscv-vm/src/cpu/execution.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::engine::microop::MicroOp;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ReadDir`
[INFO] [stdout]   --> riscv-vm/src/devices/virtio/p9.rs:20:40
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::fs::{self, File, OpenOptions, ReadDir};
[INFO] [stdout]    |                                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc` and `RwLock`
[INFO] [stdout]   --> riscv-vm/src/devices/d1_touch.rs:15:17
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::sync::{Arc, RwLock};
[INFO] [stdout]    |                 ^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `device_present`
[INFO] [stdout]    --> riscv-vm/src/bus.rs:992:21
[INFO] [stdout]     |
[INFO] [stdout] 992 |                 let device_present = self.d1_mmc.read().map(|g| g.is_some()).unwrap_or(false);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_device_present`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `offset`
[INFO] [stdout]     --> riscv-vm/src/bus.rs:1034:17
[INFO] [stdout]      |
[INFO] [stdout] 1034 |             let offset = addr - D1_I2C2_BASE;
[INFO] [stdout]      |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]    --> riscv-vm/src/devices/virtio/p9.rs:295:29
[INFO] [stdout]     |
[INFO] [stdout] 295 |     fn make_error(tag: u16, msg: &str) -> Vec<u8> {
[INFO] [stdout]     |                             ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `meta`
[INFO] [stdout]    --> riscv-vm/src/devices/virtio/p9.rs:482:13
[INFO] [stdout]     |
[INFO] [stdout] 482 |         let meta = fs::metadata(&entry.path).ok();
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_meta`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> riscv-vm/src/devices/d1_mmc.rs:309:35
[INFO] [stdout]     |
[INFO] [stdout] 309 |     pub fn mmio_write8(&mut self, addr: u64, value: u8) {
[INFO] [stdout]     |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> riscv-vm/src/devices/d1_mmc.rs:309:46
[INFO] [stdout]     |
[INFO] [stdout] 309 |     pub fn mmio_write8(&mut self, addr: u64, value: u8) {
[INFO] [stdout]     |                                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `phy_addr`
[INFO] [stdout]    --> riscv-vm/src/devices/d1_emac.rs:144:13
[INFO] [stdout]     |
[INFO] [stdout] 144 |         let phy_addr = (self.mii_cmd >> 12) & 0x1F;
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_phy_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `device_present`
[INFO] [stdout]    --> riscv-vm/src/bus.rs:992:21
[INFO] [stdout]     |
[INFO] [stdout] 992 |                 let device_present = self.d1_mmc.read().map(|g| g.is_some()).unwrap_or(false);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_device_present`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `offset`
[INFO] [stdout]     --> riscv-vm/src/bus.rs:1034:17
[INFO] [stdout]      |
[INFO] [stdout] 1034 |             let offset = addr - D1_I2C2_BASE;
[INFO] [stdout]      |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `src_port`
[INFO] [stdout]   --> riscv-vm/src/net/external.rs:51:21
[INFO] [stdout]    |
[INFO] [stdout] 51 |                 let src_port = if packet.len() >= 36 {
[INFO] [stdout]    |                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_port`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dst_port`
[INFO] [stdout]   --> riscv-vm/src/net/external.rs:66:21
[INFO] [stdout]    |
[INFO] [stdout] 66 |                 let dst_port = if packet.len() >= 36 {
[INFO] [stdout]    |                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dst_port`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]    --> riscv-vm/src/devices/virtio/p9.rs:295:29
[INFO] [stdout]     |
[INFO] [stdout] 295 |     fn make_error(tag: u16, msg: &str) -> Vec<u8> {
[INFO] [stdout]     |                             ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `meta`
[INFO] [stdout]    --> riscv-vm/src/devices/virtio/p9.rs:482:13
[INFO] [stdout]     |
[INFO] [stdout] 482 |         let meta = fs::metadata(&entry.path).ok();
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_meta`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> riscv-vm/src/devices/d1_mmc.rs:309:35
[INFO] [stdout]     |
[INFO] [stdout] 309 |     pub fn mmio_write8(&mut self, addr: u64, value: u8) {
[INFO] [stdout]     |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> riscv-vm/src/devices/d1_mmc.rs:309:46
[INFO] [stdout]     |
[INFO] [stdout] 309 |     pub fn mmio_write8(&mut self, addr: u64, value: u8) {
[INFO] [stdout]     |                                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `current_ips`
[INFO] [stdout]    --> riscv-vm/src/vm/native.rs:560:29
[INFO] [stdout]     |
[INFO] [stdout] 560 |                         let current_ips = if delta_time > 0.0 {
[INFO] [stdout]     |                             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_ips`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `phy_addr`
[INFO] [stdout]    --> riscv-vm/src/devices/d1_emac.rs:144:13
[INFO] [stdout]     |
[INFO] [stdout] 144 |         let phy_addr = (self.mii_cmd >> 12) & 0x1F;
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_phy_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]    --> riscv-vm/src/vm/native.rs:761:35
[INFO] [stdout]     |
[INFO] [stdout] 761 |                 HaltReason::Fatal(msg, pc) => {
[INFO] [stdout]     |                                   ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pc`
[INFO] [stdout]    --> riscv-vm/src/vm/native.rs:761:40
[INFO] [stdout]     |
[INFO] [stdout] 761 |                 HaltReason::Fatal(msg, pc) => {
[INFO] [stdout]     |                                        ^^ help: if this is intentional, prefix it with an underscore: `_pc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `current_ips`
[INFO] [stdout]    --> riscv-vm/src/vm/native.rs:776:25
[INFO] [stdout]     |
[INFO] [stdout] 776 |                     let current_ips = if delta_time > 0.0 {
[INFO] [stdout]     |                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_ips`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ips`
[INFO] [stdout]    --> riscv-vm/src/vm/native.rs:789:9
[INFO] [stdout]     |
[INFO] [stdout] 789 |     let ips = if elapsed > 0.0 {
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_ips`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DeviceRegion` is never constructed
[INFO] [stdout]   --> riscv-vm/src/bus.rs:84:8
[INFO] [stdout]    |
[INFO] [stdout] 84 | struct DeviceRegion {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEVICE_REGIONS` is never used
[INFO] [stdout]   --> riscv-vm/src/bus.rs:92:7
[INFO] [stdout]    |
[INFO] [stdout] 92 | const DEVICE_REGIONS: [DeviceRegion; 20] = [
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `lookup_device` is never used
[INFO] [stdout]    --> riscv-vm/src/bus.rs:139:4
[INFO] [stdout]     |
[INFO] [stdout] 139 | fn lookup_device(addr: u64) -> Option<(DeviceId, u64)> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `handle_block_result` is never used
[INFO] [stdout]     --> riscv-vm/src/cpu/core.rs:1281:19
[INFO] [stdout]      |
[INFO] [stdout]   64 | impl Cpu {
[INFO] [stdout]      | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1281 |     pub(super) fn handle_block_result(
[INFO] [stdout]      |                   ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `step_single` is never used
[INFO] [stdout]    --> riscv-vm/src/cpu/execution.rs:199:19
[INFO] [stdout]     |
[INFO] [stdout]  15 | impl Cpu {
[INFO] [stdout]     | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 199 |     pub(super) fn step_single(&mut self, bus: &dyn Bus) -> Result<(), Trap> {
[INFO] [stdout]     |                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MTIME_INCREMENT` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/clint.rs:36:7
[INFO] [stdout]    |
[INFO] [stdout] 36 | const MTIME_INCREMENT: u64 = 256;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `VIRTIO_INPUT_CFG_UNSET` is never used
[INFO] [stdout]    --> riscv-vm/src/devices/virtio/input.rs:121:7
[INFO] [stdout]     |
[INFO] [stdout] 121 | const VIRTIO_INPUT_CFG_UNSET: u8 = 0x00;
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `VIRTIO_INPUT_CFG_PROP_BITS` is never used
[INFO] [stdout]    --> riscv-vm/src/devices/virtio/input.rs:125:7
[INFO] [stdout]     |
[INFO] [stdout] 125 | const VIRTIO_INPUT_CFG_PROP_BITS: u8 = 0x10;
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `VIRTIO_INPUT_CFG_ABS_INFO` is never used
[INFO] [stdout]    --> riscv-vm/src/devices/virtio/input.rs:127:7
[INFO] [stdout]     |
[INFO] [stdout] 127 | const VIRTIO_INPUT_CFG_ABS_INFO: u8 = 0x12;
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `T_LERROR` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/virtio/p9.rs:31:7
[INFO] [stdout]    |
[INFO] [stdout] 31 | const T_LERROR: u8 = 6;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `R_VERSION` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/virtio/p9.rs:34:7
[INFO] [stdout]    |
[INFO] [stdout] 34 | const R_VERSION: u8 = 101;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `R_ATTACH` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/virtio/p9.rs:36:7
[INFO] [stdout]    |
[INFO] [stdout] 36 | const R_ATTACH: u8 = 105;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `R_WALK` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/virtio/p9.rs:38:7
[INFO] [stdout]    |
[INFO] [stdout] 38 | const R_WALK: u8 = 111;
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `R_LOPEN` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/virtio/p9.rs:40:7
[INFO] [stdout]    |
[INFO] [stdout] 40 | const R_LOPEN: u8 = 13;
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `R_READ` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/virtio/p9.rs:42:7
[INFO] [stdout]    |
[INFO] [stdout] 42 | const R_READ: u8 = 117;
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `R_WRITE` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/virtio/p9.rs:44:7
[INFO] [stdout]    |
[INFO] [stdout] 44 | const R_WRITE: u8 = 119;
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `R_CLUNK` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/virtio/p9.rs:46:7
[INFO] [stdout]    |
[INFO] [stdout] 46 | const R_CLUNK: u8 = 121;
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `R_READDIR` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/virtio/p9.rs:48:7
[INFO] [stdout]    |
[INFO] [stdout] 48 | const R_READDIR: u8 = 41;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `R_GETATTR` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/virtio/p9.rs:50:7
[INFO] [stdout]    |
[INFO] [stdout] 50 | const R_GETATTR: u8 = 25;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `R_LCREATE` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/virtio/p9.rs:52:7
[INFO] [stdout]    |
[INFO] [stdout] 52 | const R_LCREATE: u8 = 15;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `readdir_offset` is never read
[INFO] [stdout]   --> riscv-vm/src/devices/virtio/p9.rs:96:5
[INFO] [stdout]    |
[INFO] [stdout] 92 | struct FidEntry {
[INFO] [stdout]    |        -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 96 |     readdir_offset: u64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `debug` is never read
[INFO] [stdout]   --> riscv-vm/src/devices/virtio/rng.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | struct VirtioRngState {
[INFO] [stdout]    |        -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     debug: bool,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SMHC_TMOUT` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_mmc.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const SMHC_TMOUT: u64 = 0x08;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SMHC_CTYPE` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_mmc.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const SMHC_CTYPE: u64 = 0x0C;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SMHC_INTMASK` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_mmc.rs:26:7
[INFO] [stdout]    |
[INFO] [stdout] 26 | const SMHC_INTMASK: u64 = 0x30;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SMHC_MINTSTS` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_mmc.rs:27:7
[INFO] [stdout]    |
[INFO] [stdout] 27 | const SMHC_MINTSTS: u64 = 0x34;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CMD_DATA_EXP` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_mmc.rs:34:7
[INFO] [stdout]    |
[INFO] [stdout] 34 | const CMD_DATA_EXP: u32 = 1 << 9;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CMD_WRITE` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_mmc.rs:35:7
[INFO] [stdout]    |
[INFO] [stdout] 35 | const CMD_WRITE: u32 = 1 << 10;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DE_GLB_CTL` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_display.rs:26:7
[INFO] [stdout]    |
[INFO] [stdout] 26 | const DE_GLB_CTL: u64 = 0x0000;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DE_GLB_STS` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_display.rs:27:7
[INFO] [stdout]    |
[INFO] [stdout] 27 | const DE_GLB_STS: u64 = 0x0004;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DE_GLB_DBUFF` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_display.rs:28:7
[INFO] [stdout]    |
[INFO] [stdout] 28 | const DE_GLB_DBUFF: u64 = 0x0008;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DE_GLB_SIZE` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_display.rs:29:7
[INFO] [stdout]    |
[INFO] [stdout] 29 | const DE_GLB_SIZE: u64 = 0x000C;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UI_ATTR` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_display.rs:32:7
[INFO] [stdout]    |
[INFO] [stdout] 32 | const UI_ATTR: u64 = 0x00;
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UI_SIZE` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_display.rs:33:7
[INFO] [stdout]    |
[INFO] [stdout] 33 | const UI_SIZE: u64 = 0x04;
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UI_COORD` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_display.rs:34:7
[INFO] [stdout]    |
[INFO] [stdout] 34 | const UI_COORD: u64 = 0x08;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UI_PITCH` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_display.rs:35:7
[INFO] [stdout]    |
[INFO] [stdout] 35 | const UI_PITCH: u64 = 0x0C;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UI_TOP_LADDR` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_display.rs:36:7
[INFO] [stdout]    |
[INFO] [stdout] 36 | const UI_TOP_LADDR: u64 = 0x10;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EMAC_BASIC_CTL0` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 | const EMAC_BASIC_CTL0: u64 = 0x00;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EMAC_BASIC_CTL1` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | const EMAC_BASIC_CTL1: u64 = 0x04;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EMAC_INT_STA` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const EMAC_INT_STA: u64 = 0x08;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EMAC_INT_EN` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const EMAC_INT_EN: u64 = 0x0C;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EMAC_TX_CTL0` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const EMAC_TX_CTL0: u64 = 0x10;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EMAC_TX_CTL1` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 | const EMAC_TX_CTL1: u64 = 0x14;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EMAC_TX_DMA_DESC` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 | const EMAC_TX_DMA_DESC: u64 = 0x20;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EMAC_RX_CTL0` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | const EMAC_RX_CTL0: u64 = 0x24;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EMAC_RX_CTL1` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | const EMAC_RX_CTL1: u64 = 0x28;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EMAC_RX_DMA_DESC` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 | const EMAC_RX_DMA_DESC: u64 = 0x34;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EMAC_MII_CMD` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:23:7
[INFO] [stdout]    |
[INFO] [stdout] 23 | const EMAC_MII_CMD: u64 = 0x48;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EMAC_MII_DATA` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:24:7
[INFO] [stdout]    |
[INFO] [stdout] 24 | const EMAC_MII_DATA: u64 = 0x4C;
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EMAC_ADDR_HIGH` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:25:7
[INFO] [stdout]    |
[INFO] [stdout] 25 | const EMAC_ADDR_HIGH: u64 = 0x50;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EMAC_ADDR_LOW` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:26:7
[INFO] [stdout]    |
[INFO] [stdout] 26 | const EMAC_ADDR_LOW: u64 = 0x54;
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EMAC_TX_DMA_STA` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:27:7
[INFO] [stdout]    |
[INFO] [stdout] 27 | const EMAC_TX_DMA_STA: u64 = 0xB0;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EMAC_RX_DMA_STA` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:28:7
[INFO] [stdout]    |
[INFO] [stdout] 28 | const EMAC_RX_DMA_STA: u64 = 0xC0;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PHY_BMCR` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:31:7
[INFO] [stdout]    |
[INFO] [stdout] 31 | const PHY_BMCR: u32 = 0x00;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PHY_BMSR` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:32:7
[INFO] [stdout]    |
[INFO] [stdout] 32 | const PHY_BMSR: u32 = 0x01;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PHY_PHYSID1` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:33:7
[INFO] [stdout]    |
[INFO] [stdout] 33 | const PHY_PHYSID1: u32 = 0x02;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PHY_PHYSID2` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:34:7
[INFO] [stdout]    |
[INFO] [stdout] 34 | const PHY_PHYSID2: u32 = 0x03;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PHY_ADVERTISE` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:35:7
[INFO] [stdout]    |
[INFO] [stdout] 35 | const PHY_ADVERTISE: u32 = 0x04;
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PHY_LPA` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:36:7
[INFO] [stdout]    |
[INFO] [stdout] 36 | const PHY_LPA: u32 = 0x05;
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GT911_PRODUCT_ID` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_touch.rs:25:7
[INFO] [stdout]    |
[INFO] [stdout] 25 | const GT911_PRODUCT_ID: u16 = 0x8140;      // "911\0" product ID
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GT911_FIRMWARE_VER` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_touch.rs:26:7
[INFO] [stdout]    |
[INFO] [stdout] 26 | const GT911_FIRMWARE_VER: u16 = 0x8144;    // Firmware version
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GT911_X_RES` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_touch.rs:27:7
[INFO] [stdout]    |
[INFO] [stdout] 27 | const GT911_X_RES: u16 = 0x8146;           // X resolution (2 bytes, little-endian)
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GT911_Y_RES` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_touch.rs:28:7
[INFO] [stdout]    |
[INFO] [stdout] 28 | const GT911_Y_RES: u16 = 0x8148;           // Y resolution (2 bytes, little-endian)
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GT911_TOUCH_STATUS` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_touch.rs:29:7
[INFO] [stdout]    |
[INFO] [stdout] 29 | const GT911_TOUCH_STATUS: u16 = 0x814E;    // Touch status register
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GT911_COMMAND` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_touch.rs:31:7
[INFO] [stdout]    |
[INFO] [stdout] 31 | const GT911_COMMAND: u16 = 0x8040;         // Command register
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TOUCH_STATUS_LARGE_DETECT` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_touch.rs:35:7
[INFO] [stdout]    |
[INFO] [stdout] 35 | const TOUCH_STATUS_LARGE_DETECT: u8 = 0x40; // Large area detected
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `reg_addr` and `addr_phase` are never read
[INFO] [stdout]   --> riscv-vm/src/devices/d1_touch.rs:90:5
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub struct D1TouchEmulated {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 90 |     reg_addr: u16,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 91 |     addr_phase: u8,  // 0 = none, 1 = high byte received, 2 = low byte received
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `connection_attempts` is never read
[INFO] [stdout]    --> riscv-vm/src/net/webtransport.rs:205:9
[INFO] [stdout]     |
[INFO] [stdout] 197 |     pub struct WebTransportBackend {
[INFO] [stdout]     |                ------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 205 |         connection_attempts: Arc<AtomicU32>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `src_port`
[INFO] [stdout]   --> riscv-vm/src/net/external.rs:51:21
[INFO] [stdout]    |
[INFO] [stdout] 51 |                 let src_port = if packet.len() >= 36 {
[INFO] [stdout]    |                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_port`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dst_port`
[INFO] [stdout]   --> riscv-vm/src/net/external.rs:66:21
[INFO] [stdout]    |
[INFO] [stdout] 66 |                 let dst_port = if packet.len() >= 36 {
[INFO] [stdout]    |                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dst_port`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> riscv-vm/src/sdboot.rs:277:13
[INFO] [stdout]     |
[INFO] [stdout] 277 |         let mut entry = DirEntry {
[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: unused variable: `current_ips`
[INFO] [stdout]    --> riscv-vm/src/vm/native.rs:560:29
[INFO] [stdout]     |
[INFO] [stdout] 560 |                         let current_ips = if delta_time > 0.0 {
[INFO] [stdout]     |                             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_ips`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]    --> riscv-vm/src/vm/native.rs:761:35
[INFO] [stdout]     |
[INFO] [stdout] 761 |                 HaltReason::Fatal(msg, pc) => {
[INFO] [stdout]     |                                   ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pc`
[INFO] [stdout]    --> riscv-vm/src/vm/native.rs:761:40
[INFO] [stdout]     |
[INFO] [stdout] 761 |                 HaltReason::Fatal(msg, pc) => {
[INFO] [stdout]     |                                        ^^ help: if this is intentional, prefix it with an underscore: `_pc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `current_ips`
[INFO] [stdout]    --> riscv-vm/src/vm/native.rs:776:25
[INFO] [stdout]     |
[INFO] [stdout] 776 |                     let current_ips = if delta_time > 0.0 {
[INFO] [stdout]     |                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_ips`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ips`
[INFO] [stdout]    --> riscv-vm/src/vm/native.rs:789:9
[INFO] [stdout]     |
[INFO] [stdout] 789 |     let ips = if elapsed > 0.0 {
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_ips`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DeviceRegion` is never constructed
[INFO] [stdout]   --> riscv-vm/src/bus.rs:84:8
[INFO] [stdout]    |
[INFO] [stdout] 84 | struct DeviceRegion {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEVICE_REGIONS` is never used
[INFO] [stdout]   --> riscv-vm/src/bus.rs:92:7
[INFO] [stdout]    |
[INFO] [stdout] 92 | const DEVICE_REGIONS: [DeviceRegion; 20] = [
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `lookup_device` is never used
[INFO] [stdout]    --> riscv-vm/src/bus.rs:139:4
[INFO] [stdout]     |
[INFO] [stdout] 139 | fn lookup_device(addr: u64) -> Option<(DeviceId, u64)> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `handle_block_result` is never used
[INFO] [stdout]     --> riscv-vm/src/cpu/core.rs:1281:19
[INFO] [stdout]      |
[INFO] [stdout]   64 | impl Cpu {
[INFO] [stdout]      | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1281 |     pub(super) fn handle_block_result(
[INFO] [stdout]      |                   ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `step_single` is never used
[INFO] [stdout]    --> riscv-vm/src/cpu/execution.rs:199:19
[INFO] [stdout]     |
[INFO] [stdout]  15 | impl Cpu {
[INFO] [stdout]     | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 199 |     pub(super) fn step_single(&mut self, bus: &dyn Bus) -> Result<(), Trap> {
[INFO] [stdout]     |                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MTIME_INCREMENT` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/clint.rs:36:7
[INFO] [stdout]    |
[INFO] [stdout] 36 | const MTIME_INCREMENT: u64 = 256;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `VIRTIO_INPUT_CFG_UNSET` is never used
[INFO] [stdout]    --> riscv-vm/src/devices/virtio/input.rs:121:7
[INFO] [stdout]     |
[INFO] [stdout] 121 | const VIRTIO_INPUT_CFG_UNSET: u8 = 0x00;
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `VIRTIO_INPUT_CFG_PROP_BITS` is never used
[INFO] [stdout]    --> riscv-vm/src/devices/virtio/input.rs:125:7
[INFO] [stdout]     |
[INFO] [stdout] 125 | const VIRTIO_INPUT_CFG_PROP_BITS: u8 = 0x10;
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `VIRTIO_INPUT_CFG_ABS_INFO` is never used
[INFO] [stdout]    --> riscv-vm/src/devices/virtio/input.rs:127:7
[INFO] [stdout]     |
[INFO] [stdout] 127 | const VIRTIO_INPUT_CFG_ABS_INFO: u8 = 0x12;
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `T_LERROR` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/virtio/p9.rs:31:7
[INFO] [stdout]    |
[INFO] [stdout] 31 | const T_LERROR: u8 = 6;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `R_VERSION` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/virtio/p9.rs:34:7
[INFO] [stdout]    |
[INFO] [stdout] 34 | const R_VERSION: u8 = 101;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `R_ATTACH` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/virtio/p9.rs:36:7
[INFO] [stdout]    |
[INFO] [stdout] 36 | const R_ATTACH: u8 = 105;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `R_WALK` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/virtio/p9.rs:38:7
[INFO] [stdout]    |
[INFO] [stdout] 38 | const R_WALK: u8 = 111;
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `R_LOPEN` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/virtio/p9.rs:40:7
[INFO] [stdout]    |
[INFO] [stdout] 40 | const R_LOPEN: u8 = 13;
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `R_READ` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/virtio/p9.rs:42:7
[INFO] [stdout]    |
[INFO] [stdout] 42 | const R_READ: u8 = 117;
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `R_WRITE` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/virtio/p9.rs:44:7
[INFO] [stdout]    |
[INFO] [stdout] 44 | const R_WRITE: u8 = 119;
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `R_CLUNK` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/virtio/p9.rs:46:7
[INFO] [stdout]    |
[INFO] [stdout] 46 | const R_CLUNK: u8 = 121;
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `R_READDIR` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/virtio/p9.rs:48:7
[INFO] [stdout]    |
[INFO] [stdout] 48 | const R_READDIR: u8 = 41;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `R_GETATTR` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/virtio/p9.rs:50:7
[INFO] [stdout]    |
[INFO] [stdout] 50 | const R_GETATTR: u8 = 25;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `R_LCREATE` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/virtio/p9.rs:52:7
[INFO] [stdout]    |
[INFO] [stdout] 52 | const R_LCREATE: u8 = 15;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `readdir_offset` is never read
[INFO] [stdout]   --> riscv-vm/src/devices/virtio/p9.rs:96:5
[INFO] [stdout]    |
[INFO] [stdout] 92 | struct FidEntry {
[INFO] [stdout]    |        -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 96 |     readdir_offset: u64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `debug` is never read
[INFO] [stdout]   --> riscv-vm/src/devices/virtio/rng.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | struct VirtioRngState {
[INFO] [stdout]    |        -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     debug: bool,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SMHC_TMOUT` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_mmc.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const SMHC_TMOUT: u64 = 0x08;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SMHC_CTYPE` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_mmc.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const SMHC_CTYPE: u64 = 0x0C;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SMHC_INTMASK` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_mmc.rs:26:7
[INFO] [stdout]    |
[INFO] [stdout] 26 | const SMHC_INTMASK: u64 = 0x30;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SMHC_MINTSTS` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_mmc.rs:27:7
[INFO] [stdout]    |
[INFO] [stdout] 27 | const SMHC_MINTSTS: u64 = 0x34;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CMD_DATA_EXP` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_mmc.rs:34:7
[INFO] [stdout]    |
[INFO] [stdout] 34 | const CMD_DATA_EXP: u32 = 1 << 9;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CMD_WRITE` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_mmc.rs:35:7
[INFO] [stdout]    |
[INFO] [stdout] 35 | const CMD_WRITE: u32 = 1 << 10;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DE_GLB_CTL` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_display.rs:26:7
[INFO] [stdout]    |
[INFO] [stdout] 26 | const DE_GLB_CTL: u64 = 0x0000;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DE_GLB_STS` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_display.rs:27:7
[INFO] [stdout]    |
[INFO] [stdout] 27 | const DE_GLB_STS: u64 = 0x0004;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DE_GLB_DBUFF` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_display.rs:28:7
[INFO] [stdout]    |
[INFO] [stdout] 28 | const DE_GLB_DBUFF: u64 = 0x0008;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DE_GLB_SIZE` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_display.rs:29:7
[INFO] [stdout]    |
[INFO] [stdout] 29 | const DE_GLB_SIZE: u64 = 0x000C;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UI_ATTR` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_display.rs:32:7
[INFO] [stdout]    |
[INFO] [stdout] 32 | const UI_ATTR: u64 = 0x00;
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UI_SIZE` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_display.rs:33:7
[INFO] [stdout]    |
[INFO] [stdout] 33 | const UI_SIZE: u64 = 0x04;
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UI_COORD` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_display.rs:34:7
[INFO] [stdout]    |
[INFO] [stdout] 34 | const UI_COORD: u64 = 0x08;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UI_PITCH` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_display.rs:35:7
[INFO] [stdout]    |
[INFO] [stdout] 35 | const UI_PITCH: u64 = 0x0C;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UI_TOP_LADDR` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_display.rs:36:7
[INFO] [stdout]    |
[INFO] [stdout] 36 | const UI_TOP_LADDR: u64 = 0x10;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EMAC_BASIC_CTL0` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 | const EMAC_BASIC_CTL0: u64 = 0x00;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EMAC_BASIC_CTL1` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | const EMAC_BASIC_CTL1: u64 = 0x04;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EMAC_INT_STA` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const EMAC_INT_STA: u64 = 0x08;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EMAC_INT_EN` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const EMAC_INT_EN: u64 = 0x0C;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EMAC_TX_CTL0` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const EMAC_TX_CTL0: u64 = 0x10;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EMAC_TX_CTL1` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 | const EMAC_TX_CTL1: u64 = 0x14;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EMAC_TX_DMA_DESC` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 | const EMAC_TX_DMA_DESC: u64 = 0x20;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EMAC_RX_CTL0` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | const EMAC_RX_CTL0: u64 = 0x24;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EMAC_RX_CTL1` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | const EMAC_RX_CTL1: u64 = 0x28;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EMAC_RX_DMA_DESC` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 | const EMAC_RX_DMA_DESC: u64 = 0x34;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EMAC_MII_CMD` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:23:7
[INFO] [stdout]    |
[INFO] [stdout] 23 | const EMAC_MII_CMD: u64 = 0x48;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EMAC_MII_DATA` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:24:7
[INFO] [stdout]    |
[INFO] [stdout] 24 | const EMAC_MII_DATA: u64 = 0x4C;
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EMAC_ADDR_HIGH` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:25:7
[INFO] [stdout]    |
[INFO] [stdout] 25 | const EMAC_ADDR_HIGH: u64 = 0x50;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EMAC_ADDR_LOW` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:26:7
[INFO] [stdout]    |
[INFO] [stdout] 26 | const EMAC_ADDR_LOW: u64 = 0x54;
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EMAC_TX_DMA_STA` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:27:7
[INFO] [stdout]    |
[INFO] [stdout] 27 | const EMAC_TX_DMA_STA: u64 = 0xB0;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EMAC_RX_DMA_STA` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:28:7
[INFO] [stdout]    |
[INFO] [stdout] 28 | const EMAC_RX_DMA_STA: u64 = 0xC0;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PHY_BMCR` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:31:7
[INFO] [stdout]    |
[INFO] [stdout] 31 | const PHY_BMCR: u32 = 0x00;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PHY_BMSR` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:32:7
[INFO] [stdout]    |
[INFO] [stdout] 32 | const PHY_BMSR: u32 = 0x01;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PHY_PHYSID1` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:33:7
[INFO] [stdout]    |
[INFO] [stdout] 33 | const PHY_PHYSID1: u32 = 0x02;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PHY_PHYSID2` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:34:7
[INFO] [stdout]    |
[INFO] [stdout] 34 | const PHY_PHYSID2: u32 = 0x03;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PHY_ADVERTISE` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:35:7
[INFO] [stdout]    |
[INFO] [stdout] 35 | const PHY_ADVERTISE: u32 = 0x04;
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PHY_LPA` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_emac.rs:36:7
[INFO] [stdout]    |
[INFO] [stdout] 36 | const PHY_LPA: u32 = 0x05;
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GT911_PRODUCT_ID` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_touch.rs:25:7
[INFO] [stdout]    |
[INFO] [stdout] 25 | const GT911_PRODUCT_ID: u16 = 0x8140;      // "911\0" product ID
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GT911_FIRMWARE_VER` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_touch.rs:26:7
[INFO] [stdout]    |
[INFO] [stdout] 26 | const GT911_FIRMWARE_VER: u16 = 0x8144;    // Firmware version
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GT911_X_RES` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_touch.rs:27:7
[INFO] [stdout]    |
[INFO] [stdout] 27 | const GT911_X_RES: u16 = 0x8146;           // X resolution (2 bytes, little-endian)
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GT911_Y_RES` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_touch.rs:28:7
[INFO] [stdout]    |
[INFO] [stdout] 28 | const GT911_Y_RES: u16 = 0x8148;           // Y resolution (2 bytes, little-endian)
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GT911_TOUCH_STATUS` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_touch.rs:29:7
[INFO] [stdout]    |
[INFO] [stdout] 29 | const GT911_TOUCH_STATUS: u16 = 0x814E;    // Touch status register
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GT911_COMMAND` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_touch.rs:31:7
[INFO] [stdout]    |
[INFO] [stdout] 31 | const GT911_COMMAND: u16 = 0x8040;         // Command register
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TOUCH_STATUS_LARGE_DETECT` is never used
[INFO] [stdout]   --> riscv-vm/src/devices/d1_touch.rs:35:7
[INFO] [stdout]    |
[INFO] [stdout] 35 | const TOUCH_STATUS_LARGE_DETECT: u8 = 0x40; // Large area detected
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `reg_addr` and `addr_phase` are never read
[INFO] [stdout]   --> riscv-vm/src/devices/d1_touch.rs:90:5
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub struct D1TouchEmulated {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 90 |     reg_addr: u16,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 91 |     addr_phase: u8,  // 0 = none, 1 = high byte received, 2 = low byte received
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `connection_attempts` is never read
[INFO] [stdout]    --> riscv-vm/src/net/webtransport.rs:205:9
[INFO] [stdout]     |
[INFO] [stdout] 197 |     pub struct WebTransportBackend {
[INFO] [stdout]     |                ------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 205 |         connection_attempts: Arc<AtomicU32>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 28s
[INFO] running `Command { std: "docker" "inspect" "5289e714f27859b1d562857c1ff10f00a111ceec8b49916d0e43734386379887", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5289e714f27859b1d562857c1ff10f00a111ceec8b49916d0e43734386379887", kill_on_drop: false }`
[INFO] [stdout] 5289e714f27859b1d562857c1ff10f00a111ceec8b49916d0e43734386379887
