[INFO] cloning repository https://github.com/muhtutorials/riscv
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/muhtutorials/riscv" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmuhtutorials%2Friscv", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmuhtutorials%2Friscv'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 89b521154fbb82e0d155f41867e83d144963efee
[INFO] checking muhtutorials/riscv against try#ac4c3613be2acd5395b65d85e5657b81e3c982f0 for pr-154585
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmuhtutorials%2Friscv" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/muhtutorials/riscv
[INFO] finished tweaking git repo https://github.com/muhtutorials/riscv
[INFO] tweaked toml for git repo https://github.com/muhtutorials/riscv written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/muhtutorials/riscv on toolchain ac4c3613be2acd5395b65d85e5657b81e3c982f0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/muhtutorials/riscv 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" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 82278da0b8981c0b715a36a85c9e4c8dc8d59ceee1873e60c6c1213dab37632d
[INFO] running `Command { std: "docker" "start" "-a" "82278da0b8981c0b715a36a85c9e4c8dc8d59ceee1873e60c6c1213dab37632d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "82278da0b8981c0b715a36a85c9e4c8dc8d59ceee1873e60c6c1213dab37632d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "82278da0b8981c0b715a36a85c9e4c8dc8d59ceee1873e60c6c1213dab37632d", kill_on_drop: false }`
[INFO] [stdout] 82278da0b8981c0b715a36a85c9e4c8dc8d59ceee1873e60c6c1213dab37632d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c9ebcb0faf1f790817b99ae5d5dfc441f6b74d987e781dc0029dc8a6ed629143
[INFO] running `Command { std: "docker" "start" "-a" "c9ebcb0faf1f790817b99ae5d5dfc441f6b74d987e781dc0029dc8a6ed629143", kill_on_drop: false }`
[INFO] [stderr]     Checking riscv v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: enum `ProgState` is never used
[INFO] [stdout]  --> src/cpu.rs:9:6
[INFO] [stdout]   |
[INFO] [stdout] 9 | enum ProgState {
[INFO] [stdout]   |      ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `print_debug` is never read
[INFO] [stdout]   --> src/cpu.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Cpu {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 18 |     print_debug: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `run`, `dump_state`, `fetch`, `decode`, and `emulate_cycle` are never used
[INFO] [stdout]    --> src/cpu.rs:31:12
[INFO] [stdout]     |
[INFO] [stdout]  21 | impl Cpu {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  31 |     pub fn run(&mut self, program: Vec<u8>) -> Result<u8, Error> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  53 |     fn dump_state(&self, cycle: usize) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  62 |     fn fetch(&mut self) -> Result<u32, Error> {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  69 |     fn decode(&self, raw_inst: u32) -> Result<Inst, Error> {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 175 |     fn emulate_cycle(&mut self) -> Result<ProgState, Error> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Error` is never used
[INFO] [stdout]  --> src/error.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum Error {
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `FormatError` is never used
[INFO] [stdout]   --> src/error.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum FormatError {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `R`, `B`, `J`, and `SysCall` are never constructed
[INFO] [stdout]   --> src/inst.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub enum Inst {
[INFO] [stdout]    |          ---- variants in this enum
[INFO] [stdout]  9 |     // register-register operations
[INFO] [stdout] 10 |     R(RInst, RFormat),
[INFO] [stdout]    |     ^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     B(BInst, BFormat),
[INFO] [stdout]    |     ^
[INFO] [stdout] 17 |     // jump instructions
[INFO] [stdout] 18 |     J(JFormat),
[INFO] [stdout]    |     ^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     SysCall(SysCall),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Exit` and `Nop` are never constructed
[INFO] [stdout]   --> src/inst.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub enum SysCall {
[INFO] [stdout]    |          ------- variants in this enum
[INFO] [stdout] 29 |     Exit(u8),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 30 |     Nop,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `SUB` is never constructed
[INFO] [stdout]   --> src/inst.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub enum RInst {
[INFO] [stdout]    |          ----- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 48 |     SUB,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]    --> src/inst.rs:138:5
[INFO] [stdout]     |
[INFO] [stdout] 137 | pub enum ArithIInst {
[INFO] [stdout]     |          ---------- variants in this enum
[INFO] [stdout] 138 |     ADDI,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 139 |     XORI,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 140 |     ORI,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 141 |     ANDI,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 142 |     SLLI,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 143 |     SRLI,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 144 |     SRAI,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 145 |     SLTI,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 146 |     SLTIU,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `LB`, `LH`, `LW`, `LBU`, and `LHU` are never constructed
[INFO] [stdout]    --> src/inst.rs:155:5
[INFO] [stdout]     |
[INFO] [stdout] 149 | pub enum LoadIInst {
[INFO] [stdout]     |          --------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 155 |     LB,
[INFO] [stdout]     |     ^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     LH,
[INFO] [stdout]     |     ^^
[INFO] [stdout] ...
[INFO] [stdout] 169 |     LW,
[INFO] [stdout]     |     ^^
[INFO] [stdout] ...
[INFO] [stdout] 178 |     LBU,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] ...
[INFO] [stdout] 187 |     LHU,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Arith` and `Mem` are never constructed
[INFO] [stdout]    --> src/inst.rs:207:5
[INFO] [stdout]     |
[INFO] [stdout] 206 | pub enum IInst {
[INFO] [stdout]     |          ----- variants in this enum
[INFO] [stdout] 207 |     Arith(ArithIInst),
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 208 |     Mem(LoadIInst),
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `SH` and `SW` are never constructed
[INFO] [stdout]    --> src/inst.rs:241:5
[INFO] [stdout]     |
[INFO] [stdout] 237 | pub enum SInst {
[INFO] [stdout]     |          ----- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 241 |     SH,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 242 |     // Store Word
[INFO] [stdout] 243 |     SW,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `BEQ`, `BNE`, `BLT`, `BLTU`, `BGE`, and `BGEU` are never constructed
[INFO] [stdout]    --> src/inst.rs:265:5
[INFO] [stdout]     |
[INFO] [stdout] 264 | pub enum BInst {
[INFO] [stdout]     |          ----- variants in this enum
[INFO] [stdout] 265 |     BEQ,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 266 |     BNE,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 267 |     BLT,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 268 |     BLTU,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 269 |     BGE,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 270 |     BGEU,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `funct3` and `funct7` are never read
[INFO] [stdout]   --> src/inst_format.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub struct RFormat {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 60 |     pub rd: usize,
[INFO] [stdout] 61 |     pub funct3: usize,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub funct7: usize,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/inst_format.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 67 | impl RFormat {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 68 |     pub fn new(raw_inst: u32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `funct3` is never read
[INFO] [stdout]   --> src/inst_format.rs:96:9
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub struct IFormat {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 95 |     pub rd: usize,
[INFO] [stdout] 96 |     pub funct3: usize,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/inst_format.rs:102:12
[INFO] [stdout]     |
[INFO] [stdout] 101 | impl IFormat {
[INFO] [stdout]     | ------------ associated function in this implementation
[INFO] [stdout] 102 |     pub fn new(raw_inst: u32) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `funct3` is never read
[INFO] [stdout]    --> src/inst_format.rs:131:9
[INFO] [stdout]     |
[INFO] [stdout] 130 | pub struct SFormat {
[INFO] [stdout]     |            ------- field in this struct
[INFO] [stdout] 131 |     pub funct3: usize,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/inst_format.rs:138:12
[INFO] [stdout]     |
[INFO] [stdout] 137 | impl SFormat {
[INFO] [stdout]     | ------------ associated function in this implementation
[INFO] [stdout] 138 |     pub fn new(raw_inst: u32) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `funct3` is never read
[INFO] [stdout]    --> src/inst_format.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 170 | pub struct BFormat {
[INFO] [stdout]     |            ------- field in this struct
[INFO] [stdout] 171 |     pub funct3: usize,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/inst_format.rs:233:12
[INFO] [stdout]     |
[INFO] [stdout] 232 | impl JFormat {
[INFO] [stdout]     | ------------ associated function in this implementation
[INFO] [stdout] 233 |     pub fn new(raw_inst: u32) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/inst_format.rs:267:12
[INFO] [stdout]     |
[INFO] [stdout] 266 | impl UFormat {
[INFO] [stdout]     | ------------ associated function in this implementation
[INFO] [stdout] 267 |     pub fn new(raw_inst: u32) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `load_program` is never used
[INFO] [stdout]   --> src/memory.rs:72:12
[INFO] [stdout]    |
[INFO] [stdout] 48 | impl Memory {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 72 |     pub fn load_program(&mut self, mut program: Vec<u8>) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `inc` is never used
[INFO] [stdout]   --> src/pc.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl ProgramCounter {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn inc(&mut self) -> Result<u32, Error> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ProgState` is never used
[INFO] [stdout]  --> src/cpu.rs:9:6
[INFO] [stdout]   |
[INFO] [stdout] 9 | enum ProgState {
[INFO] [stdout]   |      ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s
[INFO] [stdout] warning: struct `Cpu` is never constructed
[INFO] [stdout]   --> src/cpu.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Cpu {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `run`, `dump_state`, `fetch`, `decode`, and `emulate_cycle` are never used
[INFO] [stdout]    --> src/cpu.rs:22:12
[INFO] [stdout]     |
[INFO] [stdout]  21 | impl Cpu {
[INFO] [stdout]     | -------- associated items in this implementation
[INFO] [stdout]  22 |     pub fn new(print_debug: bool) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  31 |     pub fn run(&mut self, program: Vec<u8>) -> Result<u8, Error> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  53 |     fn dump_state(&self, cycle: usize) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  62 |     fn fetch(&mut self) -> Result<u32, Error> {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  69 |     fn decode(&self, raw_inst: u32) -> Result<Inst, Error> {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 175 |     fn emulate_cycle(&mut self) -> Result<ProgState, Error> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Error` is never used
[INFO] [stdout]  --> src/error.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum Error {
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `FormatError` is never used
[INFO] [stdout]   --> src/error.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum FormatError {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Inst` is never used
[INFO] [stdout]  --> src/inst.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub enum Inst {
[INFO] [stdout]   |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SysCall` is never used
[INFO] [stdout]   --> src/inst.rs:28:10
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub enum SysCall {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `RInst` is never used
[INFO] [stdout]   --> src/inst.rs:38:10
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub enum RInst {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `op` is never used
[INFO] [stdout]   --> src/inst.rs:92:8
[INFO] [stdout]    |
[INFO] [stdout] 91 | impl RInst {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] 92 |     fn op(self) -> impl FnOnce(u32, u32) -> u32 {
[INFO] [stdout]    |        ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ArithIInst` is never used
[INFO] [stdout]    --> src/inst.rs:137:10
[INFO] [stdout]     |
[INFO] [stdout] 137 | pub enum ArithIInst {
[INFO] [stdout]     |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `LoadIInst` is never used
[INFO] [stdout]    --> src/inst.rs:149:10
[INFO] [stdout]     |
[INFO] [stdout] 149 | pub enum LoadIInst {
[INFO] [stdout]     |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_unsigned` and `op` are never used
[INFO] [stdout]    --> src/inst.rs:191:8
[INFO] [stdout]     |
[INFO] [stdout] 190 | impl LoadIInst {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] 191 |     fn is_unsigned(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 195 |     fn op(self, mem: &Memory) -> impl FnOnce(u32, u32) -> u32 + '_ {
[INFO] [stdout]     |        ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `IInst` is never used
[INFO] [stdout]    --> src/inst.rs:206:10
[INFO] [stdout]     |
[INFO] [stdout] 206 | pub enum IInst {
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `op` is never used
[INFO] [stdout]    --> src/inst.rs:219:8
[INFO] [stdout]     |
[INFO] [stdout] 217 | impl IInst {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] 218 |     // TODO: why is the return type boxed?
[INFO] [stdout] 219 |     fn op(self, cpu: &mut Cpu) -> Box<dyn FnOnce(u32, u32) -> u32 + '_> {
[INFO] [stdout]     |        ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SInst` is never used
[INFO] [stdout]    --> src/inst.rs:237:10
[INFO] [stdout]     |
[INFO] [stdout] 237 | pub enum SInst {
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `op` is never used
[INFO] [stdout]    --> src/inst.rs:247:8
[INFO] [stdout]     |
[INFO] [stdout] 246 | impl SInst {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] 247 |     fn op(self, mem: &mut Memory) -> impl FnOnce(u32, u32, u32) + '_ {
[INFO] [stdout]     |        ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BInst` is never used
[INFO] [stdout]    --> src/inst.rs:264:10
[INFO] [stdout]     |
[INFO] [stdout] 264 | pub enum BInst {
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `UInst` is never used
[INFO] [stdout]    --> src/inst.rs:273:10
[INFO] [stdout]     |
[INFO] [stdout] 273 | pub enum UInst {
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `op` is never used
[INFO] [stdout]    --> src/inst.rs:289:8
[INFO] [stdout]     |
[INFO] [stdout] 288 | impl UInst {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] 289 |     fn op(self, pc: u32) -> impl FnOnce(u32) -> u32 {
[INFO] [stdout]     |        ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `execute` is never used
[INFO] [stdout]    --> src/inst.rs:299:12
[INFO] [stdout]     |
[INFO] [stdout] 298 | impl Inst {
[INFO] [stdout]     | --------- method in this implementation
[INFO] [stdout] 299 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RFormat` is never constructed
[INFO] [stdout]   --> src/inst_format.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub struct RFormat {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/inst_format.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 67 | impl RFormat {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 68 |     pub fn new(raw_inst: u32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IFormat` is never constructed
[INFO] [stdout]   --> src/inst_format.rs:94:12
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub struct IFormat {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/inst_format.rs:102:12
[INFO] [stdout]     |
[INFO] [stdout] 101 | impl IFormat {
[INFO] [stdout]     | ------------ associated function in this implementation
[INFO] [stdout] 102 |     pub fn new(raw_inst: u32) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SFormat` is never constructed
[INFO] [stdout]    --> src/inst_format.rs:130:12
[INFO] [stdout]     |
[INFO] [stdout] 130 | pub struct SFormat {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/inst_format.rs:138:12
[INFO] [stdout]     |
[INFO] [stdout] 137 | impl SFormat {
[INFO] [stdout]     | ------------ associated function in this implementation
[INFO] [stdout] 138 |     pub fn new(raw_inst: u32) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BFormat` is never constructed
[INFO] [stdout]    --> src/inst_format.rs:170:12
[INFO] [stdout]     |
[INFO] [stdout] 170 | pub struct BFormat {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/inst_format.rs:187:12
[INFO] [stdout]     |
[INFO] [stdout] 177 | impl BFormat {
[INFO] [stdout]     | ------------ associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 187 |     pub fn new(raw_inst: u32) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `JFormat` is never constructed
[INFO] [stdout]    --> src/inst_format.rs:227:12
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub struct JFormat {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/inst_format.rs:233:12
[INFO] [stdout]     |
[INFO] [stdout] 232 | impl JFormat {
[INFO] [stdout]     | ------------ associated function in this implementation
[INFO] [stdout] 233 |     pub fn new(raw_inst: u32) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UFormat` is never constructed
[INFO] [stdout]    --> src/inst_format.rs:261:12
[INFO] [stdout]     |
[INFO] [stdout] 261 | pub struct UFormat {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/inst_format.rs:267:12
[INFO] [stdout]     |
[INFO] [stdout] 266 | impl UFormat {
[INFO] [stdout]     | ------------ associated function in this implementation
[INFO] [stdout] 267 |     pub fn new(raw_inst: u32) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MEM_SIZE` is never used
[INFO] [stdout]  --> src/memory.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub const MEM_SIZE: usize = 1024 * 128;
[INFO] [stdout]   |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Size` is never used
[INFO] [stdout]  --> src/memory.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub enum Size {
[INFO] [stdout]   |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Memory` is never constructed
[INFO] [stdout]   --> src/memory.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct Memory([u8; MEM_SIZE]);
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `read`, `write`, and `load_program` are never used
[INFO] [stdout]   --> src/memory.rs:49:12
[INFO] [stdout]    |
[INFO] [stdout] 48 | impl Memory {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 49 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn read(&self, from: u32, size: Size, is_unsigned: bool) -> u32 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn write(&mut self, from: u32, size: Size, val: u32) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 72 |     pub fn load_program(&mut self, mut program: Vec<u8>) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProgramCounter` is never constructed
[INFO] [stdout]  --> src/pc.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct ProgramCounter(u32);
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get`, `set`, and `inc` are never used
[INFO] [stdout]   --> src/pc.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl ProgramCounter {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout]  7 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 11 |     pub fn get(&self) -> u32 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub fn set(&mut self, addr: u32) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn inc(&mut self) -> Result<u32, Error> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Registers` is never constructed
[INFO] [stdout]  --> src/regs.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Registers([u32; 32]);
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `read`, and `write` are never used
[INFO] [stdout]   --> src/regs.rs:6:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl Registers {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout]  6 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub fn read(&self, reg: usize) -> u32 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn write(&mut self, reg: usize, val: u32) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "c9ebcb0faf1f790817b99ae5d5dfc441f6b74d987e781dc0029dc8a6ed629143", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c9ebcb0faf1f790817b99ae5d5dfc441f6b74d987e781dc0029dc8a6ed629143", kill_on_drop: false }`
[INFO] [stdout] c9ebcb0faf1f790817b99ae5d5dfc441f6b74d987e781dc0029dc8a6ed629143
