[INFO] cloning repository https://github.com/cfeitong/cft-riscv-vm
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cfeitong/cft-riscv-vm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcfeitong%2Fcft-riscv-vm", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcfeitong%2Fcft-riscv-vm'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c578f95043030cf333870c2d3321cc3370050e86
[INFO] testing cfeitong/cft-riscv-vm against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcfeitong%2Fcft-riscv-vm" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/cfeitong/cft-riscv-vm on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/cfeitong/cft-riscv-vm
[INFO] finished tweaking git repo https://github.com/cfeitong/cft-riscv-vm
[INFO] tweaked toml for git repo https://github.com/cfeitong/cft-riscv-vm written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/cfeitong/cft-riscv-vm already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 53c84d51f5c043cc467b5e675e6bc798ce75bcd90a52a45921d58cd77dc834bb
[INFO] running `Command { std: "docker" "start" "-a" "53c84d51f5c043cc467b5e675e6bc798ce75bcd90a52a45921d58cd77dc834bb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "53c84d51f5c043cc467b5e675e6bc798ce75bcd90a52a45921d58cd77dc834bb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "53c84d51f5c043cc467b5e675e6bc798ce75bcd90a52a45921d58cd77dc834bb", kill_on_drop: false }`
[INFO] [stdout] 53c84d51f5c043cc467b5e675e6bc798ce75bcd90a52a45921d58cd77dc834bb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9e5112e27012d6925315fdd91f791f49058bb89f416948fdff8219afa2bc3413
[INFO] running `Command { std: "docker" "start" "-a" "9e5112e27012d6925315fdd91f791f49058bb89f416948fdff8219afa2bc3413", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.63
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling quote v1.0.28
[INFO] [stderr]    Compiling unicode-ident v1.0.9
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling sharded-slab v0.1.4
[INFO] [stderr]    Compiling pin-project-lite v0.2.10
[INFO] [stderr]    Compiling cc v1.0.79
[INFO] [stderr]    Compiling eyre v0.6.8
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]    Compiling gimli v0.27.3
[INFO] [stderr]    Compiling rustc-demangle v0.1.23
[INFO] [stderr]    Compiling owo-colors v3.5.0
[INFO] [stderr]    Compiling miniz_oxide v0.7.1
[INFO] [stderr]    Compiling indenter v0.3.3
[INFO] [stderr]    Compiling wyz v0.5.1
[INFO] [stderr]    Compiling funty v2.0.0
[INFO] [stderr]    Compiling tracing-core v0.1.31
[INFO] [stderr]    Compiling thread_local v1.1.7
[INFO] [stderr]    Compiling object v0.31.1
[INFO] [stderr]    Compiling tracing-subscriber v0.3.17
[INFO] [stderr]    Compiling bitvec v1.0.1
[INFO] [stderr]    Compiling backtrace v0.3.68
[INFO] [stderr]    Compiling syn v2.0.22
[INFO] [stderr]    Compiling addr2line v0.20.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.24
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling tracing-error v0.2.0
[INFO] [stderr]    Compiling color-spantrace v0.2.0
[INFO] [stderr]    Compiling color-eyre v0.6.2
[INFO] [stderr]    Compiling cft-riscv-vm v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `reg`, `pc`, and `bus` are never read
[INFO] [stdout]  --> src/cpu.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Cpu {
[INFO] [stdout]   |            --- fields in this struct
[INFO] [stdout] 7 |     pub reg: [u64; 32],
[INFO] [stdout]   |         ^^^
[INFO] [stdout] 8 |     pub pc: u64,
[INFO] [stdout]   |         ^^
[INFO] [stdout] 9 |     pub bus: Bus,
[INFO] [stdout]   |         ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `mem` is never read
[INFO] [stdout]   --> src/cpu.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Bus {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] 13 |     mem: Mem,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `read` and `write` are never used
[INFO] [stdout]   --> src/cpu.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Bus {
[INFO] [stdout]    | -------- methods in this implementation
[INFO] [stdout] 17 |     pub fn read(&self, addr: u64, buf: &mut [u8]) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn write(&mut self, addr: u64, data: &[u8]) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/cpu.rs:37:16
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct Mem(pub Vec<u8>);
[INFO] [stdout]    |            --- ^^^^^^^^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct Mem(());
[INFO] [stdout]    |                ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `execute` are never used
[INFO] [stdout]   --> src/cpu.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl Cpu {
[INFO] [stdout]    | -------- associated items in this implementation
[INFO] [stdout] 40 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn execute(&mut self, ins_buf: &[u32]) -> Result<()>{
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OPCODE_SIZE` is never used
[INFO] [stdout]  --> src/instruction/mod.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const OPCODE_SIZE: usize = 1 << 5;
[INFO] [stdout]   |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `InsImpl` is never used
[INFO] [stdout]  --> src/instruction/mod.rs:9:6
[INFO] [stdout]   |
[INFO] [stdout] 9 | type InsImpl = fn(u32, &mut Cpu);
[INFO] [stdout]   |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Instruction` is never constructed
[INFO] [stdout]   --> src/instruction/mod.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Instruction(pub u32);
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Instruction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `opcode` is never used
[INFO] [stdout]   --> src/instruction/mod.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Instruction {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] 14 |     pub fn opcode(self) -> usize {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `instruction_array` is never used
[INFO] [stdout]   --> src/instruction/mod.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn instruction_array() -> &'static [InsImpl; OPCODE_SIZE] {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `nop` is never used
[INFO] [stdout]   --> src/instruction/mod.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn nop(_: u32, _: &mut Cpu) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `low_bitmask_u8` is never used
[INFO] [stdout]   --> src/instruction/mod.rs:34:4
[INFO] [stdout]    |
[INFO] [stdout] 34 | fn low_bitmask_u8(cnt: usize) -> u8 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `low_bitmask_u32` is never used
[INFO] [stdout]   --> src/instruction/mod.rs:39:4
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn low_bitmask_u32(cnt: usize) -> u32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RFormat` is never constructed
[INFO] [stdout]  --> src/instruction/format.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct RFormat(pub u32);
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `RFormat` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IFormat` is never constructed
[INFO] [stdout]   --> src/instruction/format.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct IFormat(pub u32);
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IFormat` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `imm`, `rs1`, `funct3`, `rd`, and `opcode` are never used
[INFO] [stdout]   --> src/instruction/format.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl IFormat {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] 15 |     pub fn imm(self) -> u32 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn rs1(self) -> u8 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn funct3(self) -> u8 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn rd(self) -> u8 {
[INFO] [stdout]    |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub fn opcode(self) -> u8 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SFormat` is never constructed
[INFO] [stdout]   --> src/instruction/format.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub struct SFormat(pub u32);
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SFormat` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SBFormat` is never constructed
[INFO] [stdout]   --> src/instruction/format.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub struct SBFormat(pub u32);
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SBFormat` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UFormat` is never constructed
[INFO] [stdout]   --> src/instruction/format.rs:49:12
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub struct UFormat(pub u32);
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UFormat` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `imm`, `rd`, and `opcode` are never used
[INFO] [stdout]   --> src/instruction/format.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | impl UFormat {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] 51 |     pub fn imm(self) -> u32 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn rd(self) -> u8 {
[INFO] [stdout]    |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub fn opcode(self) -> u8{
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UJFormat` is never constructed
[INFO] [stdout]   --> src/instruction/format.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub struct UJFormat(pub u32);
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UJFormat` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `OPCODE2INS_IMPL` is never used
[INFO] [stdout]  --> src/instruction/rv32i.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub static OPCODE2INS_IMPL: LazyLock<BTreeMap<u8, InsImpl>> = LazyLock::new(|| {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `lui` is never used
[INFO] [stdout]   --> src/instruction/rv32i.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn lui(instruction: u32, cpu: &mut Cpu) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `auipc` is never used
[INFO] [stdout]   --> src/instruction/rv32i.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn auipc(instruction: u32, cpu: &mut Cpu) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `addi` is never used
[INFO] [stdout]   --> src/instruction/rv32i.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn addi(instruction: u32, cpu: &mut Cpu) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `l` is never used
[INFO] [stdout]   --> src/instruction/rv32i.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub fn l(instruction: u32, cpu: &mut Cpu) {
[INFO] [stdout]    |        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_mem` is never used
[INFO] [stdout]   --> src/instruction/rv32i.rs:42:4
[INFO] [stdout]    |
[INFO] [stdout] 42 | fn load_mem<const BYTES: usize>(instruction: IFormat, cpu: &mut Cpu) {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `register_instructions` is never used
[INFO] [stdout]   --> src/instruction/rv32i.rs:55:4
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn register_instructions(map: &mut BTreeMap<u8, InsImpl>) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sext` is never used
[INFO] [stdout]   --> src/instruction/rv32i.rs:62:4
[INFO] [stdout]    |
[INFO] [stdout] 62 | fn sext(imm: u32, msb: usize) -> u64 {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 29 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.27s
[INFO] running `Command { std: "docker" "inspect" "9e5112e27012d6925315fdd91f791f49058bb89f416948fdff8219afa2bc3413", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9e5112e27012d6925315fdd91f791f49058bb89f416948fdff8219afa2bc3413", kill_on_drop: false }`
[INFO] [stdout] 9e5112e27012d6925315fdd91f791f49058bb89f416948fdff8219afa2bc3413
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 26976d418b8f4cc0c163be100d8aa992ce25a8976eb2073ece5dc4731992f363
[INFO] running `Command { std: "docker" "start" "-a" "26976d418b8f4cc0c163be100d8aa992ce25a8976eb2073ece5dc4731992f363", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.22
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling thiserror v1.0.40
[INFO] [stderr]    Compiling overload v0.1.1
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling miniz_oxide v0.7.1
[INFO] [stderr]    Compiling twox-hash v1.6.3
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling io-lifetimes v1.0.11
[INFO] [stderr]    Compiling smallvec v1.10.0
[INFO] [stderr]    Compiling rustix v0.37.23
[INFO] [stderr]    Compiling nu-ansi-term v0.46.0
[INFO] [stderr]    Compiling tempfile v3.6.0
[INFO] [stderr]    Compiling linux-raw-sys v0.3.8
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling fastrand v1.9.0
[INFO] [stderr]    Compiling tracing-log v0.1.3
[INFO] [stderr]    Compiling flate2 v1.0.26
[INFO] [stderr]    Compiling tracing-subscriber v0.3.17
[INFO] [stderr]    Compiling thiserror-impl v1.0.40
[INFO] [stderr]    Compiling tracing-attributes v0.1.24
[INFO] [stderr]    Compiling ruzstd v0.3.1
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling tracing-error v0.2.0
[INFO] [stderr]    Compiling color-spantrace v0.2.0
[INFO] [stderr]    Compiling object v0.31.1
[INFO] [stderr]    Compiling backtrace v0.3.68
[INFO] [stderr]    Compiling color-eyre v0.6.2
[INFO] [stderr]    Compiling cft-riscv-vm v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/instruction/rv32i.rs:123:17
[INFO] [stdout]     |
[INFO] [stdout] 123 |         let mut cpu = Cpu::new();
[INFO] [stdout]     |                 ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/instruction/rv32i.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |         let mut cpu = Cpu::new();
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RFormat` is never constructed
[INFO] [stdout]  --> src/instruction/format.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct RFormat(pub u32);
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `RFormat` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `opcode` is never used
[INFO] [stdout]   --> src/instruction/format.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl IFormat {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub fn opcode(self) -> u8 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SFormat` is never constructed
[INFO] [stdout]   --> src/instruction/format.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub struct SFormat(pub u32);
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SFormat` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SBFormat` is never constructed
[INFO] [stdout]   --> src/instruction/format.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub struct SBFormat(pub u32);
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SBFormat` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `opcode` is never used
[INFO] [stdout]   --> src/instruction/format.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | impl UFormat {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub fn opcode(self) -> u8{
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UJFormat` is never constructed
[INFO] [stdout]   --> src/instruction/format.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub struct UJFormat(pub u32);
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UJFormat` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 9.51s
[INFO] running `Command { std: "docker" "inspect" "26976d418b8f4cc0c163be100d8aa992ce25a8976eb2073ece5dc4731992f363", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "26976d418b8f4cc0c163be100d8aa992ce25a8976eb2073ece5dc4731992f363", kill_on_drop: false }`
[INFO] [stdout] 26976d418b8f4cc0c163be100d8aa992ce25a8976eb2073ece5dc4731992f363
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 51212d68eb0993c42c6527c5353a4985b7d44338efebe305b9df78b9ee671ae5
[INFO] running `Command { std: "docker" "start" "-a" "51212d68eb0993c42c6527c5353a4985b7d44338efebe305b9df78b9ee671ae5", kill_on_drop: false }`
[INFO] [stderr] warning: unused variable: `cpu`
[INFO] [stderr]    --> src/instruction/rv32i.rs:123:17
[INFO] [stderr]     |
[INFO] [stderr] 123 |         let mut cpu = Cpu::new();
[INFO] [stderr]     |                 ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/instruction/rv32i.rs:123:13
[INFO] [stderr]     |
[INFO] [stderr] 123 |         let mut cpu = Cpu::new();
[INFO] [stderr]     |             ----^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `RFormat` is never constructed
[INFO] [stderr]  --> src/instruction/format.rs:6:12
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub struct RFormat(pub u32);
[INFO] [stderr]   |            ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `RFormat` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]   = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `opcode` is never used
[INFO] [stderr]   --> src/instruction/format.rs:31:12
[INFO] [stderr]    |
[INFO] [stderr] 14 | impl IFormat {
[INFO] [stderr]    | ------------ method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 31 |     pub fn opcode(self) -> u8 {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `SFormat` is never constructed
[INFO] [stderr]   --> src/instruction/format.rs:39:12
[INFO] [stderr]    |
[INFO] [stderr] 39 | pub struct SFormat(pub u32);
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `SFormat` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: struct `SBFormat` is never constructed
[INFO] [stderr]   --> src/instruction/format.rs:44:12
[INFO] [stderr]    |
[INFO] [stderr] 44 | pub struct SBFormat(pub u32);
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `SBFormat` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: method `opcode` is never used
[INFO] [stderr]   --> src/instruction/format.rs:59:12
[INFO] [stderr]    |
[INFO] [stderr] 50 | impl UFormat {
[INFO] [stderr]    | ------------ method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 59 |     pub fn opcode(self) -> u8{
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `UJFormat` is never constructed
[INFO] [stderr]   --> src/instruction/format.rs:67:12
[INFO] [stderr]    |
[INFO] [stderr] 67 | pub struct UJFormat(pub u32);
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `UJFormat` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: `cft-riscv-vm` (bin "cft-riscv-vm" test) generated 8 warnings (run `cargo fix --bin "cft-riscv-vm" --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cft_riscv_vm-5a8c9e4614a3131e)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test instruction::rv32i::tests::test_auipc ... ok
[INFO] [stdout] test instruction::rv32i::tests::test_lui ... FAILED
[INFO] [stdout] test instruction::rv32i::tests::test_l ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- instruction::rv32i::tests::test_lui stdout ----
[INFO] [stdout] Error: No such file or directory (os error 2)
[INFO] [stdout] 
[INFO] [stdout] Location:
[INFO] [stdout]     src/instruction/rv32i.rs:85:22
[INFO] [stdout] 
[INFO] [stdout] ---- instruction::rv32i::tests::test_l stdout ----
[INFO] [stdout] Error: No such file or directory (os error 2)
[INFO] [stdout] 
[INFO] [stdout] Location:
[INFO] [stdout]     src/instruction/rv32i.rs:85:22
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     instruction::rv32i::tests::test_l
[INFO] [stdout]     instruction::rv32i::tests::test_lui
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin cft-riscv-vm`
[INFO] running `Command { std: "docker" "inspect" "51212d68eb0993c42c6527c5353a4985b7d44338efebe305b9df78b9ee671ae5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "51212d68eb0993c42c6527c5353a4985b7d44338efebe305b9df78b9ee671ae5", kill_on_drop: false }`
[INFO] [stdout] 51212d68eb0993c42c6527c5353a4985b7d44338efebe305b9df78b9ee671ae5
[INFO] testing cfeitong/cft-riscv-vm against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcfeitong%2Fcft-riscv-vm" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/cfeitong/cft-riscv-vm on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/cfeitong/cft-riscv-vm
[INFO] finished tweaking git repo https://github.com/cfeitong/cft-riscv-vm
[INFO] tweaked toml for git repo https://github.com/cfeitong/cft-riscv-vm written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/cfeitong/cft-riscv-vm already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 98e30c845d7093746c93862d15f984f5426525fdb84520c36954a33263840341
[INFO] running `Command { std: "docker" "start" "-a" "98e30c845d7093746c93862d15f984f5426525fdb84520c36954a33263840341", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "98e30c845d7093746c93862d15f984f5426525fdb84520c36954a33263840341", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "98e30c845d7093746c93862d15f984f5426525fdb84520c36954a33263840341", kill_on_drop: false }`
[INFO] [stdout] 98e30c845d7093746c93862d15f984f5426525fdb84520c36954a33263840341
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 26202a9d25b42d1bb9562717307ddda69420f8d3d53cf62fa02721e87d8b0085
[INFO] running `Command { std: "docker" "start" "-a" "26202a9d25b42d1bb9562717307ddda69420f8d3d53cf62fa02721e87d8b0085", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.63
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling unicode-ident v1.0.9
[INFO] [stderr]    Compiling quote v1.0.28
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling pin-project-lite v0.2.10
[INFO] [stderr]    Compiling cc v1.0.79
[INFO] [stderr]    Compiling gimli v0.27.3
[INFO] [stderr]    Compiling eyre v0.6.8
[INFO] [stderr]    Compiling sharded-slab v0.1.4
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]    Compiling rustc-demangle v0.1.23
[INFO] [stderr]    Compiling owo-colors v3.5.0
[INFO] [stderr]    Compiling miniz_oxide v0.7.1
[INFO] [stderr]    Compiling indenter v0.3.3
[INFO] [stderr]    Compiling wyz v0.5.1
[INFO] [stderr]    Compiling funty v2.0.0
[INFO] [stderr]    Compiling tracing-core v0.1.31
[INFO] [stderr]    Compiling thread_local v1.1.7
[INFO] [stderr]    Compiling object v0.31.1
[INFO] [stderr]    Compiling tracing-subscriber v0.3.17
[INFO] [stderr]    Compiling backtrace v0.3.68
[INFO] [stderr]    Compiling bitvec v1.0.1
[INFO] [stderr]    Compiling syn v2.0.22
[INFO] [stderr]    Compiling addr2line v0.20.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.24
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling tracing-error v0.2.0
[INFO] [stderr]    Compiling color-spantrace v0.2.0
[INFO] [stderr]    Compiling color-eyre v0.6.2
[INFO] [stderr]    Compiling cft-riscv-vm v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `reg`, `pc`, and `bus` are never read
[INFO] [stdout]  --> src/cpu.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Cpu {
[INFO] [stdout]   |            --- fields in this struct
[INFO] [stdout] 7 |     pub reg: [u64; 32],
[INFO] [stdout]   |         ^^^
[INFO] [stdout] 8 |     pub pc: u64,
[INFO] [stdout]   |         ^^
[INFO] [stdout] 9 |     pub bus: Bus,
[INFO] [stdout]   |         ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `mem` is never read
[INFO] [stdout]   --> src/cpu.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Bus {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] 13 |     mem: Mem,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `read` and `write` are never used
[INFO] [stdout]   --> src/cpu.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Bus {
[INFO] [stdout]    | -------- methods in this implementation
[INFO] [stdout] 17 |     pub fn read(&self, addr: u64, buf: &mut [u8]) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn write(&mut self, addr: u64, data: &[u8]) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/cpu.rs:37:16
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct Mem(pub Vec<u8>);
[INFO] [stdout]    |            --- ^^^^^^^^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct Mem(());
[INFO] [stdout]    |                ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `execute` are never used
[INFO] [stdout]   --> src/cpu.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl Cpu {
[INFO] [stdout]    | -------- associated items in this implementation
[INFO] [stdout] 40 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn execute(&mut self, ins_buf: &[u32]) -> Result<()>{
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OPCODE_SIZE` is never used
[INFO] [stdout]  --> src/instruction/mod.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const OPCODE_SIZE: usize = 1 << 5;
[INFO] [stdout]   |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `InsImpl` is never used
[INFO] [stdout]  --> src/instruction/mod.rs:9:6
[INFO] [stdout]   |
[INFO] [stdout] 9 | type InsImpl = fn(u32, &mut Cpu);
[INFO] [stdout]   |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Instruction` is never constructed
[INFO] [stdout]   --> src/instruction/mod.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Instruction(pub u32);
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Instruction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `opcode` is never used
[INFO] [stdout]   --> src/instruction/mod.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Instruction {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] 14 |     pub fn opcode(self) -> usize {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `instruction_array` is never used
[INFO] [stdout]   --> src/instruction/mod.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn instruction_array() -> &'static [InsImpl; OPCODE_SIZE] {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `nop` is never used
[INFO] [stdout]   --> src/instruction/mod.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn nop(_: u32, _: &mut Cpu) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `low_bitmask_u8` is never used
[INFO] [stdout]   --> src/instruction/mod.rs:34:4
[INFO] [stdout]    |
[INFO] [stdout] 34 | fn low_bitmask_u8(cnt: usize) -> u8 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `low_bitmask_u32` is never used
[INFO] [stdout]   --> src/instruction/mod.rs:39:4
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn low_bitmask_u32(cnt: usize) -> u32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RFormat` is never constructed
[INFO] [stdout]  --> src/instruction/format.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct RFormat(pub u32);
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `RFormat` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IFormat` is never constructed
[INFO] [stdout]   --> src/instruction/format.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct IFormat(pub u32);
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IFormat` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `imm`, `rs1`, `funct3`, `rd`, and `opcode` are never used
[INFO] [stdout]   --> src/instruction/format.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl IFormat {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] 15 |     pub fn imm(self) -> u32 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn rs1(self) -> u8 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn funct3(self) -> u8 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn rd(self) -> u8 {
[INFO] [stdout]    |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub fn opcode(self) -> u8 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SFormat` is never constructed
[INFO] [stdout]   --> src/instruction/format.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub struct SFormat(pub u32);
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SFormat` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SBFormat` is never constructed
[INFO] [stdout]   --> src/instruction/format.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub struct SBFormat(pub u32);
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SBFormat` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UFormat` is never constructed
[INFO] [stdout]   --> src/instruction/format.rs:49:12
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub struct UFormat(pub u32);
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UFormat` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `imm`, `rd`, and `opcode` are never used
[INFO] [stdout]   --> src/instruction/format.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | impl UFormat {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] 51 |     pub fn imm(self) -> u32 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn rd(self) -> u8 {
[INFO] [stdout]    |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub fn opcode(self) -> u8{
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UJFormat` is never constructed
[INFO] [stdout]   --> src/instruction/format.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub struct UJFormat(pub u32);
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UJFormat` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `OPCODE2INS_IMPL` is never used
[INFO] [stdout]  --> src/instruction/rv32i.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub static OPCODE2INS_IMPL: LazyLock<BTreeMap<u8, InsImpl>> = LazyLock::new(|| {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `lui` is never used
[INFO] [stdout]   --> src/instruction/rv32i.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn lui(instruction: u32, cpu: &mut Cpu) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `auipc` is never used
[INFO] [stdout]   --> src/instruction/rv32i.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn auipc(instruction: u32, cpu: &mut Cpu) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `addi` is never used
[INFO] [stdout]   --> src/instruction/rv32i.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn addi(instruction: u32, cpu: &mut Cpu) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `l` is never used
[INFO] [stdout]   --> src/instruction/rv32i.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub fn l(instruction: u32, cpu: &mut Cpu) {
[INFO] [stdout]    |        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_mem` is never used
[INFO] [stdout]   --> src/instruction/rv32i.rs:42:4
[INFO] [stdout]    |
[INFO] [stdout] 42 | fn load_mem<const BYTES: usize>(instruction: IFormat, cpu: &mut Cpu) {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `register_instructions` is never used
[INFO] [stdout]   --> src/instruction/rv32i.rs:55:4
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn register_instructions(map: &mut BTreeMap<u8, InsImpl>) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sext` is never used
[INFO] [stdout]   --> src/instruction/rv32i.rs:62:4
[INFO] [stdout]    |
[INFO] [stdout] 62 | fn sext(imm: u32, msb: usize) -> u64 {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 29 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.67s
[INFO] running `Command { std: "docker" "inspect" "26202a9d25b42d1bb9562717307ddda69420f8d3d53cf62fa02721e87d8b0085", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "26202a9d25b42d1bb9562717307ddda69420f8d3d53cf62fa02721e87d8b0085", kill_on_drop: false }`
[INFO] [stdout] 26202a9d25b42d1bb9562717307ddda69420f8d3d53cf62fa02721e87d8b0085
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6fa05de07acd547c96fe6f3bcd3de94836f1268bcdb004e262541320bc1a2533
[INFO] running `Command { std: "docker" "start" "-a" "6fa05de07acd547c96fe6f3bcd3de94836f1268bcdb004e262541320bc1a2533", kill_on_drop: false }`
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling thiserror v1.0.40
[INFO] [stderr]    Compiling overload v0.1.1
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling twox-hash v1.6.3
[INFO] [stderr]    Compiling miniz_oxide v0.7.1
[INFO] [stderr]    Compiling smallvec v1.10.0
[INFO] [stderr]    Compiling io-lifetimes v1.0.11
[INFO] [stderr]    Compiling rustix v0.37.23
[INFO] [stderr]    Compiling syn v2.0.22
[INFO] [stderr]    Compiling tempfile v3.6.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling linux-raw-sys v0.3.8
[INFO] [stderr]    Compiling nu-ansi-term v0.46.0
[INFO] [stderr]    Compiling fastrand v1.9.0
[INFO] [stderr]    Compiling tracing-log v0.1.3
[INFO] [stderr]    Compiling tracing-subscriber v0.3.17
[INFO] [stderr]    Compiling flate2 v1.0.26
[INFO] [stderr]    Compiling thiserror-impl v1.0.40
[INFO] [stderr]    Compiling tracing-attributes v0.1.24
[INFO] [stderr]    Compiling ruzstd v0.3.1
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling tracing-error v0.2.0
[INFO] [stderr]    Compiling color-spantrace v0.2.0
[INFO] [stderr]    Compiling object v0.31.1
[INFO] [stderr]    Compiling backtrace v0.3.68
[INFO] [stderr]    Compiling color-eyre v0.6.2
[INFO] [stderr]    Compiling cft-riscv-vm v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/instruction/rv32i.rs:123:17
[INFO] [stdout]     |
[INFO] [stdout] 123 |         let mut cpu = Cpu::new();
[INFO] [stdout]     |                 ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/instruction/rv32i.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |         let mut cpu = Cpu::new();
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RFormat` is never constructed
[INFO] [stdout]  --> src/instruction/format.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct RFormat(pub u32);
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `RFormat` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `opcode` is never used
[INFO] [stdout]   --> src/instruction/format.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl IFormat {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub fn opcode(self) -> u8 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SFormat` is never constructed
[INFO] [stdout]   --> src/instruction/format.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub struct SFormat(pub u32);
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SFormat` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SBFormat` is never constructed
[INFO] [stdout]   --> src/instruction/format.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub struct SBFormat(pub u32);
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SBFormat` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `opcode` is never used
[INFO] [stdout]   --> src/instruction/format.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | impl UFormat {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub fn opcode(self) -> u8{
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UJFormat` is never constructed
[INFO] [stdout]   --> src/instruction/format.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub struct UJFormat(pub u32);
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UJFormat` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 10.42s
[INFO] running `Command { std: "docker" "inspect" "6fa05de07acd547c96fe6f3bcd3de94836f1268bcdb004e262541320bc1a2533", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6fa05de07acd547c96fe6f3bcd3de94836f1268bcdb004e262541320bc1a2533", kill_on_drop: false }`
[INFO] [stdout] 6fa05de07acd547c96fe6f3bcd3de94836f1268bcdb004e262541320bc1a2533
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] ae810e948bcf0b9b148630fe1d10607f3cb14b3c91873b02bd72ed2763960890
[INFO] running `Command { std: "docker" "start" "-a" "ae810e948bcf0b9b148630fe1d10607f3cb14b3c91873b02bd72ed2763960890", kill_on_drop: false }`
[INFO] [stderr] warning: unused variable: `cpu`
[INFO] [stderr]    --> src/instruction/rv32i.rs:123:17
[INFO] [stderr]     |
[INFO] [stderr] 123 |         let mut cpu = Cpu::new();
[INFO] [stderr]     |                 ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/instruction/rv32i.rs:123:13
[INFO] [stderr]     |
[INFO] [stderr] 123 |         let mut cpu = Cpu::new();
[INFO] [stderr]     |             ----^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `RFormat` is never constructed
[INFO] [stderr]  --> src/instruction/format.rs:6:12
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub struct RFormat(pub u32);
[INFO] [stderr]   |            ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `RFormat` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]   = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `opcode` is never used
[INFO] [stderr]   --> src/instruction/format.rs:31:12
[INFO] [stderr]    |
[INFO] [stderr] 14 | impl IFormat {
[INFO] [stderr]    | ------------ method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 31 |     pub fn opcode(self) -> u8 {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `SFormat` is never constructed
[INFO] [stderr]   --> src/instruction/format.rs:39:12
[INFO] [stderr]    |
[INFO] [stderr] 39 | pub struct SFormat(pub u32);
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `SFormat` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: struct `SBFormat` is never constructed
[INFO] [stderr]   --> src/instruction/format.rs:44:12
[INFO] [stderr]    |
[INFO] [stderr] 44 | pub struct SBFormat(pub u32);
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `SBFormat` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: method `opcode` is never used
[INFO] [stderr]   --> src/instruction/format.rs:59:12
[INFO] [stderr]    |
[INFO] [stderr] 50 | impl UFormat {
[INFO] [stderr]    | ------------ method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 59 |     pub fn opcode(self) -> u8{
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `UJFormat` is never constructed
[INFO] [stderr]   --> src/instruction/format.rs:67:12
[INFO] [stderr]    |
[INFO] [stderr] 67 | pub struct UJFormat(pub u32);
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `UJFormat` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: `cft-riscv-vm` (bin "cft-riscv-vm" test) generated 8 warnings (run `cargo fix --bin "cft-riscv-vm" --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cft_riscv_vm-5a8c9e4614a3131e)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test instruction::rv32i::tests::test_auipc ... ok
[INFO] [stdout] test instruction::rv32i::tests::test_lui ... FAILED
[INFO] [stdout] test instruction::rv32i::tests::test_l ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- instruction::rv32i::tests::test_lui stdout ----
[INFO] [stdout] Error: No such file or directory (os error 2)
[INFO] [stdout] 
[INFO] [stdout] Location:
[INFO] [stdout]     src/instruction/rv32i.rs:85:22
[INFO] [stdout] 
[INFO] [stdout] ---- instruction::rv32i::tests::test_l stdout ----
[INFO] [stdout] Error: No such file or directory (os error 2)
[INFO] [stdout] 
[INFO] [stdout] Location:
[INFO] [stdout]     src/instruction/rv32i.rs:85:22
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     instruction::rv32i::tests::test_l
[INFO] [stdout]     instruction::rv32i::tests::test_lui
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin cft-riscv-vm`
[INFO] running `Command { std: "docker" "inspect" "ae810e948bcf0b9b148630fe1d10607f3cb14b3c91873b02bd72ed2763960890", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ae810e948bcf0b9b148630fe1d10607f3cb14b3c91873b02bd72ed2763960890", kill_on_drop: false }`
[INFO] [stdout] ae810e948bcf0b9b148630fe1d10607f3cb14b3c91873b02bd72ed2763960890
