[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] testing kjh618/riscv-simulator against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkjh618%2Friscv-simulator" "/workspace/builds/worker-49/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-49/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kjh618/riscv-simulator on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-49/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4119a18d6c52d2a41185c087d4b5eb31f3d01ccc096e3d412a1fb0e14033aeb2 [INFO] running `Command { std: "docker" "start" "-a" "4119a18d6c52d2a41185c087d4b5eb31f3d01ccc096e3d412a1fb0e14033aeb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4119a18d6c52d2a41185c087d4b5eb31f3d01ccc096e3d412a1fb0e14033aeb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4119a18d6c52d2a41185c087d4b5eb31f3d01ccc096e3d412a1fb0e14033aeb2", kill_on_drop: false }` [INFO] [stdout] 4119a18d6c52d2a41185c087d4b5eb31f3d01ccc096e3d412a1fb0e14033aeb2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8db1099b4d655cbdf1d3a0a8736a1f1736e101fdae849b1c5d5ce245751cdef4 [INFO] running `Command { std: "docker" "start" "-a" "8db1099b4d655cbdf1d3a0a8736a1f1736e101fdae849b1c5d5ce245751cdef4", 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 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] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [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] Compiling phf v0.8.0 [INFO] [stderr] Compiling riscv-simulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `memory` [INFO] [stdout] --> src/simulator.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | memory: [u8; DataMemory::SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `DataMemory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/simulator.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pc` [INFO] [stdout] --> src/simulator.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | pc: 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] --> src/simulator.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `register` [INFO] [stdout] --> src/simulator.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | register: RegisterFile, [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] --> src/simulator.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `instruction_memory` [INFO] [stdout] --> src/simulator.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | instruction_memory: InstructionMemory<'a>, [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] --> src/simulator.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data_memory` [INFO] [stdout] --> src/simulator.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | data_memory: DataMemory, [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] --> src/simulator.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `label_to_address` [INFO] [stdout] --> src/simulator.rs:27:5 [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] --> src/simulator.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `translate` [INFO] [stdout] --> src/simulator.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | fn translate(address: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load` [INFO] [stdout] --> src/simulator.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | fn load(&self, byte_enable: u8, address: u32) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `store` [INFO] [stdout] --> src/simulator.rs:120:8 [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 function is never used: `address_add_offset` [INFO] [stdout] --> src/simulator.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | fn address_add_offset(address: u32, offset: i32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/simulator.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn next(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.13s [INFO] running `Command { std: "docker" "inspect" "8db1099b4d655cbdf1d3a0a8736a1f1736e101fdae849b1c5d5ce245751cdef4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8db1099b4d655cbdf1d3a0a8736a1f1736e101fdae849b1c5d5ce245751cdef4", kill_on_drop: false }` [INFO] [stdout] 8db1099b4d655cbdf1d3a0a8736a1f1736e101fdae849b1c5d5ce245751cdef4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0ab6cca11d0f6e75277c44a3e95c61226f452d997f60a550cdad22ef4186814 [INFO] running `Command { std: "docker" "start" "-a" "f0ab6cca11d0f6e75277c44a3e95c61226f452d997f60a550cdad22ef4186814", kill_on_drop: false }` [INFO] [stderr] Compiling riscv-simulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `memory` [INFO] [stdout] --> src/simulator.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | memory: [u8; DataMemory::SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `DataMemory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/simulator.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pc` [INFO] [stdout] --> src/simulator.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | pc: 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] --> src/simulator.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `register` [INFO] [stdout] --> src/simulator.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | register: RegisterFile, [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] --> src/simulator.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `instruction_memory` [INFO] [stdout] --> src/simulator.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | instruction_memory: InstructionMemory<'a>, [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] --> src/simulator.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data_memory` [INFO] [stdout] --> src/simulator.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | data_memory: DataMemory, [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] --> src/simulator.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `label_to_address` [INFO] [stdout] --> src/simulator.rs:27:5 [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] --> src/simulator.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `translate` [INFO] [stdout] --> src/simulator.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | fn translate(address: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load` [INFO] [stdout] --> src/simulator.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | fn load(&self, byte_enable: u8, address: u32) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `store` [INFO] [stdout] --> src/simulator.rs:120:8 [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 function is never used: `address_add_offset` [INFO] [stdout] --> src/simulator.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | fn address_add_offset(address: u32, offset: i32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/simulator.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn next(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.86s [INFO] running `Command { std: "docker" "inspect" "f0ab6cca11d0f6e75277c44a3e95c61226f452d997f60a550cdad22ef4186814", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0ab6cca11d0f6e75277c44a3e95c61226f452d997f60a550cdad22ef4186814", kill_on_drop: false }` [INFO] [stdout] f0ab6cca11d0f6e75277c44a3e95c61226f452d997f60a550cdad22ef4186814 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9c65629902419028b83ee747c5e8be5e7dfa4d7e9cc0c5a82b5307e7f4890b1d [INFO] running `Command { std: "docker" "start" "-a" "9c65629902419028b83ee747c5e8be5e7dfa4d7e9cc0c5a82b5307e7f4890b1d", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `memory` [INFO] [stderr] --> src/simulator.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | memory: [u8; DataMemory::SIZE], [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `DataMemory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/simulator.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `pc` [INFO] [stderr] --> src/simulator.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | pc: u32, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/simulator.rs:21:10 [INFO] [stderr] | [INFO] [stderr] 21 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `register` [INFO] [stderr] --> src/simulator.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | register: RegisterFile, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/simulator.rs:21:10 [INFO] [stderr] | [INFO] [stderr] 21 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `instruction_memory` [INFO] [stderr] --> src/simulator.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | instruction_memory: InstructionMemory<'a>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/simulator.rs:21:10 [INFO] [stderr] | [INFO] [stderr] 21 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `data_memory` [INFO] [stderr] --> src/simulator.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | data_memory: DataMemory, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/simulator.rs:21:10 [INFO] [stderr] | [INFO] [stderr] 21 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `label_to_address` [INFO] [stderr] --> src/simulator.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | label_to_address: HashMap<&'a str, u32>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/simulator.rs:21:10 [INFO] [stderr] | [INFO] [stderr] 21 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `translate` [INFO] [stderr] --> src/simulator.rs:100:8 [INFO] [stderr] | [INFO] [stderr] 100 | fn translate(address: u32) -> u32 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `load` [INFO] [stderr] --> src/simulator.rs:104:8 [INFO] [stderr] | [INFO] [stderr] 104 | fn load(&self, byte_enable: u8, address: u32) -> u32 { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `store` [INFO] [stderr] --> src/simulator.rs:120:8 [INFO] [stderr] | [INFO] [stderr] 120 | fn store(&mut self, byte_enable: u8, address: u32, value: u32) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `address_add_offset` [INFO] [stderr] --> src/simulator.rs:146:8 [INFO] [stderr] | [INFO] [stderr] 146 | fn address_add_offset(address: u32, offset: i32) -> u32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `next` [INFO] [stderr] --> src/simulator.rs:150:12 [INFO] [stderr] | [INFO] [stderr] 150 | pub fn next(&mut self) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `riscv-simulator` (bin "riscv-simulator" test) generated 11 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/riscv_simulator-c03cf704792b11f4) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9c65629902419028b83ee747c5e8be5e7dfa4d7e9cc0c5a82b5307e7f4890b1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c65629902419028b83ee747c5e8be5e7dfa4d7e9cc0c5a82b5307e7f4890b1d", kill_on_drop: false }` [INFO] [stdout] 9c65629902419028b83ee747c5e8be5e7dfa4d7e9cc0c5a82b5307e7f4890b1d