[INFO] updating cached repository https://github.com/hpb0412/shoot2d
[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] a487a02d4905157b3d693d6de31d653f61479a09
[INFO] testing hpb0412/shoot2d against 1.40.0 for beta-1.41-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhpb0412%2Fshoot2d" "/workspace/builds/worker-3/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/hpb0412/shoot2d on toolchain 1.40.0
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/hpb0412/shoot2d
[INFO] finished tweaking git repo https://github.com/hpb0412/shoot2d
[INFO] tweaked toml for git repo https://github.com/hpb0412/shoot2d written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/hpb0412/shoot2d already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr] error: the lock file /workspace/builds/worker-3/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" "+1.40.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+1.40.0" "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] 1cdc85eb442f7c57190d9826a9d42ea385ba976255b614143679de63be2095c6
[INFO] running `"docker" "start" "-a" "1cdc85eb442f7c57190d9826a9d42ea385ba976255b614143679de63be2095c6"`
[INFO] [stderr]    Compiling sdl2 v0.32.2
[INFO] [stderr]    Compiling sdl2-sys v0.32.6
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling shoot2d v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: field is never used: `side`
[INFO] [stderr]   --> src/main.rs:41:5
[INFO] [stderr]    |
[INFO] [stderr] 41 |     side: Side,
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` 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/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/shoot2d-62fbdab71147a435.shoot2d.4oehnliq-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-62fbdab71147a435.shoot2d.4oehnliq-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-62fbdab71147a435.shoot2d.4oehnliq-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-62fbdab71147a435.shoot2d.4oehnliq-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-62fbdab71147a435.shoot2d.4oehnliq-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-62fbdab71147a435.shoot2d.4oehnliq-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-62fbdab71147a435.shoot2d.4oehnliq-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-62fbdab71147a435.shoot2d.4oehnliq-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-62fbdab71147a435.shoot2d.4oehnliq-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-62fbdab71147a435.shoot2d.4oehnliq-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-62fbdab71147a435.shoot2d.4oehnliq-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-62fbdab71147a435.shoot2d.4oehnliq-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-62fbdab71147a435.shoot2d.4oehnliq-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-62fbdab71147a435.shoot2d.4oehnliq-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-62fbdab71147a435.shoot2d.4oehnliq-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-62fbdab71147a435.shoot2d.4oehnliq-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/shoot2d-62fbdab71147a435" "/opt/rustwide/target/debug/deps/shoot2d-62fbdab71147a435.xms2okm07bmvcpi.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/librand-6a4a386accc9e395.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-ef5c40416b5bfed1.rlib" "/opt/rustwide/target/debug/deps/libc2_chacha-ee08fcc944a1f645.rlib" "/opt/rustwide/target/debug/deps/libppv_lite86-c699edc6fc9496b3.rlib" "/opt/rustwide/target/debug/deps/librand_core-5abd76b7e6c7e7f5.rlib" "/opt/rustwide/target/debug/deps/libgetrandom-fb69a24e657bccd5.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-5ce6f5a306c8ebd7.rlib" "/opt/rustwide/target/debug/deps/libsdl2-165d8e136943d309.rlib" "/opt/rustwide/target/debug/deps/librand-17975a29eae65249.rlib" "/opt/rustwide/target/debug/deps/librand_xorshift-7c16fccce9ec60e7.rlib" "/opt/rustwide/target/debug/deps/librand_pcg-7cfd0b92d80f3eb1.rlib" "/opt/rustwide/target/debug/deps/librand_hc-de64eee1d3c2b3e3.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-c84fea8c15b32821.rlib" "/opt/rustwide/target/debug/deps/librand_isaac-a09e4997930d9a7a.rlib" "/opt/rustwide/target/debug/deps/librand_core-5466fae7cf5a8d1d.rlib" "/opt/rustwide/target/debug/deps/librand_os-2da4be3e79dd5126.rlib" "/opt/rustwide/target/debug/deps/librand_jitter-ffc729094b857dfd.rlib" "/opt/rustwide/target/debug/deps/librand_core-94dc1c6006443d6f.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-e6e55694bf7db71c.rlib" "/opt/rustwide/target/debug/deps/libbitflags-dcdecfba5e53d672.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-016ecedc921448cf.rlib" "/opt/rustwide/target/debug/deps/liblibc-52f675a24655d4b8.rlib" "/opt/rustwide/target/debug/deps/libnum-ec2f6650e9ad74c7.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-6f59dedf4ebc8cdd.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-502132c24428c9b8.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-45b4ba16ebd3e1b3.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-74488c47a41eb313.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-efbc2c947951b8cc.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-b177382d9a04ffbe.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-ba7d2244d33447d5.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-39569dc87e4ea301.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-cd9e255bd82ddb5c.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-f83165e777dccb8d.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-10b085de263b1750.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-9a4a22edf44da957.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-68fabc677efa98de.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-026dc0061b48e8b6.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-7bf75bb619341145.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-ef54709e300503ed.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-4ed27d8420cb4abc.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_image" "-lSDL2_ttf" "-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]           /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 `shoot2d`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "1cdc85eb442f7c57190d9826a9d42ea385ba976255b614143679de63be2095c6"`
[INFO] running `"docker" "rm" "-f" "1cdc85eb442f7c57190d9826a9d42ea385ba976255b614143679de63be2095c6"`
[INFO] [stdout] 1cdc85eb442f7c57190d9826a9d42ea385ba976255b614143679de63be2095c6
