[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.38-1/sources/1.37.0/gh/kixelated/pokebot-crystal"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/kixelated/pokebot-crystal'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/kixelated/pokebot-crystal" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/kixelated/pokebot-crystal"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/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.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 kixelated/pokebot-crystal 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 kixelated/pokebot-crystal [INFO] finished frobbing kixelated/pokebot-crystal [INFO] frobbed toml for kixelated/pokebot-crystal written to work/ex/beta-1.38-1/sources/1.37.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.38-1/sources/beta-2019-08-13/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.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing kixelated/pokebot-crystal 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-1/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/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-08-13" "build" "--frozen"` [INFO] [stdout] 7ad4b7d3445d2de96b944a182990b9e797e00cc77f7a81a29ff72216b3dc7891 [INFO] running `"docker" "start" "-a" "7ad4b7d3445d2de96b944a182990b9e797e00cc77f7a81a29ff72216b3dc7891"` [INFO] [stderr] Compiling sdl2-sys v0.30.0 [INFO] [stderr] Compiling c_vec v1.0.12 [INFO] [stderr] Compiling pokebot-crystal v0.1.0 (/opt/crater/workdir) [INFO] [stderr] Compiling rand v0.3.17 [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-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/crater/target/debug/deps/pokebot_crystal-0315e0cb5ce456dc.pokebot_crystal.94d6mzju-cgu.0.rcgu.o" "/opt/crater/target/debug/deps/pokebot_crystal-0315e0cb5ce456dc.pokebot_crystal.94d6mzju-cgu.1.rcgu.o" "/opt/crater/target/debug/deps/pokebot_crystal-0315e0cb5ce456dc.pokebot_crystal.94d6mzju-cgu.10.rcgu.o" "/opt/crater/target/debug/deps/pokebot_crystal-0315e0cb5ce456dc.pokebot_crystal.94d6mzju-cgu.11.rcgu.o" "/opt/crater/target/debug/deps/pokebot_crystal-0315e0cb5ce456dc.pokebot_crystal.94d6mzju-cgu.12.rcgu.o" "/opt/crater/target/debug/deps/pokebot_crystal-0315e0cb5ce456dc.pokebot_crystal.94d6mzju-cgu.13.rcgu.o" "/opt/crater/target/debug/deps/pokebot_crystal-0315e0cb5ce456dc.pokebot_crystal.94d6mzju-cgu.14.rcgu.o" "/opt/crater/target/debug/deps/pokebot_crystal-0315e0cb5ce456dc.pokebot_crystal.94d6mzju-cgu.15.rcgu.o" "/opt/crater/target/debug/deps/pokebot_crystal-0315e0cb5ce456dc.pokebot_crystal.94d6mzju-cgu.2.rcgu.o" "/opt/crater/target/debug/deps/pokebot_crystal-0315e0cb5ce456dc.pokebot_crystal.94d6mzju-cgu.3.rcgu.o" "/opt/crater/target/debug/deps/pokebot_crystal-0315e0cb5ce456dc.pokebot_crystal.94d6mzju-cgu.4.rcgu.o" "/opt/crater/target/debug/deps/pokebot_crystal-0315e0cb5ce456dc.pokebot_crystal.94d6mzju-cgu.5.rcgu.o" "/opt/crater/target/debug/deps/pokebot_crystal-0315e0cb5ce456dc.pokebot_crystal.94d6mzju-cgu.6.rcgu.o" "/opt/crater/target/debug/deps/pokebot_crystal-0315e0cb5ce456dc.pokebot_crystal.94d6mzju-cgu.7.rcgu.o" "/opt/crater/target/debug/deps/pokebot_crystal-0315e0cb5ce456dc.pokebot_crystal.94d6mzju-cgu.8.rcgu.o" "/opt/crater/target/debug/deps/pokebot_crystal-0315e0cb5ce456dc.pokebot_crystal.94d6mzju-cgu.9.rcgu.o" "-o" "/opt/crater/target/debug/deps/pokebot_crystal-0315e0cb5ce456dc" "/opt/crater/target/debug/deps/pokebot_crystal-0315e0cb5ce456dc.3fzxxwcdi6kgy77g.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-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lgambatte" "-lstdc++" "-lz" "-Wl,-Bstatic" "/opt/crater/target/debug/deps/libsdl2-f4bbb1e7a5444939.rlib" "/opt/crater/target/debug/deps/librand-68b89dd74a5dc4f1.rlib" "/opt/crater/target/debug/deps/libc_vec-0cf308e42bbc7a1f.rlib" "/opt/crater/target/debug/deps/libsdl2_sys-15c59498efd876ea.rlib" "/opt/crater/target/debug/deps/libbitflags-b03ee8d07369378c.rlib" "/opt/crater/target/debug/deps/liblazy_static-35de6a1c14e1763c.rlib" "/opt/crater/target/debug/deps/libnum-3077a27698f8e09a.rlib" "/opt/crater/target/debug/deps/libnum_iter-63ec787f2ecb4d27.rlib" "/opt/crater/target/debug/deps/libnum_integer-4cb28fb72a24b983.rlib" "/opt/crater/target/debug/deps/libnum_traits-5221bafb01d86714.rlib" "/opt/crater/target/debug/deps/liblibc-13829f9a0c1b9aac.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" "-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" "7ad4b7d3445d2de96b944a182990b9e797e00cc77f7a81a29ff72216b3dc7891"` [INFO] running `"docker" "rm" "-f" "7ad4b7d3445d2de96b944a182990b9e797e00cc77f7a81a29ff72216b3dc7891"` [INFO] [stdout] 7ad4b7d3445d2de96b944a182990b9e797e00cc77f7a81a29ff72216b3dc7891