[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.38-1/sources/1.37.0/gh/alaughlin/rustyboi"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/alaughlin/rustyboi'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/alaughlin/rustyboi" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/alaughlin/rustyboi"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/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.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of alaughlin/rustyboi on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "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.38-1/sources/1.37.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.38-1/sources/beta-2019-08-13/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.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] testing alaughlin/rustyboi against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-0/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/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-08-13" "build" "--frozen"` [INFO] [stdout] fc107465b382428d6d48a392a7a0ed83dce69c8370632296af723e31d033590d [INFO] running `"docker" "start" "-a" "fc107465b382428d6d48a392a7a0ed83dce69c8370632296af723e31d033590d"` [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 num-integer v0.1.36 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Compiling num-iter v0.1.35 [INFO] [stderr] Compiling num v0.1.42 [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::::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 { [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-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/crater/target/debug/deps/rustyboi-6aabe0633d36c425.rustyboi.axndzyaw-cgu.0.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-6aabe0633d36c425.rustyboi.axndzyaw-cgu.1.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-6aabe0633d36c425.rustyboi.axndzyaw-cgu.10.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-6aabe0633d36c425.rustyboi.axndzyaw-cgu.11.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-6aabe0633d36c425.rustyboi.axndzyaw-cgu.12.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-6aabe0633d36c425.rustyboi.axndzyaw-cgu.13.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-6aabe0633d36c425.rustyboi.axndzyaw-cgu.14.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-6aabe0633d36c425.rustyboi.axndzyaw-cgu.15.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-6aabe0633d36c425.rustyboi.axndzyaw-cgu.2.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-6aabe0633d36c425.rustyboi.axndzyaw-cgu.3.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-6aabe0633d36c425.rustyboi.axndzyaw-cgu.4.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-6aabe0633d36c425.rustyboi.axndzyaw-cgu.5.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-6aabe0633d36c425.rustyboi.axndzyaw-cgu.6.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-6aabe0633d36c425.rustyboi.axndzyaw-cgu.7.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-6aabe0633d36c425.rustyboi.axndzyaw-cgu.8.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-6aabe0633d36c425.rustyboi.axndzyaw-cgu.9.rcgu.o" "-o" "/opt/crater/target/debug/deps/rustyboi-6aabe0633d36c425" "/opt/crater/target/debug/deps/rustyboi-6aabe0633d36c425.54hugh718eivq26k.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-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/crater/target/debug/deps/libsdl2-2ff99265bcb1cf18.rlib" "/opt/crater/target/debug/deps/librand-8e770a3f2816a5c9.rlib" "/opt/crater/target/debug/deps/librand-2981ef7bae904deb.rlib" "/opt/crater/target/debug/deps/libc_vec-3be4ae58f0252395.rlib" "/opt/crater/target/debug/deps/libsdl2_sys-6dc8e507df922eea.rlib" "/opt/crater/target/debug/deps/libbitflags-b03ee8d07369378c.rlib" "/opt/crater/target/debug/deps/liblazy_static-8e8f275d3efea5b8.rlib" "/opt/crater/target/debug/deps/liblibc-9d78a2d2719851af.rlib" "/opt/crater/target/debug/deps/libnum-a2e77b83c5fe6992.rlib" "/opt/crater/target/debug/deps/libnum_iter-d565949623150d06.rlib" "/opt/crater/target/debug/deps/libnum_integer-2a77bed06663b4f3.rlib" "/opt/crater/target/debug/deps/libnum_traits-4b535517a3ec4806.rlib" "-Wl,--start-group" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1d6d86bd078a28e9.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-e9721e46a424e2a9.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-c07193698f282147.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-6da45690f3863086.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-690797036dd27680.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-d3896ccbfd8eda2b.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-7cccc3739e3d7623.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-5e9ba178a513cd29.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-5ca9f83bf63d1f4b.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-bba1c7ef9e950882.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-e23c9de62012deb5.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-9b59dffdcd513d5d.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-17392340ab2e4a97.rlib" "-Wl,--end-group" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-ac21508a81e3f7f3.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" "fc107465b382428d6d48a392a7a0ed83dce69c8370632296af723e31d033590d"` [INFO] running `"docker" "rm" "-f" "fc107465b382428d6d48a392a7a0ed83dce69c8370632296af723e31d033590d"` [INFO] [stdout] fc107465b382428d6d48a392a7a0ed83dce69c8370632296af723e31d033590d