[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 1.36.0 for beta-1.37-6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-4/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.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.36.0" "build" "--frozen"` [INFO] [stdout] 8b73761bc828d0bd8ab7aac8143e3111a2fbeb71dd43530ae846db291dd34203 [INFO] running `"docker" "start" "-a" "8b73761bc828d0bd8ab7aac8143e3111a2fbeb71dd43530ae846db291dd34203"` [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::::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.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/crater/target/debug/deps/rustyboi-6e4c88947eb123ea.rustyboi.7krw44ns-cgu.0.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-6e4c88947eb123ea.rustyboi.7krw44ns-cgu.1.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-6e4c88947eb123ea.rustyboi.7krw44ns-cgu.10.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-6e4c88947eb123ea.rustyboi.7krw44ns-cgu.11.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-6e4c88947eb123ea.rustyboi.7krw44ns-cgu.12.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-6e4c88947eb123ea.rustyboi.7krw44ns-cgu.13.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-6e4c88947eb123ea.rustyboi.7krw44ns-cgu.14.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-6e4c88947eb123ea.rustyboi.7krw44ns-cgu.15.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-6e4c88947eb123ea.rustyboi.7krw44ns-cgu.2.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-6e4c88947eb123ea.rustyboi.7krw44ns-cgu.3.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-6e4c88947eb123ea.rustyboi.7krw44ns-cgu.4.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-6e4c88947eb123ea.rustyboi.7krw44ns-cgu.5.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-6e4c88947eb123ea.rustyboi.7krw44ns-cgu.6.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-6e4c88947eb123ea.rustyboi.7krw44ns-cgu.7.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-6e4c88947eb123ea.rustyboi.7krw44ns-cgu.8.rcgu.o" "/opt/crater/target/debug/deps/rustyboi-6e4c88947eb123ea.rustyboi.7krw44ns-cgu.9.rcgu.o" "-o" "/opt/crater/target/debug/deps/rustyboi-6e4c88947eb123ea" "/opt/crater/target/debug/deps/rustyboi-6e4c88947eb123ea.43madcb9f7uev6bz.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/crater/target/debug/deps" "-L" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/crater/target/debug/deps/libsdl2-c2c0a855a3d5fcd5.rlib" "/opt/crater/target/debug/deps/librand-8f0a32ccf9cf4819.rlib" "/opt/crater/target/debug/deps/librand-03c23d22d3e9361a.rlib" "/opt/crater/target/debug/deps/libc_vec-6a81bd8ed2e6a808.rlib" "/opt/crater/target/debug/deps/libsdl2_sys-acf8a93fc4812c64.rlib" "/opt/crater/target/debug/deps/libbitflags-df219a1ec24cdf3b.rlib" "/opt/crater/target/debug/deps/liblazy_static-318544a807a94655.rlib" "/opt/crater/target/debug/deps/liblibc-69fb33ee0a761606.rlib" "/opt/crater/target/debug/deps/libnum-6eafce8a2d158592.rlib" "/opt/crater/target/debug/deps/libnum_iter-413fc8aed7a29cdd.rlib" "/opt/crater/target/debug/deps/libnum_integer-c211a6b345647b2f.rlib" "/opt/crater/target/debug/deps/libnum_traits-f6e389a0e412a9fa.rlib" "-Wl,--start-group" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9895e8982b0a79e7.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-57306b8ed3378a0e.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-54463ae5adae3649.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-d99667b199a9875a.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-51f4300e102199f5.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-b3ccf1f7737a6a91.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-157c37a3ceb78853.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-505bcee45aafb736.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-c29abd529ba4452b.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-895383a3232f6572.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-5594cb4f559bc761.rlib" "-Wl,--end-group" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-38e90baf978bc428.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" "8b73761bc828d0bd8ab7aac8143e3111a2fbeb71dd43530ae846db291dd34203"` [INFO] running `"docker" "rm" "-f" "8b73761bc828d0bd8ab7aac8143e3111a2fbeb71dd43530ae846db291dd34203"` [INFO] [stdout] 8b73761bc828d0bd8ab7aac8143e3111a2fbeb71dd43530ae846db291dd34203