[INFO] cloning repository https://github.com/dmit/nes-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dmit/nes-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmit%2Fnes-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmit%2Fnes-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fdcfb295a1a261ae2d2572263c89020f6b8033cd [INFO] checking dmit/nes-rs against master#426a60abc213b28a7c7198e475476b6e650d871f for pr-129199 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmit%2Fnes-rs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dmit/nes-rs on toolchain 426a60abc213b28a7c7198e475476b6e650d871f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+426a60abc213b28a7c7198e475476b6e650d871f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dmit/nes-rs [INFO] finished tweaking git repo https://github.com/dmit/nes-rs [INFO] tweaked toml for git repo https://github.com/dmit/nes-rs written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dmit/nes-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+426a60abc213b28a7c7198e475476b6e650d871f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking dmit/nes-rs against try#2c70eb47850052381670935f807d41647a7dc992 for pr-129199 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmit%2Fnes-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dmit/nes-rs on toolchain 2c70eb47850052381670935f807d41647a7dc992 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dmit/nes-rs [INFO] finished tweaking git repo https://github.com/dmit/nes-rs [INFO] tweaked toml for git repo https://github.com/dmit/nes-rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dmit/nes-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e768ca734ccae0101f241b3922e7db0133ff5306457f266d7b9d74dbe388642 [INFO] running `Command { std: "docker" "start" "-a" "5e768ca734ccae0101f241b3922e7db0133ff5306457f266d7b9d74dbe388642", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e768ca734ccae0101f241b3922e7db0133ff5306457f266d7b9d74dbe388642", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e768ca734ccae0101f241b3922e7db0133ff5306457f266d7b9d74dbe388642", kill_on_drop: false }` [INFO] [stdout] 5e768ca734ccae0101f241b3922e7db0133ff5306457f266d7b9d74dbe388642 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d79190ccd1af7fc6fb9f74226b72adaf70a447166e1d6c912c55aaff865ceee1 [INFO] running `Command { std: "docker" "start" "-a" "d79190ccd1af7fc6fb9f74226b72adaf70a447166e1d6c912c55aaff865ceee1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking byteorder v0.4.2 [INFO] [stderr] Checking nes-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | 0x0000...0x07ff => self.ram[addr as usize], [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/cpu.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | 0x0800...0x1fff => self.ram[(addr % 0x800) as usize], [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: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | 0x2000...0x2007 => self.ppu_reg.borrow().read(addr - 0x2000), [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: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | 0x2008...0x3fff => self.ppu_reg.borrow().read((addr - 0x2008) % 8), [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: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | 0x4000...0x401f => self.apu_reg.borrow().read(addr - 0x4000), [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: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | 0x4020...0x5fff => panic!("expansion rom"), [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: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | 0x6000...0x7fff => self.sram[(addr - 0x6000) as usize], [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: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | 0x8000...0xffff => self.prg_rom[(addr - 0x8000) as usize], [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: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | 0x0000...0x07ff => self.ram[addr as usize] = value, [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: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | 0x0800...0x1fff => self.ram[(addr % 0x800) as usize] = value, [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: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | 0x2000...0x2007 => self.ppu_reg.borrow_mut().write(addr - 0x2000, value), [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: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | 0x2008...0x3fff => self.ppu_reg.borrow_mut().write((addr - 0x2008) % 8, value), [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: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | 0x4000...0x401f => self.apu_reg.borrow_mut().write(addr - 0x4000, value), [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: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | 0x4020...0x5fff => panic!("expansion rom"), [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: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | 0x6000...0x7fff => self.sram[(addr - 0x6000) as usize] = value, [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: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | 0x8000...0xffff => self.prg_rom[(addr - 0x8000) as usize] = value, [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: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | 0x0000...0x07ff => self.ram[addr as usize], [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/cpu.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | 0x0800...0x1fff => self.ram[(addr % 0x800) as usize], [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: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | 0x2000...0x2007 => self.ppu_reg.borrow().read(addr - 0x2000), [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: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | 0x2008...0x3fff => self.ppu_reg.borrow().read((addr - 0x2008) % 8), [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: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | 0x4000...0x401f => self.apu_reg.borrow().read(addr - 0x4000), [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: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | 0x4020...0x5fff => panic!("expansion rom"), [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: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | 0x6000...0x7fff => self.sram[(addr - 0x6000) as usize], [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: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | 0x8000...0xffff => self.prg_rom[(addr - 0x8000) as usize], [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: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | 0x0000...0x07ff => self.ram[addr as usize] = value, [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: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | 0x0800...0x1fff => self.ram[(addr % 0x800) as usize] = value, [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: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | 0x2000...0x2007 => self.ppu_reg.borrow_mut().write(addr - 0x2000, value), [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: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | 0x2008...0x3fff => self.ppu_reg.borrow_mut().write((addr - 0x2008) % 8, value), [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: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | 0x4000...0x401f => self.apu_reg.borrow_mut().write(addr - 0x4000, value), [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: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | 0x4020...0x5fff => panic!("expansion rom"), [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: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | 0x6000...0x7fff => self.sram[(addr - 0x6000) as usize] = value, [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: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | 0x8000...0xffff => self.prg_rom[(addr - 0x8000) as usize] = value, [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: `addr` [INFO] [stdout] --> src/apu.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn read(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/apu.rs:53:29 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn write(&mut self, addr: u16, value: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/apu.rs:53:40 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn write(&mut self, addr: u16, value: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | _ => unreachable!(), [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] note: these patterns collectively make the last one unreachable [INFO] [stdout] --> src/cpu.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 41 | 0x0000...0x07ff => self.ram[addr as usize], [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 42 | 0x0800...0x1fff => self.ram[(addr % 0x800) as usize], [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 43 | 0x2000...0x2007 => self.ppu_reg.borrow().read(addr - 0x2000), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 44 | 0x2008...0x3fff => self.ppu_reg.borrow().read((addr - 0x2008) % 8), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 45 | 0x4000...0x401f => self.apu_reg.borrow().read(addr - 0x4000), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 46 | 0x4020...0x5fff => panic!("expansion rom"), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 47 | 0x6000...0x7fff => self.sram[(addr - 0x6000) as usize], [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 48 | 0x8000...0xffff => self.prg_rom[(addr - 0x8000) as usize], [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 49 | _ => unreachable!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | _ => unreachable!(), [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] note: these patterns collectively make the last one unreachable [INFO] [stdout] --> src/cpu.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 71 | 0x0000...0x07ff => self.ram[addr as usize] = value, [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 72 | 0x0800...0x1fff => self.ram[(addr % 0x800) as usize] = value, [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 73 | 0x2000...0x2007 => self.ppu_reg.borrow_mut().write(addr - 0x2000, value), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 74 | 0x2008...0x3fff => self.ppu_reg.borrow_mut().write((addr - 0x2008) % 8, value), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 75 | 0x4000...0x401f => self.apu_reg.borrow_mut().write(addr - 0x4000, value), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 76 | 0x4020...0x5fff => panic!("expansion rom"), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 77 | 0x6000...0x7fff => self.sram[(addr - 0x6000) as usize] = value, [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 78 | 0x8000...0xffff => self.prg_rom[(addr - 0x8000) as usize] = value, [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 79 | _ => unreachable!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/apu.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct ApuReg { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 25 | pulse1_ctrl: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 26 | pulse1_ramp_ctrl: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | pulse1_fine_tune: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | pulse1_coarse_tune: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | pulse2_ctrl: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 30 | pulse2_ramp_ctrl: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | pulse2_fine_tune: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | pulse2_coarse_tune: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | triangle_ctrl1: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 34 | triangle_ctrl2: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 35 | triangle_freq1: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 36 | triangle_freq2: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 37 | noise_ctrl: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 38 | _unused: u8, [INFO] [stdout] 39 | noise_freq1: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 40 | noise_freq2: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 41 | delta_mod_ctrl: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 42 | delta_mod_da: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 43 | delta_mod_addr: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 44 | delta_mod_data_len: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | sprite_dma: SpriteDma, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 46 | vert_clock_signal: VertClockSignal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApuReg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_i8` and `push_u8` are never used [INFO] [stdout] --> src/cpu.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Cpu { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | fn read_i8(&self, addr: u16) -> i8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn push_u8(&mut self, value: u8) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_brk` is never read [INFO] [stdout] --> src/cpu.rs:399:5 [INFO] [stdout] | [INFO] [stdout] 396 | struct StatusReg { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 399 | is_brk: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatusReg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/ppu.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Ppu { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 6 | pub reg: Rc>, [INFO] [stdout] 7 | patterns0: PatternTable, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | patterns1: PatternTable, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | names0: NameTable, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | attrs0: AttrTable, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | names1: NameTable, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | attrs1: AttrTable, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | names2: NameTable, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | attrs2: AttrTable, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | names3: NameTable, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | attrs3: AttrTable, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | image_palette: Palette, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 18 | sprite_palette: Palette, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/ppu.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | struct Tile(u64, u64); [INFO] [stdout] | ---- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `Tile` has derived impls for the traits `Default` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tiles` is never read [INFO] [stdout] --> src/ppu.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 52 | struct PatternTable { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 53 | tiles: [Tile; 256], [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/ppu.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | struct Palette(u64, u64); [INFO] [stdout] | ------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `Palette` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `spr_addr`, `spr_io`, `vram_addr1`, and `vram_addr2` are never read [INFO] [stdout] --> src/ppu.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct PpuReg { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 75 | spr_addr: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 76 | spr_io: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 77 | vram_addr1: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 78 | vram_addr2: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PpuReg` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name_table_addr` is never used [INFO] [stdout] --> src/ppu.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 101 | impl PpuCtrl1 { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 102 | fn name_table_addr(self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/apu.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn read(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/apu.rs:53:29 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn write(&mut self, addr: u16, value: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/apu.rs:53:40 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn write(&mut self, addr: u16, value: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | _ => unreachable!(), [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] note: these patterns collectively make the last one unreachable [INFO] [stdout] --> src/cpu.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 41 | 0x0000...0x07ff => self.ram[addr as usize], [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 42 | 0x0800...0x1fff => self.ram[(addr % 0x800) as usize], [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 43 | 0x2000...0x2007 => self.ppu_reg.borrow().read(addr - 0x2000), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 44 | 0x2008...0x3fff => self.ppu_reg.borrow().read((addr - 0x2008) % 8), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 45 | 0x4000...0x401f => self.apu_reg.borrow().read(addr - 0x4000), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 46 | 0x4020...0x5fff => panic!("expansion rom"), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 47 | 0x6000...0x7fff => self.sram[(addr - 0x6000) as usize], [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 48 | 0x8000...0xffff => self.prg_rom[(addr - 0x8000) as usize], [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 49 | _ => unreachable!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | _ => unreachable!(), [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] note: these patterns collectively make the last one unreachable [INFO] [stdout] --> src/cpu.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 71 | 0x0000...0x07ff => self.ram[addr as usize] = value, [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 72 | 0x0800...0x1fff => self.ram[(addr % 0x800) as usize] = value, [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 73 | 0x2000...0x2007 => self.ppu_reg.borrow_mut().write(addr - 0x2000, value), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 74 | 0x2008...0x3fff => self.ppu_reg.borrow_mut().write((addr - 0x2008) % 8, value), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 75 | 0x4000...0x401f => self.apu_reg.borrow_mut().write(addr - 0x4000, value), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 76 | 0x4020...0x5fff => panic!("expansion rom"), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 77 | 0x6000...0x7fff => self.sram[(addr - 0x6000) as usize] = value, [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 78 | 0x8000...0xffff => self.prg_rom[(addr - 0x8000) as usize] = value, [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 79 | _ => unreachable!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/apu.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct ApuReg { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 25 | pulse1_ctrl: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 26 | pulse1_ramp_ctrl: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | pulse1_fine_tune: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | pulse1_coarse_tune: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | pulse2_ctrl: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 30 | pulse2_ramp_ctrl: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | pulse2_fine_tune: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | pulse2_coarse_tune: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | triangle_ctrl1: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 34 | triangle_ctrl2: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 35 | triangle_freq1: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 36 | triangle_freq2: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 37 | noise_ctrl: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 38 | _unused: u8, [INFO] [stdout] 39 | noise_freq1: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 40 | noise_freq2: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 41 | delta_mod_ctrl: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 42 | delta_mod_da: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 43 | delta_mod_addr: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 44 | delta_mod_data_len: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | sprite_dma: SpriteDma, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 46 | vert_clock_signal: VertClockSignal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApuReg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_i8` and `push_u8` are never used [INFO] [stdout] --> src/cpu.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Cpu { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | fn read_i8(&self, addr: u16) -> i8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn push_u8(&mut self, value: u8) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_brk` is never read [INFO] [stdout] --> src/cpu.rs:399:5 [INFO] [stdout] | [INFO] [stdout] 396 | struct StatusReg { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 399 | is_brk: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatusReg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/ppu.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Ppu { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 6 | pub reg: Rc>, [INFO] [stdout] 7 | patterns0: PatternTable, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | patterns1: PatternTable, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | names0: NameTable, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | attrs0: AttrTable, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | names1: NameTable, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | attrs1: AttrTable, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | names2: NameTable, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | attrs2: AttrTable, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | names3: NameTable, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | attrs3: AttrTable, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | image_palette: Palette, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 18 | sprite_palette: Palette, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/ppu.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | struct Tile(u64, u64); [INFO] [stdout] | ---- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `Tile` has derived impls for the traits `Default` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tiles` is never read [INFO] [stdout] --> src/ppu.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 52 | struct PatternTable { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 53 | tiles: [Tile; 256], [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/ppu.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | struct Palette(u64, u64); [INFO] [stdout] | ------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `Palette` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `spr_addr`, `spr_io`, `vram_addr1`, and `vram_addr2` are never read [INFO] [stdout] --> src/ppu.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct PpuReg { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 75 | spr_addr: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 76 | spr_io: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 77 | vram_addr1: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 78 | vram_addr2: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PpuReg` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name_table_addr` is never used [INFO] [stdout] --> src/ppu.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 101 | impl PpuCtrl1 { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 102 | fn name_table_addr(self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/bin/asm.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/bin/asm.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/bin/asm.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/bin/asm.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/bin/asm.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/bin/asm.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/emu.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut apu = Apu::new(); [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/bin/emu.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut apu = Apu::new(); [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] running `Command { std: "docker" "inspect" "d79190ccd1af7fc6fb9f74226b72adaf70a447166e1d6c912c55aaff865ceee1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d79190ccd1af7fc6fb9f74226b72adaf70a447166e1d6c912c55aaff865ceee1", kill_on_drop: false }` [INFO] [stdout] d79190ccd1af7fc6fb9f74226b72adaf70a447166e1d6c912c55aaff865ceee1