[INFO] cloning repository https://github.com/mattbruv/Gameboy-Crust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mattbruv/Gameboy-Crust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattbruv%2FGameboy-Crust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattbruv%2FGameboy-Crust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d936de9b941c7f0144949df8f3ab0f6f02d58468 [INFO] documenting mattbruv/Gameboy-Crust against 1.61.0 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattbruv%2FGameboy-Crust" "/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/mattbruv/Gameboy-Crust on toolchain 1.61.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mattbruv/Gameboy-Crust [INFO] finished tweaking git repo https://github.com/mattbruv/Gameboy-Crust [INFO] tweaked toml for git repo https://github.com/mattbruv/Gameboy-Crust written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/mattbruv/Gameboy-Crust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded kernel32-sys v0.1.4 [INFO] [stderr] Downloaded sdl2 v0.30.0 [INFO] [stderr] Downloaded sdl2-sys v0.30.0 [INFO] [stderr] Downloaded minifb v0.10.3 [INFO] [stderr] Downloaded orbclient v0.3.12 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8ad2108d43bfb16c2e2c6eba77cd35007db0e41f01c582b91b53658e2e89d42 [INFO] running `Command { std: "docker" "start" "-a" "f8ad2108d43bfb16c2e2c6eba77cd35007db0e41f01c582b91b53658e2e89d42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8ad2108d43bfb16c2e2c6eba77cd35007db0e41f01c582b91b53658e2e89d42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8ad2108d43bfb16c2e2c6eba77cd35007db0e41f01c582b91b53658e2e89d42", kill_on_drop: false }` [INFO] [stdout] f8ad2108d43bfb16c2e2c6eba77cd35007db0e41f01c582b91b53658e2e89d42 [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" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2762531bc7f8d76032d649e3d1112afdfeae639d1171fe03015df26dc9532aa [INFO] running `Command { std: "docker" "start" "-a" "a2762531bc7f8d76032d649e3d1112afdfeae639d1171fe03015df26dc9532aa", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Checking libc v0.2.32 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Checking lazy_static v0.2.9 [INFO] [stderr] Compiling x11-dl v2.14.0 [INFO] [stderr] Checking time v0.1.38 [INFO] [stderr] Compiling minifb v0.10.3 [INFO] [stderr] Documenting gameboy-crust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/core/interconnect.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | ROM_START ... ROM_BANK_END => self.rom.read(address), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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/core/interconnect.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | VRAM_START ... VRAM_END => self.gpu.read(address), [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/core/interconnect.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | ERAM_START ... ERAM_END => self.rom.read(address), [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/core/interconnect.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | WRAM_START ... WRAM_END => self.wram.read(address - WRAM_START), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/core/interconnect.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | ECHO_START ... ECHO_END => self.wram.read(address - ECHO_START), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/core/interconnect.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | OAM_START ... OAM_END => self.gpu.read(address), [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/core/interconnect.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | HRAM_START ... HRAM_END => self.hram.read(address - HRAM_START), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/core/interconnect.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 63 | ROM_START ... ROM_BANK_END => self.rom.write(address, data), [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/core/interconnect.rs:64:15 [INFO] [stdout] | [INFO] [stdout] 64 | VRAM_START ... VRAM_END => self.gpu.write(address, data), [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/core/interconnect.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 65 | ERAM_START ... ERAM_END => self.rom.write(address, data), [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/core/interconnect.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | WRAM_START ... WRAM_END => self.wram.write(address - WRAM_START, data), [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/core/interconnect.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | ECHO_START ... ECHO_END => { [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/core/interconnect.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 72 | OAM_START ... OAM_END => self.gpu.write(address, data), [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/core/interconnect.rs:73:15 [INFO] [stdout] | [INFO] [stdout] 73 | HRAM_START ... HRAM_END => self.hram.write(address - HRAM_START, data), [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: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/core/register.rs:127:10 [INFO] [stdout] | [INFO] [stdout] 127 | match (self.f & Flag::Zero as u8) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 127 - match (self.f & Flag::Zero as u8) [INFO] [stdout] 127 + match self.f & Flag::Zero as u8 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/core/register.rs:132:10 [INFO] [stdout] | [INFO] [stdout] 132 | match (self.f & Flag::Sub as u8) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 132 - match (self.f & Flag::Sub as u8) [INFO] [stdout] 132 + match self.f & Flag::Sub as u8 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/core/register.rs:137:10 [INFO] [stdout] | [INFO] [stdout] 137 | match (self.f & Flag::HalfCarry as u8) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 137 - match (self.f & Flag::HalfCarry as u8) [INFO] [stdout] 137 + match self.f & Flag::HalfCarry as u8 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/core/register.rs:142:10 [INFO] [stdout] | [INFO] [stdout] 142 | match (self.f & Flag::Carry as u8) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 142 - match (self.f & Flag::Carry as u8) [INFO] [stdout] 142 + match self.f & Flag::Carry as u8 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/core/rom.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | 0x01 ... 0x03 => Box::new(mbc1::MBC1::new()), [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/core/rom.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | 0x05 ... 0x06 => Box::new(mbc2::MBC2::new()), [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/core/rom.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | 0x0F ... 0x13 => Box::new(mbc3::MBC3::new()), [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: unnecessary parentheses around method argument [INFO] [stdout] --> src/core/cpu.rs:770:34 [INFO] [stdout] | [INFO] [stdout] 770 | self.regs.set_flag(Flag::Zero, (result == 0)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 770 - self.regs.set_flag(Flag::Zero, (result == 0)); [INFO] [stdout] 770 + self.regs.set_flag(Flag::Zero, result == 0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/core/cpu.rs:783:34 [INFO] [stdout] | [INFO] [stdout] 783 | self.regs.set_flag(Flag::Zero, (result == 0)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 783 - self.regs.set_flag(Flag::Zero, (result == 0)); [INFO] [stdout] 783 + self.regs.set_flag(Flag::Zero, result == 0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/core/cpu.rs:792:34 [INFO] [stdout] | [INFO] [stdout] 792 | self.regs.set_flag(Flag::Zero, (result == 0)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 792 - self.regs.set_flag(Flag::Zero, (result == 0)); [INFO] [stdout] 792 + self.regs.set_flag(Flag::Zero, result == 0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/core/cpu.rs:801:34 [INFO] [stdout] | [INFO] [stdout] 801 | self.regs.set_flag(Flag::Zero, (result == 0)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 801 - self.regs.set_flag(Flag::Zero, (result == 0)); [INFO] [stdout] 801 + self.regs.set_flag(Flag::Zero, result == 0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/core/cpu.rs:810:34 [INFO] [stdout] | [INFO] [stdout] 810 | self.regs.set_flag(Flag::Zero, (result == 0)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 810 - self.regs.set_flag(Flag::Zero, (result == 0)); [INFO] [stdout] 810 + self.regs.set_flag(Flag::Zero, result == 0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/core/cpu.rs:826:34 [INFO] [stdout] | [INFO] [stdout] 826 | self.regs.set_flag(Flag::Zero, (result == 0)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 826 - self.regs.set_flag(Flag::Zero, (result == 0)); [INFO] [stdout] 826 + self.regs.set_flag(Flag::Zero, result == 0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/core/cpu.rs:835:34 [INFO] [stdout] | [INFO] [stdout] 835 | self.regs.set_flag(Flag::Zero, (result == 0)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 835 - self.regs.set_flag(Flag::Zero, (result == 0)); [INFO] [stdout] 835 + self.regs.set_flag(Flag::Zero, result == 0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/core/cpu.rs:855:35 [INFO] [stdout] | [INFO] [stdout] 855 | self.regs.set_flag(Flag::Carry, (bit7 == 1)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 855 - self.regs.set_flag(Flag::Carry, (bit7 == 1)); [INFO] [stdout] 855 + self.regs.set_flag(Flag::Carry, bit7 == 1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/core/cpu.rs:858:34 [INFO] [stdout] | [INFO] [stdout] 858 | self.regs.set_flag(Flag::Zero, (result == 0 && update_zero)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 858 - self.regs.set_flag(Flag::Zero, (result == 0 && update_zero)); [INFO] [stdout] 858 + self.regs.set_flag(Flag::Zero, result == 0 && update_zero); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/core/cpu.rs:870:35 [INFO] [stdout] | [INFO] [stdout] 870 | self.regs.set_flag(Flag::Carry, (bit1 == 1)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 870 - self.regs.set_flag(Flag::Carry, (bit1 == 1)); [INFO] [stdout] 870 + self.regs.set_flag(Flag::Carry, bit1 == 1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/core/cpu.rs:873:34 [INFO] [stdout] | [INFO] [stdout] 873 | self.regs.set_flag(Flag::Zero, (result == 0 && update_zero)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 873 - self.regs.set_flag(Flag::Zero, (result == 0 && update_zero)); [INFO] [stdout] 873 + self.regs.set_flag(Flag::Zero, result == 0 && update_zero); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/core/cpu.rs:921:3 [INFO] [stdout] | [INFO] [stdout] 921 | (!(bit as u8) & n) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 921 - (!(bit as u8) & n) [INFO] [stdout] 921 + !(bit as u8) & n [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/core/gpu.rs:253:7 [INFO] [stdout] | [INFO] [stdout] 253 | 0 ... OAM_PERIOD => { // OAM [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/core/gpu.rs:259:16 [INFO] [stdout] | [INFO] [stdout] 259 | OAM_PERIOD ... TRANSFER_PERIOD => { // Transfer [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/core/gpu.rs:267:21 [INFO] [stdout] | [INFO] [stdout] 267 | TRANSFER_PERIOD ... HBLANK_PERIOD => { // H-Blank [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: unnecessary parentheses around assigned value [INFO] [stdout] --> src/core/gpu.rs:337:13 [INFO] [stdout] | [INFO] [stdout] 337 | let row = (y / 8); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 337 - let row = (y / 8); [INFO] [stdout] 337 + let row = y / 8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/core/gpu.rs:342:17 [INFO] [stdout] | [INFO] [stdout] 342 | let column = (x / 8); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 342 - let column = (x / 8); [INFO] [stdout] 342 + let column = x / 8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/core/gpu.rs:404:18 [INFO] [stdout] | [INFO] [stdout] 404 | debug_color |= (debug_line_color as u32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 404 - debug_color |= (debug_line_color as u32); [INFO] [stdout] 404 + debug_color |= debug_line_color as u32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/core/gpu.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 473 | if (scanline_y.wrapping_sub(sprite_y) < 8) { // top half [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 473 - if (scanline_y.wrapping_sub(sprite_y) < 8) { // top half [INFO] [stdout] 473 + if scanline_y.wrapping_sub(sprite_y) < 8 { // top half [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/core/gpu.rs:566:15 [INFO] [stdout] | [INFO] [stdout] 566 | VRAM_START ... VRAM_END => { [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/core/gpu.rs:575:15 [INFO] [stdout] | [INFO] [stdout] 575 | OAM_START ... OAM_END => { [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/core/gpu.rs:608:15 [INFO] [stdout] | [INFO] [stdout] 608 | VRAM_START ... VRAM_END => { [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/core/gpu.rs:622:14 [INFO] [stdout] | [INFO] [stdout] 622 | OAM_START ... OAM_END => { [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/core/mbc/mbc1.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | ROM_START ... ROM_END => { [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/core/mbc/mbc1.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | ROM_BANK_START ... ROM_BANK_END => { [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/core/mbc/mbc1.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | ERAM_START ... ERAM_END => { [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/core/mbc/mbc1.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | 0x0000 ... 0x1FFF => { [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/core/mbc/mbc1.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | 0x2000 ... 0x3FFF => { [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/core/mbc/mbc1.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | 0x4000 ... 0x5FFF => { [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/core/mbc/mbc1.rs:96:11 [INFO] [stdout] | [INFO] [stdout] 96 | 0x6000 ... 0x7FFF => { [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/core/mbc/mbc1.rs:103:15 [INFO] [stdout] | [INFO] [stdout] 103 | ERAM_START ... ERAM_END => { [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/core/mbc/mbc3.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | ROM_START ... ROM_END => { [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/core/mbc/mbc3.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | ROM_BANK_START ... ROM_BANK_END => { [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/core/mbc/mbc3.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | ERAM_START ... ERAM_END => { [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/core/mbc/mbc3.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | 0x0000 ... 0x1FFF => { [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/core/mbc/mbc3.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | 0x2000 ... 0x3FFF => { [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/core/mbc/mbc3.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 69 | 0x4000 ... 0x5FFF => { [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/core/mbc/mbc3.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | 0x6000 ... 0x7FFF => { [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/core/mbc/mbc3.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | ERAM_START ... ERAM_END => { [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: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/core/dma.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | if (self.cycles - adjusted_cycles < 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 36 - if (self.cycles - adjusted_cycles < 0) { [INFO] [stdout] 36 + if self.cycles - adjusted_cycles < 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/core/timer.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | if (timer_value == 255) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 55 - if (timer_value == 255) { [INFO] [stdout] 55 + if timer_value == 255 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 62 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.24s [INFO] running `Command { std: "docker" "inspect" "a2762531bc7f8d76032d649e3d1112afdfeae639d1171fe03015df26dc9532aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2762531bc7f8d76032d649e3d1112afdfeae639d1171fe03015df26dc9532aa", kill_on_drop: false }` [INFO] [stdout] a2762531bc7f8d76032d649e3d1112afdfeae639d1171fe03015df26dc9532aa