[INFO] cloning repository https://github.com/THashimov/Chip8-Solo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/THashimov/Chip8-Solo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTHashimov%2FChip8-Solo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTHashimov%2FChip8-Solo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e8f1d9a495e5e9250c1e337c535545805b037c31 [INFO] checking THashimov/Chip8-Solo against try#b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b for pr-82781 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTHashimov%2FChip8-Solo" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/THashimov/Chip8-Solo on toolchain b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/THashimov/Chip8-Solo [INFO] finished tweaking git repo https://github.com/THashimov/Chip8-Solo [INFO] tweaked toml for git repo https://github.com/THashimov/Chip8-Solo written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/THashimov/Chip8-Solo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "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-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2651a13374e6bba070d1a7a73dd2f246dfd648f3fa31894a94f2aa6425517cb [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" "f2651a13374e6bba070d1a7a73dd2f246dfd648f3fa31894a94f2aa6425517cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2651a13374e6bba070d1a7a73dd2f246dfd648f3fa31894a94f2aa6425517cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2651a13374e6bba070d1a7a73dd2f246dfd648f3fa31894a94f2aa6425517cb", kill_on_drop: false }` [INFO] [stdout] f2651a13374e6bba070d1a7a73dd2f246dfd648f3fa31894a94f2aa6425517cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7eb20d7ebfe9421c3d972545e0c548436db293cf94cc1373daa0809da549df5 [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" "b7eb20d7ebfe9421c3d972545e0c548436db293cf94cc1373daa0809da549df5", kill_on_drop: false }` [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking chip8 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `operands` [INFO] [stdout] --> src/cpu.rs:336:23 [INFO] [stdout] | [INFO] [stdout] 336 | fn drw(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operands` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operands` [INFO] [stdout] --> src/cpu.rs:390:24 [INFO] [stdout] | [INFO] [stdout] 390 | fn ld_f(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cpu.rs:401:13 [INFO] [stdout] | [INFO] [stdout] 401 | for i in 0..self.reg[operands.x()] { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operands` [INFO] [stdout] --> src/cpu.rs:336:23 [INFO] [stdout] | [INFO] [stdout] 336 | fn drw(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operands` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operands` [INFO] [stdout] --> src/cpu.rs:390:24 [INFO] [stdout] | [INFO] [stdout] 390 | fn ld_f(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cpu.rs:401:13 [INFO] [stdout] | [INFO] [stdout] 401 | for i in 0..self.reg[operands.x()] { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CPU` [INFO] [stdout] --> src/cpu.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct CPU { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `instruction` [INFO] [stdout] --> src/cpu.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | instruction: u16 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Opcode` [INFO] [stdout] --> src/cpu.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum Opcode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cpu.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | fn new(instruction: u16) -> Operands { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nnn` [INFO] [stdout] --> src/cpu.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | fn nnn(self) -> u16 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nn` [INFO] [stdout] --> src/cpu.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn nn(self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `n` [INFO] [stdout] --> src/cpu.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | fn n(self) -> u16 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `x` [INFO] [stdout] --> src/cpu.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | fn x(self) -> usize { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `y` [INFO] [stdout] --> src/cpu.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | fn y(self) -> usize { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `kk` [INFO] [stdout] --> src/cpu.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | fn kk(self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cpu.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn new(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/cpu.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fetch` [INFO] [stdout] --> src/cpu.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | fn fetch(&self) -> u16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decode` [INFO] [stdout] --> src/cpu.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn decode(instruction: u16) -> (Opcode, Operands) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute` [INFO] [stdout] --> src/cpu.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | fn execute(&mut self, opcode: Opcode, operands: Operands){ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cls` [INFO] [stdout] --> src/cpu.rs:222:8 [INFO] [stdout] | [INFO] [stdout] 222 | fn cls(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ret` [INFO] [stdout] --> src/cpu.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 226 | fn ret(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `jp` [INFO] [stdout] --> src/cpu.rs:231:8 [INFO] [stdout] | [INFO] [stdout] 231 | fn jp(&mut self, operands: Operands) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `call` [INFO] [stdout] --> src/cpu.rs:235:8 [INFO] [stdout] | [INFO] [stdout] 235 | fn call(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `se_byte` [INFO] [stdout] --> src/cpu.rs:241:8 [INFO] [stdout] | [INFO] [stdout] 241 | fn se_byte(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sne_byte` [INFO] [stdout] --> src/cpu.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | fn sne_byte(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `se_reg` [INFO] [stdout] --> src/cpu.rs:253:8 [INFO] [stdout] | [INFO] [stdout] 253 | fn se_reg(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ld_byte` [INFO] [stdout] --> src/cpu.rs:259:8 [INFO] [stdout] | [INFO] [stdout] 259 | fn ld_byte(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_byte` [INFO] [stdout] --> src/cpu.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 263 | fn add_byte(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ld_reg` [INFO] [stdout] --> src/cpu.rs:267:8 [INFO] [stdout] | [INFO] [stdout] 267 | fn ld_reg(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `or_reg` [INFO] [stdout] --> src/cpu.rs:271:8 [INFO] [stdout] | [INFO] [stdout] 271 | fn or_reg(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `and_reg` [INFO] [stdout] --> src/cpu.rs:275:8 [INFO] [stdout] | [INFO] [stdout] 275 | fn and_reg(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `xor_reg` [INFO] [stdout] --> src/cpu.rs:279:8 [INFO] [stdout] | [INFO] [stdout] 279 | fn xor_reg(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_reg` [INFO] [stdout] --> src/cpu.rs:283:8 [INFO] [stdout] | [INFO] [stdout] 283 | fn add_reg(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sub_reg` [INFO] [stdout] --> src/cpu.rs:292:8 [INFO] [stdout] | [INFO] [stdout] 292 | fn sub_reg(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shr_reg` [INFO] [stdout] --> src/cpu.rs:301:8 [INFO] [stdout] | [INFO] [stdout] 301 | fn shr_reg(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `subn_reg` [INFO] [stdout] --> src/cpu.rs:306:8 [INFO] [stdout] | [INFO] [stdout] 306 | fn subn_reg(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shl_reg` [INFO] [stdout] --> src/cpu.rs:311:8 [INFO] [stdout] | [INFO] [stdout] 311 | fn shl_reg(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sne_reg` [INFO] [stdout] --> src/cpu.rs:316:8 [INFO] [stdout] | [INFO] [stdout] 316 | fn sne_reg(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ldi` [INFO] [stdout] --> src/cpu.rs:322:8 [INFO] [stdout] | [INFO] [stdout] 322 | fn ldi(&mut self, operands: Operands) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `jp_reg` [INFO] [stdout] --> src/cpu.rs:327:8 [INFO] [stdout] | [INFO] [stdout] 327 | fn jp_reg(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rnd_byte` [INFO] [stdout] --> src/cpu.rs:331:8 [INFO] [stdout] | [INFO] [stdout] 331 | fn rnd_byte(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `drw` [INFO] [stdout] --> src/cpu.rs:336:8 [INFO] [stdout] | [INFO] [stdout] 336 | fn drw(&mut self, operands: Operands) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `skp` [INFO] [stdout] --> src/cpu.rs:340:8 [INFO] [stdout] | [INFO] [stdout] 340 | fn skp(&mut self, operands: Operands) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sknp` [INFO] [stdout] --> src/cpu.rs:346:8 [INFO] [stdout] | [INFO] [stdout] 346 | fn sknp(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ld_dt` [INFO] [stdout] --> src/cpu.rs:352:8 [INFO] [stdout] | [INFO] [stdout] 352 | fn ld_dt(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ld` [INFO] [stdout] --> src/cpu.rs:356:8 [INFO] [stdout] | [INFO] [stdout] 356 | fn ld(&mut self, operands: Operands) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ls_dt_reg` [INFO] [stdout] --> src/cpu.rs:378:8 [INFO] [stdout] | [INFO] [stdout] 378 | fn ls_dt_reg(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ld_st_reg` [INFO] [stdout] --> src/cpu.rs:382:8 [INFO] [stdout] | [INFO] [stdout] 382 | fn ld_st_reg(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/cpu.rs:386:8 [INFO] [stdout] | [INFO] [stdout] 386 | fn add(&mut self, operands: Operands) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ld_f` [INFO] [stdout] --> src/cpu.rs:390:8 [INFO] [stdout] | [INFO] [stdout] 390 | fn ld_f(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ld_b` [INFO] [stdout] --> src/cpu.rs:394:8 [INFO] [stdout] | [INFO] [stdout] 394 | fn ld_b(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ld_str` [INFO] [stdout] --> src/cpu.rs:400:8 [INFO] [stdout] | [INFO] [stdout] 400 | fn ld_str(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ld_read` [INFO] [stdout] --> src/cpu.rs:406:8 [INFO] [stdout] | [INFO] [stdout] 406 | fn ld_read(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/cpu.rs:288:29 [INFO] [stdout] | [INFO] [stdout] 288 | self.reg[0x0F] = if result > 0xFF {1} else {0}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CPU` [INFO] [stdout] --> src/cpu.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct CPU { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `instruction` [INFO] [stdout] --> src/cpu.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | instruction: u16 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Opcode` [INFO] [stdout] --> src/cpu.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum Opcode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cpu.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | fn new(instruction: u16) -> Operands { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nnn` [INFO] [stdout] --> src/cpu.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | fn nnn(self) -> u16 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nn` [INFO] [stdout] --> src/cpu.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn nn(self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `n` [INFO] [stdout] --> src/cpu.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | fn n(self) -> u16 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `x` [INFO] [stdout] --> src/cpu.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | fn x(self) -> usize { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `y` [INFO] [stdout] --> src/cpu.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | fn y(self) -> usize { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `kk` [INFO] [stdout] --> src/cpu.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | fn kk(self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cpu.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn new(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/cpu.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fetch` [INFO] [stdout] --> src/cpu.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | fn fetch(&self) -> u16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decode` [INFO] [stdout] --> src/cpu.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn decode(instruction: u16) -> (Opcode, Operands) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute` [INFO] [stdout] --> src/cpu.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | fn execute(&mut self, opcode: Opcode, operands: Operands){ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cls` [INFO] [stdout] --> src/cpu.rs:222:8 [INFO] [stdout] | [INFO] [stdout] 222 | fn cls(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ret` [INFO] [stdout] --> src/cpu.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 226 | fn ret(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `jp` [INFO] [stdout] --> src/cpu.rs:231:8 [INFO] [stdout] | [INFO] [stdout] 231 | fn jp(&mut self, operands: Operands) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `call` [INFO] [stdout] --> src/cpu.rs:235:8 [INFO] [stdout] | [INFO] [stdout] 235 | fn call(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `se_byte` [INFO] [stdout] --> src/cpu.rs:241:8 [INFO] [stdout] | [INFO] [stdout] 241 | fn se_byte(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sne_byte` [INFO] [stdout] --> src/cpu.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | fn sne_byte(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `se_reg` [INFO] [stdout] --> src/cpu.rs:253:8 [INFO] [stdout] | [INFO] [stdout] 253 | fn se_reg(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ld_byte` [INFO] [stdout] --> src/cpu.rs:259:8 [INFO] [stdout] | [INFO] [stdout] 259 | fn ld_byte(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_byte` [INFO] [stdout] --> src/cpu.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 263 | fn add_byte(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ld_reg` [INFO] [stdout] --> src/cpu.rs:267:8 [INFO] [stdout] | [INFO] [stdout] 267 | fn ld_reg(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `or_reg` [INFO] [stdout] --> src/cpu.rs:271:8 [INFO] [stdout] | [INFO] [stdout] 271 | fn or_reg(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `and_reg` [INFO] [stdout] --> src/cpu.rs:275:8 [INFO] [stdout] | [INFO] [stdout] 275 | fn and_reg(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `xor_reg` [INFO] [stdout] --> src/cpu.rs:279:8 [INFO] [stdout] | [INFO] [stdout] 279 | fn xor_reg(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_reg` [INFO] [stdout] --> src/cpu.rs:283:8 [INFO] [stdout] | [INFO] [stdout] 283 | fn add_reg(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sub_reg` [INFO] [stdout] --> src/cpu.rs:292:8 [INFO] [stdout] | [INFO] [stdout] 292 | fn sub_reg(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shr_reg` [INFO] [stdout] --> src/cpu.rs:301:8 [INFO] [stdout] | [INFO] [stdout] 301 | fn shr_reg(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `subn_reg` [INFO] [stdout] --> src/cpu.rs:306:8 [INFO] [stdout] | [INFO] [stdout] 306 | fn subn_reg(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shl_reg` [INFO] [stdout] --> src/cpu.rs:311:8 [INFO] [stdout] | [INFO] [stdout] 311 | fn shl_reg(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sne_reg` [INFO] [stdout] --> src/cpu.rs:316:8 [INFO] [stdout] | [INFO] [stdout] 316 | fn sne_reg(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ldi` [INFO] [stdout] --> src/cpu.rs:322:8 [INFO] [stdout] | [INFO] [stdout] 322 | fn ldi(&mut self, operands: Operands) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `jp_reg` [INFO] [stdout] --> src/cpu.rs:327:8 [INFO] [stdout] | [INFO] [stdout] 327 | fn jp_reg(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rnd_byte` [INFO] [stdout] --> src/cpu.rs:331:8 [INFO] [stdout] | [INFO] [stdout] 331 | fn rnd_byte(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `drw` [INFO] [stdout] --> src/cpu.rs:336:8 [INFO] [stdout] | [INFO] [stdout] 336 | fn drw(&mut self, operands: Operands) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `skp` [INFO] [stdout] --> src/cpu.rs:340:8 [INFO] [stdout] | [INFO] [stdout] 340 | fn skp(&mut self, operands: Operands) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sknp` [INFO] [stdout] --> src/cpu.rs:346:8 [INFO] [stdout] | [INFO] [stdout] 346 | fn sknp(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ld_dt` [INFO] [stdout] --> src/cpu.rs:352:8 [INFO] [stdout] | [INFO] [stdout] 352 | fn ld_dt(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ld` [INFO] [stdout] --> src/cpu.rs:356:8 [INFO] [stdout] | [INFO] [stdout] 356 | fn ld(&mut self, operands: Operands) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ls_dt_reg` [INFO] [stdout] --> src/cpu.rs:378:8 [INFO] [stdout] | [INFO] [stdout] 378 | fn ls_dt_reg(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ld_st_reg` [INFO] [stdout] --> src/cpu.rs:382:8 [INFO] [stdout] | [INFO] [stdout] 382 | fn ld_st_reg(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/cpu.rs:386:8 [INFO] [stdout] | [INFO] [stdout] 386 | fn add(&mut self, operands: Operands) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ld_f` [INFO] [stdout] --> src/cpu.rs:390:8 [INFO] [stdout] | [INFO] [stdout] 390 | fn ld_f(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ld_b` [INFO] [stdout] --> src/cpu.rs:394:8 [INFO] [stdout] | [INFO] [stdout] 394 | fn ld_b(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ld_str` [INFO] [stdout] --> src/cpu.rs:400:8 [INFO] [stdout] | [INFO] [stdout] 400 | fn ld_str(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ld_read` [INFO] [stdout] --> src/cpu.rs:406:8 [INFO] [stdout] | [INFO] [stdout] 406 | fn ld_read(&mut self, operands: Operands) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/cpu.rs:288:29 [INFO] [stdout] | [INFO] [stdout] 288 | self.reg[0x0F] = if result > 0xFF {1} else {0}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 53 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 53 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.84s [INFO] running `Command { std: "docker" "inspect" "b7eb20d7ebfe9421c3d972545e0c548436db293cf94cc1373daa0809da549df5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7eb20d7ebfe9421c3d972545e0c548436db293cf94cc1373daa0809da549df5", kill_on_drop: false }` [INFO] [stdout] b7eb20d7ebfe9421c3d972545e0c548436db293cf94cc1373daa0809da549df5