[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] testing dernatsch/nrv64emu against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdernatsch%2Fnrv64emu" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dernatsch/nrv64emu on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing dernatsch/nrv64emu against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdernatsch%2Fnrv64emu" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dernatsch/nrv64emu on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 553ed052031c7aae6fb545dc16a58adad10b8abded6cbb7f923cbf34df5c9d98 [INFO] running `Command { std: "docker" "start" "-a" "553ed052031c7aae6fb545dc16a58adad10b8abded6cbb7f923cbf34df5c9d98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "553ed052031c7aae6fb545dc16a58adad10b8abded6cbb7f923cbf34df5c9d98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "553ed052031c7aae6fb545dc16a58adad10b8abded6cbb7f923cbf34df5c9d98", kill_on_drop: false }` [INFO] [stdout] 553ed052031c7aae6fb545dc16a58adad10b8abded6cbb7f923cbf34df5c9d98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 151a282bf9dd71f9a48a987b30a0885a5a8f54589b04a1d4c7f443842a00f44b [INFO] running `Command { std: "docker" "start" "-a" "151a282bf9dd71f9a48a987b30a0885a5a8f54589b04a1d4c7f443842a00f44b", kill_on_drop: false }` [INFO] [stderr] Compiling 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: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: `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: 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.21s [INFO] running `Command { std: "docker" "inspect" "151a282bf9dd71f9a48a987b30a0885a5a8f54589b04a1d4c7f443842a00f44b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "151a282bf9dd71f9a48a987b30a0885a5a8f54589b04a1d4c7f443842a00f44b", kill_on_drop: false }` [INFO] [stdout] 151a282bf9dd71f9a48a987b30a0885a5a8f54589b04a1d4c7f443842a00f44b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 81266dcc88d1236f20d5c58743cc95f036b2732eaacd59c6e95002cbdbc9595e [INFO] running `Command { std: "docker" "start" "-a" "81266dcc88d1236f20d5c58743cc95f036b2732eaacd59c6e95002cbdbc9595e", kill_on_drop: false }` [INFO] [stderr] Compiling 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: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: `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: 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 `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] running `Command { std: "docker" "inspect" "81266dcc88d1236f20d5c58743cc95f036b2732eaacd59c6e95002cbdbc9595e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81266dcc88d1236f20d5c58743cc95f036b2732eaacd59c6e95002cbdbc9595e", kill_on_drop: false }` [INFO] [stdout] 81266dcc88d1236f20d5c58743cc95f036b2732eaacd59c6e95002cbdbc9595e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 9b7bd776f7c649505daa9b6771af922df568561dbdcbcebaeb614b7acdd71d87 [INFO] running `Command { std: "docker" "start" "-a" "9b7bd776f7c649505daa9b6771af922df568561dbdcbcebaeb614b7acdd71d87", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `address` [INFO] [stderr] --> src/cpu.rs:184:29 [INFO] [stderr] | [INFO] [stderr] 184 | fn store_u16(&mut self, address: u64, value: u16) -> bool { unimplemented!("store_u16") } [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/cpu.rs:184:43 [INFO] [stderr] | [INFO] [stderr] 184 | fn store_u16(&mut self, address: u64, value: u16) -> bool { unimplemented!("store_u16") } [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `address` [INFO] [stderr] --> src/cpu.rs:236:28 [INFO] [stderr] | [INFO] [stderr] 236 | fn load_u16(&mut self, address: u64) -> Option { unimplemented!("load_u16") } [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/cpu.rs:487:31 [INFO] [stderr] | [INFO] [stderr] 487 | Instruction::Mret(i) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `imm` [INFO] [stdout] [INFO] [stderr] --> src/decoder.rs:268:29 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 268 | let imm = it.imm & 0x1F; [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_imm` [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] warning: constant `CLINT_BASE` is never used [INFO] [stderr] --> src/cpu.rs:3:7 [INFO] [stderr] | [INFO] [stderr] 3 | const CLINT_BASE: u64 = 0x02000000; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `PLIC_BASE` is never used [INFO] [stderr] --> src/cpu.rs:4:7 [INFO] [stderr] | [INFO] [stderr] 4 | const PLIC_BASE: u64 = 0x0C000000; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `VIRTIO_DISK_BASE` is never used [INFO] [stderr] --> src/cpu.rs:7:7 [INFO] [stderr] | [INFO] [stderr] 7 | const VIRTIO_DISK_BASE: u64 = 0x10001000; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `VIRTIO_NET_BASE` is never used [INFO] [stderr] --> src/cpu.rs:8:7 [INFO] [stderr] | [INFO] [stderr] 8 | const VIRTIO_NET_BASE: u64 = 0x10001000; //XXX: enough distance? [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MISA_RV64G` is never used [INFO] [stderr] --> src/cpu.rs:51:7 [INFO] [stderr] | [INFO] [stderr] 51 | const MISA_RV64G: u64 = (2 << 62) // XLEN=64 [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `opcode` is never read [INFO] [stderr] --> src/decoder.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 2 | pub struct RType { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 3 | pub opcode: u8, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `opcode` is never read [INFO] [stderr] --> src/decoder.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 33 | pub struct IType { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 34 | pub opcode: u8, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `IType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `opcode` is never read [INFO] [stderr] --> src/decoder.rs:61:9 [INFO] [stderr] | [INFO] [stderr] 60 | pub struct SType { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 61 | pub opcode: u8, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `opcode` is never read [INFO] [stderr] --> src/decoder.rs:90:9 [INFO] [stderr] | [INFO] [stderr] 89 | pub struct BType { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 90 | pub opcode: u8, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `BType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `opcode` is never read [INFO] [stderr] --> src/decoder.rs:118:9 [INFO] [stderr] | [INFO] [stderr] 117 | pub struct UType { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 118 | pub opcode: u8, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `UType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `opcode` is never read [INFO] [stderr] --> src/decoder.rs:138:9 [INFO] [stderr] | [INFO] [stderr] 137 | pub struct JType { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 138 | pub opcode: u8, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `JType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/decoder.rs:166:10 [INFO] [stderr] | [INFO] [stderr] 166 | Srai(IType), [INFO] [stderr] | ---- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 166 - Srai(IType), [INFO] [stderr] 166 + Srai(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/decoder.rs:168:10 [INFO] [stderr] | [INFO] [stderr] 168 | Xori(IType), [INFO] [stderr] | ---- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 168 - Xori(IType), [INFO] [stderr] 168 + Xori(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/decoder.rs:180:10 [INFO] [stderr] | [INFO] [stderr] 180 | Sret(IType), [INFO] [stderr] | ---- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 180 - Sret(IType), [INFO] [stderr] 180 + Sret(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/decoder.rs:181:9 [INFO] [stderr] | [INFO] [stderr] 181 | Wfi(IType), [INFO] [stderr] | --- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 181 - Wfi(IType), [INFO] [stderr] 181 + Wfi(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/decoder.rs:186:9 [INFO] [stderr] | [INFO] [stderr] 186 | Sll(RType), [INFO] [stderr] | --- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 186 - Sll(RType), [INFO] [stderr] 186 + Sll(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/decoder.rs:190:9 [INFO] [stderr] | [INFO] [stderr] 190 | Srl(RType), [INFO] [stderr] | --- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 190 - Srl(RType), [INFO] [stderr] 190 + Srl(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/decoder.rs:191:9 [INFO] [stderr] | [INFO] [stderr] 191 | Sra(RType), [INFO] [stderr] | --- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 191 - Sra(RType), [INFO] [stderr] 191 + Sra(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/decoder.rs:202:9 [INFO] [stderr] | [INFO] [stderr] 202 | Div(RType), [INFO] [stderr] | --- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 202 - Div(RType), [INFO] [stderr] 202 + Div(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/decoder.rs:203:10 [INFO] [stderr] | [INFO] [stderr] 203 | Divu(RType), [INFO] [stderr] | ---- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 203 - Divu(RType), [INFO] [stderr] 203 + Divu(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/decoder.rs:204:9 [INFO] [stderr] | [INFO] [stderr] 204 | Rem(RType), [INFO] [stderr] | --- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 204 - Rem(RType), [INFO] [stderr] 204 + Rem(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/decoder.rs:205:10 [INFO] [stderr] | [INFO] [stderr] 205 | Remu(RType), [INFO] [stderr] | ---- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 205 - Remu(RType), [INFO] [stderr] 205 + Remu(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/decoder.rs:224:13 [INFO] [stderr] | [INFO] [stderr] 224 | Invalid(u32), [INFO] [stderr] | ------- ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 224 - Invalid(u32), [INFO] [stderr] 224 + Invalid(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `nrv64emu` (bin "nrv64emu" test) generated 28 warnings (run `cargo fix --bin "nrv64emu" -p nrv64emu --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/nrv64emu/8e44a3c56cb2b674/deps/nrv64emu-8e44a3c56cb2b674) [INFO] running `Command { std: "docker" "inspect" "9b7bd776f7c649505daa9b6771af922df568561dbdcbcebaeb614b7acdd71d87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b7bd776f7c649505daa9b6771af922df568561dbdcbcebaeb614b7acdd71d87", kill_on_drop: false }` [INFO] [stdout] 9b7bd776f7c649505daa9b6771af922df568561dbdcbcebaeb614b7acdd71d87