[INFO] cloning repository https://github.com/e-hucke/stupid-rv32i
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/e-hucke/stupid-rv32i" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fe-hucke%2Fstupid-rv32i", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fe-hucke%2Fstupid-rv32i'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ea622f90f006d733ef7cf519a8aa005e7e8937cd
[INFO] checking e-hucke/stupid-rv32i against try#e622d8d7bed4f2668d446e06c6c1436ecae15796 for pr-156776
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fe-hucke%2Fstupid-rv32i" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/e-hucke/stupid-rv32i
[INFO] finished tweaking git repo https://github.com/e-hucke/stupid-rv32i
[INFO] tweaked toml for git repo https://github.com/e-hucke/stupid-rv32i written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/e-hucke/stupid-rv32i on toolchain e622d8d7bed4f2668d446e06c6c1436ecae15796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/e-hucke/stupid-rv32i 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" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] 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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6b8bf09afc43b1f639eb3e19b9d78abf15dde0f9e9151473448a9d0e61d09491
[INFO] running `Command { std: "docker" "start" "-a" "6b8bf09afc43b1f639eb3e19b9d78abf15dde0f9e9151473448a9d0e61d09491", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6b8bf09afc43b1f639eb3e19b9d78abf15dde0f9e9151473448a9d0e61d09491", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6b8bf09afc43b1f639eb3e19b9d78abf15dde0f9e9151473448a9d0e61d09491", kill_on_drop: false }`
[INFO] [stdout] 6b8bf09afc43b1f639eb3e19b9d78abf15dde0f9e9151473448a9d0e61d09491
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 18010267c257a52bd9b95655a3d73f80e9ee286335a90e894b86476a9ae05797
[INFO] running `Command { std: "docker" "start" "-a" "18010267c257a52bd9b95655a3d73f80e9ee286335a90e894b86476a9ae05797", kill_on_drop: false }`
[INFO] [stderr]     Checking stupid-rv32i v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/cpu.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 119 | /         match funct3 {
[INFO] [stdout] 120 | |             0x0 => match imm {
[INFO] [stdout] 121 | |                 // tbh no idea wtf these even do. todo: read the spec lol
[INFO] [stdout] 122 | |                 0x0 => todo!("ecall"),
[INFO] [stdout] ...   |
[INFO] [stdout] 126 | |             _ => panic!(),
[INFO] [stdout] 127 | |         }
[INFO] [stdout]     | |_________- any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stdout] 128 |           false // ????
[INFO] [stdout]     |           ^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/cpu.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 119 | /         match funct3 {
[INFO] [stdout] 120 | |             0x0 => match imm {
[INFO] [stdout] 121 | |                 // tbh no idea wtf these even do. todo: read the spec lol
[INFO] [stdout] 122 | |                 0x0 => todo!("ecall"),
[INFO] [stdout] ...   |
[INFO] [stdout] 126 | |             _ => panic!(),
[INFO] [stdout] 127 | |         }
[INFO] [stdout]     | |_________- any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stdout] 128 |           false // ????
[INFO] [stdout]     |           ^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]   --> src/cpu.rs:41:35
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub fn interpret_c(&mut self, instruction: u16) -> bool {
[INFO] [stdout]    |                                   ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instruction`
[INFO] [stdout]   --> src/cpu.rs:41:35
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub fn interpret_c(&mut self, instruction: u16) -> bool {
[INFO] [stdout]    |                                   ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/main.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn run(instructions: &[u8]) {
[INFO] [stdout]   |    ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CPU` is never constructed
[INFO] [stdout]  --> src/cpu.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct CPU {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/main.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn run(instructions: &[u8]) {
[INFO] [stdout]   |    ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CPU` is never constructed
[INFO] [stdout]  --> src/cpu.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct CPU {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/cpu.rs:24:12
[INFO] [stdout]     |
[INFO] [stdout]  21 | impl CPU {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  24 |     pub fn interpret(&mut self, instruction: u32) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  41 |     pub fn interpret_c(&mut self, instruction: u16) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  45 |     fn interpret_0110011(&mut self, instruction: u32) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  71 |     fn interpret_0010011(&mut self, instruction: u32) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  95 |     fn interpret_0000011(&mut self, instruction: u32) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |     fn interpret_1100111(&mut self, instruction: u32) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     fn interpret_1110011(&mut self, instruction: u32) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |     fn interpret_0100011(&mut self, instruction: u32) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 |     fn interpret_1100011(&mut self, instruction: u32) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 155 |     fn interpret_1101111(&mut self, instruction: u32) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     fn interpret_0110111(&mut self, instruction: u32) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |     fn interpret_0010111(&mut self, instruction: u32) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 |     fn slt(&mut self, rd: u8, rs1: u8, rs2: u8) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 184 |     fn jal(&mut self, rd: u8, imm: u32) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 189 |     fn jalr(&mut self, rd: u8, rs1: u8, imm: u32) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 194 |     fn lui(&mut self, rd: u8, imm: u32) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 198 |     fn lw(&mut self, rd: u8, rs1: u8, imm: u32) {
[INFO] [stdout]     |        ^^
[INFO] [stdout] ...
[INFO] [stdout] 202 |     fn auipc(&mut self, rd: u8, imm: u32) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 206 |     fn srai(&mut self, rd: u8, rs1: u8, imm: u32) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 210 |     fn lb(&mut self, rd: u8, rs1: u8, imm: u32) {
[INFO] [stdout]     |        ^^
[INFO] [stdout] ...
[INFO] [stdout] 217 |     fn lbu(&mut self, rd: u8, rs1: u8, imm: u32) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 224 |     fn lh(&mut self, rd: u8, rs1: u8, imm: u32) {
[INFO] [stdout]     |        ^^
[INFO] [stdout] ...
[INFO] [stdout] 231 |     fn lhu(&mut self, rd: u8, rs1: u8, imm: u32) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 238 |     fn sb(&mut self, rs1: u8, rs2: u8, imm: u32) {
[INFO] [stdout]     |        ^^
[INFO] [stdout] ...
[INFO] [stdout] 245 |     fn sh(&mut self, rs1: u8, rs2: u8, imm: u32) {
[INFO] [stdout]     |        ^^
[INFO] [stdout] ...
[INFO] [stdout] 252 |     fn sw(&mut self, rs1: u8, rs2: u8, imm: u32) {
[INFO] [stdout]     |        ^^
[INFO] [stdout] ...
[INFO] [stdout] 257 |     fn sltu(&mut self, rd: u8, rs1: u8, rs2: u8) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 267 |     fn srl(&mut self, rd: u8, rs1: u8, rs2: u8) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 271 |     fn sltiu(&mut self, rd: u8, rs1: u8, imm: u32) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 275 |     fn beq(&mut self, rs1: u8, rs2: u8, imm: u32) -> bool {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 284 |     fn bne(&mut self, rs1: u8, rs2: u8, imm: u32) -> bool {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 293 |     fn blt(&mut self, rs1: u8, rs2: u8, imm: u32) -> bool {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 302 |     fn bge(&mut self, rs1: u8, rs2: u8, imm: u32) -> bool {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 311 |     fn bltu(&mut self, rs1: u8, rs2: u8, imm: u32) -> bool {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 320 |     fn bgeu(&mut self, rs1: u8, rs2: u8, imm: u32) -> bool {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 329 |     fn write_reg(&mut self, reg: u8, val: u32) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 335 |     fn slti(&mut self, rd: u8, rs1: u8, imm: u32) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 346 |     fn srli(&mut self, rd: u8, rs1: u8, imm: u32) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 350 |     fn slli(&mut self, rd: u8, rs1: u8, imm: u32) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 354 |     fn sra(&mut self, rd: u8, rs1: u8, rs2: u8) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 361 |     fn read_reg(&self, reg: u8) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 365 |     fn ori(&mut self, rd: u8, rs1: u8, imm: u32) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 369 |     fn xor(&mut self, rd: u8, rs1: u8, rs2: u8) -> () {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 372 |     fn sub(&mut self, rd: u8, rs1: u8, rs2: u8) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 376 |     fn xori(&mut self, rd: u8, rs1: u8, imm: u32) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 380 |     fn add(&mut self, rd: u8, rs1: u8, rs2: u8) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 384 |     fn andi(&mut self, rd: u8, rs1: u8, imm: u32) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 388 |     fn addi(&mut self, rd: u8, rs1: u8, imm: u32) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 392 |     fn sll(&mut self, rd: u8, rs1: u8, rs2: u8) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 396 |     fn or(&mut self, rd: u8, rs1: u8, rs2: u8) {
[INFO] [stdout]     |        ^^
[INFO] [stdout] ...
[INFO] [stdout] 400 |     fn and(&mut self, rd: u8, rs1: u8, rs2: u8) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bits_from_to` is never used
[INFO] [stdout]  --> src/decode.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn bits_from_to(bits: u32, upper: u32, lower: u32) -> u32 {
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `funct3` is never used
[INFO] [stdout]  --> src/decode.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn funct3(instruction: u32) -> u32 {
[INFO] [stdout]   |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rd` is never used
[INFO] [stdout]  --> src/decode.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn rd(instruction: u32) -> u8 {
[INFO] [stdout]   |    ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `s_type` is never used
[INFO] [stdout]   --> src/decode.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn s_type(instruction: u32) -> (u32, u8, u8, u32) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/cpu.rs:24:12
[INFO] [stdout]     |
[INFO] [stdout]  21 | impl CPU {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  24 |     pub fn interpret(&mut self, instruction: u32) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  41 |     pub fn interpret_c(&mut self, instruction: u16) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  45 |     fn interpret_0110011(&mut self, instruction: u32) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  71 |     fn interpret_0010011(&mut self, instruction: u32) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  95 |     fn interpret_0000011(&mut self, instruction: u32) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |     fn interpret_1100111(&mut self, instruction: u32) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     fn interpret_1110011(&mut self, instruction: u32) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |     fn interpret_0100011(&mut self, instruction: u32) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 |     fn interpret_1100011(&mut self, instruction: u32) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 155 |     fn interpret_1101111(&mut self, instruction: u32) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     fn interpret_0110111(&mut self, instruction: u32) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |     fn interpret_0010111(&mut self, instruction: u32) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 |     fn slt(&mut self, rd: u8, rs1: u8, rs2: u8) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 184 |     fn jal(&mut self, rd: u8, imm: u32) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 189 |     fn jalr(&mut self, rd: u8, rs1: u8, imm: u32) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 194 |     fn lui(&mut self, rd: u8, imm: u32) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 198 |     fn lw(&mut self, rd: u8, rs1: u8, imm: u32) {
[INFO] [stdout]     |        ^^
[INFO] [stdout] ...
[INFO] [stdout] 202 |     fn auipc(&mut self, rd: u8, imm: u32) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 206 |     fn srai(&mut self, rd: u8, rs1: u8, imm: u32) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 210 |     fn lb(&mut self, rd: u8, rs1: u8, imm: u32) {
[INFO] [stdout]     |        ^^
[INFO] [stdout] ...
[INFO] [stdout] 217 |     fn lbu(&mut self, rd: u8, rs1: u8, imm: u32) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 224 |     fn lh(&mut self, rd: u8, rs1: u8, imm: u32) {
[INFO] [stdout]     |        ^^
[INFO] [stdout] ...
[INFO] [stdout] 231 |     fn lhu(&mut self, rd: u8, rs1: u8, imm: u32) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 238 |     fn sb(&mut self, rs1: u8, rs2: u8, imm: u32) {
[INFO] [stdout]     |        ^^
[INFO] [stdout] ...
[INFO] [stdout] 245 |     fn sh(&mut self, rs1: u8, rs2: u8, imm: u32) {
[INFO] [stdout]     |        ^^
[INFO] [stdout] ...
[INFO] [stdout] 252 |     fn sw(&mut self, rs1: u8, rs2: u8, imm: u32) {
[INFO] [stdout]     |        ^^
[INFO] [stdout] ...
[INFO] [stdout] 257 |     fn sltu(&mut self, rd: u8, rs1: u8, rs2: u8) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 267 |     fn srl(&mut self, rd: u8, rs1: u8, rs2: u8) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 271 |     fn sltiu(&mut self, rd: u8, rs1: u8, imm: u32) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 275 |     fn beq(&mut self, rs1: u8, rs2: u8, imm: u32) -> bool {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 284 |     fn bne(&mut self, rs1: u8, rs2: u8, imm: u32) -> bool {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 293 |     fn blt(&mut self, rs1: u8, rs2: u8, imm: u32) -> bool {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 302 |     fn bge(&mut self, rs1: u8, rs2: u8, imm: u32) -> bool {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 311 |     fn bltu(&mut self, rs1: u8, rs2: u8, imm: u32) -> bool {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 320 |     fn bgeu(&mut self, rs1: u8, rs2: u8, imm: u32) -> bool {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 329 |     fn write_reg(&mut self, reg: u8, val: u32) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 335 |     fn slti(&mut self, rd: u8, rs1: u8, imm: u32) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 346 |     fn srli(&mut self, rd: u8, rs1: u8, imm: u32) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 350 |     fn slli(&mut self, rd: u8, rs1: u8, imm: u32) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 354 |     fn sra(&mut self, rd: u8, rs1: u8, rs2: u8) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 361 |     fn read_reg(&self, reg: u8) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 365 |     fn ori(&mut self, rd: u8, rs1: u8, imm: u32) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 369 |     fn xor(&mut self, rd: u8, rs1: u8, rs2: u8) -> () {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 372 |     fn sub(&mut self, rd: u8, rs1: u8, rs2: u8) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 376 |     fn xori(&mut self, rd: u8, rs1: u8, imm: u32) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 380 |     fn add(&mut self, rd: u8, rs1: u8, rs2: u8) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 384 |     fn andi(&mut self, rd: u8, rs1: u8, imm: u32) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 388 |     fn addi(&mut self, rd: u8, rs1: u8, imm: u32) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 392 |     fn sll(&mut self, rd: u8, rs1: u8, rs2: u8) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 396 |     fn or(&mut self, rd: u8, rs1: u8, rs2: u8) {
[INFO] [stdout]     |        ^^
[INFO] [stdout] ...
[INFO] [stdout] 400 |     fn and(&mut self, rd: u8, rs1: u8, rs2: u8) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `i_type` is never used
[INFO] [stdout]   --> src/decode.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn i_type(instruction: u32) -> (u8, u32, u8, u32) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `j_type` is never used
[INFO] [stdout]   --> src/decode.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn j_type(instruction: u32) -> (u8, u32) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `b_type` is never used
[INFO] [stdout]   --> src/decode.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn b_type(instruction: u32) -> (u32, u8, u8, u32) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `op_code` is never used
[INFO] [stdout]   --> src/decode.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn op_code(instruction: u32) -> u8 {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bits_from_to` is never used
[INFO] [stdout]  --> src/decode.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn bits_from_to(bits: u32, upper: u32, lower: u32) -> u32 {
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `u_type` is never used
[INFO] [stdout]   --> src/decode.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub fn u_type(instruction: u32) -> (u8, u32) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `funct3` is never used
[INFO] [stdout]  --> src/decode.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn funct3(instruction: u32) -> u32 {
[INFO] [stdout]   |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `r_type` is never used
[INFO] [stdout]   --> src/decode.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub fn r_type(instruction: u32) -> (u8, u32, u8, u8, u32) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rd` is never used
[INFO] [stdout]  --> src/decode.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn rd(instruction: u32) -> u8 {
[INFO] [stdout]   |    ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_compressed_instr` is never used
[INFO] [stdout]   --> src/decode.rs:70:8
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub fn is_compressed_instr(instruction: u16) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `s_type` is never used
[INFO] [stdout]   --> src/decode.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn s_type(instruction: u32) -> (u32, u8, u8, u32) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `i_type` is never used
[INFO] [stdout]   --> src/decode.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn i_type(instruction: u32) -> (u8, u32, u8, u32) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rs1` is never used
[INFO] [stdout]   --> src/decode.rs:74:4
[INFO] [stdout]    |
[INFO] [stdout] 74 | fn rs1(instruction: u32) -> u8 {
[INFO] [stdout]    |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rs2` is never used
[INFO] [stdout]   --> src/decode.rs:78:4
[INFO] [stdout]    |
[INFO] [stdout] 78 | fn rs2(instruction: u32) -> u8 {
[INFO] [stdout]    |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `j_type` is never used
[INFO] [stdout]   --> src/decode.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn j_type(instruction: u32) -> (u8, u32) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MEM_SIZE` is never used
[INFO] [stdout]  --> src/memory.rs:1:7
[INFO] [stdout]   |
[INFO] [stdout] 1 | const MEM_SIZE: usize = 8192;
[INFO] [stdout]   |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `b_type` is never used
[INFO] [stdout]   --> src/decode.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn b_type(instruction: u32) -> (u32, u8, u8, u32) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `op_code` is never used
[INFO] [stdout]   --> src/decode.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn op_code(instruction: u32) -> u8 {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Memory` is never constructed
[INFO] [stdout]  --> src/memory.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Memory {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `u_type` is never used
[INFO] [stdout]   --> src/decode.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub fn u_type(instruction: u32) -> (u8, u32) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `r_type` is never used
[INFO] [stdout]   --> src/decode.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub fn r_type(instruction: u32) -> (u8, u32, u8, u8, u32) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_compressed_instr` is never used
[INFO] [stdout]   --> src/decode.rs:70:8
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub fn is_compressed_instr(instruction: u16) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `load_byte`, `load_half`, `load_word`, `store_byte`, `store_half`, and `store_word` are never used
[INFO] [stdout]   --> src/memory.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Memory {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] 15 |     pub fn load_byte(&self, addr: u32) -> u8 {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn load_half(&self, addr: u32) -> u16 {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn load_word(&self, addr: u32) -> u32 {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub fn store_byte(&mut self, addr: u32, value: u8) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn store_half(&mut self, addr: u32, value: u16) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn store_word(&mut self, addr: u32, value: u32) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rs1` is never used
[INFO] [stdout]   --> src/decode.rs:74:4
[INFO] [stdout]    |
[INFO] [stdout] 74 | fn rs1(instruction: u32) -> u8 {
[INFO] [stdout]    |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rs2` is never used
[INFO] [stdout]   --> src/decode.rs:78:4
[INFO] [stdout]    |
[INFO] [stdout] 78 | fn rs2(instruction: u32) -> u8 {
[INFO] [stdout]    |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MEM_SIZE` is never used
[INFO] [stdout]  --> src/memory.rs:1:7
[INFO] [stdout]   |
[INFO] [stdout] 1 | const MEM_SIZE: usize = 8192;
[INFO] [stdout]   |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Memory` is never constructed
[INFO] [stdout]  --> src/memory.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Memory {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `load_byte`, `load_half`, `load_word`, `store_byte`, `store_half`, and `store_word` are never used
[INFO] [stdout]   --> src/memory.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Memory {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] 15 |     pub fn load_byte(&self, addr: u32) -> u8 {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn load_half(&self, addr: u32) -> u16 {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn load_word(&self, addr: u32) -> u32 {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub fn store_byte(&mut self, addr: u32, value: u8) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn store_half(&mut self, addr: u32, value: u16) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn store_word(&mut self, addr: u32, value: u32) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] running `Command { std: "docker" "inspect" "18010267c257a52bd9b95655a3d73f80e9ee286335a90e894b86476a9ae05797", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "18010267c257a52bd9b95655a3d73f80e9ee286335a90e894b86476a9ae05797", kill_on_drop: false }`
[INFO] [stdout] 18010267c257a52bd9b95655a3d73f80e9ee286335a90e894b86476a9ae05797
