[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.38-1/sources/1.37.0/gh/pixlark/rust-chess"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/pixlark/rust-chess'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/pixlark/rust-chess" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/pixlark/rust-chess"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/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.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 pixlark/rust-chess 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 pixlark/rust-chess [INFO] finished frobbing pixlark/rust-chess [INFO] frobbed toml for pixlark/rust-chess written to work/ex/beta-1.38-1/sources/1.37.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.38-1/sources/beta-2019-08-13/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.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 pixlark/rust-chess 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-6/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/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-08-13" "build" "--frozen"` [INFO] [stdout] f8d39a12c191801519e888d914d204a29feaf258e62c16d312407de04fe009e2 [INFO] running `"docker" "start" "-a" "f8d39a12c191801519e888d914d204a29feaf258e62c16d312407de04fe009e2"` [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Compiling num v0.1.42 [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-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/crater/target/debug/deps/game-a330079533fe834b.game.7rjdh39q-cgu.0.rcgu.o" "/opt/crater/target/debug/deps/game-a330079533fe834b.game.7rjdh39q-cgu.1.rcgu.o" "/opt/crater/target/debug/deps/game-a330079533fe834b.game.7rjdh39q-cgu.10.rcgu.o" "/opt/crater/target/debug/deps/game-a330079533fe834b.game.7rjdh39q-cgu.11.rcgu.o" "/opt/crater/target/debug/deps/game-a330079533fe834b.game.7rjdh39q-cgu.12.rcgu.o" "/opt/crater/target/debug/deps/game-a330079533fe834b.game.7rjdh39q-cgu.13.rcgu.o" "/opt/crater/target/debug/deps/game-a330079533fe834b.game.7rjdh39q-cgu.14.rcgu.o" "/opt/crater/target/debug/deps/game-a330079533fe834b.game.7rjdh39q-cgu.15.rcgu.o" "/opt/crater/target/debug/deps/game-a330079533fe834b.game.7rjdh39q-cgu.2.rcgu.o" "/opt/crater/target/debug/deps/game-a330079533fe834b.game.7rjdh39q-cgu.3.rcgu.o" "/opt/crater/target/debug/deps/game-a330079533fe834b.game.7rjdh39q-cgu.4.rcgu.o" "/opt/crater/target/debug/deps/game-a330079533fe834b.game.7rjdh39q-cgu.5.rcgu.o" "/opt/crater/target/debug/deps/game-a330079533fe834b.game.7rjdh39q-cgu.6.rcgu.o" "/opt/crater/target/debug/deps/game-a330079533fe834b.game.7rjdh39q-cgu.7.rcgu.o" "/opt/crater/target/debug/deps/game-a330079533fe834b.game.7rjdh39q-cgu.8.rcgu.o" "/opt/crater/target/debug/deps/game-a330079533fe834b.game.7rjdh39q-cgu.9.rcgu.o" "-o" "/opt/crater/target/debug/deps/game-a330079533fe834b" "/opt/crater/target/debug/deps/game-a330079533fe834b.4s227zlbojkf7ur.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-1fe54484ea0f0b2f.rlib" "/opt/crater/target/debug/deps/librand-e7fbb412ff9aee36.rlib" "/opt/crater/target/debug/deps/librand-61858dfae8c87f2c.rlib" "/opt/crater/target/debug/deps/libsdl2_sys-caada0f9b38d4c7b.rlib" "/opt/crater/target/debug/deps/libbitflags-b03ee8d07369378c.rlib" "/opt/crater/target/debug/deps/liblazy_static-8e8f275d3efea5b8.rlib" "/opt/crater/target/debug/deps/liblibc-bdc2386f4cce9efc.rlib" "/opt/crater/target/debug/deps/libnum-d77c5714bd491da7.rlib" "/opt/crater/target/debug/deps/libnum_iter-c2670023c017b43e.rlib" "/opt/crater/target/debug/deps/libnum_integer-2746dc7a3b917a7f.rlib" "/opt/crater/target/debug/deps/libnum_traits-b79693a5d7e93180.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" "-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" "f8d39a12c191801519e888d914d204a29feaf258e62c16d312407de04fe009e2"` [INFO] running `"docker" "rm" "-f" "f8d39a12c191801519e888d914d204a29feaf258e62c16d312407de04fe009e2"` [INFO] [stdout] f8d39a12c191801519e888d914d204a29feaf258e62c16d312407de04fe009e2