[INFO] updating cached repository https://github.com/sztosz/mine_sweeper
[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] f98c14fe25e7599b3a37f275ce0a98ff71916117
[INFO] testing sztosz/mine_sweeper against 1.40.0 for beta-1.41-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsztosz%2Fmine_sweeper" "/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/sztosz/mine_sweeper 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/sztosz/mine_sweeper
[INFO] finished tweaking git repo https://github.com/sztosz/mine_sweeper
[INFO] tweaked toml for git repo https://github.com/sztosz/mine_sweeper written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/sztosz/mine_sweeper 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] 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] 88b78c0c161723969502ee14b6dc0ce0b4ed7dcf6e488bd355dd328d1b31a5cd
[INFO] running `"docker" "start" "-a" "88b78c0c161723969502ee14b6dc0ce0b4ed7dcf6e488bd355dd328d1b31a5cd"`
[INFO] [stderr]    Compiling sdl2 v0.32.2
[INFO] [stderr]    Compiling sdl2-sys v0.32.6
[INFO] [stderr]    Compiling mine_sweeper v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unused imports: `LoadSurface`, `surface::Surface`
[INFO] [stderr]  --> src/main.rs:3:23
[INFO] [stderr]   |
[INFO] [stderr] 3 |     image::{InitFlag, LoadSurface},
[INFO] [stderr]   |                       ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 9 |     surface::Surface,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `Bomb`
[INFO] [stderr]   --> src/main.rs:27:5
[INFO] [stderr]    |
[INFO] [stderr] 27 |     Bomb,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `Surrounded`
[INFO] [stderr]   --> src/main.rs:28:5
[INFO] [stderr]    |
[INFO] [stderr] 28 |     Surrounded(u8),
[INFO] [stderr]    |     ^^^^^^^^^^^^^^
[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/mine_sweeper-d3c6d2c13dde9533.mine_sweeper.erj64orq-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/mine_sweeper-d3c6d2c13dde9533.mine_sweeper.erj64orq-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/mine_sweeper-d3c6d2c13dde9533.mine_sweeper.erj64orq-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/mine_sweeper-d3c6d2c13dde9533.mine_sweeper.erj64orq-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/mine_sweeper-d3c6d2c13dde9533.mine_sweeper.erj64orq-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/mine_sweeper-d3c6d2c13dde9533.mine_sweeper.erj64orq-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/mine_sweeper-d3c6d2c13dde9533.mine_sweeper.erj64orq-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/mine_sweeper-d3c6d2c13dde9533.mine_sweeper.erj64orq-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/mine_sweeper-d3c6d2c13dde9533.mine_sweeper.erj64orq-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/mine_sweeper-d3c6d2c13dde9533.mine_sweeper.erj64orq-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/mine_sweeper-d3c6d2c13dde9533.mine_sweeper.erj64orq-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/mine_sweeper-d3c6d2c13dde9533.mine_sweeper.erj64orq-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/mine_sweeper-d3c6d2c13dde9533.mine_sweeper.erj64orq-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/mine_sweeper-d3c6d2c13dde9533.mine_sweeper.erj64orq-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/mine_sweeper-d3c6d2c13dde9533.mine_sweeper.erj64orq-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/mine_sweeper-d3c6d2c13dde9533.mine_sweeper.erj64orq-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/mine_sweeper-d3c6d2c13dde9533" "/opt/rustwide/target/debug/deps/mine_sweeper-d3c6d2c13dde9533.4uyk5tlqlbfud8gb.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/libsdl2-ce033c6c7d95b29a.rlib" "/opt/rustwide/target/debug/deps/librand-9a31b1d1a383faa7.rlib" "/opt/rustwide/target/debug/deps/librand_xorshift-7c16fccce9ec60e7.rlib" "/opt/rustwide/target/debug/deps/librand_pcg-d9c8e400523ae57b.rlib" "/opt/rustwide/target/debug/deps/librand_hc-de64eee1d3c2b3e3.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-e18fef38e3df06cc.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-c24b58c2f9ecf1f9.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-e36ca837c9a5d608.rlib" "/opt/rustwide/target/debug/deps/libbitflags-bac11230dc5e801b.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-016ecedc921448cf.rlib" "/opt/rustwide/target/debug/deps/liblibc-3aa24fd950581385.rlib" "/opt/rustwide/target/debug/deps/libnum-43d08be7103ca121.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-3f15cf9c629151dd.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-394f18ed37c75832.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-3b76083c82f0bf64.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" "-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 `mine_sweeper`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "88b78c0c161723969502ee14b6dc0ce0b4ed7dcf6e488bd355dd328d1b31a5cd"`
[INFO] running `"docker" "rm" "-f" "88b78c0c161723969502ee14b6dc0ce0b4ed7dcf6e488bd355dd328d1b31a5cd"`
[INFO] [stdout] 88b78c0c161723969502ee14b6dc0ce0b4ed7dcf6e488bd355dd328d1b31a5cd
