[INFO] updating cached repository thanhtong89/arcade-rs [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/thanhtong89/arcade-rs [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/thanhtong89/arcade-rs" "work/ex/beta-1.38-1/sources/1.37.0/gh/thanhtong89/arcade-rs"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/thanhtong89/arcade-rs'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/thanhtong89/arcade-rs" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/thanhtong89/arcade-rs"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/thanhtong89/arcade-rs'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 7dda96088fc67673eac38d7ef151e9d48d7359ec [INFO] sha for GitHub repo thanhtong89/arcade-rs: 7dda96088fc67673eac38d7ef151e9d48d7359ec [INFO] validating manifest of thanhtong89/arcade-rs 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 thanhtong89/arcade-rs 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 thanhtong89/arcade-rs [INFO] finished frobbing thanhtong89/arcade-rs [INFO] frobbed toml for thanhtong89/arcade-rs written to work/ex/beta-1.38-1/sources/1.37.0/gh/thanhtong89/arcade-rs/Cargo.toml [INFO] started frobbing thanhtong89/arcade-rs [INFO] finished frobbing thanhtong89/arcade-rs [INFO] frobbed toml for thanhtong89/arcade-rs written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/thanhtong89/arcade-rs/Cargo.toml [INFO] crate thanhtong89/arcade-rs 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] [stderr] Blocking waiting for file lock on package cache [INFO] testing thanhtong89/arcade-rs 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-4/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/thanhtong89/arcade-rs:/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] f2f0d05cb67485279438aedae62a62d515b6efd23a6a31ed92f479725a9f619a [INFO] running `"docker" "start" "-a" "f2f0d05cb67485279438aedae62a62d515b6efd23a6a31ed92f479725a9f619a"` [INFO] [stderr] Compiling sdl2-sys v0.25.0 [INFO] [stderr] Compiling bitflags v0.6.0 [INFO] [stderr] Compiling num-iter v0.1.33 [INFO] [stderr] Compiling num v0.1.37 [INFO] [stderr] Compiling sdl2 v0.25.0 [INFO] [stderr] Compiling sdl2_image v0.25.0 [INFO] [stderr] Compiling arcade-rs v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/phi/mod.rs:54:20 [INFO] [stderr] | [INFO] [stderr] 54 | ChangeView(Box), [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn View` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/phi/mod.rs:92:30 [INFO] [stderr] | [INFO] [stderr] 92 | where F: Fn(&mut Phi) -> Box { [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn View` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `title` [INFO] [stderr] --> src/phi/mod.rs:91:17 [INFO] [stderr] | [INFO] [stderr] 91 | pub fn spawn(title: &str, init: F) [INFO] [stderr] | ^^^^^ help: consider prefixing with an underscore: `_title` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `phi` [INFO] [stderr] --> src/views/mod.rs:19:16 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn new(phi: &mut Phi) -> ShipView { [INFO] [stderr] | ^^^ help: consider prefixing with an underscore: `_phi` [INFO] [stderr] [INFO] [stderr] warning: method is never used: `contains` [INFO] [stderr] --> src/phi/data.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn contains(&self, rect: Rectangle) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `overlaps` [INFO] [stderr] --> src/phi/data.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 53 | pub fn overlaps(&self, other: Rectangle) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ChangeView` [INFO] [stderr] --> src/phi/mod.rs:54:5 [INFO] [stderr] | [INFO] [stderr] 54 | ChangeView(Box), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/views/mod.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 46 | phi.renderer.fill_rect(self.player.rect.to_sdl().unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [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/arcade_rs-1454c6be70906115.arcade_rs.2kzhybg7-cgu.0.rcgu.o" "/opt/crater/target/debug/deps/arcade_rs-1454c6be70906115.arcade_rs.2kzhybg7-cgu.1.rcgu.o" "/opt/crater/target/debug/deps/arcade_rs-1454c6be70906115.arcade_rs.2kzhybg7-cgu.10.rcgu.o" "/opt/crater/target/debug/deps/arcade_rs-1454c6be70906115.arcade_rs.2kzhybg7-cgu.11.rcgu.o" "/opt/crater/target/debug/deps/arcade_rs-1454c6be70906115.arcade_rs.2kzhybg7-cgu.12.rcgu.o" "/opt/crater/target/debug/deps/arcade_rs-1454c6be70906115.arcade_rs.2kzhybg7-cgu.13.rcgu.o" "/opt/crater/target/debug/deps/arcade_rs-1454c6be70906115.arcade_rs.2kzhybg7-cgu.14.rcgu.o" "/opt/crater/target/debug/deps/arcade_rs-1454c6be70906115.arcade_rs.2kzhybg7-cgu.15.rcgu.o" "/opt/crater/target/debug/deps/arcade_rs-1454c6be70906115.arcade_rs.2kzhybg7-cgu.2.rcgu.o" "/opt/crater/target/debug/deps/arcade_rs-1454c6be70906115.arcade_rs.2kzhybg7-cgu.3.rcgu.o" "/opt/crater/target/debug/deps/arcade_rs-1454c6be70906115.arcade_rs.2kzhybg7-cgu.4.rcgu.o" "/opt/crater/target/debug/deps/arcade_rs-1454c6be70906115.arcade_rs.2kzhybg7-cgu.5.rcgu.o" "/opt/crater/target/debug/deps/arcade_rs-1454c6be70906115.arcade_rs.2kzhybg7-cgu.6.rcgu.o" "/opt/crater/target/debug/deps/arcade_rs-1454c6be70906115.arcade_rs.2kzhybg7-cgu.7.rcgu.o" "/opt/crater/target/debug/deps/arcade_rs-1454c6be70906115.arcade_rs.2kzhybg7-cgu.8.rcgu.o" "/opt/crater/target/debug/deps/arcade_rs-1454c6be70906115.arcade_rs.2kzhybg7-cgu.9.rcgu.o" "-o" "/opt/crater/target/debug/deps/arcade_rs-1454c6be70906115" "/opt/crater/target/debug/deps/arcade_rs-1454c6be70906115.4k084vv0rf48xail.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_image-90c9f33bacba80f1.rlib" "/opt/crater/target/debug/deps/libbitflags-b03ee8d07369378c.rlib" "/opt/crater/target/debug/deps/libsdl2-ba45cafc8bdae9c1.rlib" "/opt/crater/target/debug/deps/librand-9e535c7f8784aa7d.rlib" "/opt/crater/target/debug/deps/libsdl2_sys-81f95d6fcd13a42b.rlib" "/opt/crater/target/debug/deps/libbitflags-c07c0dca308057ba.rlib" "/opt/crater/target/debug/deps/liblazy_static-c79c6b5832b0c3b4.rlib" "/opt/crater/target/debug/deps/liblibc-1e14c7be984aa552.rlib" "/opt/crater/target/debug/deps/libnum-6dc28d9c6396b7aa.rlib" "/opt/crater/target/debug/deps/libnum_iter-3d64658e5f816442.rlib" "/opt/crater/target/debug/deps/libnum_integer-95165f0d5691e83c.rlib" "/opt/crater/target/debug/deps/libnum_traits-90aaff30512310e9.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_image" "-lSDL2" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil" [INFO] [stderr] = note: /usr/bin/ld: cannot find -lSDL2_image [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 `arcade-rs`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "f2f0d05cb67485279438aedae62a62d515b6efd23a6a31ed92f479725a9f619a"` [INFO] running `"docker" "rm" "-f" "f2f0d05cb67485279438aedae62a62d515b6efd23a6a31ed92f479725a9f619a"` [INFO] [stdout] f2f0d05cb67485279438aedae62a62d515b6efd23a6a31ed92f479725a9f619a