[INFO] fetching crate riscv-128bit-vm 1.1.0...
[INFO] testing riscv-128bit-vm-1.1.0 against beta-2026-04-21 for beta-1.96-2
[INFO] extracting crate riscv-128bit-vm 1.1.0 into /workspace/builds/worker-3-tc2/source
[INFO] started tweaking crates.io crate riscv-128bit-vm 1.1.0
[INFO] finished tweaking crates.io crate riscv-128bit-vm 1.1.0
[INFO] tweaked toml for crates.io crate riscv-128bit-vm 1.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate riscv-128bit-vm 1.1.0 on toolchain beta-2026-04-21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate riscv-128bit-vm 1.1.0 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" "+beta-2026-04-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+beta-2026-04-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ecd29794ecf94465ef82829138563a520d3fe3e05a7955d65d2d9cd768525cd6
[INFO] running `Command { std: "docker" "start" "-a" "ecd29794ecf94465ef82829138563a520d3fe3e05a7955d65d2d9cd768525cd6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ecd29794ecf94465ef82829138563a520d3fe3e05a7955d65d2d9cd768525cd6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ecd29794ecf94465ef82829138563a520d3fe3e05a7955d65d2d9cd768525cd6", kill_on_drop: false }`
[INFO] [stdout] ecd29794ecf94465ef82829138563a520d3fe3e05a7955d65d2d9cd768525cd6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2026-04-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 59054e7741966e7984c8c4ff907f4e62821c6aa871e3d6b41b813cdfdbdb03ef
[INFO] running `Command { std: "docker" "start" "-a" "59054e7741966e7984c8c4ff907f4e62821c6aa871e3d6b41b813cdfdbdb03ef", kill_on_drop: false }`
[INFO] [stderr]    Compiling bitflags v2.11.0
[INFO] [stderr]    Compiling riscv-128bit-vm v1.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/riscv/virtual_machine.rs:827:13
[INFO] [stdout]     |
[INFO] [stdout] 690 |             debugger::DebugCommand::Help => {
[INFO] [stdout]     |             ---------------------------- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 827 |             debugger::DebugCommand::Help => {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/riscv/virtual_machine.rs:833:13
[INFO] [stdout]     |
[INFO] [stdout] 833 |             _ => {
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/riscv/virtual_machine.rs:833:13
[INFO] [stdout]     |
[INFO] [stdout] 686 |             debugger::DebugCommand::Quit => {
[INFO] [stdout]     |             ---------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 690 |             debugger::DebugCommand::Help => {
[INFO] [stdout]     |             ---------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 693 |             debugger::DebugCommand::Continue => {
[INFO] [stdout]     |             -------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 696 |             debugger::DebugCommand::Step => {
[INFO] [stdout]     |             ---------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 833 |             _ => {
[INFO] [stdout]     |             ^ ...and 27 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `RegisterEqual`, `RegisterNotEqual`, `MemoryEqual`, `CycleCount`, and `PcInRange` are never constructed
[INFO] [stdout]   --> src/riscv/debugger.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub enum BreakCondition {
[INFO] [stdout]    |          -------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 45 |     RegisterEqual { reg: u8, value: u128 },
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 46 |     /// Break when register not equals value (寄存器不等于值时中断)
[INFO] [stdout] 47 |     RegisterNotEqual { reg: u8, value: u128 },
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 48 |     /// Break when memory at address equals value (内存地址的值等于指定值时中断)
[INFO] [stdout] 49 |     MemoryEqual { addr: memory::Address128, value: u64, size: u8 },
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 50 |     /// Break when cycle count reaches value (周期计数达到值时中断)
[INFO] [stdout] 51 |     CycleCount(u64),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 52 |     /// Break when PC is in range (PC 在范围内时中断)
[INFO] [stdout] 53 |     PcInRange { start: memory::Address128, end: memory::Address128 },
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BreakCondition` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Function` is never constructed
[INFO] [stdout]   --> src/riscv/debugger.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub enum BreakpointType {
[INFO] [stdout]    |          -------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 68 |     Function(String),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BreakpointType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `commands` is never read
[INFO] [stdout]   --> src/riscv/debugger.rs:91:9
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub struct Breakpoint {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 91 |     pub commands: Vec<String>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Breakpoint` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new_function` and `with_ignore_count` are never used
[INFO] [stdout]    --> src/riscv/debugger.rs:134:12
[INFO] [stdout]     |
[INFO] [stdout]  94 | impl Breakpoint {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 134 |     pub fn new_function(id: BreakpointId, name: String) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub fn with_ignore_count(mut self, count: u64) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `remove_at`, `get`, `get_at_mut`, and `has_breakpoint_at` are never used
[INFO] [stdout]    --> src/riscv/debugger.rs:291:12
[INFO] [stdout]     |
[INFO] [stdout] 195 | impl BreakpointManager {
[INFO] [stdout]     | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 291 |     pub fn remove_at(&mut self, address: memory::Address128) -> Option<Breakpoint> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 332 |     pub fn get(&self, id: BreakpointId) -> Option<&Breakpoint> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 359 |     pub fn get_at_mut(&mut self, address: memory::Address128) -> Option<&mut Breakpoint> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 391 |     pub fn has_breakpoint_at(&self, address: memory::Address128) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `trigger_count` and `old_value` are never read
[INFO] [stdout]    --> src/riscv/debugger.rs:446:9
[INFO] [stdout]     |
[INFO] [stdout] 434 | pub struct Watchpoint {
[INFO] [stdout]     |            ---------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 446 |     pub trigger_count: u64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] 447 |     /// Old value (for change detection) (旧值，用于变化检测)
[INFO] [stdout] 448 |     pub old_value: Option<Vec<u8>>,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Watchpoint` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `matches` is never used
[INFO] [stdout]    --> src/riscv/debugger.rs:474:12
[INFO] [stdout]     |
[INFO] [stdout] 451 | impl Watchpoint {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 474 |     pub fn matches(&self, addr: memory::Address128, size: usize, is_write: bool) -> bool {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `old_value` is never read
[INFO] [stdout]    --> src/riscv/debugger.rs:512:9
[INFO] [stdout]     |
[INFO] [stdout] 502 | pub struct RegisterWatchpoint {
[INFO] [stdout]     |            ------------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 512 |     pub old_value: u128,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `RegisterWatchpoint` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `check_memory`, `update_value`, and `clear` are never used
[INFO] [stdout]    --> src/riscv/debugger.rs:628:12
[INFO] [stdout]     |
[INFO] [stdout] 543 | impl WatchpointManager {
[INFO] [stdout]     | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 628 |     pub fn check_memory(&self, addr: memory::Address128, size: usize, is_write: bool) -> Vec<&Watchpoint> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 639 |     pub fn update_value(&mut self, id: WatchpointId, value: Vec<u8>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 650 |     pub fn clear(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `registers_before`, `pc_before`, and `memory_writes` are never read
[INFO] [stdout]    --> src/riscv/debugger.rs:682:9
[INFO] [stdout]     |
[INFO] [stdout] 672 | pub struct HistoryEntry {
[INFO] [stdout]     |            ------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 682 |     pub registers_before: [u128; 32],
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 683 |     /// PC before execution (执行前的 PC)
[INFO] [stdout] 684 |     pub pc_before: memory::Address128,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 690 |     pub memory_writes: Vec<(memory::Address128, Vec<u8>)>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `HistoryEntry` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `record_register_change` and `record_memory_write` are never used
[INFO] [stdout]    --> src/riscv/debugger.rs:725:12
[INFO] [stdout]     |
[INFO] [stdout] 693 | impl HistoryEntry {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 725 |     pub fn record_register_change(&mut self, reg: u8, new_value: u128) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 735 |     pub fn record_memory_write(&mut self, addr: memory::Address128, data: Vec<u8>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `current`, `get`, `clear`, `len`, and `is_empty` are never used
[INFO] [stdout]    --> src/riscv/debugger.rs:784:12
[INFO] [stdout]     |
[INFO] [stdout] 751 | impl ExecutionHistory {
[INFO] [stdout]     | --------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 784 |     pub fn current(&self) -> Option<&HistoryEntry> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 793 |     pub fn get(&self, index: usize) -> Option<&HistoryEntry> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 816 |     pub fn clear(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 826 |     pub fn len(&self) -> usize {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 835 |     pub fn is_empty(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]    --> src/riscv/debugger.rs:852:5
[INFO] [stdout]     |
[INFO] [stdout] 850 | pub enum StopReason {
[INFO] [stdout]     |          ---------- variants in this enum
[INFO] [stdout] 851 |     /// Breakpoint hit (断点命中)
[INFO] [stdout] 852 |     Breakpoint(BreakpointId),
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 853 |     /// Watchpoint triggered (观察点触发)
[INFO] [stdout] 854 |     Watchpoint(WatchpointId),
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 855 |     /// Step completed (单步完成)
[INFO] [stdout] 856 |     Step,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 857 |     /// Next completed (next 完成)
[INFO] [stdout] 858 |     Next,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 859 |     /// Continue until address (继续到地址)
[INFO] [stdout] 860 |     Until(memory::Address128),
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 861 |     /// Exception occurred (发生异常)
[INFO] [stdout] 862 |     Exception(String),
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 863 |     /// User interrupted (用户中断)
[INFO] [stdout] 864 |     Interrupted,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 865 |     /// Program exited (程序退出)
[INFO] [stdout] 866 |     Exit,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `StopReason` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Step`, `Next`, `Finish`, and `Restart` are never constructed
[INFO] [stdout]    --> src/riscv/debugger.rs:881:5
[INFO] [stdout]     |
[INFO] [stdout] 877 | pub enum DebuggerAction {
[INFO] [stdout]     |          -------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 881 |     Step,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 882 |     /// Step over (next) (步过)
[INFO] [stdout] 883 |     Next,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 884 |     /// Step out (步出)
[INFO] [stdout] 885 |     Finish,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 889 |     Restart,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `DebuggerAction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `BreakConditional` is never constructed
[INFO] [stdout]    --> src/riscv/debugger.rs:916:5
[INFO] [stdout]     |
[INFO] [stdout] 902 | pub enum DebugCommand {
[INFO] [stdout]     |          ------------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 916 |     BreakConditional(memory::Address128, BreakCondition),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `DebugCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `stop_reason` and `finish_return_addr` are never read
[INFO] [stdout]     --> src/riscv/debugger.rs:1238:9
[INFO] [stdout]      |
[INFO] [stdout] 1233 | pub struct InteractiveDebugger {
[INFO] [stdout]      |            ------------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 1238 |     pub stop_reason: Option<StopReason>,
[INFO] [stdout]      |         ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1241 |     finish_return_addr: Option<memory::Address128>,
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.29s
[INFO] running `Command { std: "docker" "inspect" "59054e7741966e7984c8c4ff907f4e62821c6aa871e3d6b41b813cdfdbdb03ef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "59054e7741966e7984c8c4ff907f4e62821c6aa871e3d6b41b813cdfdbdb03ef", kill_on_drop: false }`
[INFO] [stdout] 59054e7741966e7984c8c4ff907f4e62821c6aa871e3d6b41b813cdfdbdb03ef
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2026-04-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fb0c82639dae45294278c62d38bc1a737121b5bc989a7d889fc788226deff36d
[INFO] running `Command { std: "docker" "start" "-a" "fb0c82639dae45294278c62d38bc1a737121b5bc989a7d889fc788226deff36d", kill_on_drop: false }`
[INFO] [stderr]    Compiling riscv-128bit-vm v1.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/riscv/virtual_machine.rs:827:13
[INFO] [stdout]     |
[INFO] [stdout] 690 |             debugger::DebugCommand::Help => {
[INFO] [stdout]     |             ---------------------------- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 827 |             debugger::DebugCommand::Help => {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/riscv/virtual_machine.rs:833:13
[INFO] [stdout]     |
[INFO] [stdout] 833 |             _ => {
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/riscv/virtual_machine.rs:833:13
[INFO] [stdout]     |
[INFO] [stdout] 686 |             debugger::DebugCommand::Quit => {
[INFO] [stdout]     |             ---------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 690 |             debugger::DebugCommand::Help => {
[INFO] [stdout]     |             ---------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 693 |             debugger::DebugCommand::Continue => {
[INFO] [stdout]     |             -------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 696 |             debugger::DebugCommand::Step => {
[INFO] [stdout]     |             ---------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 833 |             _ => {
[INFO] [stdout]     |             ^ ...and 27 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `RegisterEqual`, `RegisterNotEqual`, `MemoryEqual`, `CycleCount`, and `PcInRange` are never constructed
[INFO] [stdout]   --> src/riscv/debugger.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub enum BreakCondition {
[INFO] [stdout]    |          -------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 45 |     RegisterEqual { reg: u8, value: u128 },
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 46 |     /// Break when register not equals value (寄存器不等于值时中断)
[INFO] [stdout] 47 |     RegisterNotEqual { reg: u8, value: u128 },
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 48 |     /// Break when memory at address equals value (内存地址的值等于指定值时中断)
[INFO] [stdout] 49 |     MemoryEqual { addr: memory::Address128, value: u64, size: u8 },
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 50 |     /// Break when cycle count reaches value (周期计数达到值时中断)
[INFO] [stdout] 51 |     CycleCount(u64),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 52 |     /// Break when PC is in range (PC 在范围内时中断)
[INFO] [stdout] 53 |     PcInRange { start: memory::Address128, end: memory::Address128 },
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BreakCondition` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Function` is never constructed
[INFO] [stdout]   --> src/riscv/debugger.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub enum BreakpointType {
[INFO] [stdout]    |          -------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 68 |     Function(String),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BreakpointType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `commands` is never read
[INFO] [stdout]   --> src/riscv/debugger.rs:91:9
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub struct Breakpoint {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 91 |     pub commands: Vec<String>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Breakpoint` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new_function` and `with_ignore_count` are never used
[INFO] [stdout]    --> src/riscv/debugger.rs:134:12
[INFO] [stdout]     |
[INFO] [stdout]  94 | impl Breakpoint {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 134 |     pub fn new_function(id: BreakpointId, name: String) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub fn with_ignore_count(mut self, count: u64) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `remove_at`, `get`, `get_at_mut`, and `has_breakpoint_at` are never used
[INFO] [stdout]    --> src/riscv/debugger.rs:291:12
[INFO] [stdout]     |
[INFO] [stdout] 195 | impl BreakpointManager {
[INFO] [stdout]     | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 291 |     pub fn remove_at(&mut self, address: memory::Address128) -> Option<Breakpoint> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 332 |     pub fn get(&self, id: BreakpointId) -> Option<&Breakpoint> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 359 |     pub fn get_at_mut(&mut self, address: memory::Address128) -> Option<&mut Breakpoint> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 391 |     pub fn has_breakpoint_at(&self, address: memory::Address128) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `trigger_count` and `old_value` are never read
[INFO] [stdout]    --> src/riscv/debugger.rs:446:9
[INFO] [stdout]     |
[INFO] [stdout] 434 | pub struct Watchpoint {
[INFO] [stdout]     |            ---------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 446 |     pub trigger_count: u64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] 447 |     /// Old value (for change detection) (旧值，用于变化检测)
[INFO] [stdout] 448 |     pub old_value: Option<Vec<u8>>,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Watchpoint` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `matches` is never used
[INFO] [stdout]    --> src/riscv/debugger.rs:474:12
[INFO] [stdout]     |
[INFO] [stdout] 451 | impl Watchpoint {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 474 |     pub fn matches(&self, addr: memory::Address128, size: usize, is_write: bool) -> bool {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `old_value` is never read
[INFO] [stdout]    --> src/riscv/debugger.rs:512:9
[INFO] [stdout]     |
[INFO] [stdout] 502 | pub struct RegisterWatchpoint {
[INFO] [stdout]     |            ------------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 512 |     pub old_value: u128,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `RegisterWatchpoint` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `check_memory`, `update_value`, and `clear` are never used
[INFO] [stdout]    --> src/riscv/debugger.rs:628:12
[INFO] [stdout]     |
[INFO] [stdout] 543 | impl WatchpointManager {
[INFO] [stdout]     | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 628 |     pub fn check_memory(&self, addr: memory::Address128, size: usize, is_write: bool) -> Vec<&Watchpoint> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 639 |     pub fn update_value(&mut self, id: WatchpointId, value: Vec<u8>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 650 |     pub fn clear(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `registers_before`, `pc_before`, and `memory_writes` are never read
[INFO] [stdout]    --> src/riscv/debugger.rs:682:9
[INFO] [stdout]     |
[INFO] [stdout] 672 | pub struct HistoryEntry {
[INFO] [stdout]     |            ------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 682 |     pub registers_before: [u128; 32],
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 683 |     /// PC before execution (执行前的 PC)
[INFO] [stdout] 684 |     pub pc_before: memory::Address128,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 690 |     pub memory_writes: Vec<(memory::Address128, Vec<u8>)>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `HistoryEntry` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `record_register_change` and `record_memory_write` are never used
[INFO] [stdout]    --> src/riscv/debugger.rs:725:12
[INFO] [stdout]     |
[INFO] [stdout] 693 | impl HistoryEntry {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 725 |     pub fn record_register_change(&mut self, reg: u8, new_value: u128) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 735 |     pub fn record_memory_write(&mut self, addr: memory::Address128, data: Vec<u8>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `current`, `get`, `clear`, `len`, and `is_empty` are never used
[INFO] [stdout]    --> src/riscv/debugger.rs:784:12
[INFO] [stdout]     |
[INFO] [stdout] 751 | impl ExecutionHistory {
[INFO] [stdout]     | --------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 784 |     pub fn current(&self) -> Option<&HistoryEntry> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 793 |     pub fn get(&self, index: usize) -> Option<&HistoryEntry> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 816 |     pub fn clear(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 826 |     pub fn len(&self) -> usize {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 835 |     pub fn is_empty(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]    --> src/riscv/debugger.rs:852:5
[INFO] [stdout]     |
[INFO] [stdout] 850 | pub enum StopReason {
[INFO] [stdout]     |          ---------- variants in this enum
[INFO] [stdout] 851 |     /// Breakpoint hit (断点命中)
[INFO] [stdout] 852 |     Breakpoint(BreakpointId),
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 853 |     /// Watchpoint triggered (观察点触发)
[INFO] [stdout] 854 |     Watchpoint(WatchpointId),
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 855 |     /// Step completed (单步完成)
[INFO] [stdout] 856 |     Step,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 857 |     /// Next completed (next 完成)
[INFO] [stdout] 858 |     Next,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 859 |     /// Continue until address (继续到地址)
[INFO] [stdout] 860 |     Until(memory::Address128),
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 861 |     /// Exception occurred (发生异常)
[INFO] [stdout] 862 |     Exception(String),
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 863 |     /// User interrupted (用户中断)
[INFO] [stdout] 864 |     Interrupted,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 865 |     /// Program exited (程序退出)
[INFO] [stdout] 866 |     Exit,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `StopReason` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Step`, `Next`, `Finish`, and `Restart` are never constructed
[INFO] [stdout]    --> src/riscv/debugger.rs:881:5
[INFO] [stdout]     |
[INFO] [stdout] 877 | pub enum DebuggerAction {
[INFO] [stdout]     |          -------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 881 |     Step,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 882 |     /// Step over (next) (步过)
[INFO] [stdout] 883 |     Next,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 884 |     /// Step out (步出)
[INFO] [stdout] 885 |     Finish,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 889 |     Restart,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `DebuggerAction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `BreakConditional` is never constructed
[INFO] [stdout]    --> src/riscv/debugger.rs:916:5
[INFO] [stdout]     |
[INFO] [stdout] 902 | pub enum DebugCommand {
[INFO] [stdout]     |          ------------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 916 |     BreakConditional(memory::Address128, BreakCondition),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `DebugCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `stop_reason` and `finish_return_addr` are never read
[INFO] [stdout]     --> src/riscv/debugger.rs:1238:9
[INFO] [stdout]      |
[INFO] [stdout] 1233 | pub struct InteractiveDebugger {
[INFO] [stdout]      |            ------------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 1238 |     pub stop_reason: Option<StopReason>,
[INFO] [stdout]      |         ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1241 |     finish_return_addr: Option<memory::Address128>,
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.45s
[INFO] running `Command { std: "docker" "inspect" "fb0c82639dae45294278c62d38bc1a737121b5bc989a7d889fc788226deff36d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fb0c82639dae45294278c62d38bc1a737121b5bc989a7d889fc788226deff36d", kill_on_drop: false }`
[INFO] [stdout] fb0c82639dae45294278c62d38bc1a737121b5bc989a7d889fc788226deff36d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2026-04-21" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] eef4e990dc64e7b94d206bbfc602103bcb82ab15fae56073e2a12eebe9953531
[INFO] running `Command { std: "docker" "start" "-a" "eef4e990dc64e7b94d206bbfc602103bcb82ab15fae56073e2a12eebe9953531", kill_on_drop: false }`
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]    --> src/riscv/virtual_machine.rs:827:13
[INFO] [stderr]     |
[INFO] [stderr] 690 |             debugger::DebugCommand::Help => {
[INFO] [stderr]     |             ---------------------------- matches all the relevant values
[INFO] [stderr] ...
[INFO] [stderr] 827 |             debugger::DebugCommand::Help => {
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]    --> src/riscv/virtual_machine.rs:833:13
[INFO] [stderr]     |
[INFO] [stderr] 833 |             _ => {
[INFO] [stderr]     |             ^ no value can reach this
[INFO] [stderr]     |
[INFO] [stderr] note: multiple earlier patterns match some of the same values
[INFO] [stderr]    --> src/riscv/virtual_machine.rs:833:13
[INFO] [stderr]     |
[INFO] [stderr] 686 |             debugger::DebugCommand::Quit => {
[INFO] [stderr]     |             ---------------------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 690 |             debugger::DebugCommand::Help => {
[INFO] [stderr]     |             ---------------------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 693 |             debugger::DebugCommand::Continue => {
[INFO] [stderr]     |             -------------------------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 696 |             debugger::DebugCommand::Step => {
[INFO] [stderr]     |             ---------------------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 833 |             _ => {
[INFO] [stderr]     |             ^ ...and 27 other patterns collectively make this unreachable
[INFO] [stderr] 
[INFO] [stderr] warning: variants `RegisterEqual`, `RegisterNotEqual`, `MemoryEqual`, `CycleCount`, and `PcInRange` are never constructed
[INFO] [stderr]   --> src/riscv/debugger.rs:45:5
[INFO] [stderr]    |
[INFO] [stderr] 41 | pub enum BreakCondition {
[INFO] [stderr]    |          -------------- variants in this enum
[INFO] [stderr] ...
[INFO] [stderr] 45 |     RegisterEqual { reg: u8, value: u128 },
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] 46 |     /// Break when register not equals value (寄存器不等于值时中断)
[INFO] [stderr] 47 |     RegisterNotEqual { reg: u8, value: u128 },
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 48 |     /// Break when memory at address equals value (内存地址的值等于指定值时中断)
[INFO] [stderr] 49 |     MemoryEqual { addr: memory::Address128, value: u64, size: u8 },
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr] 50 |     /// Break when cycle count reaches value (周期计数达到值时中断)
[INFO] [stderr] 51 |     CycleCount(u64),
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr] 52 |     /// Break when PC is in range (PC 在范围内时中断)
[INFO] [stderr] 53 |     PcInRange { start: memory::Address128, end: memory::Address128 },
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `BreakCondition` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variant `Function` is never constructed
[INFO] [stderr]   --> src/riscv/debugger.rs:68:5
[INFO] [stderr]    |
[INFO] [stderr] 62 | pub enum BreakpointType {
[INFO] [stderr]    |          -------------- variant in this enum
[INFO] [stderr] ...
[INFO] [stderr] 68 |     Function(String),
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `BreakpointType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `commands` is never read
[INFO] [stderr]   --> src/riscv/debugger.rs:91:9
[INFO] [stderr]    |
[INFO] [stderr] 77 | pub struct Breakpoint {
[INFO] [stderr]    |            ---------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 91 |     pub commands: Vec<String>,
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Breakpoint` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new_function` and `with_ignore_count` are never used
[INFO] [stderr]    --> src/riscv/debugger.rs:134:12
[INFO] [stderr]     |
[INFO] [stderr]  94 | impl Breakpoint {
[INFO] [stderr]     | --------------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 134 |     pub fn new_function(id: BreakpointId, name: String) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 161 |     pub fn with_ignore_count(mut self, count: u64) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `remove_at`, `get`, `get_at_mut`, and `has_breakpoint_at` are never used
[INFO] [stderr]    --> src/riscv/debugger.rs:291:12
[INFO] [stderr]     |
[INFO] [stderr] 195 | impl BreakpointManager {
[INFO] [stderr]     | ---------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 291 |     pub fn remove_at(&mut self, address: memory::Address128) -> Option<Breakpoint> {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 332 |     pub fn get(&self, id: BreakpointId) -> Option<&Breakpoint> {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 359 |     pub fn get_at_mut(&mut self, address: memory::Address128) -> Option<&mut Breakpoint> {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 391 |     pub fn has_breakpoint_at(&self, address: memory::Address128) -> bool {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `trigger_count` and `old_value` are never read
[INFO] [stderr]    --> src/riscv/debugger.rs:446:9
[INFO] [stderr]     |
[INFO] [stderr] 434 | pub struct Watchpoint {
[INFO] [stderr]     |            ---------- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 446 |     pub trigger_count: u64,
[INFO] [stderr]     |         ^^^^^^^^^^^^^
[INFO] [stderr] 447 |     /// Old value (for change detection) (旧值，用于变化检测)
[INFO] [stderr] 448 |     pub old_value: Option<Vec<u8>>,
[INFO] [stderr]     |         ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `Watchpoint` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: method `matches` is never used
[INFO] [stderr]    --> src/riscv/debugger.rs:474:12
[INFO] [stderr]     |
[INFO] [stderr] 451 | impl Watchpoint {
[INFO] [stderr]     | --------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 474 |     pub fn matches(&self, addr: memory::Address128, size: usize, is_write: bool) -> bool {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `old_value` is never read
[INFO] [stderr]    --> src/riscv/debugger.rs:512:9
[INFO] [stderr]     |
[INFO] [stderr] 502 | pub struct RegisterWatchpoint {
[INFO] [stderr]     |            ------------------ field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 512 |     pub old_value: u128,
[INFO] [stderr]     |         ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `RegisterWatchpoint` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: methods `check_memory`, `update_value`, and `clear` are never used
[INFO] [stderr]    --> src/riscv/debugger.rs:628:12
[INFO] [stderr]     |
[INFO] [stderr] 543 | impl WatchpointManager {
[INFO] [stderr]     | ---------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 628 |     pub fn check_memory(&self, addr: memory::Address128, size: usize, is_write: bool) -> Vec<&Watchpoint> {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 639 |     pub fn update_value(&mut self, id: WatchpointId, value: Vec<u8>) {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 650 |     pub fn clear(&mut self) {
[INFO] [stderr]     |            ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `registers_before`, `pc_before`, and `memory_writes` are never read
[INFO] [stderr]    --> src/riscv/debugger.rs:682:9
[INFO] [stderr]     |
[INFO] [stderr] 672 | pub struct HistoryEntry {
[INFO] [stderr]     |            ------------ fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 682 |     pub registers_before: [u128; 32],
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^
[INFO] [stderr] 683 |     /// PC before execution (执行前的 PC)
[INFO] [stderr] 684 |     pub pc_before: memory::Address128,
[INFO] [stderr]     |         ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 690 |     pub memory_writes: Vec<(memory::Address128, Vec<u8>)>,
[INFO] [stderr]     |         ^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `HistoryEntry` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: methods `record_register_change` and `record_memory_write` are never used
[INFO] [stderr]    --> src/riscv/debugger.rs:725:12
[INFO] [stderr]     |
[INFO] [stderr] 693 | impl HistoryEntry {
[INFO] [stderr]     | ----------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 725 |     pub fn record_register_change(&mut self, reg: u8, new_value: u128) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 735 |     pub fn record_memory_write(&mut self, addr: memory::Address128, data: Vec<u8>) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `current`, `get`, `clear`, `len`, and `is_empty` are never used
[INFO] [stderr]    --> src/riscv/debugger.rs:784:12
[INFO] [stderr]     |
[INFO] [stderr] 751 | impl ExecutionHistory {
[INFO] [stderr]     | --------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 784 |     pub fn current(&self) -> Option<&HistoryEntry> {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 793 |     pub fn get(&self, index: usize) -> Option<&HistoryEntry> {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 816 |     pub fn clear(&mut self) {
[INFO] [stderr]     |            ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 826 |     pub fn len(&self) -> usize {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 835 |     pub fn is_empty(&self) -> bool {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple variants are never constructed
[INFO] [stderr]    --> src/riscv/debugger.rs:852:5
[INFO] [stderr]     |
[INFO] [stderr] 850 | pub enum StopReason {
[INFO] [stderr]     |          ---------- variants in this enum
[INFO] [stderr] 851 |     /// Breakpoint hit (断点命中)
[INFO] [stderr] 852 |     Breakpoint(BreakpointId),
[INFO] [stderr]     |     ^^^^^^^^^^
[INFO] [stderr] 853 |     /// Watchpoint triggered (观察点触发)
[INFO] [stderr] 854 |     Watchpoint(WatchpointId),
[INFO] [stderr]     |     ^^^^^^^^^^
[INFO] [stderr] 855 |     /// Step completed (单步完成)
[INFO] [stderr] 856 |     Step,
[INFO] [stderr]     |     ^^^^
[INFO] [stderr] 857 |     /// Next completed (next 完成)
[INFO] [stderr] 858 |     Next,
[INFO] [stderr]     |     ^^^^
[INFO] [stderr] 859 |     /// Continue until address (继续到地址)
[INFO] [stderr] 860 |     Until(memory::Address128),
[INFO] [stderr]     |     ^^^^^
[INFO] [stderr] 861 |     /// Exception occurred (发生异常)
[INFO] [stderr] 862 |     Exception(String),
[INFO] [stderr]     |     ^^^^^^^^^
[INFO] [stderr] 863 |     /// User interrupted (用户中断)
[INFO] [stderr] 864 |     Interrupted,
[INFO] [stderr]     |     ^^^^^^^^^^^
[INFO] [stderr] 865 |     /// Program exited (程序退出)
[INFO] [stderr] 866 |     Exit,
[INFO] [stderr]     |     ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `StopReason` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: variants `Step`, `Next`, `Finish`, and `Restart` are never constructed
[INFO] [stderr]    --> src/riscv/debugger.rs:881:5
[INFO] [stderr]     |
[INFO] [stderr] 877 | pub enum DebuggerAction {
[INFO] [stderr]     |          -------------- variants in this enum
[INFO] [stderr] ...
[INFO] [stderr] 881 |     Step,
[INFO] [stderr]     |     ^^^^
[INFO] [stderr] 882 |     /// Step over (next) (步过)
[INFO] [stderr] 883 |     Next,
[INFO] [stderr]     |     ^^^^
[INFO] [stderr] 884 |     /// Step out (步出)
[INFO] [stderr] 885 |     Finish,
[INFO] [stderr]     |     ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 889 |     Restart,
[INFO] [stderr]     |     ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `DebuggerAction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: variant `BreakConditional` is never constructed
[INFO] [stderr]    --> src/riscv/debugger.rs:916:5
[INFO] [stderr]     |
[INFO] [stderr] 902 | pub enum DebugCommand {
[INFO] [stderr]     |          ------------ variant in this enum
[INFO] [stderr] ...
[INFO] [stderr] 916 |     BreakConditional(memory::Address128, BreakCondition),
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `DebugCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `stop_reason` and `finish_return_addr` are never read
[INFO] [stderr]     --> src/riscv/debugger.rs:1238:9
[INFO] [stderr]      |
[INFO] [stderr] 1233 | pub struct InteractiveDebugger {
[INFO] [stderr]      |            ------------------- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 1238 |     pub stop_reason: Option<StopReason>,
[INFO] [stderr]      |         ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 1241 |     finish_return_addr: Option<memory::Address128>,
[INFO] [stderr]      |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `riscv-128bit-vm` (bin "riscv-128bit-vm" test) generated 18 warnings
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/riscv_128bit_vm-b8aa59896dee4ec5)
[INFO] [stdout] 
[INFO] [stdout] running 15 tests
[INFO] [stdout] test riscv::assembler::tests::test_j ... ok
[INFO] [stdout] test riscv::assembler::tests::test_jal_pseudo ... ok
[INFO] [stdout] test riscv::assembler::tests::test_jr ... ok
[INFO] [stdout] test riscv::assembler::tests::test_li_zero ... ok
[INFO] [stdout] test riscv::assembler::tests::test_mv ... ok
[INFO] [stdout] test riscv::assembler::tests::test_neg ... ok
[INFO] [stdout] test riscv::assembler::tests::test_jalr_pseudo ... ok
[INFO] [stdout] test riscv::assembler::tests::test_sgtz ... ok
[INFO] [stdout] test riscv::assembler::tests::test_nop ... ok
[INFO] [stdout] test riscv::assembler::tests::test_sltz ... ok
[INFO] [stdout] test riscv::assembler::tests::test_not ... ok
[INFO] [stdout] test riscv::assembler::tests::test_snez ... ok
[INFO] [stdout] test riscv::assembler::tests::test_li_small ... ok
[INFO] [stdout] test riscv::assembler::tests::test_ret ... ok
[INFO] [stdout] test riscv::assembler::tests::test_seqz ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "eef4e990dc64e7b94d206bbfc602103bcb82ab15fae56073e2a12eebe9953531", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eef4e990dc64e7b94d206bbfc602103bcb82ab15fae56073e2a12eebe9953531", kill_on_drop: false }`
[INFO] [stdout] eef4e990dc64e7b94d206bbfc602103bcb82ab15fae56073e2a12eebe9953531
