[INFO] updating cached repository https://github.com/asib/platformer
[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] fd81cc8b2e1b68b57d711511001bb94768889983
[INFO] testing asib/platformer against beta-2019-12-18 for beta-1.41-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fasib%2Fplatformer" "/workspace/builds/worker-1/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/asib/platformer on toolchain beta-2019-12-18
[INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-12-18" "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-1/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-2019-12-18" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /workspace/builds/worker-1/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-12-18" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-12-18" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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-2019-12-18" "build" "--frozen"`
[INFO] [stdout] e7d7a72bf55a5920466ac57879c25c065b1d05e7319700b7a3d242cfa563f2d1
[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" "e7d7a72bf55a5920466ac57879c25c065b1d05e7319700b7a3d242cfa563f2d1"`
[INFO] [stderr]    Compiling sdl2-sys v0.6.2
[INFO] [stderr]    Compiling bitflags v0.2.1
[INFO] [stderr]    Compiling bitflags v0.1.1
[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: 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" "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2019-12-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/platformer-c9860f7fa8f30cd9.platformer.3ympj4ke-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/platformer-c9860f7fa8f30cd9.platformer.3ympj4ke-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/platformer-c9860f7fa8f30cd9.platformer.3ympj4ke-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/platformer-c9860f7fa8f30cd9.platformer.3ympj4ke-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/platformer-c9860f7fa8f30cd9.platformer.3ympj4ke-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/platformer-c9860f7fa8f30cd9.platformer.3ympj4ke-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/platformer-c9860f7fa8f30cd9.platformer.3ympj4ke-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/platformer-c9860f7fa8f30cd9.platformer.3ympj4ke-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/platformer-c9860f7fa8f30cd9.platformer.3ympj4ke-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/platformer-c9860f7fa8f30cd9.platformer.3ympj4ke-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/platformer-c9860f7fa8f30cd9.platformer.3ympj4ke-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/platformer-c9860f7fa8f30cd9.platformer.3ympj4ke-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/platformer-c9860f7fa8f30cd9.platformer.3ympj4ke-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/platformer-c9860f7fa8f30cd9.platformer.3ympj4ke-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/platformer-c9860f7fa8f30cd9.platformer.3ympj4ke-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/platformer-c9860f7fa8f30cd9.platformer.3ympj4ke-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/platformer-c9860f7fa8f30cd9" "/opt/rustwide/target/debug/deps/platformer-c9860f7fa8f30cd9.36s8vuz1wlx01onz.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-54ddd00a297453e6/out" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2019-12-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libplatformer-6fcb842eb321003a.rlib" "/opt/rustwide/target/debug/deps/libfind_folder-c7f5f8789988d09c.rlib" "/opt/rustwide/target/debug/deps/libsdl2_image-94eb97014abbf9f4.rlib" "/opt/rustwide/target/debug/deps/libbitflags-542dd766887948f4.rlib" "/opt/rustwide/target/debug/deps/libsdl2-a422d8a358b3ef93.rlib" "/opt/rustwide/target/debug/deps/librand-a8fff56a9bb660b5.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-00b14f670cd7b8d8.rlib" "/opt/rustwide/target/debug/deps/libbitflags-99f9871523bfb8f9.rlib" "/opt/rustwide/target/debug/deps/liblibc-282e63f734a26f65.rlib" "/opt/rustwide/target/debug/deps/libnum-6f829fe763531a15.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-30de01774d6a3325.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-15be42248bebdcac.rlib" "/opt/rustwide/target/debug/deps/librand-647bd2483ee34b40.rlib" "/opt/rustwide/target/debug/deps/liblibc-f88d14611a96125d.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-51721e8f0c245552.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-8b456334127302d4.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-607c8fae9ac6b6ce.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-f5262bcb31c370f6.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-cd9c3865abf3718b.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2019-12-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-7882f892cab5695c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2019-12-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-3d65e6e850b6c09a.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2019-12-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-d01d95add7352f76.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2019-12-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-46038aa60235f99d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2019-12-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-ba5e04369163dd11.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2019-12-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-19f3ae3a51c7f899.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2019-12-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-f5a18c28566b3caa.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2019-12-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-0d009c2d84e5e4a6.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2019-12-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-ac5bc51eb08d8fb3.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2019-12-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-c7cdcfc98a06f06b.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2019-12-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-71b49e751ac5899d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2019-12-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-2366809f8143ef00.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2019-12-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-06e04ed5a2763f6d.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2019-12-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-75092100d328cc67.rlib" "-Wl,-Bdynamic" "-lSDL2_image" "-lSDL2" "-lc" "-lm" "-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 `platformer`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "e7d7a72bf55a5920466ac57879c25c065b1d05e7319700b7a3d242cfa563f2d1"`
[INFO] running `"docker" "rm" "-f" "e7d7a72bf55a5920466ac57879c25c065b1d05e7319700b7a3d242cfa563f2d1"`
[INFO] [stdout] e7d7a72bf55a5920466ac57879c25c065b1d05e7319700b7a3d242cfa563f2d1
