[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] 94d4a86877191e87e0b9759e45b48e05fec9e3a8 [INFO] checking kjh618/riscv-simulator against master#7f5a42b073dc2bee2aa625052eb066ee07072048 for pr-78991 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkjh618%2Friscv-simulator" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kjh618/riscv-simulator on toolchain 7f5a42b073dc2bee2aa625052eb066ee07072048 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7f5a42b073dc2bee2aa625052eb066ee07072048" "read-manifest" "--manifest-path" "Cargo.toml", 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-12/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" "+7f5a42b073dc2bee2aa625052eb066ee07072048" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+7f5a42b073dc2bee2aa625052eb066ee07072048" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ce30510e2ca171aa0a6c9430d62ff2c42ab86e84176392e6db693e2d2b44dae3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ce30510e2ca171aa0a6c9430d62ff2c42ab86e84176392e6db693e2d2b44dae3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce30510e2ca171aa0a6c9430d62ff2c42ab86e84176392e6db693e2d2b44dae3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce30510e2ca171aa0a6c9430d62ff2c42ab86e84176392e6db693e2d2b44dae3", kill_on_drop: false }` [INFO] [stdout] ce30510e2ca171aa0a6c9430d62ff2c42ab86e84176392e6db693e2d2b44dae3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+7f5a42b073dc2bee2aa625052eb066ee07072048" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7726901a88218de9098fe64cbcb9af53e60a655d21afe53b2663768d12eec251 [INFO] running `Command { std: "docker" "start" "-a" "7726901a88218de9098fe64cbcb9af53e60a655d21afe53b2663768d12eec251", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking riscv-simulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `memory` [INFO] [stdout] --> src/simulator.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | memory: [u8; DataMemory::SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `register` [INFO] [stdout] --> src/simulator.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | register: RegisterFile, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `instruction_memory` [INFO] [stdout] --> src/simulator.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | instruction_memory: InstructionMemory<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data_memory` [INFO] [stdout] --> src/simulator.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | data_memory: DataMemory, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `label_to_address` [INFO] [stdout] --> src/simulator.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | label_to_address: HashMap<&'a str, u32>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `translate` [INFO] [stdout] --> src/simulator.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | 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:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | 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:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | fn store(&mut self, byte_enable: u8, address: u32, value: u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `address_add_offset` [INFO] [stdout] --> src/simulator.rs:135:4 [INFO] [stdout] | [INFO] [stdout] 135 | 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:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn next(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `memory` [INFO] [stdout] --> src/simulator.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | memory: [u8; DataMemory::SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `register` [INFO] [stdout] --> src/simulator.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | register: RegisterFile, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `instruction_memory` [INFO] [stdout] --> src/simulator.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | instruction_memory: InstructionMemory<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data_memory` [INFO] [stdout] --> src/simulator.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | data_memory: DataMemory, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `label_to_address` [INFO] [stdout] --> src/simulator.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | label_to_address: HashMap<&'a str, u32>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `translate` [INFO] [stdout] --> src/simulator.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | 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:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | 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:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | fn store(&mut self, byte_enable: u8, address: u32, value: u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `address_add_offset` [INFO] [stdout] --> src/simulator.rs:135:4 [INFO] [stdout] | [INFO] [stdout] 135 | 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:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn next(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.23s [INFO] running `Command { std: "docker" "inspect" "7726901a88218de9098fe64cbcb9af53e60a655d21afe53b2663768d12eec251", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7726901a88218de9098fe64cbcb9af53e60a655d21afe53b2663768d12eec251", kill_on_drop: false }` [INFO] [stdout] 7726901a88218de9098fe64cbcb9af53e60a655d21afe53b2663768d12eec251