[INFO] cloning repository https://github.com/shunichi/nesto [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shunichi/nesto" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshunichi%2Fnesto", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshunichi%2Fnesto'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8a55c2610fb2f98d9fa371e3fa1d4621f03c078c [INFO] checking shunichi/nesto against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshunichi%2Fnesto" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shunichi/nesto on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shunichi/nesto [INFO] finished tweaking git repo https://github.com/shunichi/nesto [INFO] tweaked toml for git repo https://github.com/shunichi/nesto written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/shunichi/nesto already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.95 [INFO] [stderr] Downloaded sdl2 v0.34.5 [INFO] [stderr] Downloaded sdl2-sys v0.34.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 752bacf87549a0d1a48607542a3b99d90f7e8afbce33e7809635e74c1a16c101 [INFO] running `Command { std: "docker" "start" "-a" "752bacf87549a0d1a48607542a3b99d90f7e8afbce33e7809635e74c1a16c101", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "752bacf87549a0d1a48607542a3b99d90f7e8afbce33e7809635e74c1a16c101", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "752bacf87549a0d1a48607542a3b99d90f7e8afbce33e7809635e74c1a16c101", kill_on_drop: false }` [INFO] [stdout] 752bacf87549a0d1a48607542a3b99d90f7e8afbce33e7809635e74c1a16c101 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e556718b1ce25e5418c85ebd813e0d1ba77eb393a56356da5176c1a726a2c0df [INFO] running `Command { std: "docker" "start" "-a" "e556718b1ce25e5418c85ebd813e0d1ba77eb393a56356da5176c1a726a2c0df", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling sdl2 v0.34.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling sdl2-sys v0.34.5 [INFO] [stderr] Checking nesto v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/main.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions.rs (40 fixes) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu/disasm.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | _ => Some(addr_mode.name().to_owned()), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu/disasm.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | _ => Some(inst_prop.addr_mode.name().to_owned()), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `additional_cycles` is never read [INFO] [stdout] --> src/cpu/instructions.rs:482:13 [INFO] [stdout] | [INFO] [stdout] 482 | let mut additional_cycles: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu/disasm.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | _ => Some(addr_mode.name().to_owned()), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu/disasm.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | _ => Some(inst_prop.addr_mode.name().to_owned()), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `additional_cycles` is never read [INFO] [stdout] --> src/cpu/instructions.rs:482:13 [INFO] [stdout] | [INFO] [stdout] 482 | let mut additional_cycles: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cartridge` [INFO] [stdout] --> src/bus.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn cartridge(&self) -> &Cartridge { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `operand_string_with_memory` [INFO] [stdout] --> src/cpu/disasm.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn operand_string_with_memory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cpu_status_string` [INFO] [stdout] --> src/cpu/disasm.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 144 | fn cpu_status_string(cpu: &Cpu) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `disasm_one_inst_and_status` [INFO] [stdout] --> src/cpu/disasm.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn disasm_one_inst_and_status(bus: &Bus, addr: u16, cpu: &Cpu) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_jump` [INFO] [stdout] --> src/cpu/instructions.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn is_jump(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cpu.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn new() -> Flags { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cartridge` [INFO] [stdout] --> src/bus.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn cartridge(&self) -> &Cartridge { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `operand_string_with_memory` [INFO] [stdout] --> src/cpu/disasm.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn operand_string_with_memory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cpu_status_string` [INFO] [stdout] --> src/cpu/disasm.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 144 | fn cpu_status_string(cpu: &Cpu) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `disasm_one_inst_and_status` [INFO] [stdout] --> src/cpu/disasm.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn disasm_one_inst_and_status(bus: &Bus, addr: u16, cpu: &Cpu) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_jump` [INFO] [stdout] --> src/cpu/instructions.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn is_jump(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cpu.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn new() -> Flags { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cycles` [INFO] [stdout] --> src/cpu.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | cycles: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `elapsed_cycles` [INFO] [stdout] --> src/cpu.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | elapsed_cycles: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cpu.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn new() -> Cpu { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clock` [INFO] [stdout] --> src/cpu.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn clock(&mut self, bus: &mut Bus) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `exec_inst` [INFO] [stdout] --> src/cpu.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 167 | fn exec_inst(&mut self, bus: &mut Bus) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset` [INFO] [stdout] --> src/cpu.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn reset(&mut self, bus: &Bus) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inst_name` [INFO] [stdout] --> src/cpu.rs:250:12 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn inst_name(inst: Inst) -> &'static str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `addr_mode_name` [INFO] [stdout] --> src/cpu.rs:254:12 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn addr_mode_name(addr_mode: AddressingMode) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cycles` [INFO] [stdout] --> src/cpu.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | cycles: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `elapsed_cycles` [INFO] [stdout] --> src/cpu.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | elapsed_cycles: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cpu.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn new() -> Cpu { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clock` [INFO] [stdout] --> src/cpu.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn clock(&mut self, bus: &mut Bus) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `exec_inst` [INFO] [stdout] --> src/cpu.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 167 | fn exec_inst(&mut self, bus: &mut Bus) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset` [INFO] [stdout] --> src/cpu.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn reset(&mut self, bus: &Bus) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inst_name` [INFO] [stdout] --> src/cpu.rs:250:12 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn inst_name(inst: Inst) -> &'static str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `addr_mode_name` [INFO] [stdout] --> src/cpu.rs:254:12 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn addr_mode_name(addr_mode: AddressingMode) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inst_table_len` [INFO] [stdout] --> src/cpu.rs:258:12 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn inst_table_len() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `copy` [INFO] [stdout] --> src/debug_font/mod.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn copy(&self, canvas: &mut Canvas, rect: Rect) -> Result<(), String> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cpu_test` [INFO] [stdout] --> src/main.rs:90:4 [INFO] [stdout] | [INFO] [stdout] 90 | fn cpu_test() -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inst_table_len` [INFO] [stdout] --> src/cpu.rs:258:12 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn inst_table_len() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `copy` [INFO] [stdout] --> src/debug_font/mod.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn copy(&self, canvas: &mut Canvas, rect: Rect) -> Result<(), String> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cpu_test` [INFO] [stdout] --> src/main.rs:90:4 [INFO] [stdout] | [INFO] [stdout] 90 | fn cpu_test() -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.11s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking nesto v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu/disasm.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | _ => Some(addr_mode.name().to_owned()), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu/disasm.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | _ => Some(inst_prop.addr_mode.name().to_owned()), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `additional_cycles` is never read [INFO] [stdout] --> src/cpu/instructions.rs:482:13 [INFO] [stdout] | [INFO] [stdout] 482 | let mut additional_cycles: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu/disasm.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | _ => Some(addr_mode.name().to_owned()), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu/disasm.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | _ => Some(inst_prop.addr_mode.name().to_owned()), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `additional_cycles` is never read [INFO] [stdout] --> src/cpu/instructions.rs:482:13 [INFO] [stdout] | [INFO] [stdout] 482 | let mut additional_cycles: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cartridge` [INFO] [stdout] --> src/bus.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn cartridge(&self) -> &Cartridge { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `operand_string_with_memory` [INFO] [stdout] --> src/cpu/disasm.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn operand_string_with_memory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cpu_status_string` [INFO] [stdout] --> src/cpu/disasm.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 144 | fn cpu_status_string(cpu: &Cpu) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `disasm_one_inst_and_status` [INFO] [stdout] --> src/cpu/disasm.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn disasm_one_inst_and_status(bus: &Bus, addr: u16, cpu: &Cpu) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_jump` [INFO] [stdout] --> src/cpu/instructions.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn is_jump(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cpu.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn new() -> Flags { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cycles` [INFO] [stdout] --> src/cpu.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | cycles: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `elapsed_cycles` [INFO] [stdout] --> src/cpu.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | elapsed_cycles: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cpu.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn new() -> Cpu { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clock` [INFO] [stdout] --> src/cpu.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn clock(&mut self, bus: &mut Bus) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `exec_inst` [INFO] [stdout] --> src/cpu.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 167 | fn exec_inst(&mut self, bus: &mut Bus) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset` [INFO] [stdout] --> src/cpu.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn reset(&mut self, bus: &Bus) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inst_name` [INFO] [stdout] --> src/cpu.rs:250:12 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn inst_name(inst: Inst) -> &'static str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `addr_mode_name` [INFO] [stdout] --> src/cpu.rs:254:12 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn addr_mode_name(addr_mode: AddressingMode) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inst_table_len` [INFO] [stdout] --> src/cpu.rs:258:12 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn inst_table_len() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `copy` [INFO] [stdout] --> src/debug_font/mod.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn copy(&self, canvas: &mut Canvas, rect: Rect) -> Result<(), String> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cpu_test` [INFO] [stdout] --> src/main.rs:90:4 [INFO] [stdout] | [INFO] [stdout] 90 | fn cpu_test() -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cartridge` [INFO] [stdout] --> src/bus.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn cartridge(&self) -> &Cartridge { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `operand_string_with_memory` [INFO] [stdout] --> src/cpu/disasm.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn operand_string_with_memory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cpu_status_string` [INFO] [stdout] --> src/cpu/disasm.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 144 | fn cpu_status_string(cpu: &Cpu) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `disasm_one_inst_and_status` [INFO] [stdout] --> src/cpu/disasm.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn disasm_one_inst_and_status(bus: &Bus, addr: u16, cpu: &Cpu) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_jump` [INFO] [stdout] --> src/cpu/instructions.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn is_jump(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cpu.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn new() -> Flags { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cycles` [INFO] [stdout] --> src/cpu.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | cycles: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `elapsed_cycles` [INFO] [stdout] --> src/cpu.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | elapsed_cycles: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cpu.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn new() -> Cpu { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clock` [INFO] [stdout] --> src/cpu.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn clock(&mut self, bus: &mut Bus) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `exec_inst` [INFO] [stdout] --> src/cpu.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 167 | fn exec_inst(&mut self, bus: &mut Bus) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset` [INFO] [stdout] --> src/cpu.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn reset(&mut self, bus: &Bus) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inst_name` [INFO] [stdout] --> src/cpu.rs:250:12 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn inst_name(inst: Inst) -> &'static str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `addr_mode_name` [INFO] [stdout] --> src/cpu.rs:254:12 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn addr_mode_name(addr_mode: AddressingMode) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inst_table_len` [INFO] [stdout] --> src/cpu.rs:258:12 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn inst_table_len() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `copy` [INFO] [stdout] --> src/debug_font/mod.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn copy(&self, canvas: &mut Canvas, rect: Rect) -> Result<(), String> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cpu_test` [INFO] [stdout] --> src/main.rs:90:4 [INFO] [stdout] | [INFO] [stdout] 90 | fn cpu_test() -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.61s [INFO] running `Command { std: "docker" "inspect" "e556718b1ce25e5418c85ebd813e0d1ba77eb393a56356da5176c1a726a2c0df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e556718b1ce25e5418c85ebd813e0d1ba77eb393a56356da5176c1a726a2c0df", kill_on_drop: false }` [INFO] [stdout] e556718b1ce25e5418c85ebd813e0d1ba77eb393a56356da5176c1a726a2c0df