[INFO] updating cached repository pixlark/rust-chess [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/pixlark/rust-chess [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/pixlark/rust-chess" "work/ex/beta-1.37-6/sources/1.36.0/gh/pixlark/rust-chess"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/pixlark/rust-chess'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/pixlark/rust-chess" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/pixlark/rust-chess"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/pixlark/rust-chess'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 5574de551476386e7c852d19d296848b03d0bd15 [INFO] sha for GitHub repo pixlark/rust-chess: 5574de551476386e7c852d19d296848b03d0bd15 [INFO] validating manifest of pixlark/rust-chess 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 pixlark/rust-chess 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 pixlark/rust-chess [INFO] finished frobbing pixlark/rust-chess [INFO] frobbed toml for pixlark/rust-chess written to work/ex/beta-1.37-6/sources/1.36.0/gh/pixlark/rust-chess/Cargo.toml [INFO] started frobbing pixlark/rust-chess [INFO] finished frobbing pixlark/rust-chess [INFO] frobbed toml for pixlark/rust-chess written to work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/pixlark/rust-chess/Cargo.toml [INFO] crate pixlark/rust-chess 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] testing pixlark/rust-chess 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-1/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/pixlark/rust-chess:/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] e3b7664147c798bab42a2a2a56c74b07f7f0f413b595c409b7dff1f87ca9631b [INFO] running `"docker" "start" "-a" "e3b7664147c798bab42a2a2a56c74b07f7f0f413b595c409b7dff1f87ca9631b"` [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling sdl2 v0.31.0 [INFO] [stderr] Compiling game v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/main.rs:418:13 [INFO] [stderr] | [INFO] [stderr] 418 | _ => panic!("Movement not implemented for this yet..."), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unreachable_patterns)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sdl_image_context` [INFO] [stderr] --> src/main.rs:590:9 [INFO] [stderr] | [INFO] [stderr] 590 | let sdl_image_context = image::init(image::InitFlag::all()).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: consider prefixing with an underscore: `_sdl_image_context` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/main.rs:85:13 [INFO] [stderr] | [INFO] [stderr] 85 | for i in 0..3 { [INFO] [stderr] | ^ help: consider prefixing with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: method is never used: `flipped` [INFO] [stderr] --> src/main.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | fn flipped(self: &Side) -> Side { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `starting` [INFO] [stderr] --> src/main.rs:203:5 [INFO] [stderr] | [INFO] [stderr] 203 | fn starting() -> Board { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `capture_on_line` [INFO] [stderr] --> src/main.rs:263:5 [INFO] [stderr] | [INFO] [stderr] 263 | / fn capture_on_line( [INFO] [stderr] 264 | | self: &Board, [INFO] [stderr] 265 | | side: Side, [INFO] [stderr] 266 | | pos: Pos, [INFO] [stderr] ... | [INFO] [stderr] 284 | | None [INFO] [stderr] 285 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/main.rs:468:9 [INFO] [stderr] | [INFO] [stderr] 468 | / canvas.copy( [INFO] [stderr] 469 | | texture_table.table[tex_index.0][tex_index.1] [INFO] [stderr] 470 | | .as_ref() [INFO] [stderr] 471 | | .unwrap(), [INFO] [stderr] ... | [INFO] [stderr] 478 | | )), [INFO] [stderr] 479 | | ); [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] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/main.rs:570:13 [INFO] [stderr] | [INFO] [stderr] 570 | / canvas.copy( [INFO] [stderr] 571 | | texture_table.table[tex_index.0][tex_index.1] [INFO] [stderr] 572 | | .as_ref() [INFO] [stderr] 573 | | .unwrap(), [INFO] [stderr] ... | [INFO] [stderr] 580 | | )), [INFO] [stderr] 581 | | ); [INFO] [stderr] | |______________^ [INFO] [stderr] | [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-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/crater/target/debug/deps/game-0ee596f70310ed47.game.4cwm1so3-cgu.0.rcgu.o" "/opt/crater/target/debug/deps/game-0ee596f70310ed47.game.4cwm1so3-cgu.1.rcgu.o" "/opt/crater/target/debug/deps/game-0ee596f70310ed47.game.4cwm1so3-cgu.10.rcgu.o" "/opt/crater/target/debug/deps/game-0ee596f70310ed47.game.4cwm1so3-cgu.11.rcgu.o" "/opt/crater/target/debug/deps/game-0ee596f70310ed47.game.4cwm1so3-cgu.12.rcgu.o" "/opt/crater/target/debug/deps/game-0ee596f70310ed47.game.4cwm1so3-cgu.13.rcgu.o" "/opt/crater/target/debug/deps/game-0ee596f70310ed47.game.4cwm1so3-cgu.14.rcgu.o" "/opt/crater/target/debug/deps/game-0ee596f70310ed47.game.4cwm1so3-cgu.15.rcgu.o" "/opt/crater/target/debug/deps/game-0ee596f70310ed47.game.4cwm1so3-cgu.2.rcgu.o" "/opt/crater/target/debug/deps/game-0ee596f70310ed47.game.4cwm1so3-cgu.3.rcgu.o" "/opt/crater/target/debug/deps/game-0ee596f70310ed47.game.4cwm1so3-cgu.4.rcgu.o" "/opt/crater/target/debug/deps/game-0ee596f70310ed47.game.4cwm1so3-cgu.5.rcgu.o" "/opt/crater/target/debug/deps/game-0ee596f70310ed47.game.4cwm1so3-cgu.6.rcgu.o" "/opt/crater/target/debug/deps/game-0ee596f70310ed47.game.4cwm1so3-cgu.7.rcgu.o" "/opt/crater/target/debug/deps/game-0ee596f70310ed47.game.4cwm1so3-cgu.8.rcgu.o" "/opt/crater/target/debug/deps/game-0ee596f70310ed47.game.4cwm1so3-cgu.9.rcgu.o" "-o" "/opt/crater/target/debug/deps/game-0ee596f70310ed47" "/opt/crater/target/debug/deps/game-0ee596f70310ed47.t0lpuwr1h2dc551.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-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/crater/target/debug/deps/libsdl2-810e8eac73d0e51f.rlib" "/opt/crater/target/debug/deps/librand-7b4ac3f3b42a2ef7.rlib" "/opt/crater/target/debug/deps/librand-ba0f7e3caa5ae6fa.rlib" "/opt/crater/target/debug/deps/libsdl2_sys-f78e32c5ecbb8139.rlib" "/opt/crater/target/debug/deps/libbitflags-e424d0a7dda42873.rlib" "/opt/crater/target/debug/deps/liblazy_static-0e1e36676eed3924.rlib" "/opt/crater/target/debug/deps/liblibc-7ef0ecc5d6f9b1d0.rlib" "/opt/crater/target/debug/deps/libnum-6d1c41becdc658de.rlib" "/opt/crater/target/debug/deps/libnum_iter-6a53ebaecf43d64b.rlib" "/opt/crater/target/debug/deps/libnum_integer-3e4b662ece72588f.rlib" "/opt/crater/target/debug/deps/libnum_traits-b0613bcbd790bfdc.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_image" "-lSDL2" "-lutil" "-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 `game`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "e3b7664147c798bab42a2a2a56c74b07f7f0f413b595c409b7dff1f87ca9631b"` [INFO] running `"docker" "rm" "-f" "e3b7664147c798bab42a2a2a56c74b07f7f0f413b595c409b7dff1f87ca9631b"` [INFO] [stdout] e3b7664147c798bab42a2a2a56c74b07f7f0f413b595c409b7dff1f87ca9631b