[INFO] cloning repository https://github.com/nanoxd/r64 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nanoxd/r64" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnanoxd%2Fr64", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnanoxd%2Fr64'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2d25f84c4d00041c6a28edd722f507538e22ac70 [INFO] checking nanoxd/r64 against master#b359ccf1b0b7b2d2c1c4932344b806e68bd053a9 for pr-105483 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnanoxd%2Fr64" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nanoxd/r64 on toolchain b359ccf1b0b7b2d2c1c4932344b806e68bd053a9 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nanoxd/r64 [INFO] finished tweaking git repo https://github.com/nanoxd/r64 [INFO] tweaked toml for git repo https://github.com/nanoxd/r64 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/nanoxd/r64 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22c05e381888a28b6438292b373346521e5ebd2406c56ebac859f9c504937a9c [INFO] running `Command { std: "docker" "start" "-a" "22c05e381888a28b6438292b373346521e5ebd2406c56ebac859f9c504937a9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22c05e381888a28b6438292b373346521e5ebd2406c56ebac859f9c504937a9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22c05e381888a28b6438292b373346521e5ebd2406c56ebac859f9c504937a9c", kill_on_drop: false }` [INFO] [stdout] 22c05e381888a28b6438292b373346521e5ebd2406c56ebac859f9c504937a9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5b1a473fd8e88dc76f7c5a1578d3c2d95187c7accfca21974635135a89effa2 [INFO] running `Command { std: "docker" "start" "-a" "a5b1a473fd8e88dc76f7c5a1578d3c2d95187c7accfca21974635135a89effa2", kill_on_drop: false }` [INFO] [stderr] Checking num-traits v0.1.36 [INFO] [stderr] Checking rustc-serialize v0.3.22 [INFO] [stderr] Checking libc v0.2.20 [INFO] [stderr] Checking byteorder v1.0.0 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking num-integer v0.1.32 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking num-iter v0.1.32 [INFO] [stderr] Checking num-bigint v0.1.35 [INFO] [stderr] Checking num-complex v0.1.35 [INFO] [stderr] Checking num-rational v0.1.35 [INFO] [stderr] Checking num v0.1.36 [INFO] [stderr] Checking r64 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpu/cpu.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | try!(write!(f,"\nCPU General Purpose Registers:")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpu/cpu.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | try!(write!(f,"\n\nCPU Floating Point Registers:")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpu/cpu.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | try!(writeln!(f,"\n\nCPU Special Registers:")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpu/cpu.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | try!(writeln!(f, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpu/cpu.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | try!(writeln!(f, "{:#?}", self.cp0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpu/cpu.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | try!(write!(f, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpu/cpu.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | try!(writeln!(f,"")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpu/cpu.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | try!(write!(f, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpu/cpu.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | try!(writeln!(f,"")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mem_map.rs:49:23 [INFO] [stdout] | [INFO] [stdout] 49 | PIF_ROM_START ... PIF_ROM_END => Addr::PifRom(addr - PIF_ROM_START), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mem_map.rs:51:23 [INFO] [stdout] | [INFO] [stdout] 51 | SP_IMEM_START ... SP_IMEM_END => Addr::SpImem(addr - SP_IMEM_START), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpu/cpu.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | try!(write!(f,"\nCPU General Purpose Registers:")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpu/cpu.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | try!(write!(f,"\n\nCPU Floating Point Registers:")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpu/cpu.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | try!(writeln!(f,"\n\nCPU Special Registers:")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpu/cpu.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | try!(writeln!(f, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpu/cpu.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | try!(writeln!(f, "{:#?}", self.cp0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpu/cpu.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | try!(write!(f, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpu/cpu.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | try!(writeln!(f,"")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpu/cpu.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | try!(write!(f, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpu/cpu.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | try!(writeln!(f,"")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mem_map.rs:49:23 [INFO] [stdout] | [INFO] [stdout] 49 | PIF_ROM_START ... PIF_ROM_END => Addr::PifRom(addr - PIF_ROM_START), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mem_map.rs:51:23 [INFO] [stdout] | [INFO] [stdout] 51 | SP_IMEM_START ... SP_IMEM_END => Addr::SpImem(addr - SP_IMEM_START), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/video_interface.rs:31:41 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn write_current_reg(&mut self, value: u32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rom` [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let rom = read_bin(rom_file_name); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/video_interface.rs:31:41 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn write_current_reg(&mut self, value: u32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rom` [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let rom = read_bin(rom_file_name); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `run` is never used [INFO] [stdout] --> src/cpu/cpu.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data_transfer_pattern`, `endianess`, `cu`, and `kseg0_cache_enable_bits` are never read [INFO] [stdout] --> src/cpu/cp0/reg_config.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct RegConfig { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 48 | data_transfer_pattern: DataTransferPattern, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | endianess: Endianess, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 50 | cu: bool, [INFO] [stdout] | ^^ [INFO] [stdout] 51 | kseg0_cache_enable_bits: [bool; 3], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RegConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `kseg0_cache_enabled` is never used [INFO] [stdout] --> src/cpu/cp0/reg_config.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | fn kseg0_cache_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/cpu/cp0/reg_status.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct RegStatus { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 3 | coprocesser_usability: [bool; 4], // CU [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | low_power: bool, // RP [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 5 | additional_fp_regs: bool, // FR [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | reverse_endian: bool, // RE [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 7 | diagnostic_status: DiagnosticStatus, //DS [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | interrupt_mask: InterruptMask, //IM [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | kernel_mode_64bit_addressing_enable: bool, // KX [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | supervisor_mode_64bit_addressing_enable: bool, // SX [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | user_mode_64bit_addressing_enable: bool, // UX [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | mode: Mode, // KSU [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | error_level_enable: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | exception_level_enable: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | interrupts_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RegStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `instruction_trace_support`, `tlb_general_exception_vector_location`, `tlb_shutdown`, `soft_reset_or_nmi_occurred`, and `condition_bit` are never read [INFO] [stdout] --> src/cpu/cp0/reg_status.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 49 | struct DiagnosticStatus { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 50 | instruction_trace_support: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | tlb_general_exception_vector_location: TLBGeneralExceptionVectorLocation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | tlb_shutdown: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 53 | soft_reset_or_nmi_occurred: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | condition_bit: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiagnosticStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `timer_interrupt`, `external_interrupt_write_req`, and `software_interrupt_cause_reg` are never read [INFO] [stdout] --> src/cpu/cp0/reg_status.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 92 | struct InterruptMask { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 93 | timer_interrupt: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 94 | external_interrupt_write_req: [bool; 5], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 95 | software_interrupt_cause_reg: [bool; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InterruptMask` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ram` is never read [INFO] [stdout] --> src/interconnect.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Interconnect { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | ram: Box<[u16]>, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `run` is never used [INFO] [stdout] --> src/n64.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PIF_RAM_START` is never used [INFO] [stdout] --> src/mem_map.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const PIF_RAM_START: u32 = 0x1fc0_07c0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PIF_RAM_LENGTH` is never used [INFO] [stdout] --> src/mem_map.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const PIF_RAM_LENGTH: u32 = 0x0000_0040; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PIF_RAM_END` is never used [INFO] [stdout] --> src/mem_map.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const PIF_RAM_END: u32 = PIF_RAM_START + PIF_RAM_LENGTH - 1; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SP_BASE_REG` is never used [INFO] [stdout] --> src/mem_map.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const SP_BASE_REG: u32 = 0x0404_0000; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VI_BASE_REG` is never used [INFO] [stdout] --> src/mem_map.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const VI_BASE_REG: u32 = 0x0440_0000; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PI_BASE_REG` is never used [INFO] [stdout] --> src/mem_map.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const PI_BASE_REG: u32 = 0x0460_0000; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `run` is never used [INFO] [stdout] --> src/cpu/cpu.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data_transfer_pattern`, `endianess`, `cu`, and `kseg0_cache_enable_bits` are never read [INFO] [stdout] --> src/cpu/cp0/reg_config.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct RegConfig { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 48 | data_transfer_pattern: DataTransferPattern, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | endianess: Endianess, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 50 | cu: bool, [INFO] [stdout] | ^^ [INFO] [stdout] 51 | kseg0_cache_enable_bits: [bool; 3], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RegConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `kseg0_cache_enabled` is never used [INFO] [stdout] --> src/cpu/cp0/reg_config.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | fn kseg0_cache_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/cpu/cp0/reg_status.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct RegStatus { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 3 | coprocesser_usability: [bool; 4], // CU [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | low_power: bool, // RP [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 5 | additional_fp_regs: bool, // FR [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | reverse_endian: bool, // RE [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 7 | diagnostic_status: DiagnosticStatus, //DS [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | interrupt_mask: InterruptMask, //IM [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | kernel_mode_64bit_addressing_enable: bool, // KX [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | supervisor_mode_64bit_addressing_enable: bool, // SX [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | user_mode_64bit_addressing_enable: bool, // UX [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | mode: Mode, // KSU [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | error_level_enable: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | exception_level_enable: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | interrupts_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RegStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `instruction_trace_support`, `tlb_general_exception_vector_location`, `tlb_shutdown`, `soft_reset_or_nmi_occurred`, and `condition_bit` are never read [INFO] [stdout] --> src/cpu/cp0/reg_status.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 49 | struct DiagnosticStatus { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 50 | instruction_trace_support: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | tlb_general_exception_vector_location: TLBGeneralExceptionVectorLocation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | tlb_shutdown: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 53 | soft_reset_or_nmi_occurred: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | condition_bit: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiagnosticStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `timer_interrupt`, `external_interrupt_write_req`, and `software_interrupt_cause_reg` are never read [INFO] [stdout] --> src/cpu/cp0/reg_status.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 92 | struct InterruptMask { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 93 | timer_interrupt: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 94 | external_interrupt_write_req: [bool; 5], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 95 | software_interrupt_cause_reg: [bool; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InterruptMask` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ram` is never read [INFO] [stdout] --> src/interconnect.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Interconnect { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | ram: Box<[u16]>, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `run` is never used [INFO] [stdout] --> src/n64.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PIF_RAM_START` is never used [INFO] [stdout] --> src/mem_map.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const PIF_RAM_START: u32 = 0x1fc0_07c0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PIF_RAM_LENGTH` is never used [INFO] [stdout] --> src/mem_map.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const PIF_RAM_LENGTH: u32 = 0x0000_0040; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PIF_RAM_END` is never used [INFO] [stdout] --> src/mem_map.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const PIF_RAM_END: u32 = PIF_RAM_START + PIF_RAM_LENGTH - 1; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SP_BASE_REG` is never used [INFO] [stdout] --> src/mem_map.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const SP_BASE_REG: u32 = 0x0404_0000; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VI_BASE_REG` is never used [INFO] [stdout] --> src/mem_map.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const VI_BASE_REG: u32 = 0x0440_0000; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PI_BASE_REG` is never used [INFO] [stdout] --> src/mem_map.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const PI_BASE_REG: u32 = 0x0460_0000; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.05s [INFO] running `Command { std: "docker" "inspect" "a5b1a473fd8e88dc76f7c5a1578d3c2d95187c7accfca21974635135a89effa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5b1a473fd8e88dc76f7c5a1578d3c2d95187c7accfca21974635135a89effa2", kill_on_drop: false }` [INFO] [stdout] a5b1a473fd8e88dc76f7c5a1578d3c2d95187c7accfca21974635135a89effa2