[INFO] cloning repository https://github.com/asib/platformer [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/asib/platformer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fasib%2Fplatformer"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fasib%2Fplatformer'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] fd81cc8b2e1b68b57d711511001bb94768889983 [INFO] testing asib/platformer against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fasib%2Fplatformer" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/asib/platformer 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/asib/platformer [INFO] finished tweaking git repo https://github.com/asib/platformer [INFO] tweaked toml for git repo https://github.com/asib/platformer written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/asib/platformer 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] error: the lock file /workspace/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sdl2_image v0.2.5 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3d49ca90c36b3578b011c61a2fffd6bb746d11618f8209558dad4f0f02bd4948 [INFO] running `"docker" "start" "-a" "3d49ca90c36b3578b011c61a2fffd6bb746d11618f8209558dad4f0f02bd4948"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling sdl2-sys v0.6.2 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling libc v0.1.12 [INFO] [stderr] Compiling bitflags v0.2.1 [INFO] [stderr] Compiling bitflags v0.1.1 [INFO] [stderr] Compiling find_folder v0.3.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling flate2 v0.2.20 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling sdl2 v0.8.0 [INFO] [stderr] Compiling sdl2_image v0.2.5 [INFO] [stderr] Compiling platformer v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/tiled.rs:67:21 [INFO] [stderr] | [INFO] [stderr] 67 | let mut f = try!(File::open(path)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/tiled.rs:69:9 [INFO] [stderr] | [INFO] [stderr] 69 | try!(f.read_to_end(&mut contents)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/tiled.rs:70:24 [INFO] [stderr] | [INFO] [stderr] 70 | let contents = try!(String::from_utf8(contents)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/tiled.rs:72:19 [INFO] [stderr] | [INFO] [stderr] 72 | let map = try!(json::decode(&contents)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::error::Error` [INFO] [stderr] --> src/tiled.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::thread::sleep_ms': replaced by `std::thread::sleep` [INFO] [stderr] --> src/lib.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | std::thread::sleep_ms(ms); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 6 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | #[macro_use(hashmap)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [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/platformer-b614f1076614d37d.platformer.90o132ts-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/platformer-b614f1076614d37d.platformer.90o132ts-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/platformer-b614f1076614d37d.platformer.90o132ts-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/platformer-b614f1076614d37d.platformer.90o132ts-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/platformer-b614f1076614d37d.platformer.90o132ts-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/platformer-b614f1076614d37d.platformer.90o132ts-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/platformer-b614f1076614d37d.platformer.90o132ts-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/platformer-b614f1076614d37d.platformer.90o132ts-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/platformer-b614f1076614d37d.platformer.90o132ts-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/platformer-b614f1076614d37d.platformer.90o132ts-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/platformer-b614f1076614d37d.platformer.90o132ts-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/platformer-b614f1076614d37d.platformer.90o132ts-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/platformer-b614f1076614d37d.platformer.90o132ts-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/platformer-b614f1076614d37d.platformer.90o132ts-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/platformer-b614f1076614d37d.platformer.90o132ts-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/platformer-b614f1076614d37d.platformer.90o132ts-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/platformer-b614f1076614d37d" "/opt/rustwide/target/debug/deps/platformer-b614f1076614d37d.1swws7y7mn98tl2o.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/miniz-sys-be9997105ef9946a/out" "-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/libplatformer-58f9af91de365598.rlib" "/opt/rustwide/target/debug/deps/libfind_folder-de1a521d5c85effb.rlib" "/opt/rustwide/target/debug/deps/libsdl2_image-83df872437488375.rlib" "/opt/rustwide/target/debug/deps/libbitflags-8111359a82eaea5b.rlib" "/opt/rustwide/target/debug/deps/libsdl2-e6d78acbc58b8caa.rlib" "/opt/rustwide/target/debug/deps/librand-4b4bbdcaddf090ab.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-49ff5b86b5206cf8.rlib" "/opt/rustwide/target/debug/deps/libbitflags-e170730b4d2ee1b2.rlib" "/opt/rustwide/target/debug/deps/liblibc-3542faeaa44954da.rlib" "/opt/rustwide/target/debug/deps/libnum-cc8fdc7d079d5b49.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-d005d383cc168013.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-e46f7b679e5245b1.rlib" "/opt/rustwide/target/debug/deps/librand-9cc9e44aa3d9199f.rlib" "/opt/rustwide/target/debug/deps/liblibc-2e17c5c99334ee98.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-3d096f8dec0121ba.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-4acdc232161029de.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-b1690be1b5a4a673.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-e2d76c693688508b.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-447df9d8850f95e5.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_image" "-lSDL2" "-lc" "-lm" "-lutil" "-ldl" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-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; 1 warning emitted [INFO] [stderr] [INFO] [stderr] error: could not compile `platformer`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "3d49ca90c36b3578b011c61a2fffd6bb746d11618f8209558dad4f0f02bd4948"` [INFO] running `"docker" "rm" "-f" "3d49ca90c36b3578b011c61a2fffd6bb746d11618f8209558dad4f0f02bd4948"` [INFO] [stdout] 3d49ca90c36b3578b011c61a2fffd6bb746d11618f8209558dad4f0f02bd4948