[INFO] cloning repository https://github.com/LordGoatius/riscv-superscalar
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LordGoatius/riscv-superscalar" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLordGoatius%2Friscv-superscalar", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLordGoatius%2Friscv-superscalar'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0d2bddcfa3690e4a186de302bcb9f450d5dcb592
[INFO] checking LordGoatius/riscv-superscalar against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLordGoatius%2Friscv-superscalar" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/LordGoatius/riscv-superscalar
[INFO] finished tweaking git repo https://github.com/LordGoatius/riscv-superscalar
[INFO] tweaked toml for git repo https://github.com/LordGoatius/riscv-superscalar written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/LordGoatius/riscv-superscalar on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/LordGoatius/riscv-superscalar 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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 445764866c57a0f713741849c687217b213336264b3bd4fccd0995483c1db269
[INFO] running `Command { std: "docker" "start" "-a" "445764866c57a0f713741849c687217b213336264b3bd4fccd0995483c1db269", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "445764866c57a0f713741849c687217b213336264b3bd4fccd0995483c1db269", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "445764866c57a0f713741849c687217b213336264b3bd4fccd0995483c1db269", kill_on_drop: false }`
[INFO] [stdout] 445764866c57a0f713741849c687217b213336264b3bd4fccd0995483c1db269
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 32ea921461f83980f3fed8b7638bf66d35c64fc383912632595517b0247044d6
[INFO] running `Command { std: "docker" "start" "-a" "32ea921461f83980f3fed8b7638bf66d35c64fc383912632595517b0247044d6", kill_on_drop: false }`
[INFO] [stderr]     Checking jiscv v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the feature `explicit_tail_calls` is incomplete and may not be safe to use and/or cause compiler crashes
[INFO] [stdout]  --> src/lib.rs:1:43
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![cfg_attr(feature = "tailcall", feature(explicit_tail_calls))]
[INFO] [stdout]   |                                           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #112788 <https://github.com/rust-lang/rust/issues/112788> for more information
[INFO] [stdout]   = note: `#[warn(incomplete_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `explicit_tail_calls` is incomplete and may not be safe to use and/or cause compiler crashes
[INFO] [stdout]  --> src/lib.rs:1:43
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![cfg_attr(feature = "tailcall", feature(explicit_tail_calls))]
[INFO] [stdout]   |                                           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #112788 <https://github.com/rust-lang/rust/issues/112788> for more information
[INFO] [stdout]   = note: `#[warn(incomplete_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `machine`
[INFO] [stdout]    --> src/tailcall/dispatch.rs:162:10
[INFO] [stdout]     |
[INFO] [stdout] 162 | fn ecall(machine: &mut Machine, instr: RV32I, pc: Pc) -> MachineResult {
[INFO] [stdout]     |          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_machine`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instr`
[INFO] [stdout]    --> src/tailcall/dispatch.rs:162:33
[INFO] [stdout]     |
[INFO] [stdout] 162 | fn ecall(machine: &mut Machine, instr: RV32I, pc: Pc) -> MachineResult {
[INFO] [stdout]     |                                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pc`
[INFO] [stdout]    --> src/tailcall/dispatch.rs:162:47
[INFO] [stdout]     |
[INFO] [stdout] 162 | fn ecall(machine: &mut Machine, instr: RV32I, pc: Pc) -> MachineResult {
[INFO] [stdout]     |                                               ^^ help: if this is intentional, prefix it with an underscore: `_pc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `machine`
[INFO] [stdout]    --> src/tailcall/dispatch.rs:166:11
[INFO] [stdout]     |
[INFO] [stdout] 166 | fn ebreak(machine: &mut Machine, instr: RV32I, pc: Pc) -> MachineResult {
[INFO] [stdout]     |           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_machine`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instr`
[INFO] [stdout]    --> src/tailcall/dispatch.rs:166:34
[INFO] [stdout]     |
[INFO] [stdout] 166 | fn ebreak(machine: &mut Machine, instr: RV32I, pc: Pc) -> MachineResult {
[INFO] [stdout]     |                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pc`
[INFO] [stdout]    --> src/tailcall/dispatch.rs:166:48
[INFO] [stdout]     |
[INFO] [stdout] 166 | fn ebreak(machine: &mut Machine, instr: RV32I, pc: Pc) -> MachineResult {
[INFO] [stdout]     |                                                ^^ help: if this is intentional, prefix it with an underscore: `_pc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pc`
[INFO] [stdout]   --> src/tailcall/mod.rs:29:24
[INFO] [stdout]    |
[INFO] [stdout] 29 |     fn next(&mut self, pc: Pc) -> Result<RV32I, Exception> {
[INFO] [stdout]    |                        ^^ help: if this is intentional, prefix it with an underscore: `_pc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `machine`
[INFO] [stdout]    --> src/tailcall/dispatch.rs:162:10
[INFO] [stdout]     |
[INFO] [stdout] 162 | fn ecall(machine: &mut Machine, instr: RV32I, pc: Pc) -> MachineResult {
[INFO] [stdout]     |          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_machine`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instr`
[INFO] [stdout]    --> src/tailcall/dispatch.rs:162:33
[INFO] [stdout]     |
[INFO] [stdout] 162 | fn ecall(machine: &mut Machine, instr: RV32I, pc: Pc) -> MachineResult {
[INFO] [stdout]     |                                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pc`
[INFO] [stdout]    --> src/tailcall/dispatch.rs:162:47
[INFO] [stdout]     |
[INFO] [stdout] 162 | fn ecall(machine: &mut Machine, instr: RV32I, pc: Pc) -> MachineResult {
[INFO] [stdout]     |                                               ^^ help: if this is intentional, prefix it with an underscore: `_pc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `machine`
[INFO] [stdout]    --> src/tailcall/dispatch.rs:166:11
[INFO] [stdout]     |
[INFO] [stdout] 166 | fn ebreak(machine: &mut Machine, instr: RV32I, pc: Pc) -> MachineResult {
[INFO] [stdout]     |           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_machine`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instr`
[INFO] [stdout]    --> src/tailcall/dispatch.rs:166:34
[INFO] [stdout]     |
[INFO] [stdout] 166 | fn ebreak(machine: &mut Machine, instr: RV32I, pc: Pc) -> MachineResult {
[INFO] [stdout]     |                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pc`
[INFO] [stdout]    --> src/tailcall/dispatch.rs:166:48
[INFO] [stdout]     |
[INFO] [stdout] 166 | fn ebreak(machine: &mut Machine, instr: RV32I, pc: Pc) -> MachineResult {
[INFO] [stdout]     |                                                ^^ help: if this is intentional, prefix it with an underscore: `_pc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pc`
[INFO] [stdout]   --> src/tailcall/mod.rs:29:24
[INFO] [stdout]    |
[INFO] [stdout] 29 |     fn next(&mut self, pc: Pc) -> Result<RV32I, Exception> {
[INFO] [stdout]    |                        ^^ help: if this is intentional, prefix it with an underscore: `_pc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pc`
[INFO] [stdout]    --> src/tailcall/mod.rs:222:26
[INFO] [stdout]     |
[INFO] [stdout] 222 |     fn ecall (&mut self, pc: Pc) -> MachineResult { todo!() }
[INFO] [stdout]     |                          ^^ help: if this is intentional, prefix it with an underscore: `_pc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pc`
[INFO] [stdout]    --> src/tailcall/mod.rs:223:26
[INFO] [stdout]     |
[INFO] [stdout] 223 |     fn ebreak(&mut self, pc: Pc) -> MachineResult { todo!() }
[INFO] [stdout]     |                          ^^ help: if this is intentional, prefix it with an underscore: `_pc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `XLEN` is never used
[INFO] [stdout]   --> src/lib.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const XLEN: usize = 32;
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `IALIGN` is never used
[INFO] [stdout]   --> src/lib.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 | const IALIGN: usize = 16;
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ARITH_OP` is never used
[INFO] [stdout]   --> src/instr/decoding.rs:82:7
[INFO] [stdout]    |
[INFO] [stdout] 82 | const ARITH_OP:  u32 = 0b0110011;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `IMM_OP` is never used
[INFO] [stdout]   --> src/instr/decoding.rs:83:7
[INFO] [stdout]    |
[INFO] [stdout] 83 | const IMM_OP:    u32 = 0b0010011;
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LOAD_OP` is never used
[INFO] [stdout]   --> src/instr/decoding.rs:84:7
[INFO] [stdout]    |
[INFO] [stdout] 84 | const LOAD_OP:   u32 = 0b0000011;
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `STORE_OP` is never used
[INFO] [stdout]   --> src/instr/decoding.rs:85:7
[INFO] [stdout]    |
[INFO] [stdout] 85 | const STORE_OP:  u32 = 0b0100011;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BRANCH_OP` is never used
[INFO] [stdout]   --> src/instr/decoding.rs:86:7
[INFO] [stdout]    |
[INFO] [stdout] 86 | const BRANCH_OP: u32 = 0b1100011;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `JUMP_OP` is never used
[INFO] [stdout]   --> src/instr/decoding.rs:87:7
[INFO] [stdout]    |
[INFO] [stdout] 87 | const JUMP_OP:   u32 = 0b1101111;
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `JUMPL_OP` is never used
[INFO] [stdout]   --> src/instr/decoding.rs:88:7
[INFO] [stdout]    |
[INFO] [stdout] 88 | const JUMPL_OP:  u32 = 0b1100111;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LOADUI_OP` is never used
[INFO] [stdout]   --> src/instr/decoding.rs:89:7
[INFO] [stdout]    |
[INFO] [stdout] 89 | const LOADUI_OP: u32 = 0b0110111;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `AUIPC_OP` is never used
[INFO] [stdout]   --> src/instr/decoding.rs:90:7
[INFO] [stdout]    |
[INFO] [stdout] 90 | const AUIPC_OP:  u32 = 0b0010111;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ENV_OP` is never used
[INFO] [stdout]   --> src/instr/decoding.rs:91:7
[INFO] [stdout]    |
[INFO] [stdout] 91 | const ENV_OP:    u32 = 0b1110011;
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:145:4
[INFO] [stdout]     |
[INFO] [stdout] 145 | fn decode(instr: u32) -> RV32I {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_ADD` is never used
[INFO] [stdout]   --> src/instr/decoding.rs:94:15
[INFO] [stdout]    |
[INFO] [stdout] 94 |     pub const FUNCT3_ADD:  u32 = 0x0;
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT7_ADD` is never used
[INFO] [stdout]   --> src/instr/decoding.rs:95:15
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub const FUNCT7_ADD:  u32 = 0x00;
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_SUB` is never used
[INFO] [stdout]   --> src/instr/decoding.rs:96:15
[INFO] [stdout]    |
[INFO] [stdout] 96 |     pub const FUNCT3_SUB:  u32 = 0x0;
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT7_SUB` is never used
[INFO] [stdout]   --> src/instr/decoding.rs:97:15
[INFO] [stdout]    |
[INFO] [stdout] 97 |     pub const FUNCT7_SUB:  u32 = 0x20;
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_XOR` is never used
[INFO] [stdout]   --> src/instr/decoding.rs:98:15
[INFO] [stdout]    |
[INFO] [stdout] 98 |     pub const FUNCT3_XOR:  u32 = 0x4;
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT7_XOR` is never used
[INFO] [stdout]   --> src/instr/decoding.rs:99:15
[INFO] [stdout]    |
[INFO] [stdout] 99 |     pub const FUNCT7_XOR:  u32 = 0x00;
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_OR` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:100:15
[INFO] [stdout]     |
[INFO] [stdout] 100 |     pub const FUNCT3_OR:   u32 = 0x6;
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT7_OR` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:101:15
[INFO] [stdout]     |
[INFO] [stdout] 101 |     pub const FUNCT7_OR:   u32 = 0x00;
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_AND` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:102:15
[INFO] [stdout]     |
[INFO] [stdout] 102 |     pub const FUNCT3_AND:  u32 = 0x7;
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT7_AND` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:103:15
[INFO] [stdout]     |
[INFO] [stdout] 103 |     pub const FUNCT7_AND:  u32 = 0x00;
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_SLL` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:104:15
[INFO] [stdout]     |
[INFO] [stdout] 104 |     pub const FUNCT3_SLL:  u32 = 0x1;
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT7_SLL` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:105:15
[INFO] [stdout]     |
[INFO] [stdout] 105 |     pub const FUNCT7_SLL:  u32 = 0x00;
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_SRL` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:106:15
[INFO] [stdout]     |
[INFO] [stdout] 106 |     pub const FUNCT3_SRL:  u32 = 0x5;
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT7_SRL` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:107:15
[INFO] [stdout]     |
[INFO] [stdout] 107 |     pub const FUNCT7_SRL:  u32 = 0x00;
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_SRA` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:108:15
[INFO] [stdout]     |
[INFO] [stdout] 108 |     pub const FUNCT3_SRA:  u32 = 0x5;
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT7_SRA` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:109:15
[INFO] [stdout]     |
[INFO] [stdout] 109 |     pub const FUNCT7_SRA:  u32 = 0x20;
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_SLT` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:110:15
[INFO] [stdout]     |
[INFO] [stdout] 110 |     pub const FUNCT3_SLT:  u32 = 0x2;
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT7_SLT` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:111:15
[INFO] [stdout]     |
[INFO] [stdout] 111 |     pub const FUNCT7_SLT:  u32 = 0x00;
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_SLTU` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:112:15
[INFO] [stdout]     |
[INFO] [stdout] 112 |     pub const FUNCT3_SLTU: u32 = 0x3;
[INFO] [stdout]     |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT7_SLTU` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:113:15
[INFO] [stdout]     |
[INFO] [stdout] 113 |     pub const FUNCT7_SLTU: u32 = 0x00;
[INFO] [stdout]     |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_ADDI` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:115:15
[INFO] [stdout]     |
[INFO] [stdout] 115 |     pub const FUNCT3_ADDI:  u32 = 0x0;
[INFO] [stdout]     |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_XORI` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:116:15
[INFO] [stdout]     |
[INFO] [stdout] 116 |     pub const FUNCT3_XORI:  u32 = 0x4;
[INFO] [stdout]     |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_ORI` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:117:15
[INFO] [stdout]     |
[INFO] [stdout] 117 |     pub const FUNCT3_ORI:   u32 = 0x6;
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_ANDI` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:118:15
[INFO] [stdout]     |
[INFO] [stdout] 118 |     pub const FUNCT3_ANDI:  u32 = 0x7;
[INFO] [stdout]     |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_SLLI` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:119:15
[INFO] [stdout]     |
[INFO] [stdout] 119 |     pub const FUNCT3_SLLI:  u32 = 0x1;
[INFO] [stdout]     |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_SRLI` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:120:15
[INFO] [stdout]     |
[INFO] [stdout] 120 |     pub const FUNCT3_SRLI:  u32 = 0x5;
[INFO] [stdout]     |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_SRAI` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:121:15
[INFO] [stdout]     |
[INFO] [stdout] 121 |     pub const FUNCT3_SRAI:  u32 = 0x5;
[INFO] [stdout]     |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_SLTI` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:122:15
[INFO] [stdout]     |
[INFO] [stdout] 122 |     pub const FUNCT3_SLTI:  u32 = 0x2;
[INFO] [stdout]     |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_SLTIU` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:123:15
[INFO] [stdout]     |
[INFO] [stdout] 123 |     pub const FUNCT3_SLTIU: u32 = 0x3;
[INFO] [stdout]     |               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_LB` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:125:15
[INFO] [stdout]     |
[INFO] [stdout] 125 |     pub const FUNCT3_LB:  u32 = 0x0;
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_LH` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:126:15
[INFO] [stdout]     |
[INFO] [stdout] 126 |     pub const FUNCT3_LH:  u32 = 0x1;
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_LW` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:127:15
[INFO] [stdout]     |
[INFO] [stdout] 127 |     pub const FUNCT3_LW:  u32 = 0x2;
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_LBU` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:128:15
[INFO] [stdout]     |
[INFO] [stdout] 128 |     pub const FUNCT3_LBU: u32 = 0x4;
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_LHU` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:129:15
[INFO] [stdout]     |
[INFO] [stdout] 129 |     pub const FUNCT3_LHU: u32 = 0x5;
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_SB` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:131:15
[INFO] [stdout]     |
[INFO] [stdout] 131 |     pub const FUNCT3_SB:  u32 = 0x0;
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_SH` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:132:15
[INFO] [stdout]     |
[INFO] [stdout] 132 |     pub const FUNCT3_SH:  u32 = 0x1;
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_SW` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:133:15
[INFO] [stdout]     |
[INFO] [stdout] 133 |     pub const FUNCT3_SW:  u32 = 0x2;
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_BEQ` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:135:15
[INFO] [stdout]     |
[INFO] [stdout] 135 |     pub const FUNCT3_BEQ:  u32 = 0x0;
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_BNE` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:136:15
[INFO] [stdout]     |
[INFO] [stdout] 136 |     pub const FUNCT3_BNE:  u32 = 0x1;
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_BLT` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:137:15
[INFO] [stdout]     |
[INFO] [stdout] 137 |     pub const FUNCT3_BLT:  u32 = 0x4;
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_BGE` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:138:15
[INFO] [stdout]     |
[INFO] [stdout] 138 |     pub const FUNCT3_BGE:  u32 = 0x5;
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_BLTU` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:139:15
[INFO] [stdout]     |
[INFO] [stdout] 139 |     pub const FUNCT3_BLTU: u32 = 0x6;
[INFO] [stdout]     |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_BGEU` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:140:15
[INFO] [stdout]     |
[INFO] [stdout] 140 |     pub const FUNCT3_BGEU: u32 = 0x7;
[INFO] [stdout]     |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Machine` is never constructed
[INFO] [stdout]   --> src/fivestage/mod.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Machine<const MEM_SIZE: usize> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `registers`, `memory`, `pc`, and `pipleline` are never read
[INFO] [stdout]   --> src/fivestage/mod.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Machine<const MEM_SIZE: usize> {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 17 |     registers: [Register; 32],
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 18 |     memory:    Box<[u8; MEM_SIZE]>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 19 |     pc: usize,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 20 |     pipleline: Pipeline
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/fivestage/mod.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct Pipeline {
[INFO] [stdout]    |        -------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 28 |     dependencies: Vec<Reg>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 29 |     // During decode, these are set 
[INFO] [stdout] 30 |     vals1: u32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 31 |     vals2: u32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     valres: u32,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 35 |     // set during memory access. res1 is used for the WB stage
[INFO] [stdout] 36 |     valmem: u32,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 37 |     valres1: u32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 38 |
[INFO] [stdout] 39 |     fetch:     Vec<Option<u32>>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 40 |     decode:    Vec<Option<RV32I>>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 41 |     // u32 for reg WB, opt for PC writeback
[INFO] [stdout] 42 |     value:     Vec<Option<(u32, Option<u32>)>>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 43 |     memory:    Vec<Option<MemoryAccess>>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 44 |     writeback: Vec<Option<WriteBack>>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Read`, `Write`, and `None` are never constructed
[INFO] [stdout]   --> src/fivestage/mod.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 47 | enum MemoryAccess {
[INFO] [stdout]    |      ------------ variants in this enum
[INFO] [stdout] 48 |     Read(Reg),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 49 |     Write(Reg),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 50 |     None,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/fivestage/mod.rs:53:18
[INFO] [stdout]    |
[INFO] [stdout] 53 | struct WriteBack(Reg);
[INFO] [stdout]    |        --------- ^^^
[INFO] [stdout]    |        |
[INFO] [stdout]    |        field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/tailcall/mod.rs:24:22
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct Exception(Address, ExceptionType);
[INFO] [stdout]    |            --------- ^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            fields in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing these fields
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `ecall` and `ebreak` are never used
[INFO] [stdout]    --> src/tailcall/mod.rs:222:8
[INFO] [stdout]     |
[INFO] [stdout]  28 | impl Machine {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 222 |     fn ecall (&mut self, pc: Pc) -> MachineResult { todo!() }
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 223 |     fn ebreak(&mut self, pc: Pc) -> MachineResult { todo!() }
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/tailcall/ram.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl Ram {
[INFO] [stdout]    | -------- associated function in this implementation
[INFO] [stdout] 22 |     fn new() -> Ram {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pc`
[INFO] [stdout]    --> src/tailcall/mod.rs:222:26
[INFO] [stdout]     |
[INFO] [stdout] 222 |     fn ecall (&mut self, pc: Pc) -> MachineResult { todo!() }
[INFO] [stdout]     |                          ^^ help: if this is intentional, prefix it with an underscore: `_pc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pc`
[INFO] [stdout]    --> src/tailcall/mod.rs:223:26
[INFO] [stdout]     |
[INFO] [stdout] 223 |     fn ebreak(&mut self, pc: Pc) -> MachineResult { todo!() }
[INFO] [stdout]     |                          ^^ help: if this is intentional, prefix it with an underscore: `_pc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `XLEN` is never used
[INFO] [stdout]   --> src/lib.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const XLEN: usize = 32;
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `IALIGN` is never used
[INFO] [stdout]   --> src/lib.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 | const IALIGN: usize = 16;
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ARITH_OP` is never used
[INFO] [stdout]   --> src/instr/decoding.rs:82:7
[INFO] [stdout]    |
[INFO] [stdout] 82 | const ARITH_OP:  u32 = 0b0110011;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `IMM_OP` is never used
[INFO] [stdout]   --> src/instr/decoding.rs:83:7
[INFO] [stdout]    |
[INFO] [stdout] 83 | const IMM_OP:    u32 = 0b0010011;
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LOAD_OP` is never used
[INFO] [stdout]   --> src/instr/decoding.rs:84:7
[INFO] [stdout]    |
[INFO] [stdout] 84 | const LOAD_OP:   u32 = 0b0000011;
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `jiscv` (lib test) due to 1 previous error; 73 warnings emitted
[INFO] [stdout] warning: constant `STORE_OP` is never used
[INFO] [stdout]   --> src/instr/decoding.rs:85:7
[INFO] [stdout]    |
[INFO] [stdout] 85 | const STORE_OP:  u32 = 0b0100011;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: constant `BRANCH_OP` is never used
[INFO] [stdout]   --> src/instr/decoding.rs:86:7
[INFO] [stdout]    |
[INFO] [stdout] 86 | const BRANCH_OP: u32 = 0b1100011;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `JUMP_OP` is never used
[INFO] [stdout]   --> src/instr/decoding.rs:87:7
[INFO] [stdout]    |
[INFO] [stdout] 87 | const JUMP_OP:   u32 = 0b1101111;
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `JUMPL_OP` is never used
[INFO] [stdout]   --> src/instr/decoding.rs:88:7
[INFO] [stdout]    |
[INFO] [stdout] 88 | const JUMPL_OP:  u32 = 0b1100111;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LOADUI_OP` is never used
[INFO] [stdout]   --> src/instr/decoding.rs:89:7
[INFO] [stdout]    |
[INFO] [stdout] 89 | const LOADUI_OP: u32 = 0b0110111;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `AUIPC_OP` is never used
[INFO] [stdout]   --> src/instr/decoding.rs:90:7
[INFO] [stdout]    |
[INFO] [stdout] 90 | const AUIPC_OP:  u32 = 0b0010111;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ENV_OP` is never used
[INFO] [stdout]   --> src/instr/decoding.rs:91:7
[INFO] [stdout]    |
[INFO] [stdout] 91 | const ENV_OP:    u32 = 0b1110011;
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:145:4
[INFO] [stdout]     |
[INFO] [stdout] 145 | fn decode(instr: u32) -> RV32I {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_ADD` is never used
[INFO] [stdout]   --> src/instr/decoding.rs:94:15
[INFO] [stdout]    |
[INFO] [stdout] 94 |     pub const FUNCT3_ADD:  u32 = 0x0;
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT7_ADD` is never used
[INFO] [stdout]   --> src/instr/decoding.rs:95:15
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub const FUNCT7_ADD:  u32 = 0x00;
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_SUB` is never used
[INFO] [stdout]   --> src/instr/decoding.rs:96:15
[INFO] [stdout]    |
[INFO] [stdout] 96 |     pub const FUNCT3_SUB:  u32 = 0x0;
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT7_SUB` is never used
[INFO] [stdout]   --> src/instr/decoding.rs:97:15
[INFO] [stdout]    |
[INFO] [stdout] 97 |     pub const FUNCT7_SUB:  u32 = 0x20;
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_XOR` is never used
[INFO] [stdout]   --> src/instr/decoding.rs:98:15
[INFO] [stdout]    |
[INFO] [stdout] 98 |     pub const FUNCT3_XOR:  u32 = 0x4;
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT7_XOR` is never used
[INFO] [stdout]   --> src/instr/decoding.rs:99:15
[INFO] [stdout]    |
[INFO] [stdout] 99 |     pub const FUNCT7_XOR:  u32 = 0x00;
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_OR` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:100:15
[INFO] [stdout]     |
[INFO] [stdout] 100 |     pub const FUNCT3_OR:   u32 = 0x6;
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT7_OR` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:101:15
[INFO] [stdout]     |
[INFO] [stdout] 101 |     pub const FUNCT7_OR:   u32 = 0x00;
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_AND` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:102:15
[INFO] [stdout]     |
[INFO] [stdout] 102 |     pub const FUNCT3_AND:  u32 = 0x7;
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT7_AND` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:103:15
[INFO] [stdout]     |
[INFO] [stdout] 103 |     pub const FUNCT7_AND:  u32 = 0x00;
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_SLL` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:104:15
[INFO] [stdout]     |
[INFO] [stdout] 104 |     pub const FUNCT3_SLL:  u32 = 0x1;
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT7_SLL` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:105:15
[INFO] [stdout]     |
[INFO] [stdout] 105 |     pub const FUNCT7_SLL:  u32 = 0x00;
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_SRL` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:106:15
[INFO] [stdout]     |
[INFO] [stdout] 106 |     pub const FUNCT3_SRL:  u32 = 0x5;
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT7_SRL` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:107:15
[INFO] [stdout]     |
[INFO] [stdout] 107 |     pub const FUNCT7_SRL:  u32 = 0x00;
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_SRA` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:108:15
[INFO] [stdout]     |
[INFO] [stdout] 108 |     pub const FUNCT3_SRA:  u32 = 0x5;
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT7_SRA` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:109:15
[INFO] [stdout]     |
[INFO] [stdout] 109 |     pub const FUNCT7_SRA:  u32 = 0x20;
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_SLT` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:110:15
[INFO] [stdout]     |
[INFO] [stdout] 110 |     pub const FUNCT3_SLT:  u32 = 0x2;
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT7_SLT` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:111:15
[INFO] [stdout]     |
[INFO] [stdout] 111 |     pub const FUNCT7_SLT:  u32 = 0x00;
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_SLTU` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:112:15
[INFO] [stdout]     |
[INFO] [stdout] 112 |     pub const FUNCT3_SLTU: u32 = 0x3;
[INFO] [stdout]     |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT7_SLTU` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:113:15
[INFO] [stdout]     |
[INFO] [stdout] 113 |     pub const FUNCT7_SLTU: u32 = 0x00;
[INFO] [stdout]     |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_ADDI` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:115:15
[INFO] [stdout]     |
[INFO] [stdout] 115 |     pub const FUNCT3_ADDI:  u32 = 0x0;
[INFO] [stdout]     |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_XORI` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:116:15
[INFO] [stdout]     |
[INFO] [stdout] 116 |     pub const FUNCT3_XORI:  u32 = 0x4;
[INFO] [stdout]     |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_ORI` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:117:15
[INFO] [stdout]     |
[INFO] [stdout] 117 |     pub const FUNCT3_ORI:   u32 = 0x6;
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_ANDI` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:118:15
[INFO] [stdout]     |
[INFO] [stdout] 118 |     pub const FUNCT3_ANDI:  u32 = 0x7;
[INFO] [stdout]     |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_SLLI` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:119:15
[INFO] [stdout]     |
[INFO] [stdout] 119 |     pub const FUNCT3_SLLI:  u32 = 0x1;
[INFO] [stdout]     |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_SRLI` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:120:15
[INFO] [stdout]     |
[INFO] [stdout] 120 |     pub const FUNCT3_SRLI:  u32 = 0x5;
[INFO] [stdout]     |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_SRAI` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:121:15
[INFO] [stdout]     |
[INFO] [stdout] 121 |     pub const FUNCT3_SRAI:  u32 = 0x5;
[INFO] [stdout]     |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_SLTI` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:122:15
[INFO] [stdout]     |
[INFO] [stdout] 122 |     pub const FUNCT3_SLTI:  u32 = 0x2;
[INFO] [stdout]     |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_SLTIU` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:123:15
[INFO] [stdout]     |
[INFO] [stdout] 123 |     pub const FUNCT3_SLTIU: u32 = 0x3;
[INFO] [stdout]     |               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_LB` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:125:15
[INFO] [stdout]     |
[INFO] [stdout] 125 |     pub const FUNCT3_LB:  u32 = 0x0;
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_LH` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:126:15
[INFO] [stdout]     |
[INFO] [stdout] 126 |     pub const FUNCT3_LH:  u32 = 0x1;
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_LW` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:127:15
[INFO] [stdout]     |
[INFO] [stdout] 127 |     pub const FUNCT3_LW:  u32 = 0x2;
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_LBU` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:128:15
[INFO] [stdout]     |
[INFO] [stdout] 128 |     pub const FUNCT3_LBU: u32 = 0x4;
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_LHU` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:129:15
[INFO] [stdout]     |
[INFO] [stdout] 129 |     pub const FUNCT3_LHU: u32 = 0x5;
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_SB` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:131:15
[INFO] [stdout]     |
[INFO] [stdout] 131 |     pub const FUNCT3_SB:  u32 = 0x0;
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_SH` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:132:15
[INFO] [stdout]     |
[INFO] [stdout] 132 |     pub const FUNCT3_SH:  u32 = 0x1;
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_SW` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:133:15
[INFO] [stdout]     |
[INFO] [stdout] 133 |     pub const FUNCT3_SW:  u32 = 0x2;
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_BEQ` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:135:15
[INFO] [stdout]     |
[INFO] [stdout] 135 |     pub const FUNCT3_BEQ:  u32 = 0x0;
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_BNE` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:136:15
[INFO] [stdout]     |
[INFO] [stdout] 136 |     pub const FUNCT3_BNE:  u32 = 0x1;
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_BLT` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:137:15
[INFO] [stdout]     |
[INFO] [stdout] 137 |     pub const FUNCT3_BLT:  u32 = 0x4;
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_BGE` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:138:15
[INFO] [stdout]     |
[INFO] [stdout] 138 |     pub const FUNCT3_BGE:  u32 = 0x5;
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_BLTU` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:139:15
[INFO] [stdout]     |
[INFO] [stdout] 139 |     pub const FUNCT3_BLTU: u32 = 0x6;
[INFO] [stdout]     |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCT3_BGEU` is never used
[INFO] [stdout]    --> src/instr/decoding.rs:140:15
[INFO] [stdout]     |
[INFO] [stdout] 140 |     pub const FUNCT3_BGEU: u32 = 0x7;
[INFO] [stdout]     |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Machine` is never constructed
[INFO] [stdout]   --> src/fivestage/mod.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Machine<const MEM_SIZE: usize> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `registers`, `memory`, `pc`, and `pipleline` are never read
[INFO] [stdout]   --> src/fivestage/mod.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Machine<const MEM_SIZE: usize> {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 17 |     registers: [Register; 32],
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 18 |     memory:    Box<[u8; MEM_SIZE]>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 19 |     pc: usize,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 20 |     pipleline: Pipeline
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/fivestage/mod.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct Pipeline {
[INFO] [stdout]    |        -------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 28 |     dependencies: Vec<Reg>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 29 |     // During decode, these are set 
[INFO] [stdout] 30 |     vals1: u32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 31 |     vals2: u32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     valres: u32,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 35 |     // set during memory access. res1 is used for the WB stage
[INFO] [stdout] 36 |     valmem: u32,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 37 |     valres1: u32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 38 |
[INFO] [stdout] 39 |     fetch:     Vec<Option<u32>>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 40 |     decode:    Vec<Option<RV32I>>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 41 |     // u32 for reg WB, opt for PC writeback
[INFO] [stdout] 42 |     value:     Vec<Option<(u32, Option<u32>)>>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 43 |     memory:    Vec<Option<MemoryAccess>>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 44 |     writeback: Vec<Option<WriteBack>>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Read`, `Write`, and `None` are never constructed
[INFO] [stdout]   --> src/fivestage/mod.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 47 | enum MemoryAccess {
[INFO] [stdout]    |      ------------ variants in this enum
[INFO] [stdout] 48 |     Read(Reg),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 49 |     Write(Reg),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 50 |     None,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/fivestage/mod.rs:53:18
[INFO] [stdout]    |
[INFO] [stdout] 53 | struct WriteBack(Reg);
[INFO] [stdout]    |        --------- ^^^
[INFO] [stdout]    |        |
[INFO] [stdout]    |        field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/tailcall/mod.rs:24:22
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct Exception(Address, ExceptionType);
[INFO] [stdout]    |            --------- ^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            fields in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing these fields
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `ecall` and `ebreak` are never used
[INFO] [stdout]    --> src/tailcall/mod.rs:222:8
[INFO] [stdout]     |
[INFO] [stdout]  28 | impl Machine {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 222 |     fn ecall (&mut self, pc: Pc) -> MachineResult { todo!() }
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 223 |     fn ebreak(&mut self, pc: Pc) -> MachineResult { todo!() }
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/tailcall/ram.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl Ram {
[INFO] [stdout]    | -------- associated function in this implementation
[INFO] [stdout] 22 |     fn new() -> Ram {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `jiscv` (lib) due to 1 previous error; 73 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "32ea921461f83980f3fed8b7638bf66d35c64fc383912632595517b0247044d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "32ea921461f83980f3fed8b7638bf66d35c64fc383912632595517b0247044d6", kill_on_drop: false }`
[INFO] [stdout] 32ea921461f83980f3fed8b7638bf66d35c64fc383912632595517b0247044d6
