[INFO] updating cached repository pixlark/rust-2048 [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/pixlark/rust-2048 [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/pixlark/rust-2048" "work/ex/beta-1.38-1/sources/1.37.0/gh/pixlark/rust-2048"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/pixlark/rust-2048'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/pixlark/rust-2048" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/pixlark/rust-2048"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/pixlark/rust-2048'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 5c4cad366c974d5471e6db2a1b727b8c9133b342 [INFO] sha for GitHub repo pixlark/rust-2048: 5c4cad366c974d5471e6db2a1b727b8c9133b342 [INFO] validating manifest of pixlark/rust-2048 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-2048 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-2048 [INFO] finished frobbing pixlark/rust-2048 [INFO] frobbed toml for pixlark/rust-2048 written to work/ex/beta-1.38-1/sources/1.37.0/gh/pixlark/rust-2048/Cargo.toml [INFO] started frobbing pixlark/rust-2048 [INFO] finished frobbing pixlark/rust-2048 [INFO] frobbed toml for pixlark/rust-2048 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/pixlark/rust-2048/Cargo.toml [INFO] crate pixlark/rust-2048 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-2048 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-7/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-2048:/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] 2a6f4a69991729b9fc6595ba58cafe986c3b939b9390b5156619f9c9e6a0f9eb [INFO] running `"docker" "start" "-a" "2a6f4a69991729b9fc6595ba58cafe986c3b939b9390b5156619f9c9e6a0f9eb"` [INFO] [stderr] Compiling game-2048 v0.1.0 (/opt/crater/workdir) [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Compiling rand_isaac v0.1.0 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling rand v0.6.1 [INFO] [stderr] Compiling sdl2 v0.31.0 [INFO] [stderr] warning: unused import: `sdl2::video::WindowContext` [INFO] [stderr] --> src/main.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use sdl2::video::WindowContext; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `v2` should have an upper camel case name [INFO] [stderr] --> src/main.rs:44:8 [INFO] [stderr] | [INFO] [stderr] 44 | struct v2 { [INFO] [stderr] | ^^ help: convert the identifier to upper camel case: `V2` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'rand::Rng::choose': use SliceRandom::choose instead [INFO] [stderr] --> src/main.rs:267:32 [INFO] [stderr] | [INFO] [stderr] 267 | let choice: u64 = *rng.choose(&[2, 4]).unwrap(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state_stack` [INFO] [stderr] --> src/main.rs:321:13 [INFO] [stderr] | [INFO] [stderr] 321 | let mut state_stack: Vec> = Vec::new(); [INFO] [stderr] | ^^^^^^^^^^^ help: consider prefixing with an underscore: `_state_stack` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:321:9 [INFO] [stderr] | [INFO] [stderr] 321 | let mut state_stack: Vec> = Vec::new(); [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `get_fitness` [INFO] [stderr] --> src/main.rs:270:5 [INFO] [stderr] | [INFO] [stderr] 270 | fn get_fitness(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `PlayingState` [INFO] [stderr] --> src/main.rs:301:1 [INFO] [stderr] | [INFO] [stderr] 301 | struct PlayingState { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static variable `color_map` should have an upper case name [INFO] [stderr] --> src/main.rs:27:16 [INFO] [stderr] | [INFO] [stderr] 27 | static ref color_map: HashMap = { [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper case: `COLOR_MAP` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/main.rs:159:21 [INFO] [stderr] | [INFO] [stderr] 159 | / canvas.copy( [INFO] [stderr] 160 | | &texture, [INFO] [stderr] 161 | | None, [INFO] [stderr] 162 | | Some(Rect::new( [INFO] [stderr] ... | [INFO] [stderr] 167 | | )), [INFO] [stderr] 168 | | ); [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/game_2048-6eb2e050c152c6de.game_2048.2t35696x-cgu.0.rcgu.o" "/opt/crater/target/debug/deps/game_2048-6eb2e050c152c6de.game_2048.2t35696x-cgu.1.rcgu.o" "/opt/crater/target/debug/deps/game_2048-6eb2e050c152c6de.game_2048.2t35696x-cgu.10.rcgu.o" "/opt/crater/target/debug/deps/game_2048-6eb2e050c152c6de.game_2048.2t35696x-cgu.11.rcgu.o" "/opt/crater/target/debug/deps/game_2048-6eb2e050c152c6de.game_2048.2t35696x-cgu.12.rcgu.o" "/opt/crater/target/debug/deps/game_2048-6eb2e050c152c6de.game_2048.2t35696x-cgu.13.rcgu.o" "/opt/crater/target/debug/deps/game_2048-6eb2e050c152c6de.game_2048.2t35696x-cgu.14.rcgu.o" "/opt/crater/target/debug/deps/game_2048-6eb2e050c152c6de.game_2048.2t35696x-cgu.15.rcgu.o" "/opt/crater/target/debug/deps/game_2048-6eb2e050c152c6de.game_2048.2t35696x-cgu.2.rcgu.o" "/opt/crater/target/debug/deps/game_2048-6eb2e050c152c6de.game_2048.2t35696x-cgu.3.rcgu.o" "/opt/crater/target/debug/deps/game_2048-6eb2e050c152c6de.game_2048.2t35696x-cgu.4.rcgu.o" "/opt/crater/target/debug/deps/game_2048-6eb2e050c152c6de.game_2048.2t35696x-cgu.5.rcgu.o" "/opt/crater/target/debug/deps/game_2048-6eb2e050c152c6de.game_2048.2t35696x-cgu.6.rcgu.o" "/opt/crater/target/debug/deps/game_2048-6eb2e050c152c6de.game_2048.2t35696x-cgu.7.rcgu.o" "/opt/crater/target/debug/deps/game_2048-6eb2e050c152c6de.game_2048.2t35696x-cgu.8.rcgu.o" "/opt/crater/target/debug/deps/game_2048-6eb2e050c152c6de.game_2048.2t35696x-cgu.9.rcgu.o" "-o" "/opt/crater/target/debug/deps/game_2048-6eb2e050c152c6de" "/opt/crater/target/debug/deps/game_2048-6eb2e050c152c6de.33fz463vtebm71q6.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/liblazy_static-df8b3d370f96c908.rlib" "/opt/crater/target/debug/deps/libsdl2-fdf4c90bc2bdbbe4.rlib" "/opt/crater/target/debug/deps/librand-8e1ee350dd20d2ee.rlib" "/opt/crater/target/debug/deps/librand-4e318f566b0c8c8b.rlib" "/opt/crater/target/debug/deps/libsdl2_sys-d13b5dc06a85ebd4.rlib" "/opt/crater/target/debug/deps/libbitflags-b03ee8d07369378c.rlib" "/opt/crater/target/debug/deps/liblazy_static-8e8f275d3efea5b8.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" "/opt/crater/target/debug/deps/librand-d040c2208bd444eb.rlib" "/opt/crater/target/debug/deps/liblibc-170ea71780cbca2d.rlib" "/opt/crater/target/debug/deps/librand_xorshift-ed607ecbc9af3364.rlib" "/opt/crater/target/debug/deps/librand_pcg-f13281b07f95deab.rlib" "/opt/crater/target/debug/deps/librand_hc-3fc42ec1c8af02b1.rlib" "/opt/crater/target/debug/deps/librand_chacha-9efa1c258da08e64.rlib" "/opt/crater/target/debug/deps/librand_isaac-48155374d00cc6b4.rlib" "/opt/crater/target/debug/deps/librand_core-31821dc910b5bac2.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_ttf" "-lSDL2" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil" [INFO] [stderr] = note: /usr/bin/ld: cannot find -lSDL2_ttf [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-2048`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "2a6f4a69991729b9fc6595ba58cafe986c3b939b9390b5156619f9c9e6a0f9eb"` [INFO] running `"docker" "rm" "-f" "2a6f4a69991729b9fc6595ba58cafe986c3b939b9390b5156619f9c9e6a0f9eb"` [INFO] [stdout] 2a6f4a69991729b9fc6595ba58cafe986c3b939b9390b5156619f9c9e6a0f9eb