[INFO] cloning repository https://github.com/ctames/rusc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ctames/rusc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctames%2Frusc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctames%2Frusc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 738956a019bb0472fb011a489fc8fe954a97ad18 [INFO] checking ctames/rusc against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctames%2Frusc" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ctames/rusc on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ctames/rusc [INFO] finished tweaking git repo https://github.com/ctames/rusc [INFO] tweaked toml for git repo https://github.com/ctames/rusc written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/ctames/rusc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-0/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14f935f69f80e830540db55221041bf0e311367141e3f2c95407928fff9ce52a [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" "14f935f69f80e830540db55221041bf0e311367141e3f2c95407928fff9ce52a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14f935f69f80e830540db55221041bf0e311367141e3f2c95407928fff9ce52a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14f935f69f80e830540db55221041bf0e311367141e3f2c95407928fff9ce52a", kill_on_drop: false }` [INFO] [stdout] 14f935f69f80e830540db55221041bf0e311367141e3f2c95407928fff9ce52a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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] e2d74d895be6627b4f4546494b1c2d7392f61e3a10994b7628cee6bcee2e72bd [INFO] running `Command { std: "docker" "start" "-a" "e2d74d895be6627b4f4546494b1c2d7392f61e3a10994b7628cee6bcee2e72bd", kill_on_drop: false }` [INFO] [stderr] Checking rusc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::Index` [INFO] [stdout] --> src/cpu.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ops::Index; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Index` [INFO] [stdout] --> src/cpu.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ops::Index; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/cpu.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | Err(error) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cpu.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | let mut reader = BufReader::new(file.unwrap()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/cpu.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | Err(error) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cpu.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | let mut reader = BufReader::new(file.unwrap()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cpu.rs:161:7 [INFO] [stdout] | [INFO] [stdout] 161 | let mut line_split: Vec<&str> = line.split(" ").collect(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cpu.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | let mut stage = Stage { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cpu.rs:161:7 [INFO] [stdout] | [INFO] [stdout] 161 | let mut line_split: Vec<&str> = line.split(" ").collect(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cpu.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | let mut stage = Stage { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `ZERO` [INFO] [stdout] --> src/cpu.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | static ZERO: i16 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `ZERO` [INFO] [stdout] --> src/cpu.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | static ZERO: i16 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | io::stdin().read_line(&mut input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `addc` should have an upper case name [INFO] [stdout] --> src/cpu.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | static addc: [u8; 5] = [1, 1, 2, 1, 1]; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `ADDC` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `addic` should have an upper case name [INFO] [stdout] --> src/cpu.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | static addic: [u8; 5] = [1, 1, 2, 1, 1]; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `ADDIC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `nandc` should have an upper case name [INFO] [stdout] --> src/cpu.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | static nandc: [u8; 5] = [1, 1, 2, 1, 1]; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `NANDC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `luic` should have an upper case name [INFO] [stdout] --> src/cpu.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | static luic: [u8; 5] = [1, 1, 2, 1, 1]; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `LUIC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `swc` should have an upper case name [INFO] [stdout] --> src/cpu.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | static swc: [u8; 5] = [1, 1, 2, 3, 1]; [INFO] [stdout] | ^^^ help: convert the identifier to upper case (notice the capitalization): `SWC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `lwc` should have an upper case name [INFO] [stdout] --> src/cpu.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | static lwc: [u8; 5] = [1, 1, 2, 3, 1]; [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `LWC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `beqc` should have an upper case name [INFO] [stdout] --> src/cpu.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | static beqc: [u8; 5] = [1, 1, 1, 1, 1]; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `BEQC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `jalrc` should have an upper case name [INFO] [stdout] --> src/cpu.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | static jalrc: [u8; 5] = [1, 1, 1, 1, 1]; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `JALRC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `haltc` should have an upper case name [INFO] [stdout] --> src/cpu.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | static haltc: [u8; 5] = [1, 1, 1, 1, 1]; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `HALTC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/cpu.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | write!(f, "gpreg{} : {}\n", x, self.registers[x]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/cpu.rs:405:3 [INFO] [stdout] | [INFO] [stdout] 405 | write!(f, "STATE AFTER CYCLE: {:?}\n ", self.cycle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/cpu.rs:406:3 [INFO] [stdout] | [INFO] [stdout] 406 | ...te!(f, "IF: {} - cycles {:?} out of {:?}\n", self.stages[0].clone().instr.unwrap_or(default.clone()), self.stages[0].ce, self.stages[0].cn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/cpu.rs:407:3 [INFO] [stdout] | [INFO] [stdout] 407 | ...te!(f, "ID: {} - cycles {:?} out of {:?}\n", self.stages[1].clone().instr.unwrap_or(default.clone()), self.stages[1].ce, self.stages[1].cn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/cpu.rs:408:3 [INFO] [stdout] | [INFO] [stdout] 408 | ...te!(f, "EX: {} - cycles {:?} out of {:?}\n", self.stages[2].clone().instr.unwrap_or(default.clone()), self.stages[2].ce, self.stages[2].cn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/cpu.rs:409:3 [INFO] [stdout] | [INFO] [stdout] 409 | ...te!(f, "ME: {} - cycles {:?} out of {:?}\n", self.stages[3].clone().instr.unwrap_or(default.clone()), self.stages[3].ce, self.stages[3].cn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/cpu.rs:410:3 [INFO] [stdout] | [INFO] [stdout] 410 | ...te!(f, "WB: {} - cycles {:?} out of {:?}\n", self.stages[4].clone().instr.unwrap_or(default.clone()), self.stages[4].ce, self.stages[4].cn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | io::stdin().read_line(&mut input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `addc` should have an upper case name [INFO] [stdout] --> src/cpu.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | static addc: [u8; 5] = [1, 1, 2, 1, 1]; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `ADDC` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `addic` should have an upper case name [INFO] [stdout] --> src/cpu.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | static addic: [u8; 5] = [1, 1, 2, 1, 1]; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `ADDIC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `nandc` should have an upper case name [INFO] [stdout] --> src/cpu.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | static nandc: [u8; 5] = [1, 1, 2, 1, 1]; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `NANDC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `luic` should have an upper case name [INFO] [stdout] --> src/cpu.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | static luic: [u8; 5] = [1, 1, 2, 1, 1]; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `LUIC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `swc` should have an upper case name [INFO] [stdout] --> src/cpu.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | static swc: [u8; 5] = [1, 1, 2, 3, 1]; [INFO] [stdout] | ^^^ help: convert the identifier to upper case (notice the capitalization): `SWC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `lwc` should have an upper case name [INFO] [stdout] --> src/cpu.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | static lwc: [u8; 5] = [1, 1, 2, 3, 1]; [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `LWC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `beqc` should have an upper case name [INFO] [stdout] --> src/cpu.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | static beqc: [u8; 5] = [1, 1, 1, 1, 1]; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `BEQC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `jalrc` should have an upper case name [INFO] [stdout] --> src/cpu.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | static jalrc: [u8; 5] = [1, 1, 1, 1, 1]; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `JALRC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `haltc` should have an upper case name [INFO] [stdout] --> src/cpu.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | static haltc: [u8; 5] = [1, 1, 1, 1, 1]; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `HALTC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/cpu.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | write!(f, "gpreg{} : {}\n", x, self.registers[x]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/cpu.rs:405:3 [INFO] [stdout] | [INFO] [stdout] 405 | write!(f, "STATE AFTER CYCLE: {:?}\n ", self.cycle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/cpu.rs:406:3 [INFO] [stdout] | [INFO] [stdout] 406 | ...te!(f, "IF: {} - cycles {:?} out of {:?}\n", self.stages[0].clone().instr.unwrap_or(default.clone()), self.stages[0].ce, self.stages[0].cn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/cpu.rs:407:3 [INFO] [stdout] | [INFO] [stdout] 407 | ...te!(f, "ID: {} - cycles {:?} out of {:?}\n", self.stages[1].clone().instr.unwrap_or(default.clone()), self.stages[1].ce, self.stages[1].cn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/cpu.rs:408:3 [INFO] [stdout] | [INFO] [stdout] 408 | ...te!(f, "EX: {} - cycles {:?} out of {:?}\n", self.stages[2].clone().instr.unwrap_or(default.clone()), self.stages[2].ce, self.stages[2].cn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/cpu.rs:409:3 [INFO] [stdout] | [INFO] [stdout] 409 | ...te!(f, "ME: {} - cycles {:?} out of {:?}\n", self.stages[3].clone().instr.unwrap_or(default.clone()), self.stages[3].ce, self.stages[3].cn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/cpu.rs:410:3 [INFO] [stdout] | [INFO] [stdout] 410 | ...te!(f, "WB: {} - cycles {:?} out of {:?}\n", self.stages[4].clone().instr.unwrap_or(default.clone()), self.stages[4].ce, self.stages[4].cn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.63s [INFO] running `Command { std: "docker" "inspect" "e2d74d895be6627b4f4546494b1c2d7392f61e3a10994b7628cee6bcee2e72bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2d74d895be6627b4f4546494b1c2d7392f61e3a10994b7628cee6bcee2e72bd", kill_on_drop: false }` [INFO] [stdout] e2d74d895be6627b4f4546494b1c2d7392f61e3a10994b7628cee6bcee2e72bd