[INFO] updating cached repository jonathangold/rustboy [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/jonathangold/rustboy [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/jonathangold/rustboy" "work/ex/beta-1.37-6/sources/1.36.0/gh/jonathangold/rustboy"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/jonathangold/rustboy'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/jonathangold/rustboy" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/jonathangold/rustboy"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/jonathangold/rustboy'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 3eaca0642297d36975ff771759fe7b32b30b8e09 [INFO] sha for GitHub repo jonathangold/rustboy: 3eaca0642297d36975ff771759fe7b32b30b8e09 [INFO] validating manifest of jonathangold/rustboy on toolchain 1.36.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of jonathangold/rustboy on toolchain beta-2019-07-23 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing jonathangold/rustboy [INFO] finished frobbing jonathangold/rustboy [INFO] frobbed toml for jonathangold/rustboy written to work/ex/beta-1.37-6/sources/1.36.0/gh/jonathangold/rustboy/Cargo.toml [INFO] started frobbing jonathangold/rustboy [INFO] finished frobbing jonathangold/rustboy [INFO] frobbed toml for jonathangold/rustboy written to work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/jonathangold/rustboy/Cargo.toml [INFO] crate jonathangold/rustboy already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache lock [INFO] [stderr] Blocking waiting for file lock on package cache lock [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing jonathangold/rustboy against beta-2019-07-23 for beta-1.37-6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-1/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/jonathangold/rustboy:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-07-23" "build" "--frozen"` [INFO] [stdout] c17432ba43e0e178ee070df332e35789fceef12ddcbc9110e8c05ede386fa5d8 [INFO] running `"docker" "start" "-a" "c17432ba43e0e178ee070df332e35789fceef12ddcbc9110e8c05ede386fa5d8"` [INFO] [stderr] Compiling sdl2-sys v0.30.0 [INFO] [stderr] Compiling sdl2 v0.30.0 [INFO] [stderr] Compiling rustboy v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/memory.rs:36:19 [INFO] [stderr] | [INFO] [stderr] 36 | 0x0000...0x00FF => {BOOT_ROM[input as usize]} [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: #[warn(ellipsis_inclusive_range_patterns)] on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/memory.rs:37:19 [INFO] [stderr] | [INFO] [stderr] 37 | 0x0100...0x7FFF => {self.read_rom(input)} [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/memory.rs:38:19 [INFO] [stderr] | [INFO] [stderr] 38 | 0x8000...0xFFFF => {self.contents[input as usize]} [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: unused import: `std` [INFO] [stderr] --> src/cpu.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `self::sdl2::pixels` [INFO] [stderr] --> src/display.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use self::sdl2::pixels; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self::sdl2::keyboard::Keycode` [INFO] [stderr] --> src/display.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use self::sdl2::keyboard::Keycode; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self::sdl2::gfx::primitives::DrawRenderer` [INFO] [stderr] --> src/display.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use self::sdl2::gfx::primitives::DrawRenderer; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/memory.rs:39:13 [INFO] [stderr] | [INFO] [stderr] 39 | _ => {panic!("Unrecognized Address: {:#x}", input)} [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unreachable_patterns)] on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `val` is never read [INFO] [stderr] --> src/cpu.rs:111:28 [INFO] [stderr] | [INFO] [stderr] 111 | if $self.f.c { val += 1 } [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 156 | 0x17 => { println!("{:?}", self); rln!(self, a); println!("{:?}", self); } [INFO] [stderr] | -------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_assignments)] on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/display.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | let mut event_pump = sdl_context.event_pump().unwrap(); [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_mut)] on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `write_de` [INFO] [stderr] --> src/cpu.rs:652:1 [INFO] [stderr] | [INFO] [stderr] 652 | fn write_de(&mut self, data:u16) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: field is never used: `canvas` [INFO] [stderr] --> src/display.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | canvas: sdl2::render::Canvas, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `update` [INFO] [stderr] --> src/display.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn update(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused arithmetic operation that must be used [INFO] [stderr] --> src/cpu.rs:439:17 [INFO] [stderr] | [INFO] [stderr] 439 | self.a - self.h; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_must_use)] on by default [INFO] [stderr] [INFO] [stderr] error: linking with `cc` failed: exit code: 1 [INFO] [stderr] | [INFO] [stderr] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/crater/target/debug/deps/rustboy-42438900ae1e8eb4.rustboy.28h5d7ra-cgu.0.rcgu.o" "/opt/crater/target/debug/deps/rustboy-42438900ae1e8eb4.rustboy.28h5d7ra-cgu.1.rcgu.o" "/opt/crater/target/debug/deps/rustboy-42438900ae1e8eb4.rustboy.28h5d7ra-cgu.10.rcgu.o" "/opt/crater/target/debug/deps/rustboy-42438900ae1e8eb4.rustboy.28h5d7ra-cgu.11.rcgu.o" "/opt/crater/target/debug/deps/rustboy-42438900ae1e8eb4.rustboy.28h5d7ra-cgu.12.rcgu.o" "/opt/crater/target/debug/deps/rustboy-42438900ae1e8eb4.rustboy.28h5d7ra-cgu.13.rcgu.o" "/opt/crater/target/debug/deps/rustboy-42438900ae1e8eb4.rustboy.28h5d7ra-cgu.14.rcgu.o" "/opt/crater/target/debug/deps/rustboy-42438900ae1e8eb4.rustboy.28h5d7ra-cgu.15.rcgu.o" "/opt/crater/target/debug/deps/rustboy-42438900ae1e8eb4.rustboy.28h5d7ra-cgu.2.rcgu.o" "/opt/crater/target/debug/deps/rustboy-42438900ae1e8eb4.rustboy.28h5d7ra-cgu.3.rcgu.o" "/opt/crater/target/debug/deps/rustboy-42438900ae1e8eb4.rustboy.28h5d7ra-cgu.4.rcgu.o" "/opt/crater/target/debug/deps/rustboy-42438900ae1e8eb4.rustboy.28h5d7ra-cgu.5.rcgu.o" "/opt/crater/target/debug/deps/rustboy-42438900ae1e8eb4.rustboy.28h5d7ra-cgu.6.rcgu.o" "/opt/crater/target/debug/deps/rustboy-42438900ae1e8eb4.rustboy.28h5d7ra-cgu.7.rcgu.o" "/opt/crater/target/debug/deps/rustboy-42438900ae1e8eb4.rustboy.28h5d7ra-cgu.8.rcgu.o" "/opt/crater/target/debug/deps/rustboy-42438900ae1e8eb4.rustboy.28h5d7ra-cgu.9.rcgu.o" "-o" "/opt/crater/target/debug/deps/rustboy-42438900ae1e8eb4" "/opt/crater/target/debug/deps/rustboy-42438900ae1e8eb4.vm6xttleu14uhsz.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/crater/target/debug/deps" "-L" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/crater/target/debug/deps/libsdl2-4ad0ed2ab28ab9e9.rlib" "/opt/crater/target/debug/deps/librand-24e421dbe0af783c.rlib" "/opt/crater/target/debug/deps/libc_vec-0c288992332fe7e9.rlib" "/opt/crater/target/debug/deps/libsdl2_sys-2daca666dd1e05d9.rlib" "/opt/crater/target/debug/deps/libbitflags-e424d0a7dda42873.rlib" "/opt/crater/target/debug/deps/liblazy_static-44393081eb462790.rlib" "/opt/crater/target/debug/deps/liblibc-16d04da72c8d8209.rlib" "/opt/crater/target/debug/deps/libnum-e6311770fd51e64f.rlib" "/opt/crater/target/debug/deps/libnum_iter-d6d27d4fe58e9f7a.rlib" "/opt/crater/target/debug/deps/libnum_integer-0e2a7ae435a93393.rlib" "/opt/crater/target/debug/deps/libnum_traits-986fce5007c03c4b.rlib" "-Wl,--start-group" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-a80a1e8e09cafef8.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-e0e6351da805c468.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-e04f54bafc95e331.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-67901d3322495bd5.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-bd390b1abaceaec1.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-312dd37fdc7bedfc.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-8ed0e51d58d644a3.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-8a423c320a6c707f.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-d6a95598e2238263.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-d231614b153016eb.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-3821619027f463e4.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-1cfd794d18771a44.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-dcf33cf10c2452ef.rlib" "-Wl,--end-group" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-c258fea34bf64bce.rlib" "-Wl,-Bdynamic" "-lSDL2_gfx" "-lSDL2" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil" [INFO] [stderr] = note: /usr/bin/ld: cannot find -lSDL2_gfx [INFO] [stderr] collect2: error: ld returned 1 exit status [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `rustboy`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "c17432ba43e0e178ee070df332e35789fceef12ddcbc9110e8c05ede386fa5d8"` [INFO] running `"docker" "rm" "-f" "c17432ba43e0e178ee070df332e35789fceef12ddcbc9110e8c05ede386fa5d8"` [INFO] [stdout] c17432ba43e0e178ee070df332e35789fceef12ddcbc9110e8c05ede386fa5d8