[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 beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffmdkdd%2Fgbs" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fmdkdd/gbs on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", 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-5/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: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hound v3.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e0a779a1ceae9daa753e787be3d5075ef88412f380f6d9f1ac7696cffc810e21 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e0a779a1ceae9daa753e787be3d5075ef88412f380f6d9f1ac7696cffc810e21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0a779a1ceae9daa753e787be3d5075ef88412f380f6d9f1ac7696cffc810e21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0a779a1ceae9daa753e787be3d5075ef88412f380f6d9f1ac7696cffc810e21", kill_on_drop: false }` [INFO] [stdout] e0a779a1ceae9daa753e787be3d5075ef88412f380f6d9f1ac7696cffc810e21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee574f626fe6f10fad8c30110dd06e5a5a445e539c29b2bea54939740d5c348b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ee574f626fe6f10fad8c30110dd06e5a5a445e539c29b2bea54939740d5c348b", kill_on_drop: false }` [INFO] [stderr] Compiling phf_shared v0.7.19 [INFO] [stderr] Compiling itoa v0.1.1 [INFO] [stderr] Compiling dtoa v0.2.2 [INFO] [stderr] Compiling num-traits v0.1.36 [INFO] [stderr] Compiling serde v0.8.17 [INFO] [stderr] Compiling log v0.3.6 [INFO] [stderr] Checking crossbeam v0.2.10 [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 rand v0.3.14 [INFO] [stderr] Compiling xml-rs v0.3.4 [INFO] [stderr] Compiling backtrace-sys v0.1.5 [INFO] [stderr] Checking shared_library v0.1.5 [INFO] [stderr] Compiling x11-dl v2.11.0 [INFO] [stderr] Compiling tempfile v2.1.4 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Checking memmap v0.2.3 [INFO] [stderr] Compiling phf v0.7.19 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking backtrace v0.2.3 [INFO] [stderr] Compiling phf_generator v0.7.19 [INFO] [stderr] Compiling wayland-scanner v0.5.11 [INFO] [stderr] Compiling gl_generator v0.5.2 [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-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: 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] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` 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: `...` 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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` 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: `...` 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] [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: `...` 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] [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: `...` 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] [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] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/gb_parser.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / macro_rules! fail { [INFO] [stdout] 9 | | ($err:path) => (return Err($err)); [INFO] [stdout] 10 | | } [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/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] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` 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: `...` 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] = 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] [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] [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] [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] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/gb_parser.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / macro_rules! fail { [INFO] [stdout] 9 | | ($err:path) => (return Err($err)); [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` 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] = 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] | ^ [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: 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: unreachable pattern [INFO] [stdout] --> src/gb/cpu/cpu.rs:687:11 [INFO] [stdout] | [INFO] [stdout] 687 | _ => 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:714:7 [INFO] [stdout] | [INFO] [stdout] 714 | _ => 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: 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: associated function is never used: `decode` [INFO] [stdout] --> src/gb/cpu/cpu.rs:718:6 [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 is never used: `LCD_HEIGHT` [INFO] [stdout] --> src/gb/lcd.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const LCD_HEIGHT: usize = 166; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LCD_WIDTH` [INFO] [stdout] --> src/gb/lcd.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const LCD_WIDTH: usize = 144; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tile_data_2` [INFO] [stdout] --> src/gb/lcd.rs:44:3 [INFO] [stdout] | [INFO] [stdout] 44 | tile_data_2: [u8; TILE_DATA_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bg_map_2` [INFO] [stdout] --> src/gb/lcd.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 46 | bg_map_2: [u8; TILE_MAP_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HBlank` [INFO] [stdout] --> src/gb/lcd.rs:196:3 [INFO] [stdout] | [INFO] [stdout] 196 | HBlank, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VBlank` [INFO] [stdout] --> src/gb/lcd.rs:197:3 [INFO] [stdout] | [INFO] [stdout] 197 | VBlank, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Reading_OAM` [INFO] [stdout] --> src/gb/lcd.rs:198:3 [INFO] [stdout] | [INFO] [stdout] 198 | Reading_OAM, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Reading_OAM_and_VRAM` [INFO] [stdout] --> src/gb/lcd.rs:199:3 [INFO] [stdout] | [INFO] [stdout] 199 | Reading_OAM_and_VRAM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Background` [INFO] [stdout] --> src/gb/lcd.rs:442:8 [INFO] [stdout] | [INFO] [stdout] 442 | struct Background { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_pixel` [INFO] [stdout] --> src/gb/lcd.rs:450:10 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn get_pixel(&self, x: u8, y: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 46 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: associated function is never used: `decode` [INFO] [stdout] --> src/gb/cpu/cpu.rs:718:6 [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 is never used: `LCD_HEIGHT` [INFO] [stdout] --> src/gb/lcd.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const LCD_HEIGHT: usize = 166; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LCD_WIDTH` [INFO] [stdout] --> src/gb/lcd.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const LCD_WIDTH: usize = 144; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tile_data_2` [INFO] [stdout] --> src/gb/lcd.rs:44:3 [INFO] [stdout] | [INFO] [stdout] 44 | tile_data_2: [u8; TILE_DATA_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bg_map_2` [INFO] [stdout] --> src/gb/lcd.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 46 | bg_map_2: [u8; TILE_MAP_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HBlank` [INFO] [stdout] --> src/gb/lcd.rs:196:3 [INFO] [stdout] | [INFO] [stdout] 196 | HBlank, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VBlank` [INFO] [stdout] --> src/gb/lcd.rs:197:3 [INFO] [stdout] | [INFO] [stdout] 197 | VBlank, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Reading_OAM` [INFO] [stdout] --> src/gb/lcd.rs:198:3 [INFO] [stdout] | [INFO] [stdout] 198 | Reading_OAM, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Reading_OAM_and_VRAM` [INFO] [stdout] --> src/gb/lcd.rs:199:3 [INFO] [stdout] | [INFO] [stdout] 199 | Reading_OAM_and_VRAM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Background` [INFO] [stdout] --> src/gb/lcd.rs:442:8 [INFO] [stdout] | [INFO] [stdout] 442 | struct Background { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_pixel` [INFO] [stdout] --> src/gb/lcd.rs:450:10 [INFO] [stdout] | [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: 46 warnings 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: 1 warning 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "ee574f626fe6f10fad8c30110dd06e5a5a445e539c29b2bea54939740d5c348b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee574f626fe6f10fad8c30110dd06e5a5a445e539c29b2bea54939740d5c348b", kill_on_drop: false }` [INFO] [stdout] ee574f626fe6f10fad8c30110dd06e5a5a445e539c29b2bea54939740d5c348b