[INFO] cloning repository https://github.com/NOPLAB/simple-riscv [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NOPLAB/simple-riscv" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNOPLAB%2Fsimple-riscv", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNOPLAB%2Fsimple-riscv'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1d8a918fc45a725412eb8f12694dcc693953c9e1 [INFO] checking NOPLAB/simple-riscv against master#6f40082313d8374bdf962aba943a712d5322fae6 for pr-117967 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNOPLAB%2Fsimple-riscv" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/NOPLAB/simple-riscv on toolchain 6f40082313d8374bdf962aba943a712d5322fae6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6f40082313d8374bdf962aba943a712d5322fae6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/NOPLAB/simple-riscv [INFO] finished tweaking git repo https://github.com/NOPLAB/simple-riscv [INFO] tweaked toml for git repo https://github.com/NOPLAB/simple-riscv written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/NOPLAB/simple-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" "+6f40082313d8374bdf962aba943a712d5322fae6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking NOPLAB/simple-riscv against try#57fd74335bb14b59b719dc3cc5bc4257e73f33ce for pr-117967 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNOPLAB%2Fsimple-riscv" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/NOPLAB/simple-riscv on toolchain 57fd74335bb14b59b719dc3cc5bc4257e73f33ce [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/NOPLAB/simple-riscv [INFO] finished tweaking git repo https://github.com/NOPLAB/simple-riscv [INFO] tweaked toml for git repo https://github.com/NOPLAB/simple-riscv written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/NOPLAB/simple-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" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking NOPLAB/simple-riscv against try#57fd74335bb14b59b719dc3cc5bc4257e73f33ce for pr-117967 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNOPLAB%2Fsimple-riscv" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/NOPLAB/simple-riscv on toolchain 57fd74335bb14b59b719dc3cc5bc4257e73f33ce [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/NOPLAB/simple-riscv [INFO] finished tweaking git repo https://github.com/NOPLAB/simple-riscv [INFO] tweaked toml for git repo https://github.com/NOPLAB/simple-riscv written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/NOPLAB/simple-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" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded boolean_expression v0.3.11 [INFO] [stderr] Downloaded bitpattern v0.1.0 [INFO] [stderr] Downloaded bitmatch v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8754d19598001774cfc2801c3306a16f6c1558f8af16dbd8d023b3d014fbed2b [INFO] running `Command { std: "docker" "start" "-a" "8754d19598001774cfc2801c3306a16f6c1558f8af16dbd8d023b3d014fbed2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8754d19598001774cfc2801c3306a16f6c1558f8af16dbd8d023b3d014fbed2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8754d19598001774cfc2801c3306a16f6c1558f8af16dbd8d023b3d014fbed2b", kill_on_drop: false }` [INFO] [stdout] 8754d19598001774cfc2801c3306a16f6c1558f8af16dbd8d023b3d014fbed2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d635b4a63d885d6c38bc5d28d798dfddfab7ab4423fd14b92b1b5cb0ac2b8bcc [INFO] running `Command { std: "docker" "start" "-a" "d635b4a63d885d6c38bc5d28d798dfddfab7ab4423fd14b92b1b5cb0ac2b8bcc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling boolean_expression v0.3.11 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling paste v0.1.18 [INFO] [stderr] Compiling bitpattern v0.1.0 [INFO] [stderr] Compiling bitmatch v0.1.1 [INFO] [stderr] Checking simple-riscv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `thread`, `time::Duration` [INFO] [stdout] --> src/computer.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{path::Path, thread, time::Duration}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cs_register::ControlAndStatusRegister` [INFO] [stdout] --> src/processor/execute.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | cs_register::ControlAndStatusRegister, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread`, `time::Duration` [INFO] [stdout] --> src/computer.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{path::Path, thread, time::Duration}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cs_register::ControlAndStatusRegister` [INFO] [stdout] --> src/processor/execute.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | cs_register::ControlAndStatusRegister, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/processor/cs_register.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let mut xregs = [0u32; REGISTERS_COUNT]; [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: variable does not need to be mutable [INFO] [stdout] --> src/processor/cs_register.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let mut xregs = [0u32; REGISTERS_COUNT]; [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: unused variable: `f` [INFO] [stdout] --> src/processor/execute.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/processor/fetch.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/processor/execute.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/processor/writeback.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/processor/fetch.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/processor/writeback.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `load8`, `read8`, `read16`, `write8`, and `write16` are never used [INFO] [stdout] --> src/bus.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Bus { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn load8(&mut self, start_address: u32, data: Vec) -> Result<(), ProcessorError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn read8(&self, address: u32) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn read16(&self, address: u32) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn write8(&mut self, address: u32, value: u8) -> Result<(), ProcessorError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn write16(&mut self, address: u32, value: u16) -> Result<(), ProcessorError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read8`, `read16`, `write8`, and `write16` are never used [INFO] [stdout] --> src/dram.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Dram { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn read8(&self, address: u32) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn read16(&self, address: u32) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn write8(&mut self, address: u32, value: u8) -> Result<(), ProcessorError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn write16(&mut self, address: u32, value: u16) -> Result<(), ProcessorError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/processor/decode.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum Opcode { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 34 | LB, // todo [INFO] [stdout] | ^^ [INFO] [stdout] 35 | LH, // todo [INFO] [stdout] | ^^ [INFO] [stdout] 36 | LW, // Ok [INFO] [stdout] 37 | LBU, // todo [INFO] [stdout] | ^^^ [INFO] [stdout] 38 | LHU, // todo [INFO] [stdout] | ^^^ [INFO] [stdout] 39 | [INFO] [stdout] 40 | SB, // todo [INFO] [stdout] | ^^ [INFO] [stdout] 41 | SH, // todo [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 88 | URET, // todo [INFO] [stdout] | ^^^^ [INFO] [stdout] 89 | SRET, // todo [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | WFI, // todo [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | EBREAK, // todo [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | FENCEI, // todo [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 99 | SFENCEVMA, //todo [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/processor/execute.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl ExecuteError { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 16 | fn new(error_type: ExecuteErrorType) -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/processor/fetch.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl FetchError { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 14 | fn new(error_type: FetchErrorType) -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/processor/writeback.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl WritebackError { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 20 | fn new(error_type: WritebackErrorType) -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `load8`, `read8`, `read16`, `write8`, and `write16` are never used [INFO] [stdout] --> src/bus.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Bus { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn load8(&mut self, start_address: u32, data: Vec) -> Result<(), ProcessorError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn read8(&self, address: u32) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn read16(&self, address: u32) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn write8(&mut self, address: u32, value: u8) -> Result<(), ProcessorError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn write16(&mut self, address: u32, value: u16) -> Result<(), ProcessorError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read8`, `read16`, `write8`, and `write16` are never used [INFO] [stdout] --> src/dram.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Dram { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn read8(&self, address: u32) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn read16(&self, address: u32) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn write8(&mut self, address: u32, value: u8) -> Result<(), ProcessorError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn write16(&mut self, address: u32, value: u16) -> Result<(), ProcessorError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/processor/decode.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum Opcode { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 34 | LB, // todo [INFO] [stdout] | ^^ [INFO] [stdout] 35 | LH, // todo [INFO] [stdout] | ^^ [INFO] [stdout] 36 | LW, // Ok [INFO] [stdout] 37 | LBU, // todo [INFO] [stdout] | ^^^ [INFO] [stdout] 38 | LHU, // todo [INFO] [stdout] | ^^^ [INFO] [stdout] 39 | [INFO] [stdout] 40 | SB, // todo [INFO] [stdout] | ^^ [INFO] [stdout] 41 | SH, // todo [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 88 | URET, // todo [INFO] [stdout] | ^^^^ [INFO] [stdout] 89 | SRET, // todo [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | WFI, // todo [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | EBREAK, // todo [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | FENCEI, // todo [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 99 | SFENCEVMA, //todo [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/processor/execute.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl ExecuteError { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 16 | fn new(error_type: ExecuteErrorType) -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/processor/fetch.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl FetchError { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 14 | fn new(error_type: FetchErrorType) -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/processor/writeback.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl WritebackError { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 20 | fn new(error_type: WritebackErrorType) -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.17s [INFO] running `Command { std: "docker" "inspect" "d635b4a63d885d6c38bc5d28d798dfddfab7ab4423fd14b92b1b5cb0ac2b8bcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d635b4a63d885d6c38bc5d28d798dfddfab7ab4423fd14b92b1b5cb0ac2b8bcc", kill_on_drop: false }` [INFO] [stdout] d635b4a63d885d6c38bc5d28d798dfddfab7ab4423fd14b92b1b5cb0ac2b8bcc