[INFO] updating cached repository kixelated/pokebot-crystal [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/kixelated/pokebot-crystal [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/kixelated/pokebot-crystal" "work/ex/beta-1.37-6/sources/1.36.0/gh/kixelated/pokebot-crystal"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/kixelated/pokebot-crystal'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/kixelated/pokebot-crystal" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/kixelated/pokebot-crystal"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/kixelated/pokebot-crystal'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] f09a2222162fe71439c03dbb7987859f1126b2a3 [INFO] sha for GitHub repo kixelated/pokebot-crystal: f09a2222162fe71439c03dbb7987859f1126b2a3 [INFO] validating manifest of kixelated/pokebot-crystal 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 kixelated/pokebot-crystal 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 kixelated/pokebot-crystal [INFO] finished frobbing kixelated/pokebot-crystal [INFO] frobbed toml for kixelated/pokebot-crystal written to work/ex/beta-1.37-6/sources/1.36.0/gh/kixelated/pokebot-crystal/Cargo.toml [INFO] started frobbing kixelated/pokebot-crystal [INFO] finished frobbing kixelated/pokebot-crystal [INFO] frobbed toml for kixelated/pokebot-crystal written to work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/kixelated/pokebot-crystal/Cargo.toml [INFO] crate kixelated/pokebot-crystal 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] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] testing kixelated/pokebot-crystal 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-3/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/kixelated/pokebot-crystal:/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] 4565a173cc3cbfa280f8df86f2b606c614124ebf7820562139984f7ca4fd09ab [INFO] running `"docker" "start" "-a" "4565a173cc3cbfa280f8df86f2b606c614124ebf7820562139984f7ca4fd09ab"` [INFO] [stderr] Compiling pokebot-crystal v0.1.0 (/opt/crater/workdir) [INFO] [stderr] Compiling rand v0.3.17 [INFO] [stderr] Compiling sdl2-sys v0.30.0 [INFO] [stderr] Compiling sdl2 v0.30.0 [INFO] [stderr] warning: unused variable: `audio` [INFO] [stderr] --> src/gfx.rs:36:51 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn present(&mut self, video: [u8; 92160], audio: [u8; 148704]) -> bool { [INFO] [stderr] | ^^^^^ help: consider prefixing with an underscore: `_audio` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `gambatte_work_ram` [INFO] [stderr] --> src/emulator.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | fn gambatte_work_ram(gb: *mut Gambatte, data: *mut *const u8, size: *mut libc::size_t); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `work_ram` [INFO] [stderr] --> src/emulator.rs:138:5 [INFO] [stderr] | [INFO] [stderr] 138 | pub fn work_ram(&self) -> &[u8] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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/pokebot_crystal-0fdb884f26bf3d07.pokebot_crystal.i4tbxeel-cgu.0.rcgu.o" "/opt/crater/target/debug/deps/pokebot_crystal-0fdb884f26bf3d07.pokebot_crystal.i4tbxeel-cgu.1.rcgu.o" "/opt/crater/target/debug/deps/pokebot_crystal-0fdb884f26bf3d07.pokebot_crystal.i4tbxeel-cgu.10.rcgu.o" "/opt/crater/target/debug/deps/pokebot_crystal-0fdb884f26bf3d07.pokebot_crystal.i4tbxeel-cgu.11.rcgu.o" "/opt/crater/target/debug/deps/pokebot_crystal-0fdb884f26bf3d07.pokebot_crystal.i4tbxeel-cgu.12.rcgu.o" "/opt/crater/target/debug/deps/pokebot_crystal-0fdb884f26bf3d07.pokebot_crystal.i4tbxeel-cgu.13.rcgu.o" "/opt/crater/target/debug/deps/pokebot_crystal-0fdb884f26bf3d07.pokebot_crystal.i4tbxeel-cgu.14.rcgu.o" "/opt/crater/target/debug/deps/pokebot_crystal-0fdb884f26bf3d07.pokebot_crystal.i4tbxeel-cgu.15.rcgu.o" "/opt/crater/target/debug/deps/pokebot_crystal-0fdb884f26bf3d07.pokebot_crystal.i4tbxeel-cgu.2.rcgu.o" "/opt/crater/target/debug/deps/pokebot_crystal-0fdb884f26bf3d07.pokebot_crystal.i4tbxeel-cgu.3.rcgu.o" "/opt/crater/target/debug/deps/pokebot_crystal-0fdb884f26bf3d07.pokebot_crystal.i4tbxeel-cgu.4.rcgu.o" "/opt/crater/target/debug/deps/pokebot_crystal-0fdb884f26bf3d07.pokebot_crystal.i4tbxeel-cgu.5.rcgu.o" "/opt/crater/target/debug/deps/pokebot_crystal-0fdb884f26bf3d07.pokebot_crystal.i4tbxeel-cgu.6.rcgu.o" "/opt/crater/target/debug/deps/pokebot_crystal-0fdb884f26bf3d07.pokebot_crystal.i4tbxeel-cgu.7.rcgu.o" "/opt/crater/target/debug/deps/pokebot_crystal-0fdb884f26bf3d07.pokebot_crystal.i4tbxeel-cgu.8.rcgu.o" "/opt/crater/target/debug/deps/pokebot_crystal-0fdb884f26bf3d07.pokebot_crystal.i4tbxeel-cgu.9.rcgu.o" "-o" "/opt/crater/target/debug/deps/pokebot_crystal-0fdb884f26bf3d07" "/opt/crater/target/debug/deps/pokebot_crystal-0fdb884f26bf3d07.3t9ir6t53t5mtye0.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/crater/target/debug/deps" "-L" "gambatte/libgambatte" "-L" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lgambatte" "-lstdc++" "-lz" "-Wl,-Bstatic" "/opt/crater/target/debug/deps/libsdl2-bbe441caab7560e4.rlib" "/opt/crater/target/debug/deps/librand-01755d61cb6de96f.rlib" "/opt/crater/target/debug/deps/libc_vec-0c288992332fe7e9.rlib" "/opt/crater/target/debug/deps/libsdl2_sys-16eb8c7b2224b8db.rlib" "/opt/crater/target/debug/deps/libbitflags-e424d0a7dda42873.rlib" "/opt/crater/target/debug/deps/liblazy_static-e2bfda1b54f8e430.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" "/opt/crater/target/debug/deps/liblibc-41fad95e3047986d.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 -lgambatte [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 `pokebot-crystal`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "4565a173cc3cbfa280f8df86f2b606c614124ebf7820562139984f7ca4fd09ab"` [INFO] running `"docker" "rm" "-f" "4565a173cc3cbfa280f8df86f2b606c614124ebf7820562139984f7ca4fd09ab"` [INFO] [stdout] 4565a173cc3cbfa280f8df86f2b606c614124ebf7820562139984f7ca4fd09ab