[INFO] cloning repository https://github.com/atraber/rust-riscv-sim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/atraber/rust-riscv-sim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatraber%2Frust-riscv-sim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatraber%2Frust-riscv-sim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 028e59ceb8bf5c2b1a7cd4c5e1e1d80148e678f9 [INFO] checking atraber/rust-riscv-sim against master#e9271846294c4ee5bd7706df68180320c0b5ff20 for pr-119825 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatraber%2Frust-riscv-sim" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/atraber/rust-riscv-sim on toolchain e9271846294c4ee5bd7706df68180320c0b5ff20 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9271846294c4ee5bd7706df68180320c0b5ff20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/atraber/rust-riscv-sim [INFO] finished tweaking git repo https://github.com/atraber/rust-riscv-sim [INFO] tweaked toml for git repo https://github.com/atraber/rust-riscv-sim written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/atraber/rust-riscv-sim 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" "+e9271846294c4ee5bd7706df68180320c0b5ff20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 atraber/rust-riscv-sim against try#925e66ec5d7d73da31ddd13e53f21e4674feb4ba for pr-119825 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatraber%2Frust-riscv-sim" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/atraber/rust-riscv-sim on toolchain 925e66ec5d7d73da31ddd13e53f21e4674feb4ba [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+925e66ec5d7d73da31ddd13e53f21e4674feb4ba" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/atraber/rust-riscv-sim [INFO] finished tweaking git repo https://github.com/atraber/rust-riscv-sim [INFO] tweaked toml for git repo https://github.com/atraber/rust-riscv-sim written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/atraber/rust-riscv-sim 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" "+925e66ec5d7d73da31ddd13e53f21e4674feb4ba" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/cole14/rust-elf` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking atraber/rust-riscv-sim against try#925e66ec5d7d73da31ddd13e53f21e4674feb4ba for pr-119825 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatraber%2Frust-riscv-sim" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/atraber/rust-riscv-sim on toolchain 925e66ec5d7d73da31ddd13e53f21e4674feb4ba [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+925e66ec5d7d73da31ddd13e53f21e4674feb4ba" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/atraber/rust-riscv-sim [INFO] finished tweaking git repo https://github.com/atraber/rust-riscv-sim [INFO] tweaked toml for git repo https://github.com/atraber/rust-riscv-sim written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/atraber/rust-riscv-sim 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" "+925e66ec5d7d73da31ddd13e53f21e4674feb4ba" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+925e66ec5d7d73da31ddd13e53f21e4674feb4ba" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9243081c909a19cfcad630705d29f63da6536a58717b4f9b7c8929ed3450bd3 [INFO] running `Command { std: "docker" "start" "-a" "a9243081c909a19cfcad630705d29f63da6536a58717b4f9b7c8929ed3450bd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9243081c909a19cfcad630705d29f63da6536a58717b4f9b7c8929ed3450bd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9243081c909a19cfcad630705d29f63da6536a58717b4f9b7c8929ed3450bd3", kill_on_drop: false }` [INFO] [stdout] a9243081c909a19cfcad630705d29f63da6536a58717b4f9b7c8929ed3450bd3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+925e66ec5d7d73da31ddd13e53f21e4674feb4ba" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c24d63fa8cb5f69dde70dd9b8b38a0d8f7a7264fefd3d3c20625c519f0e4b4b [INFO] running `Command { std: "docker" "start" "-a" "7c24d63fa8cb5f69dde70dd9b8b38a0d8f7a7264fefd3d3c20625c519f0e4b4b", kill_on_drop: false }` [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Checking elf v0.0.10 (https://github.com/cole14/rust-elf#44654da0) [INFO] [stderr] Checking riscv-sim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:238:18 [INFO] [stdout] | [INFO] [stdout] 238 | let imm0_5 = ((insn >> 2) & 0x1F); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 238 - let imm0_5 = ((insn >> 2) & 0x1F); [INFO] [stdout] 238 + let imm0_5 = (insn >> 2) & 0x1F; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:238:18 [INFO] [stdout] | [INFO] [stdout] 238 | let imm0_5 = ((insn >> 2) & 0x1F); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 238 - let imm0_5 = ((insn >> 2) & 0x1F); [INFO] [stdout] 238 + let imm0_5 = (insn >> 2) & 0x1F; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/elf.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | Err(err) => println!("Failed to write to addr 0x{:X}", section.shdr.addr + i), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | for i in 0..100 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/elf.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | Err(err) => println!("Failed to write to addr 0x{:X}", section.shdr.addr + i), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | for i in 0..100 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:339:13 [INFO] [stdout] | [INFO] [stdout] 339 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:392:21 [INFO] [stdout] | [INFO] [stdout] 392 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:415:20 [INFO] [stdout] | [INFO] [stdout] 415 | Ok(data) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:416:21 [INFO] [stdout] | [INFO] [stdout] 416 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rs2` [INFO] [stdout] --> src/main.rs:434:26 [INFO] [stdout] | [INFO] [stdout] 434 | let (funct7, rs2, rs1, funct3, rd) = decode_r_type(insn); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rs2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rs1` [INFO] [stdout] --> src/main.rs:434:31 [INFO] [stdout] | [INFO] [stdout] 434 | let (funct7, rs2, rs1, funct3, rd) = decode_r_type(insn); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rs1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `funct3` [INFO] [stdout] --> src/main.rs:434:36 [INFO] [stdout] | [INFO] [stdout] 434 | let (funct7, rs2, rs1, funct3, rd) = decode_r_type(insn); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_funct3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rd` [INFO] [stdout] --> src/main.rs:434:44 [INFO] [stdout] | [INFO] [stdout] 434 | let (funct7, rs2, rs1, funct3, rd) = decode_r_type(insn); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rs1` [INFO] [stdout] --> src/main.rs:446:23 [INFO] [stdout] | [INFO] [stdout] 446 | let (imm, rs1, funct3, rd) = decode_i_type(insn); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rs1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rs1` [INFO] [stdout] --> src/main.rs:460:23 [INFO] [stdout] | [INFO] [stdout] 460 | let (imm, rs1, funct3, rd) = decode_i_type(insn); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rs1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fpr` and `spr` are never read [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct CpuRegisters { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | fpr: [u64; 32], // TODO: currently unused [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | spr: [u64; 4096], [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_sb_type` is never used [INFO] [stdout] --> src/main.rs:191:4 [INFO] [stdout] | [INFO] [stdout] 191 | fn decode_sb_type(insn: u32) -> (i16, usize, usize, u8) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_uj_type` is never used [INFO] [stdout] --> src/main.rs:213:4 [INFO] [stdout] | [INFO] [stdout] 213 | fn decode_uj_type(insn: u32) -> (u32, usize) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_cr_type` is never used [INFO] [stdout] --> src/main.rs:225:4 [INFO] [stdout] | [INFO] [stdout] 225 | fn decode_cr_type(insn: u32) -> (u8, usize, usize) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_ci_type` is never used [INFO] [stdout] --> src/main.rs:234:4 [INFO] [stdout] | [INFO] [stdout] 234 | fn decode_ci_type(insn: u32) -> (u8, i16, usize) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_css_type` is never used [INFO] [stdout] --> src/main.rs:246:4 [INFO] [stdout] | [INFO] [stdout] 246 | fn decode_css_type(insn: u32) -> (u8, i16, usize) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_ciw_type` is never used [INFO] [stdout] --> src/main.rs:255:4 [INFO] [stdout] | [INFO] [stdout] 255 | fn decode_ciw_type(insn: u32) -> (u8, i16, usize) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_cl_type` is never used [INFO] [stdout] --> src/main.rs:264:4 [INFO] [stdout] | [INFO] [stdout] 264 | fn decode_cl_type(insn: u32) -> (u8, i16, usize, usize) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_cs_type` is never used [INFO] [stdout] --> src/main.rs:277:4 [INFO] [stdout] | [INFO] [stdout] 277 | fn decode_cs_type(insn: u32) -> (u8, i16, usize, usize) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_cb_type` is never used [INFO] [stdout] --> src/main.rs:283:4 [INFO] [stdout] | [INFO] [stdout] 283 | fn decode_cb_type(insn: u32) -> (u8, i16, usize) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_cj_type` is never used [INFO] [stdout] --> src/main.rs:295:4 [INFO] [stdout] | [INFO] [stdout] 295 | fn decode_cj_type(insn: u32) -> (u8, i16) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:339:13 [INFO] [stdout] | [INFO] [stdout] 339 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:392:21 [INFO] [stdout] | [INFO] [stdout] 392 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:415:20 [INFO] [stdout] | [INFO] [stdout] 415 | Ok(data) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:416:21 [INFO] [stdout] | [INFO] [stdout] 416 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rs2` [INFO] [stdout] --> src/main.rs:434:26 [INFO] [stdout] | [INFO] [stdout] 434 | let (funct7, rs2, rs1, funct3, rd) = decode_r_type(insn); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rs2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rs1` [INFO] [stdout] --> src/main.rs:434:31 [INFO] [stdout] | [INFO] [stdout] 434 | let (funct7, rs2, rs1, funct3, rd) = decode_r_type(insn); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rs1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `funct3` [INFO] [stdout] --> src/main.rs:434:36 [INFO] [stdout] | [INFO] [stdout] 434 | let (funct7, rs2, rs1, funct3, rd) = decode_r_type(insn); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_funct3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rd` [INFO] [stdout] --> src/main.rs:434:44 [INFO] [stdout] | [INFO] [stdout] 434 | let (funct7, rs2, rs1, funct3, rd) = decode_r_type(insn); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rs1` [INFO] [stdout] --> src/main.rs:446:23 [INFO] [stdout] | [INFO] [stdout] 446 | let (imm, rs1, funct3, rd) = decode_i_type(insn); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rs1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rs1` [INFO] [stdout] --> src/main.rs:460:23 [INFO] [stdout] | [INFO] [stdout] 460 | let (imm, rs1, funct3, rd) = decode_i_type(insn); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rs1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fpr` and `spr` are never read [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct CpuRegisters { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | fpr: [u64; 32], // TODO: currently unused [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | spr: [u64; 4096], [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_sb_type` is never used [INFO] [stdout] --> src/main.rs:191:4 [INFO] [stdout] | [INFO] [stdout] 191 | fn decode_sb_type(insn: u32) -> (i16, usize, usize, u8) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_uj_type` is never used [INFO] [stdout] --> src/main.rs:213:4 [INFO] [stdout] | [INFO] [stdout] 213 | fn decode_uj_type(insn: u32) -> (u32, usize) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_cr_type` is never used [INFO] [stdout] --> src/main.rs:225:4 [INFO] [stdout] | [INFO] [stdout] 225 | fn decode_cr_type(insn: u32) -> (u8, usize, usize) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_ci_type` is never used [INFO] [stdout] --> src/main.rs:234:4 [INFO] [stdout] | [INFO] [stdout] 234 | fn decode_ci_type(insn: u32) -> (u8, i16, usize) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_css_type` is never used [INFO] [stdout] --> src/main.rs:246:4 [INFO] [stdout] | [INFO] [stdout] 246 | fn decode_css_type(insn: u32) -> (u8, i16, usize) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_ciw_type` is never used [INFO] [stdout] --> src/main.rs:255:4 [INFO] [stdout] | [INFO] [stdout] 255 | fn decode_ciw_type(insn: u32) -> (u8, i16, usize) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_cl_type` is never used [INFO] [stdout] --> src/main.rs:264:4 [INFO] [stdout] | [INFO] [stdout] 264 | fn decode_cl_type(insn: u32) -> (u8, i16, usize, usize) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_cs_type` is never used [INFO] [stdout] --> src/main.rs:277:4 [INFO] [stdout] | [INFO] [stdout] 277 | fn decode_cs_type(insn: u32) -> (u8, i16, usize, usize) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_cb_type` is never used [INFO] [stdout] --> src/main.rs:283:4 [INFO] [stdout] | [INFO] [stdout] 283 | fn decode_cb_type(insn: u32) -> (u8, i16, usize) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_cj_type` is never used [INFO] [stdout] --> src/main.rs:295:4 [INFO] [stdout] | [INFO] [stdout] 295 | fn decode_cj_type(insn: u32) -> (u8, i16) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.47s [INFO] running `Command { std: "docker" "inspect" "7c24d63fa8cb5f69dde70dd9b8b38a0d8f7a7264fefd3d3c20625c519f0e4b4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c24d63fa8cb5f69dde70dd9b8b38a0d8f7a7264fefd3d3c20625c519f0e4b4b", kill_on_drop: false }` [INFO] [stdout] 7c24d63fa8cb5f69dde70dd9b8b38a0d8f7a7264fefd3d3c20625c519f0e4b4b