[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 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-4/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/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" "+1.37.0" "build" "--frozen"` [INFO] [stdout] e440b9029ffbdf368548df2a72dfaec026b34f45d9b72de0f671da9c14695cf9 [INFO] running `"docker" "start" "-a" "e440b9029ffbdf368548df2a72dfaec026b34f45d9b72de0f671da9c14695cf9"` [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 cfg-if v0.1.3 [INFO] [stderr] Compiling num-traits v0.2.2 [INFO] [stderr] Compiling c_vec v1.3.0 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Compiling num-integer v0.1.36 [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/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/crater/target/debug/deps/rustyboi-ef29a827421c6fd5.rustyboi.ebt6nu4p-cgu.0.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-ef29a827421c6fd5.rustyboi.ebt6nu4p-cgu.1.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-ef29a827421c6fd5.rustyboi.ebt6nu4p-cgu.10.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-ef29a827421c6fd5.rustyboi.ebt6nu4p-cgu.11.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-ef29a827421c6fd5.rustyboi.ebt6nu4p-cgu.12.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-ef29a827421c6fd5.rustyboi.ebt6nu4p-cgu.13.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-ef29a827421c6fd5.rustyboi.ebt6nu4p-cgu.14.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-ef29a827421c6fd5.rustyboi.ebt6nu4p-cgu.15.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-ef29a827421c6fd5.rustyboi.ebt6nu4p-cgu.2.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-ef29a827421c6fd5.rustyboi.ebt6nu4p-cgu.3.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-ef29a827421c6fd5.rustyboi.ebt6nu4p-cgu.4.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-ef29a827421c6fd5.rustyboi.ebt6nu4p-cgu.5.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-ef29a827421c6fd5.rustyboi.ebt6nu4p-cgu.6.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-ef29a827421c6fd5.rustyboi.ebt6nu4p-cgu.7.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-ef29a827421c6fd5.rustyboi.ebt6nu4p-cgu.8.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-ef29a827421c6fd5.rustyboi.ebt6nu4p-cgu.9.rcgu.o" "-o" "/opt/crater/target/debug/deps/rustyboi-ef29a827421c6fd5" "/opt/crater/target/debug/deps/rustyboi-ef29a827421c6fd5.1fn5dcj7si877ruy.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/crater/target/debug/deps" "-L" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/crater/target/debug/deps/libsdl2-72ffc5ec588d18b5.rlib" "/opt/crater/target/debug/deps/librand-baa78b353d91eca7.rlib" "/opt/crater/target/debug/deps/librand-e7c0917706e1ea21.rlib" "/opt/crater/target/debug/deps/libc_vec-2c5b0111ed7358b9.rlib" "/opt/crater/target/debug/deps/libsdl2_sys-28c8e1ab9c0ead40.rlib" "/opt/crater/target/debug/deps/libbitflags-05fa20c47058c1db.rlib" "/opt/crater/target/debug/deps/liblazy_static-0c9d1899e9eae559.rlib" "/opt/crater/target/debug/deps/liblibc-359335290a215031.rlib" "/opt/crater/target/debug/deps/libnum-7a09c1be81273bf8.rlib" "/opt/crater/target/debug/deps/libnum_iter-b2716f73be0c4bcd.rlib" "/opt/crater/target/debug/deps/libnum_integer-9ce89979889fd94d.rlib" "/opt/crater/target/debug/deps/libnum_traits-afa9f3b1620256a9.rlib" "-Wl,--start-group" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-4a76ff35a356aedf.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-e11c7b3b3225afe2.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-13217ede3d276f16.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-621a9ee22da6caa1.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-546c844e8071bbeb.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-be9569e4d599746f.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-47d8845cef2a3bc5.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-017511bce73a530c.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-be7979c57a08057b.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-d6459c4f0817c67c.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-580035dd98451925.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-aee5c24fff305dea.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-8a55a4098920125a.rlib" "-Wl,--end-group" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-9fc4b5be2ba5cc19.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" "e440b9029ffbdf368548df2a72dfaec026b34f45d9b72de0f671da9c14695cf9"` [INFO] running `"docker" "rm" "-f" "e440b9029ffbdf368548df2a72dfaec026b34f45d9b72de0f671da9c14695cf9"` [INFO] [stdout] e440b9029ffbdf368548df2a72dfaec026b34f45d9b72de0f671da9c14695cf9