[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#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffmdkdd%2Fgbs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fmdkdd/gbs on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6-tc1/source/Cargo.toml [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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded smallvec v0.1.8 [INFO] [stderr] Downloaded lazy_static v0.2.2 [INFO] [stderr] Downloaded pkg-config v0.3.8 [INFO] [stderr] Downloaded cgl v0.1.5 [INFO] [stderr] Downloaded hound v3.0.0 [INFO] [stderr] Downloaded x11-dl v2.11.0 [INFO] [stderr] Downloaded cfg-if v0.1.0 [INFO] [stderr] Downloaded backtrace v0.2.3 [INFO] [stderr] Downloaded dwmapi-sys v0.1.0 [INFO] [stderr] Downloaded fs2 v0.2.5 [INFO] [stderr] Downloaded phf v0.7.19 [INFO] [stderr] Downloaded dbghelp-sys v0.2.0 [INFO] [stderr] Downloaded rustc-demangle v0.1.2 [INFO] [stderr] Downloaded bitflags v0.3.3 [INFO] [stderr] Downloaded gdi32-sys v0.1.1 [INFO] [stderr] Downloaded shared_library v0.1.5 [INFO] [stderr] Downloaded shell32-sys v0.1.1 [INFO] [stderr] Downloaded phf_shared v0.7.19 [INFO] [stderr] Downloaded serde_json v0.8.3 [INFO] [stderr] Downloaded dtoa v0.2.2 [INFO] [stderr] Downloaded gcc v0.3.38 [INFO] [stderr] Downloaded android_glue v0.2.1 [INFO] [stderr] Downloaded gleam v0.2.24 [INFO] [stderr] Downloaded core-foundation-sys v0.2.2 [INFO] [stderr] Downloaded core-foundation v0.2.2 [INFO] [stderr] Downloaded cocoa v0.3.3 [INFO] [stderr] Downloaded xml-rs v0.3.4 [INFO] [stderr] Downloaded serde v0.8.17 [INFO] [stderr] Downloaded wayland-kbd v0.3.6 [INFO] [stderr] Downloaded tempfile v2.1.4 [INFO] [stderr] Downloaded rand v0.3.14 [INFO] [stderr] Downloaded libc v0.2.17 [INFO] [stderr] Downloaded wayland-client v0.5.12 [INFO] [stderr] Downloaded glutin v0.6.2 [INFO] [stderr] Downloaded core-graphics v0.3.2 [INFO] [stderr] Downloaded backtrace-sys v0.1.5 [INFO] [stderr] Downloaded gl_generator v0.5.2 [INFO] [stderr] Downloaded user32-sys v0.1.2 [INFO] [stderr] Downloaded memmap v0.2.3 [INFO] [stderr] Downloaded crossbeam v0.2.10 [INFO] [stderr] Downloaded wayland-scanner v0.5.11 [INFO] [stderr] Downloaded num-traits v0.1.36 [INFO] [stderr] Downloaded dlib v0.3.1 [INFO] [stderr] Downloaded khronos_api v1.0.0 [INFO] [stderr] Downloaded itoa v0.1.1 [INFO] [stderr] Downloaded target_build_utils v0.1.2 [INFO] [stderr] Downloaded glium v0.15.0 [INFO] [stderr] Downloaded libloading v0.3.1 [INFO] [stderr] Downloaded wayland-window v0.2.3 [INFO] [stderr] Downloaded phf_generator v0.7.19 [INFO] [stderr] Downloaded phf_codegen v0.7.19 [INFO] [stderr] Downloaded wayland-sys v0.5.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b3f28e2fa90e4500ba0577c8b731d440fe70a22e6ed934f0744ce3a36fff542 [INFO] running `Command { std: "docker" "start" "-a" "1b3f28e2fa90e4500ba0577c8b731d440fe70a22e6ed934f0744ce3a36fff542", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b3f28e2fa90e4500ba0577c8b731d440fe70a22e6ed934f0744ce3a36fff542", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b3f28e2fa90e4500ba0577c8b731d440fe70a22e6ed934f0744ce3a36fff542", kill_on_drop: false }` [INFO] [stdout] 1b3f28e2fa90e4500ba0577c8b731d440fe70a22e6ed934f0744ce3a36fff542 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ebf8750c66d7aaa004054d12b6e8bc23ef538300909d4c0c0d527cd058b765f [INFO] running `Command { std: "docker" "start" "-a" "9ebf8750c66d7aaa004054d12b6e8bc23ef538300909d4c0c0d527cd058b765f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.17 [INFO] [stderr] Compiling phf_shared v0.7.19 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling dtoa v0.2.2 [INFO] [stderr] Compiling itoa v0.1.1 [INFO] [stderr] Compiling num-traits v0.1.36 [INFO] [stderr] Compiling serde v0.8.17 [INFO] [stderr] Compiling xml-rs v0.3.4 [INFO] [stderr] Compiling phf v0.7.19 [INFO] [stderr] Checking lazy_static v0.2.2 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling log v0.3.6 [INFO] [stderr] Compiling khronos_api v1.0.0 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Compiling rand v0.3.14 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling gcc v0.3.38 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling pkg-config v0.3.8 [INFO] [stderr] Checking crossbeam v0.2.10 [INFO] [stderr] Compiling tempfile v2.1.4 [INFO] [stderr] Compiling phf_generator v0.7.19 [INFO] [stderr] Compiling wayland-scanner v0.5.11 [INFO] [stderr] Compiling phf_codegen v0.7.19 [INFO] [stderr] Compiling gl_generator v0.5.2 [INFO] [stderr] Compiling backtrace-sys v0.1.5 [INFO] [stderr] Compiling target_build_utils v0.1.2 [INFO] [stderr] Compiling x11-dl v2.11.0 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Checking memmap v0.2.3 [INFO] [stderr] Checking shared_library v0.1.5 [INFO] [stderr] Compiling wayland-client v0.5.12 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking rustc-demangle v0.1.2 [INFO] [stderr] Checking cfg-if v0.1.0 [INFO] [stderr] Checking smallvec v0.1.8 [INFO] [stderr] Compiling glutin v0.6.2 [INFO] [stderr] Compiling glium v0.15.0 [INFO] [stderr] Checking hound v3.0.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-window v0.2.3 [INFO] [stderr] Checking wayland-kbd v0.3.6 [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: 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: 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: `...` 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: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: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: 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: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/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: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: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: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: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: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: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: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: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: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: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: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: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: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: 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_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/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/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: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: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: 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: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/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: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: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: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: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: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: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: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: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: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: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: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: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: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] | ^ [INFO] [stdout] | [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] | ^ [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] | ^ [INFO] [stdout] | [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] | ^ [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] | ^ [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] | ^ [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] | ^ [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] | ^ [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: 44 warnings emitted [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: 44 warnings emitted [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [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: 1 warning emitted [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] [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.02s [INFO] running `Command { std: "docker" "inspect" "9ebf8750c66d7aaa004054d12b6e8bc23ef538300909d4c0c0d527cd058b765f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ebf8750c66d7aaa004054d12b6e8bc23ef538300909d4c0c0d527cd058b765f", kill_on_drop: false }` [INFO] [stdout] 9ebf8750c66d7aaa004054d12b6e8bc23ef538300909d4c0c0d527cd058b765f [INFO] checking fmdkdd/gbs against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffmdkdd%2Fgbs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fmdkdd/gbs on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6-tc2/source/Cargo.toml [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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ee2ad6f76257dbc336fc82e8d9b6214ec72c9a1835a30bf9fb52c8cbc05ccb3 [INFO] running `Command { std: "docker" "start" "-a" "9ee2ad6f76257dbc336fc82e8d9b6214ec72c9a1835a30bf9fb52c8cbc05ccb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ee2ad6f76257dbc336fc82e8d9b6214ec72c9a1835a30bf9fb52c8cbc05ccb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ee2ad6f76257dbc336fc82e8d9b6214ec72c9a1835a30bf9fb52c8cbc05ccb3", kill_on_drop: false }` [INFO] [stdout] 9ee2ad6f76257dbc336fc82e8d9b6214ec72c9a1835a30bf9fb52c8cbc05ccb3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f884757af5469401081bf7cbf31ceca502ec766e5fb20b2f66b8d4e4d729b29f [INFO] running `Command { std: "docker" "start" "-a" "f884757af5469401081bf7cbf31ceca502ec766e5fb20b2f66b8d4e4d729b29f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.17 [INFO] [stderr] Compiling phf_shared v0.7.19 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling itoa v0.1.1 [INFO] [stderr] Compiling dtoa v0.2.2 [INFO] [stderr] Compiling serde v0.8.17 [INFO] [stderr] Compiling num-traits v0.1.36 [INFO] [stderr] Compiling xml-rs v0.3.4 [INFO] [stderr] Compiling phf v0.7.19 [INFO] [stderr] Checking lazy_static v0.2.2 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling log v0.3.6 [INFO] [stderr] Compiling khronos_api v1.0.0 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Compiling rand v0.3.14 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Checking crossbeam v0.2.10 [INFO] [stderr] Compiling pkg-config v0.3.8 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling wayland-scanner v0.5.11 [INFO] [stderr] Compiling gl_generator v0.5.2 [INFO] [stderr] Compiling gcc v0.3.38 [INFO] [stderr] Compiling x11-dl v2.11.0 [INFO] [stderr] Compiling tempfile v2.1.4 [INFO] [stderr] Compiling phf_generator v0.7.19 [INFO] [stderr] Compiling backtrace-sys v0.1.5 [INFO] [stderr] Compiling phf_codegen v0.7.19 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Checking memmap v0.2.3 [INFO] [stderr] Compiling target_build_utils v0.1.2 [INFO] [stderr] Compiling wayland-client v0.5.12 [INFO] [stderr] Checking shared_library v0.1.5 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Compiling glutin v0.6.2 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling glium v0.15.0 [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 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: 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: 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: `...` 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: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: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: 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: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/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: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: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: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: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: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: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: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: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: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: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: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: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: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: 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_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/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/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: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: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: 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: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/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: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: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: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: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: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: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: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: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: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: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: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: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: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] | ^ [INFO] [stdout] | [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] | ^ [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] | ^ [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] | ^ [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] | ^ [INFO] [stdout] | [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] | ^ [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] | ^ [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] | ^ [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: 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: 44 warnings emitted [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: 44 warnings emitted [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: 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [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: 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 28.12s [INFO] running `Command { std: "docker" "inspect" "f884757af5469401081bf7cbf31ceca502ec766e5fb20b2f66b8d4e4d729b29f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f884757af5469401081bf7cbf31ceca502ec766e5fb20b2f66b8d4e4d729b29f", kill_on_drop: false }` [INFO] [stdout] f884757af5469401081bf7cbf31ceca502ec766e5fb20b2f66b8d4e4d729b29f