[INFO] updating cached repository https://github.com/ShadowMitia/rust-2048 [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 0e38f7cea710dd21d117bf4f5d9286ec502b7692 [INFO] testing ShadowMitia/rust-2048 against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShadowMitia%2Frust-2048" "/workspace/builds/worker-5/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ShadowMitia/rust-2048 on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/ShadowMitia/rust-2048 [INFO] finished tweaking git repo https://github.com/ShadowMitia/rust-2048 [INFO] tweaked toml for git repo https://github.com/ShadowMitia/rust-2048 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/ShadowMitia/rust-2048 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stdout] 066c6825233100d374f89162b43e273de745a0925f2cafbf887386a7f2915891 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "066c6825233100d374f89162b43e273de745a0925f2cafbf887386a7f2915891"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling sdl2 v0.34.0 [INFO] [stderr] Compiling sdl2-sys v0.34.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling game-2048 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused variable: `game_running` [INFO] [stderr] --> src/main.rs:286:9 [INFO] [stderr] | [INFO] [stderr] 286 | let mut game_running = true; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_running` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `res` [INFO] [stderr] --> src/main.rs:311:25 [INFO] [stderr] | [INFO] [stderr] 311 | let res = add_to_empty_cell(&mut rng, &mut grid, val); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `res` [INFO] [stderr] --> src/main.rs:321:25 [INFO] [stderr] | [INFO] [stderr] 321 | let res = add_to_empty_cell(&mut rng, &mut grid, val); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `res` [INFO] [stderr] --> src/main.rs:330:25 [INFO] [stderr] | [INFO] [stderr] 330 | let res = add_to_empty_cell(&mut rng, &mut grid, val); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:286:9 [INFO] [stderr] | [INFO] [stderr] 286 | let mut game_running = true; [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: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:290:13 [INFO] [stderr] | [INFO] [stderr] 290 | let mut moved = false; [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [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/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/game_2048-0671c16c7ee738a9.game_2048.b2miplfe-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-0671c16c7ee738a9.game_2048.b2miplfe-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-0671c16c7ee738a9.game_2048.b2miplfe-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-0671c16c7ee738a9.game_2048.b2miplfe-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-0671c16c7ee738a9.game_2048.b2miplfe-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-0671c16c7ee738a9.game_2048.b2miplfe-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-0671c16c7ee738a9.game_2048.b2miplfe-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-0671c16c7ee738a9.game_2048.b2miplfe-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-0671c16c7ee738a9.game_2048.b2miplfe-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-0671c16c7ee738a9.game_2048.b2miplfe-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-0671c16c7ee738a9.game_2048.b2miplfe-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-0671c16c7ee738a9.game_2048.b2miplfe-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-0671c16c7ee738a9.game_2048.b2miplfe-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-0671c16c7ee738a9.game_2048.b2miplfe-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-0671c16c7ee738a9.game_2048.b2miplfe-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-0671c16c7ee738a9.game_2048.b2miplfe-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/game_2048-0671c16c7ee738a9" "/opt/rustwide/target/debug/deps/game_2048-0671c16c7ee738a9.4njx9ffdddpmc1m7.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/librand-8b5000413fcf31c7.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-eb17dee7b9764e23.rlib" "/opt/rustwide/target/debug/deps/libppv_lite86-89ee3c0039048a85.rlib" "/opt/rustwide/target/debug/deps/librand_core-a641ebc97d227f01.rlib" "/opt/rustwide/target/debug/deps/libgetrandom-3742b24d31af7784.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-0d7329a98a9ffead.rlib" "/opt/rustwide/target/debug/deps/libsdl2-61adf902d7e4ba1b.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-81ea77df8b9dd655.rlib" "/opt/rustwide/target/debug/deps/libbitflags-a637fa8d282392d5.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-36bd8bbfaaa85bd1.rlib" "/opt/rustwide/target/debug/deps/liblibc-4188ef2a529901ad.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-44f8eb3d0b2fad61.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-abc626f09920d361.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-546e83c8973f1a65.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-12768dfc68674934.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-e06867e4497f2ee8.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-cbc579f43f6df57b.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-7abd6d5a7ebf9a23.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-46423c7bc03bd327.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-fc3773ed7bc68f07.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-9cdc98176efd27e2.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-02d88502a763e06b.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-8cdc9d38dd6cd3ce.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-336f7d63e72901ef.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-57917b1be5233117.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_ttf" "-lutil" "-ldl" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-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; 6 warnings emitted [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" "066c6825233100d374f89162b43e273de745a0925f2cafbf887386a7f2915891"` [INFO] running `"docker" "rm" "-f" "066c6825233100d374f89162b43e273de745a0925f2cafbf887386a7f2915891"` [INFO] [stdout] 066c6825233100d374f89162b43e273de745a0925f2cafbf887386a7f2915891