[INFO] cloning repository https://github.com/fmdkdd/gbs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fmdkdd/gbs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffmdkdd%2Fgbs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffmdkdd%2Fgbs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ce380e30aa1006552a33cbcea5a39d5b202bd0f8 [INFO] checking fmdkdd/gbs against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffmdkdd%2Fgbs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fmdkdd/gbs [INFO] finished tweaking git repo https://github.com/fmdkdd/gbs [INFO] tweaked toml for git repo https://github.com/fmdkdd/gbs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fmdkdd/gbs on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fmdkdd/gbs 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded smallvec v0.1.8 [INFO] [stderr] Downloaded pkg-config v0.3.8 [INFO] [stderr] Downloaded gdi32-sys v0.1.1 [INFO] [stderr] Downloaded wayland-window v0.2.3 [INFO] [stderr] Downloaded lazy_static v0.2.2 [INFO] [stderr] Downloaded cfg-if v0.1.0 [INFO] [stderr] Downloaded gl_generator v0.5.2 [INFO] [stderr] Downloaded wayland-client v0.5.12 [INFO] [stderr] Downloaded x11-dl v2.11.0 [INFO] [stderr] Downloaded core-graphics v0.3.2 [INFO] [stderr] Downloaded serde v0.8.17 [INFO] [stderr] Downloaded osmesa-sys v0.1.2 [INFO] [stderr] Downloaded bitflags v0.3.3 [INFO] [stderr] Downloaded cgl v0.1.5 [INFO] [stderr] Downloaded shell32-sys v0.1.1 [INFO] [stderr] Downloaded dbghelp-sys v0.2.0 [INFO] [stderr] Downloaded rustc-demangle v0.1.2 [INFO] [stderr] Downloaded backtrace v0.2.3 [INFO] [stderr] Downloaded objc v0.2.2 [INFO] [stderr] Downloaded gcc v0.3.38 [INFO] [stderr] Downloaded rand v0.3.14 [INFO] [stderr] Downloaded backtrace-sys v0.1.5 [INFO] [stderr] Downloaded cocoa v0.3.3 [INFO] [stderr] Downloaded serde v0.7.15 [INFO] [stderr] Downloaded user32-sys v0.1.2 [INFO] [stderr] Downloaded wayland-kbd v0.3.6 [INFO] [stderr] Downloaded byteorder v0.5.3 [INFO] [stderr] Downloaded khronos_api v1.0.0 [INFO] [stderr] Downloaded lazy_static v0.1.16 [INFO] [stderr] Downloaded glium v0.15.0 [INFO] [stderr] Downloaded crossbeam v0.2.10 [INFO] [stderr] Downloaded bitflags v0.7.0 [INFO] [stderr] Downloaded wayland-scanner v0.5.11 [INFO] [stderr] Downloaded libc v0.2.17 [INFO] [stderr] Downloaded itoa v0.1.1 [INFO] [stderr] Downloaded num-traits v0.1.36 [INFO] [stderr] Downloaded memmap v0.2.3 [INFO] [stderr] Downloaded semver v0.1.20 [INFO] [stderr] Downloaded rustc_version v0.1.7 [INFO] [stderr] Downloaded dtoa v0.2.2 [INFO] [stderr] Downloaded fs2 v0.2.5 [INFO] [stderr] Downloaded target_build_utils v0.1.2 [INFO] [stderr] Downloaded libloading v0.3.1 [INFO] [stderr] Downloaded dwmapi-sys v0.1.0 [INFO] [stderr] Downloaded log v0.3.6 [INFO] [stderr] Downloaded shared_library v0.1.5 [INFO] [stderr] Downloaded dlib v0.3.1 [INFO] [stderr] Downloaded wayland-sys v0.5.11 [INFO] [stderr] Downloaded serde_json v0.8.3 [INFO] [stderr] Downloaded xml-rs v0.3.4 [INFO] [stderr] Downloaded tempfile v2.1.4 [INFO] [stderr] Downloaded hound v3.0.0 [INFO] [stderr] Downloaded glutin v0.6.2 [INFO] [stderr] Downloaded core-foundation-sys v0.2.2 [INFO] [stderr] Downloaded phf v0.7.19 [INFO] [stderr] Downloaded gleam v0.2.24 [INFO] [stderr] Downloaded android_glue v0.2.1 [INFO] [stderr] Downloaded phf_generator v0.7.19 [INFO] [stderr] Downloaded phf_shared v0.7.19 [INFO] [stderr] Downloaded phf_codegen v0.7.19 [INFO] [stderr] Downloaded core-foundation v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c56588e8f193ed67731b87371f18b7e68195b68f7580ca5af3c32679f9ded7c9 [INFO] running `Command { std: "docker" "start" "-a" "c56588e8f193ed67731b87371f18b7e68195b68f7580ca5af3c32679f9ded7c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c56588e8f193ed67731b87371f18b7e68195b68f7580ca5af3c32679f9ded7c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c56588e8f193ed67731b87371f18b7e68195b68f7580ca5af3c32679f9ded7c9", kill_on_drop: false }` [INFO] [stdout] c56588e8f193ed67731b87371f18b7e68195b68f7580ca5af3c32679f9ded7c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af50602d6d6ccc22844f09af5799f14a45b427606f5fe4dc774c646e3f83e01d [INFO] running `Command { std: "docker" "start" "-a" "af50602d6d6ccc22844f09af5799f14a45b427606f5fe4dc774c646e3f83e01d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling phf_shared v0.7.19 [INFO] [stderr] Compiling libc v0.2.17 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling num-traits v0.1.36 [INFO] [stderr] Compiling serde v0.8.17 [INFO] [stderr] Compiling dtoa v0.2.2 [INFO] [stderr] Compiling itoa v0.1.1 [INFO] [stderr] Checking lazy_static v0.2.2 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling log v0.3.6 [INFO] [stderr] Compiling khronos_api v1.0.0 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Checking crossbeam v0.2.10 [INFO] [stderr] Compiling xml-rs v0.3.4 [INFO] [stderr] Compiling gcc v0.3.38 [INFO] [stderr] Compiling pkg-config v0.3.8 [INFO] [stderr] Compiling phf v0.7.19 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Checking cfg-if v0.1.0 [INFO] [stderr] Checking rustc-demangle v0.1.2 [INFO] [stderr] Checking smallvec v0.1.8 [INFO] [stderr] Checking hound v3.0.0 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling rand v0.3.14 [INFO] [stderr] Checking shared_library v0.1.5 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Compiling x11-dl v2.11.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking memmap v0.2.3 [INFO] [stderr] Compiling tempfile v2.1.4 [INFO] [stderr] Compiling backtrace-sys v0.1.5 [INFO] [stderr] Compiling wayland-scanner v0.5.11 [INFO] [stderr] Compiling gl_generator v0.5.2 [INFO] [stderr] Compiling phf_generator v0.7.19 [INFO] [stderr] Compiling phf_codegen v0.7.19 [INFO] [stderr] Compiling target_build_utils v0.1.2 [INFO] [stderr] Compiling wayland-client v0.5.12 [INFO] [stderr] Compiling glutin v0.6.2 [INFO] [stderr] Compiling glium v0.15.0 [INFO] [stderr] Compiling serde_json v0.8.3 [INFO] [stderr] Compiling libloading v0.3.1 [INFO] [stderr] Checking dlib v0.3.1 [INFO] [stderr] Checking wayland-sys v0.5.11 [INFO] [stderr] Checking wayland-kbd v0.3.6 [INFO] [stderr] Checking wayland-window v0.2.3 [INFO] [stderr] Checking gbs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/gb/cpu/cpu.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | let h = self.read((addr.wrapping_add(1))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 74 - let h = self.read((addr.wrapping_add(1))); [INFO] [stdout] 74 + let h = self.read(addr.wrapping_add(1)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/gb/cpu/cpu.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | let h = self.read((addr.wrapping_add(1))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 74 - let h = self.read((addr.wrapping_add(1))); [INFO] [stdout] 74 + let h = self.read(addr.wrapping_add(1)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Reading_OAM` should have an upper camel case name [INFO] [stdout] --> src/gb/lcd.rs:198:3 [INFO] [stdout] | [INFO] [stdout] 198 | Reading_OAM, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `ReadingOam` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Reading_OAM` should have an upper camel case name [INFO] [stdout] --> src/gb/lcd.rs:198:3 [INFO] [stdout] | [INFO] [stdout] 198 | Reading_OAM, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `ReadingOam` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Reading_OAM_and_VRAM` should have an upper camel case name [INFO] [stdout] --> src/gb/lcd.rs:199:3 [INFO] [stdout] | [INFO] [stdout] 199 | Reading_OAM_and_VRAM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ReadingOamAndVram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Reading_OAM_and_VRAM` should have an upper camel case name [INFO] [stdout] --> src/gb/lcd.rs:199:3 [INFO] [stdout] | [INFO] [stdout] 199 | Reading_OAM_and_VRAM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ReadingOamAndVram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/gb/apu/pulse.rs:135:22 [INFO] [stdout] | [INFO] [stdout] 135 | NR14 | NR24 => ((self.length_enabled as u8) << 6), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 135 - NR14 | NR24 => ((self.length_enabled as u8) << 6), [INFO] [stdout] 135 + NR14 | NR24 => (self.length_enabled as u8) << 6, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/gb/apu/pulse.rs:135:22 [INFO] [stdout] | [INFO] [stdout] 135 | NR14 | NR24 => ((self.length_enabled as u8) << 6), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 135 - NR14 | NR24 => ((self.length_enabled as u8) << 6), [INFO] [stdout] 135 + NR14 | NR24 => (self.length_enabled as u8) << 6, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/gb/apu/wave.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | NR34 => ((self.length_enabled as u8) << 6), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 85 - NR34 => ((self.length_enabled as u8) << 6), [INFO] [stdout] 85 + NR34 => (self.length_enabled as u8) << 6, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/gb/apu/wave.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | NR34 => ((self.length_enabled as u8) << 6), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 85 - NR34 => ((self.length_enabled as u8) << 6), [INFO] [stdout] 85 + NR34 => (self.length_enabled as u8) << 6, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/apu/mod.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | 0xFF30...0xFF3F => { [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/gb/apu/mod.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | 0xFF30...0xFF3F => { [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/gb/hardware.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | 0xE000...0xFDFF => self.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/gb/hardware.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | 0xFF10...0xFF3F => self.apu.read(addr), [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/gb/hardware.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | 0xE000...0xFDFF => self.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/gb/hardware.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | 0xE000...0xFDFF => self.write(addr - 0x2000, w), [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/gb/hardware.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | 0xFF10...0xFF3F => self.apu.read(addr), [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/gb/hardware.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | 0xFF10...0xFF3F => self.apu.write(addr, w), [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/gb/hardware.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | 0xE000...0xFDFF => self.write(addr - 0x2000, w), [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 macro definition: `fail` [INFO] [stdout] --> src/gb_parser.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | macro_rules! fail { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/hardware.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | 0xFF10...0xFF3F => self.apu.write(addr, w), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gb_parser.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | let f = try!(File::open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `fail` [INFO] [stdout] --> src/gb_parser.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | macro_rules! fail { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gb_parser.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | let rom : Vec = try!(file.bytes().collect()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gb_parser.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | let f = try!(File::open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gbs_parser/read_binary.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | try!(self.read_exact(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gbs_parser/read_binary.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | try!(self.read_exact(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gb_parser.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | let rom : Vec = try!(file.bytes().collect()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gbs_parser/read_binary.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | try!(self.read_exact(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gbs_parser/read_binary.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | try!(self.read_exact(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gbs_parser/read_binary.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | try!(self.read_exact(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gbs_parser/read_binary.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | let c = try!(b); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gbs_parser/read_binary.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | try!(self.read_exact(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gbs_parser/mod.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | let f = try!(File::open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gbs_parser/read_binary.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | let c = try!(b); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gbs_parser/mod.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | let header = try!(file.read_str(3)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gbs_parser/mod.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | let f = try!(File::open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gbs_parser/mod.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | let version = try!(file.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gbs_parser/mod.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | let n_songs = try!(file.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gbs_parser/mod.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | let header = try!(file.read_str(3)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gbs_parser/mod.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | let version = try!(file.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gbs_parser/mod.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | let first_song = try!(file.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gbs_parser/mod.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | let load_addr = try!(file.read_u16_le()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gbs_parser/mod.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | let n_songs = try!(file.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gbs_parser/mod.rs:69:19 [INFO] [stdout] | [INFO] [stdout] 69 | let init_addr = try!(file.read_u16_le()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gbs_parser/mod.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | let first_song = try!(file.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gbs_parser/mod.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | let play_addr = try!(file.read_u16_le()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gbs_parser/mod.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | let load_addr = try!(file.read_u16_le()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gbs_parser/mod.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | let sp = try!(file.read_u16_le()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gbs_parser/mod.rs:69:19 [INFO] [stdout] | [INFO] [stdout] 69 | let init_addr = try!(file.read_u16_le()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gbs_parser/mod.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | let timer_mod = try!(file.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gbs_parser/mod.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | let play_addr = try!(file.read_u16_le()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gbs_parser/mod.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | let timer_ctrl = try!(file.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gbs_parser/mod.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | let sp = try!(file.read_u16_le()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gbs_parser/mod.rs:82:15 [INFO] [stdout] | [INFO] [stdout] 82 | let title = try!(file.read_str(32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gbs_parser/mod.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 83 | let author = try!(file.read_str(32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gbs_parser/mod.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | let timer_mod = try!(file.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gbs_parser/mod.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | let timer_ctrl = try!(file.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gbs_parser/mod.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | let copyright = try!(file.read_str(32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gbs_parser/mod.rs:82:15 [INFO] [stdout] | [INFO] [stdout] 82 | let title = try!(file.read_str(32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gbs_parser/mod.rs:85:23 [INFO] [stdout] | [INFO] [stdout] 85 | let rom : Vec = try!(file.bytes().collect()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gbs_parser/mod.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 83 | let author = try!(file.read_str(32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gbs_parser/mod.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | let copyright = try!(file.read_str(32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gbs_parser/mod.rs:85:23 [INFO] [stdout] | [INFO] [stdout] 85 | let rom : Vec = try!(file.bytes().collect()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gb/cpu/cpu.rs:714:7 [INFO] [stdout] | [INFO] [stdout] 714 | _ => unreachable!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/gb/cpu/cpu.rs:714:7 [INFO] [stdout] | [INFO] [stdout] 117 | 0x00 => self.op_nop(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 118 | 0x10 => self.op_stop(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 119 | 0x20 => self.op_jr_f_dd(FLAG::Z, false), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 120 | 0x30 => self.op_jr_f_dd(FLAG::C, false), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 714 | _ => unreachable!(), [INFO] [stdout] | ^ ...and 252 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gb/cpu/cpu.rs:714:7 [INFO] [stdout] | [INFO] [stdout] 714 | _ => unreachable!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/gb/cpu/cpu.rs:714:7 [INFO] [stdout] | [INFO] [stdout] 117 | 0x00 => self.op_nop(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 118 | 0x10 => self.op_stop(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 119 | 0x20 => self.op_jr_f_dd(FLAG::Z, false), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 120 | 0x30 => self.op_jr_f_dd(FLAG::C, false), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 714 | _ => unreachable!(), [INFO] [stdout] | ^ ...and 252 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gb/cpu/cpu.rs:687:11 [INFO] [stdout] | [INFO] [stdout] 687 | _ => unreachable!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/gb/cpu/cpu.rs:687:11 [INFO] [stdout] | [INFO] [stdout] 399 | 0x00 => self.op_rlc_r(B), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 400 | 0x01 => self.op_rlc_r(C), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 401 | 0x02 => self.op_rlc_r(D), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 402 | 0x03 => self.op_rlc_r(E), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 687 | _ => unreachable!(), [INFO] [stdout] | ^ ...and 252 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gb/cpu/cpu.rs:687:11 [INFO] [stdout] | [INFO] [stdout] 687 | _ => unreachable!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/gb/cpu/cpu.rs:687:11 [INFO] [stdout] | [INFO] [stdout] 399 | 0x00 => self.op_rlc_r(B), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 400 | 0x01 => self.op_rlc_r(C), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 401 | 0x02 => self.op_rlc_r(D), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 402 | 0x03 => self.op_rlc_r(E), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 687 | _ => unreachable!(), [INFO] [stdout] | ^ ...and 252 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gb/cpu/cpu.rs:1320:7 [INFO] [stdout] | [INFO] [stdout] 1320 | _ => unreachable!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/gb/cpu/cpu.rs:1320:7 [INFO] [stdout] | [INFO] [stdout] 724 | 0x00 => format!("NOP"), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 725 | 0x10 => format!("STOP"), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 726 | 0x20 => format!("JR NZ,{}", arg as i8), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 727 | 0x30 => format!("JR NC,{}", arg as i8), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1320 | _ => unreachable!(), [INFO] [stdout] | ^ ...and 252 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gb/cpu/cpu.rs:1293:11 [INFO] [stdout] | [INFO] [stdout] 1293 | _ => unreachable!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/gb/cpu/cpu.rs:1293:11 [INFO] [stdout] | [INFO] [stdout] 1005 | 0x00 => format!("RLC B"), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 1006 | 0x01 => format!("RLC C"), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 1007 | 0x02 => format!("RLC D"), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 1008 | 0x03 => format!("RLC E"), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1293 | _ => unreachable!(), [INFO] [stdout] | ^ ...and 252 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gb/cpu/cpu.rs:1320:7 [INFO] [stdout] | [INFO] [stdout] 1320 | _ => unreachable!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/gb/cpu/cpu.rs:1320:7 [INFO] [stdout] | [INFO] [stdout] 724 | 0x00 => format!("NOP"), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 725 | 0x10 => format!("STOP"), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 726 | 0x20 => format!("JR NZ,{}", arg as i8), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 727 | 0x30 => format!("JR NC,{}", arg as i8), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1320 | _ => unreachable!(), [INFO] [stdout] | ^ ...and 252 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gb/cpu/cpu.rs:1293:11 [INFO] [stdout] | [INFO] [stdout] 1293 | _ => unreachable!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/gb/cpu/cpu.rs:1293:11 [INFO] [stdout] | [INFO] [stdout] 1005 | 0x00 => format!("RLC B"), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 1006 | 0x01 => format!("RLC C"), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 1007 | 0x02 => format!("RLC D"), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 1008 | 0x03 => format!("RLC E"), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1293 | _ => unreachable!(), [INFO] [stdout] | ^ ...and 252 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/gb/lcd.rs:450:34 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn get_pixel(&self, x: u8, y: u8) -> u8 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/gb/lcd.rs:450:34 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn get_pixel(&self, x: u8, y: u8) -> u8 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `decode` is never used [INFO] [stdout] --> src/gb/cpu/cpu.rs:718:6 [INFO] [stdout] | [INFO] [stdout] 16 | impl Cpu { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 718 | fn decode(&self, opcode: u8) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LCD_HEIGHT` is never used [INFO] [stdout] --> src/gb/lcd.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const LCD_HEIGHT: usize = 166; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LCD_WIDTH` is never used [INFO] [stdout] --> src/gb/lcd.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const LCD_WIDTH: usize = 144; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tile_data_2` and `bg_map_2` are never read [INFO] [stdout] --> src/gb/lcd.rs:44:3 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct LCD { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 44 | tile_data_2: [u8; TILE_DATA_SIZE], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 45 | pub bg_map_1: [u8; TILE_MAP_SIZE], [INFO] [stdout] 46 | bg_map_2: [u8; TILE_MAP_SIZE], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Mode` is never used [INFO] [stdout] --> src/gb/lcd.rs:195:6 [INFO] [stdout] | [INFO] [stdout] 195 | enum Mode { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Background` is never constructed [INFO] [stdout] --> src/gb/lcd.rs:442:8 [INFO] [stdout] | [INFO] [stdout] 442 | struct Background { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_pixel` is never used [INFO] [stdout] --> src/gb/lcd.rs:450:10 [INFO] [stdout] | [INFO] [stdout] 448 | impl Background { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 449 | [INFO] [stdout] 450 | pub fn get_pixel(&self, x: u8, y: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `decode` is never used [INFO] [stdout] --> src/gb/cpu/cpu.rs:718:6 [INFO] [stdout] | [INFO] [stdout] 16 | impl Cpu { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 718 | fn decode(&self, opcode: u8) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LCD_HEIGHT` is never used [INFO] [stdout] --> src/gb/lcd.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const LCD_HEIGHT: usize = 166; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LCD_WIDTH` is never used [INFO] [stdout] --> src/gb/lcd.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const LCD_WIDTH: usize = 144; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tile_data_2` and `bg_map_2` are never read [INFO] [stdout] --> src/gb/lcd.rs:44:3 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct LCD { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 44 | tile_data_2: [u8; TILE_DATA_SIZE], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 45 | pub bg_map_1: [u8; TILE_MAP_SIZE], [INFO] [stdout] 46 | bg_map_2: [u8; TILE_MAP_SIZE], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Mode` is never used [INFO] [stdout] --> src/gb/lcd.rs:195:6 [INFO] [stdout] | [INFO] [stdout] 195 | enum Mode { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Background` is never constructed [INFO] [stdout] --> src/gb/lcd.rs:442:8 [INFO] [stdout] | [INFO] [stdout] 442 | struct Background { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_pixel` is never used [INFO] [stdout] --> src/gb/lcd.rs:450:10 [INFO] [stdout] | [INFO] [stdout] 448 | impl Background { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 449 | [INFO] [stdout] 450 | pub fn get_pixel(&self, x: u8, y: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/gb-boot.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/gb.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/gb.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/gb-boot.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains unused formatting placeholders [INFO] [stdout] --> src/bin/gbs.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | panic!("Requested track {} but only {} are available"); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add the missing arguments [INFO] [stdout] | [INFO] [stdout] 39 | panic!("Requested track {} but only {} are available", ...); [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 39 | panic!("{}", "Requested track {} but only {} are available"); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains unused formatting placeholders [INFO] [stdout] --> src/bin/gbs.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | panic!("Requested track {} but only {} are available"); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add the missing arguments [INFO] [stdout] | [INFO] [stdout] 39 | panic!("Requested track {} but only {} are available", ...); [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 39 | panic!("{}", "Requested track {} but only {} are available"); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.44s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0, glutin v0.6.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "af50602d6d6ccc22844f09af5799f14a45b427606f5fe4dc774c646e3f83e01d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af50602d6d6ccc22844f09af5799f14a45b427606f5fe4dc774c646e3f83e01d", kill_on_drop: false }` [INFO] [stdout] af50602d6d6ccc22844f09af5799f14a45b427606f5fe4dc774c646e3f83e01d