[INFO] cloning repository https://github.com/dernatsch/nrv64emu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dernatsch/nrv64emu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdernatsch%2Fnrv64emu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdernatsch%2Fnrv64emu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4bc16b1e37744ff2acfa1629667b2a41608b86b0 [INFO] checking dernatsch/nrv64emu against try#446cb600aa4837dd6c513f14fa0d25a909b177d7 for pr-149195 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdernatsch%2Fnrv64emu" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dernatsch/nrv64emu [INFO] finished tweaking git repo https://github.com/dernatsch/nrv64emu [INFO] tweaked toml for git repo https://github.com/dernatsch/nrv64emu written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dernatsch/nrv64emu on toolchain 446cb600aa4837dd6c513f14fa0d25a909b177d7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dernatsch/nrv64emu 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" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a734ed87745d842e6933cc0e1e6cae7371d6e0a81cbe0be31063f5140a1754c5 [INFO] running `Command { std: "docker" "start" "-a" "a734ed87745d842e6933cc0e1e6cae7371d6e0a81cbe0be31063f5140a1754c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a734ed87745d842e6933cc0e1e6cae7371d6e0a81cbe0be31063f5140a1754c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a734ed87745d842e6933cc0e1e6cae7371d6e0a81cbe0be31063f5140a1754c5", kill_on_drop: false }` [INFO] [stdout] a734ed87745d842e6933cc0e1e6cae7371d6e0a81cbe0be31063f5140a1754c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1fc73c138c4a50cb9a1881b9e41f87eb1fed1411feded87581ff2179db2460a5 [INFO] running `Command { std: "docker" "start" "-a" "1fc73c138c4a50cb9a1881b9e41f87eb1fed1411feded87581ff2179db2460a5", kill_on_drop: false }` [INFO] [stderr] Checking nrv64emu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/cpu.rs:184:29 [INFO] [stdout] | [INFO] [stdout] 184 | fn store_u16(&mut self, address: u64, value: u16) -> bool { unimplemented!("store_u16") } [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/cpu.rs:184:43 [INFO] [stdout] | [INFO] [stdout] 184 | fn store_u16(&mut self, address: u64, value: u16) -> bool { unimplemented!("store_u16") } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/cpu.rs:184:29 [INFO] [stdout] | [INFO] [stdout] 184 | fn store_u16(&mut self, address: u64, value: u16) -> bool { unimplemented!("store_u16") } [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/cpu.rs:184:43 [INFO] [stdout] | [INFO] [stdout] 184 | fn store_u16(&mut self, address: u64, value: u16) -> bool { unimplemented!("store_u16") } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/cpu.rs:236:28 [INFO] [stdout] | [INFO] [stdout] 236 | fn load_u16(&mut self, address: u64) -> Option { unimplemented!("load_u16") } [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/cpu.rs:236:28 [INFO] [stdout] | [INFO] [stdout] 236 | fn load_u16(&mut self, address: u64) -> Option { unimplemented!("load_u16") } [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cpu.rs:487:31 [INFO] [stdout] | [INFO] [stdout] 487 | Instruction::Mret(i) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cpu.rs:487:31 [INFO] [stdout] | [INFO] [stdout] 487 | Instruction::Mret(i) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imm` [INFO] [stdout] --> src/decoder.rs:268:29 [INFO] [stdout] | [INFO] [stdout] 268 | let imm = it.imm & 0x1F; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_imm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLINT_BASE` is never used [INFO] [stdout] --> src/cpu.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const CLINT_BASE: u64 = 0x02000000; [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 `PLIC_BASE` is never used [INFO] [stdout] --> src/cpu.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const PLIC_BASE: u64 = 0x0C000000; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VIRTIO_DISK_BASE` is never used [INFO] [stdout] --> src/cpu.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const VIRTIO_DISK_BASE: u64 = 0x10001000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VIRTIO_NET_BASE` is never used [INFO] [stdout] --> src/cpu.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const VIRTIO_NET_BASE: u64 = 0x10001000; //XXX: enough distance? [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MISA_RV64G` is never used [INFO] [stdout] --> src/cpu.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | const MISA_RV64G: u64 = (2 << 62) // XLEN=64 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `opcode` is never read [INFO] [stdout] --> src/decoder.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct RType { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 3 | pub opcode: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RType` 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: field `opcode` is never read [INFO] [stdout] --> src/decoder.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct IType { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 34 | pub opcode: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IType` 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: field `opcode` is never read [INFO] [stdout] --> src/decoder.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct SType { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 61 | pub opcode: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SType` 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: field `opcode` is never read [INFO] [stdout] --> src/decoder.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct BType { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 90 | pub opcode: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BType` 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: field `opcode` is never read [INFO] [stdout] --> src/decoder.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct UType { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 118 | pub opcode: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UType` 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: field `opcode` is never read [INFO] [stdout] --> src/decoder.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct JType { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 138 | pub opcode: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JType` 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: field `0` is never read [INFO] [stdout] --> src/decoder.rs:166:10 [INFO] [stdout] | [INFO] [stdout] 166 | Srai(IType), [INFO] [stdout] | ---- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] 166 - Srai(IType), [INFO] [stdout] 166 + Srai(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/decoder.rs:168:10 [INFO] [stdout] | [INFO] [stdout] 168 | Xori(IType), [INFO] [stdout] | ---- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] 168 - Xori(IType), [INFO] [stdout] 168 + Xori(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/decoder.rs:180:10 [INFO] [stdout] | [INFO] [stdout] 180 | Sret(IType), [INFO] [stdout] | ---- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] 180 - Sret(IType), [INFO] [stdout] 180 + Sret(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/decoder.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | Wfi(IType), [INFO] [stdout] | --- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] 181 - Wfi(IType), [INFO] [stdout] 181 + Wfi(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/decoder.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | Sll(RType), [INFO] [stdout] | --- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] 186 - Sll(RType), [INFO] [stdout] 186 + Sll(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imm` [INFO] [stdout] --> src/decoder.rs:268:29 [INFO] [stdout] | [INFO] [stdout] 268 | let imm = it.imm & 0x1F; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_imm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/decoder.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | Srl(RType), [INFO] [stdout] | --- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] 190 - Srl(RType), [INFO] [stdout] 190 + Srl(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/decoder.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | Sra(RType), [INFO] [stdout] | --- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] 191 - Sra(RType), [INFO] [stdout] 191 + Sra(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/decoder.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | Div(RType), [INFO] [stdout] | --- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] 202 - Div(RType), [INFO] [stdout] 202 + Div(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/decoder.rs:203:10 [INFO] [stdout] | [INFO] [stdout] 203 | Divu(RType), [INFO] [stdout] | ---- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] 203 - Divu(RType), [INFO] [stdout] 203 + Divu(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/decoder.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | Rem(RType), [INFO] [stdout] | --- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] 204 - Rem(RType), [INFO] [stdout] 204 + Rem(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/decoder.rs:205:10 [INFO] [stdout] | [INFO] [stdout] 205 | Remu(RType), [INFO] [stdout] | ---- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] 205 - Remu(RType), [INFO] [stdout] 205 + Remu(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/decoder.rs:224:13 [INFO] [stdout] | [INFO] [stdout] 224 | Invalid(u32), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] 224 - Invalid(u32), [INFO] [stdout] 224 + Invalid(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLINT_BASE` is never used [INFO] [stdout] --> src/cpu.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const CLINT_BASE: u64 = 0x02000000; [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 `PLIC_BASE` is never used [INFO] [stdout] --> src/cpu.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const PLIC_BASE: u64 = 0x0C000000; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VIRTIO_DISK_BASE` is never used [INFO] [stdout] --> src/cpu.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const VIRTIO_DISK_BASE: u64 = 0x10001000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VIRTIO_NET_BASE` is never used [INFO] [stdout] --> src/cpu.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const VIRTIO_NET_BASE: u64 = 0x10001000; //XXX: enough distance? [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MISA_RV64G` is never used [INFO] [stdout] --> src/cpu.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | const MISA_RV64G: u64 = (2 << 62) // XLEN=64 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `opcode` is never read [INFO] [stdout] --> src/decoder.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct RType { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 3 | pub opcode: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RType` 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: field `opcode` is never read [INFO] [stdout] --> src/decoder.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct IType { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 34 | pub opcode: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IType` 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: field `opcode` is never read [INFO] [stdout] --> src/decoder.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct SType { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 61 | pub opcode: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SType` 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: field `opcode` is never read [INFO] [stdout] --> src/decoder.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct BType { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 90 | pub opcode: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BType` 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: field `opcode` is never read [INFO] [stdout] --> src/decoder.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct UType { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 118 | pub opcode: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UType` 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: field `opcode` is never read [INFO] [stdout] --> src/decoder.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct JType { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 138 | pub opcode: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JType` 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: field `0` is never read [INFO] [stdout] --> src/decoder.rs:166:10 [INFO] [stdout] | [INFO] [stdout] 166 | Srai(IType), [INFO] [stdout] | ---- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] 166 - Srai(IType), [INFO] [stdout] 166 + Srai(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/decoder.rs:168:10 [INFO] [stdout] | [INFO] [stdout] 168 | Xori(IType), [INFO] [stdout] | ---- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] 168 - Xori(IType), [INFO] [stdout] 168 + Xori(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/decoder.rs:180:10 [INFO] [stdout] | [INFO] [stdout] 180 | Sret(IType), [INFO] [stdout] | ---- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] 180 - Sret(IType), [INFO] [stdout] 180 + Sret(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/decoder.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | Wfi(IType), [INFO] [stdout] | --- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] 181 - Wfi(IType), [INFO] [stdout] 181 + Wfi(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/decoder.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | Sll(RType), [INFO] [stdout] | --- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] 186 - Sll(RType), [INFO] [stdout] 186 + Sll(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/decoder.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | Srl(RType), [INFO] [stdout] | --- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] 190 - Srl(RType), [INFO] [stdout] 190 + Srl(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/decoder.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | Sra(RType), [INFO] [stdout] | --- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] 191 - Sra(RType), [INFO] [stdout] 191 + Sra(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/decoder.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | Div(RType), [INFO] [stdout] | --- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] 202 - Div(RType), [INFO] [stdout] 202 + Div(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/decoder.rs:203:10 [INFO] [stdout] | [INFO] [stdout] 203 | Divu(RType), [INFO] [stdout] | ---- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] 203 - Divu(RType), [INFO] [stdout] 203 + Divu(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/decoder.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | Rem(RType), [INFO] [stdout] | --- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] 204 - Rem(RType), [INFO] [stdout] 204 + Rem(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/decoder.rs:205:10 [INFO] [stdout] | [INFO] [stdout] 205 | Remu(RType), [INFO] [stdout] | ---- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] 205 - Remu(RType), [INFO] [stdout] 205 + Remu(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/decoder.rs:224:13 [INFO] [stdout] | [INFO] [stdout] 224 | Invalid(u32), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] 224 - Invalid(u32), [INFO] [stdout] 224 + Invalid(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] running `Command { std: "docker" "inspect" "1fc73c138c4a50cb9a1881b9e41f87eb1fed1411feded87581ff2179db2460a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fc73c138c4a50cb9a1881b9e41f87eb1fed1411feded87581ff2179db2460a5", kill_on_drop: false }` [INFO] [stdout] 1fc73c138c4a50cb9a1881b9e41f87eb1fed1411feded87581ff2179db2460a5