[INFO] cloning repository https://github.com/kjh618/riscv-simulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kjh618/riscv-simulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkjh618%2Friscv-simulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkjh618%2Friscv-simulator'... [INFO] [stderr] error: unable to create temporary file: No space left on device [INFO] [stderr] fatal: failed to write object [INFO] [stderr] fatal: unpack-objects failed [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/kjh618/riscv-simulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kjh618/riscv-simulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkjh618%2Friscv-simulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkjh618%2Friscv-simulator'... [INFO] [stderr] error: file write error: No space left on device [INFO] [stderr] fatal: unable to write loose object file [INFO] [stderr] fatal: unpack-objects failed [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/kjh618/riscv-simulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kjh618/riscv-simulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkjh618%2Friscv-simulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkjh618%2Friscv-simulator'... [INFO] [stderr] error: unable to create temporary file: No space left on device [INFO] [stderr] fatal: failed to write object [INFO] [stderr] fatal: unpack-objects failed [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/kjh618/riscv-simulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kjh618/riscv-simulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkjh618%2Friscv-simulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkjh618%2Friscv-simulator'... [INFO] [stderr] error: unable to create temporary file: No space left on device [INFO] [stderr] fatal: failed to write object [INFO] [stderr] fatal: unpack-objects failed [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/kjh618/riscv-simulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kjh618/riscv-simulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkjh618%2Friscv-simulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkjh618%2Friscv-simulator'... [INFO] [stderr] error: file write error: No space left on device [INFO] [stderr] fatal: unable to write loose object file [INFO] [stderr] fatal: unpack-objects failed [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/kjh618/riscv-simulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kjh618/riscv-simulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkjh618%2Friscv-simulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkjh618%2Friscv-simulator'... [INFO] [stderr] error: unable to create temporary file: No space left on device [INFO] [stderr] fatal: failed to write object [INFO] [stderr] fatal: unpack-objects failed [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/kjh618/riscv-simulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kjh618/riscv-simulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkjh618%2Friscv-simulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkjh618%2Friscv-simulator'... [INFO] [stderr] error: file write error: No space left on device [INFO] [stderr] fatal: unable to write loose object file [INFO] [stderr] fatal: unpack-objects failed [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/kjh618/riscv-simulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kjh618/riscv-simulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkjh618%2Friscv-simulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkjh618%2Friscv-simulator'... [INFO] [stderr] error: file write error: No space left on device [INFO] [stderr] fatal: unable to write loose object file [INFO] [stderr] fatal: unpack-objects failed [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/kjh618/riscv-simulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kjh618/riscv-simulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkjh618%2Friscv-simulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkjh618%2Friscv-simulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3c48bab72f1c7a77006b3738f72671a0b8d2d636 [INFO] checking kjh618/riscv-simulator against master#bd71213cf0a765705e7d72a099151bd4eb465ccb for pr-123864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkjh618%2Friscv-simulator" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kjh618/riscv-simulator on toolchain bd71213cf0a765705e7d72a099151bd4eb465ccb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd71213cf0a765705e7d72a099151bd4eb465ccb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kjh618/riscv-simulator [INFO] finished tweaking git repo https://github.com/kjh618/riscv-simulator [INFO] tweaked toml for git repo https://github.com/kjh618/riscv-simulator written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kjh618/riscv-simulator 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" "+bd71213cf0a765705e7d72a099151bd4eb465ccb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+bd71213cf0a765705e7d72a099151bd4eb465ccb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c44d4ce799d4f0c76c432c506a5d1bd324424a550cad3653c587a80ec7c5449a [INFO] running `Command { std: "docker" "start" "-a" "c44d4ce799d4f0c76c432c506a5d1bd324424a550cad3653c587a80ec7c5449a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c44d4ce799d4f0c76c432c506a5d1bd324424a550cad3653c587a80ec7c5449a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c44d4ce799d4f0c76c432c506a5d1bd324424a550cad3653c587a80ec7c5449a", kill_on_drop: false }` [INFO] [stdout] c44d4ce799d4f0c76c432c506a5d1bd324424a550cad3653c587a80ec7c5449a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+bd71213cf0a765705e7d72a099151bd4eb465ccb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a78de7e2f82cd02e9f4d7e8dbe2377c9118428c94a67b06a905d2b398382b421 [INFO] running `Command { std: "docker" "start" "-a" "a78de7e2f82cd02e9f4d7e8dbe2377c9118428c94a67b06a905d2b398382b421", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Checking pest v2.1.3 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking riscv-simulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/ast.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Register { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 6 | pub index: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Register` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | Label(&'a str), [INFO] [stdout] | ----- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 | Label(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | Offset(i32), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 | Offset(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `offset` and `base` are never read [INFO] [stdout] --> src/ast.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Address { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 17 | pub offset: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | pub base: Register, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Address` 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: fields `0` and `1` are never read [INFO] [stdout] --> src/ast.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | Lui(Register, u32), [INFO] [stdout] | --- ^^^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 43 | Lui((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/ast.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | Auipc(Register, u32), [INFO] [stdout] | ----- ^^^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 44 | Auipc((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/ast.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | Jal(Register, JumpTarget<'a>), [INFO] [stdout] | --- ^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 45 | Jal((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/ast.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Register { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 6 | pub index: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Register` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/ast.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | Jalr(Register, Register, i32), [INFO] [stdout] | ---- ^^^^^^^^ ^^^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 46 | Jalr((), (), ()), [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | Label(&'a str), [INFO] [stdout] | ----- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 | Label(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read [INFO] [stdout] --> src/ast.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | Branch(BranchCondition, Register, Register, JumpTarget<'a>), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 47 | Branch((), (), (), ()), [INFO] [stdout] | ~~ ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | Offset(i32), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 | Offset(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/ast.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | Load(LoadWidth, Register, Address), [INFO] [stdout] | ---- ^^^^^^^^^ ^^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 48 | Load((), (), ()), [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `offset` and `base` are never read [INFO] [stdout] --> src/ast.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Address { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 17 | pub offset: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | pub base: Register, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Address` 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: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/ast.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | Store(StoreWidth, Register, Address), [INFO] [stdout] | ----- ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 49 | Store((), (), ()), [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/ast.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | Lui(Register, u32), [INFO] [stdout] | --- ^^^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 43 | Lui((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read [INFO] [stdout] --> src/ast.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | IntegerImmediate(IntegerImmediateOperation, Register, Register, i32), [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 50 | IntegerImmediate((), (), (), ()), [INFO] [stdout] | ~~ ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/ast.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | Auipc(Register, u32), [INFO] [stdout] | ----- ^^^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 44 | Auipc((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read [INFO] [stdout] --> src/ast.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | IntegerRegister(IntegerRegisterOperation, Register, Register, Register), [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 51 | IntegerRegister((), (), (), ()), [INFO] [stdout] | ~~ ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/ast.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | Jal(Register, JumpTarget<'a>), [INFO] [stdout] | --- ^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 45 | Jal((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `memory` is never read [INFO] [stdout] --> src/simulator.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct DataMemory { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 18 | memory: [u8; DataMemory::SIZE], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataMemory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pc`, `register`, `instruction_memory`, `data_memory`, and `label_to_address` are never read [INFO] [stdout] --> src/simulator.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct State<'a> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 23 | pc: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 24 | register: RegisterFile, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 25 | instruction_memory: InstructionMemory<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | data_memory: DataMemory, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 27 | label_to_address: HashMap<&'a str, u32>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/ast.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | Jalr(Register, Register, i32), [INFO] [stdout] | ---- ^^^^^^^^ ^^^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 46 | Jalr((), (), ()), [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `translate`, `load`, and `store` are never used [INFO] [stdout] --> src/simulator.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 91 | impl DataMemory { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | fn translate(address: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | fn load(&self, byte_enable: u8, address: u32) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | fn store(&mut self, byte_enable: u8, address: u32, value: u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `address_add_offset` and `next` are never used [INFO] [stdout] --> src/simulator.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 133 | impl<'a> State<'a> { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 146 | fn address_add_offset(address: u32, offset: i32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn next(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read [INFO] [stdout] --> src/ast.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | Branch(BranchCondition, Register, Register, JumpTarget<'a>), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 47 | Branch((), (), (), ()), [INFO] [stdout] | ~~ ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/ast.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | Load(LoadWidth, Register, Address), [INFO] [stdout] | ---- ^^^^^^^^^ ^^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 48 | Load((), (), ()), [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/ast.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | Store(StoreWidth, Register, Address), [INFO] [stdout] | ----- ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 49 | Store((), (), ()), [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read [INFO] [stdout] --> src/ast.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | IntegerImmediate(IntegerImmediateOperation, Register, Register, i32), [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 50 | IntegerImmediate((), (), (), ()), [INFO] [stdout] | ~~ ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read [INFO] [stdout] --> src/ast.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | IntegerRegister(IntegerRegisterOperation, Register, Register, Register), [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 51 | IntegerRegister((), (), (), ()), [INFO] [stdout] | ~~ ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `memory` is never read [INFO] [stdout] --> src/simulator.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct DataMemory { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 18 | memory: [u8; DataMemory::SIZE], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataMemory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pc`, `register`, `instruction_memory`, `data_memory`, and `label_to_address` are never read [INFO] [stdout] --> src/simulator.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct State<'a> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 23 | pc: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 24 | register: RegisterFile, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 25 | instruction_memory: InstructionMemory<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | data_memory: DataMemory, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 27 | label_to_address: HashMap<&'a str, u32>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `translate`, `load`, and `store` are never used [INFO] [stdout] --> src/simulator.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 91 | impl DataMemory { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | fn translate(address: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | fn load(&self, byte_enable: u8, address: u32) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | fn store(&mut self, byte_enable: u8, address: u32, value: u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `address_add_offset` and `next` are never used [INFO] [stdout] --> src/simulator.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 133 | impl<'a> State<'a> { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 146 | fn address_add_offset(address: u32, offset: i32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn next(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.44s [INFO] running `Command { std: "docker" "inspect" "a78de7e2f82cd02e9f4d7e8dbe2377c9118428c94a67b06a905d2b398382b421", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a78de7e2f82cd02e9f4d7e8dbe2377c9118428c94a67b06a905d2b398382b421", kill_on_drop: false }` [INFO] [stdout] a78de7e2f82cd02e9f4d7e8dbe2377c9118428c94a67b06a905d2b398382b421