[INFO] updating cached repository alaughlin/rustyboi
[INFO] running `"git" "fetch" "--all"`
[INFO] [stdout] Fetching origin
[INFO] [stderr] From git://github.com/alaughlin/rustyboi
[INFO] [stderr]  * branch            HEAD       -> FETCH_HEAD
[INFO] running `"git" "clone" "work/cache/sources/gh/alaughlin/rustyboi" "work/ex/beta-1.37-6/sources/1.36.0/gh/alaughlin/rustyboi"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/alaughlin/rustyboi'...
[INFO] [stderr] done.
[INFO] running `"git" "clone" "work/cache/sources/gh/alaughlin/rustyboi" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/alaughlin/rustyboi"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/alaughlin/rustyboi'...
[INFO] [stderr] done.
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 88ee04f51bdd908859aafe00b3d8172ec6d1aa97
[INFO] sha for GitHub repo alaughlin/rustyboi: 88ee04f51bdd908859aafe00b3d8172ec6d1aa97
[INFO] validating manifest of alaughlin/rustyboi 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 alaughlin/rustyboi 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 alaughlin/rustyboi
[INFO] finished frobbing alaughlin/rustyboi
[INFO] frobbed toml for alaughlin/rustyboi written to work/ex/beta-1.37-6/sources/1.36.0/gh/alaughlin/rustyboi/Cargo.toml
[INFO] started frobbing alaughlin/rustyboi
[INFO] finished frobbing alaughlin/rustyboi
[INFO] frobbed toml for alaughlin/rustyboi written to work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/alaughlin/rustyboi/Cargo.toml
[INFO] crate alaughlin/rustyboi 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] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] testing alaughlin/rustyboi 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-0/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/alaughlin/rustyboi:/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] b0ef09014ae4ad99a0f24a90ddc7c5e771a881dbdc1951b865c415e8a901f1c3
[INFO] running `"docker" "start" "-a" "b0ef09014ae4ad99a0f24a90ddc7c5e771a881dbdc1951b865c415e8a901f1c3"`
[INFO] [stderr] warning: dependency (sdl2) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] [stderr] warning: unused manifest key: dependencies.sdl2.sdl2
[INFO] [stderr]    Compiling c_vec v1.3.0
[INFO] [stderr]    Compiling sdl2-sys v0.31.0
[INFO] [stderr]    Compiling sdl2 v0.31.0
[INFO] [stderr]    Compiling rustyboi v0.1.0 (/opt/crater/workdir)
[INFO] [stderr] warning: unused import: `sdl2::event::Event`
[INFO] [stderr]  --> src/main.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use sdl2::event::Event;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: #[warn(unused_imports)] on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `sdl2::pixels`
[INFO] [stderr]  --> src/main.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use sdl2::pixels;
[INFO] [stderr]   |     ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `sdl2::keyboard::Keycode`
[INFO] [stderr]  --> src/main.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use sdl2::keyboard::Keycode;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `sdl2::gfx::primitives::DrawRenderer`
[INFO] [stderr]  --> src/main.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use sdl2::gfx::primitives::DrawRenderer;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::vec::Vec`
[INFO] [stderr]   --> src/main.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use std::vec::Vec;
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'core::str::<impl str>::trim_right_matches': superseded by `trim_end_matches`
[INFO] [stderr]   --> src/gameboy/mmu.rs:97:24
[INFO] [stderr]    |
[INFO] [stderr] 97 |             Ok(v) => v.trim_right_matches(char::from(0)),
[INFO] [stderr]    |                        ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches`
[INFO] [stderr]    |
[INFO] [stderr]    = note: #[warn(deprecated)] on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method is never used: `get_game_title`
[INFO] [stderr]   --> src/gameboy/mmu.rs:93:5
[INFO] [stderr]    |
[INFO] [stderr] 93 |     pub fn get_game_title(&mut self) -> &str {
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: #[warn(dead_code)] on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method is never used: `get_game_title`
[INFO] [stderr]   --> src/gameboy/mod.rs:45:5
[INFO] [stderr]    |
[INFO] [stderr] 45 |     pub fn get_game_title(&mut self) -> &str {
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant item is never used: `SCREEN_WIDTH`
[INFO] [stderr]   --> src/main.rs:15:1
[INFO] [stderr]    |
[INFO] [stderr] 15 | const SCREEN_WIDTH: u32 = 160;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant item is never used: `SCREEN_HEIGHT`
[INFO] [stderr]   --> src/main.rs:16:1
[INFO] [stderr]    |
[INFO] [stderr] 16 | const SCREEN_HEIGHT: u32 = 144;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `get_canvas`
[INFO] [stderr]   --> src/main.rs:78:1
[INFO] [stderr]    |
[INFO] [stderr] 78 | fn get_canvas(context: &sdl2::Sdl, title: &str) -> Result<sdl2::render::WindowCanvas, sdl2::IntegerOrSdlError> {
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: comparison is useless due to type limits
[INFO] [stderr]    --> src/gameboy/opcodes.rs:219:8
[INFO] [stderr]     |
[INFO] [stderr] 219 |     if sp + (n as u16) > 0b1111111111111111 {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: #[warn(unused_comparisons)] 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/rustyboi-3c17e82b54afd083.rustyboi.4tsyb187-cgu.0.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-3c17e82b54afd083.rustyboi.4tsyb187-cgu.1.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-3c17e82b54afd083.rustyboi.4tsyb187-cgu.10.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-3c17e82b54afd083.rustyboi.4tsyb187-cgu.11.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-3c17e82b54afd083.rustyboi.4tsyb187-cgu.12.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-3c17e82b54afd083.rustyboi.4tsyb187-cgu.13.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-3c17e82b54afd083.rustyboi.4tsyb187-cgu.14.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-3c17e82b54afd083.rustyboi.4tsyb187-cgu.15.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-3c17e82b54afd083.rustyboi.4tsyb187-cgu.2.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-3c17e82b54afd083.rustyboi.4tsyb187-cgu.3.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-3c17e82b54afd083.rustyboi.4tsyb187-cgu.4.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-3c17e82b54afd083.rustyboi.4tsyb187-cgu.5.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-3c17e82b54afd083.rustyboi.4tsyb187-cgu.6.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-3c17e82b54afd083.rustyboi.4tsyb187-cgu.7.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-3c17e82b54afd083.rustyboi.4tsyb187-cgu.8.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-3c17e82b54afd083.rustyboi.4tsyb187-cgu.9.rcgu.o" "-o" "/opt/crater/target/debug/deps/rustyboi-3c17e82b54afd083" "/opt/crater/target/debug/deps/rustyboi-3c17e82b54afd083.yj14ym6vewc481y.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-2dbf43fb8ed7a2cb.rlib" "/opt/crater/target/debug/deps/librand-eeb22f88090397c4.rlib" "/opt/crater/target/debug/deps/librand-6d42bec5739d5eab.rlib" "/opt/crater/target/debug/deps/libc_vec-0562da4d1b785c43.rlib" "/opt/crater/target/debug/deps/libsdl2_sys-d29f356d7aaf0afb.rlib" "/opt/crater/target/debug/deps/libbitflags-e424d0a7dda42873.rlib" "/opt/crater/target/debug/deps/liblazy_static-0e1e36676eed3924.rlib" "/opt/crater/target/debug/deps/liblibc-7b678f4dbafdcd48.rlib" "/opt/crater/target/debug/deps/libnum-9130ba6f5cd68e81.rlib" "/opt/crater/target/debug/deps/libnum_iter-ec7dd63ef62bed04.rlib" "/opt/crater/target/debug/deps/libnum_integer-c154b338f9cb00bc.rlib" "/opt/crater/target/debug/deps/libnum_traits-06a094434807548d.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" "-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 `rustyboi`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "b0ef09014ae4ad99a0f24a90ddc7c5e771a881dbdc1951b865c415e8a901f1c3"`
[INFO] running `"docker" "rm" "-f" "b0ef09014ae4ad99a0f24a90ddc7c5e771a881dbdc1951b865c415e8a901f1c3"`
[INFO] [stdout] b0ef09014ae4ad99a0f24a90ddc7c5e771a881dbdc1951b865c415e8a901f1c3
