[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 master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsztosz%2Fmine_sweeper" "/workspace/builds/worker-14/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sztosz/mine_sweeper on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "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-14/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" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=forbid" "-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" "+28742a1146f10a4f09369baad027a464acb7a766" "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] 83db110bae1534158139956e0fddc300c5d704460cc30b642d05299772e375f6 [INFO] running `"docker" "start" "-a" "83db110bae1534158139956e0fddc300c5d704460cc30b642d05299772e375f6"` [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num v0.1.42 [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/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/mine_sweeper-c9a598e63e25014d.mine_sweeper.azabe5zn-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/mine_sweeper-c9a598e63e25014d.mine_sweeper.azabe5zn-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/mine_sweeper-c9a598e63e25014d.mine_sweeper.azabe5zn-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/mine_sweeper-c9a598e63e25014d.mine_sweeper.azabe5zn-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/mine_sweeper-c9a598e63e25014d.mine_sweeper.azabe5zn-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/mine_sweeper-c9a598e63e25014d.mine_sweeper.azabe5zn-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/mine_sweeper-c9a598e63e25014d.mine_sweeper.azabe5zn-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/mine_sweeper-c9a598e63e25014d.mine_sweeper.azabe5zn-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/mine_sweeper-c9a598e63e25014d.mine_sweeper.azabe5zn-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/mine_sweeper-c9a598e63e25014d.mine_sweeper.azabe5zn-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/mine_sweeper-c9a598e63e25014d.mine_sweeper.azabe5zn-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/mine_sweeper-c9a598e63e25014d.mine_sweeper.azabe5zn-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/mine_sweeper-c9a598e63e25014d.mine_sweeper.azabe5zn-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/mine_sweeper-c9a598e63e25014d.mine_sweeper.azabe5zn-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/mine_sweeper-c9a598e63e25014d.mine_sweeper.azabe5zn-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/mine_sweeper-c9a598e63e25014d.mine_sweeper.azabe5zn-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/mine_sweeper-c9a598e63e25014d" "/opt/rustwide/target/debug/deps/mine_sweeper-c9a598e63e25014d.yklr3uh20xnkm4r.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libsdl2-0d25ba61fcd20e71.rlib" "/opt/rustwide/target/debug/deps/librand-8056fa8a7833ecd9.rlib" "/opt/rustwide/target/debug/deps/librand_xorshift-c620f8c8363fcd13.rlib" "/opt/rustwide/target/debug/deps/librand_pcg-0c5163bff7001d50.rlib" "/opt/rustwide/target/debug/deps/librand_hc-8d8f4df3ee45e5b3.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-5e3632ea95a2f2f7.rlib" "/opt/rustwide/target/debug/deps/librand_isaac-4f156b75dface467.rlib" "/opt/rustwide/target/debug/deps/librand_core-d9b40d5d52d51138.rlib" "/opt/rustwide/target/debug/deps/librand_os-3e88f80c46830cab.rlib" "/opt/rustwide/target/debug/deps/librand_jitter-90ebca03520ab7cf.rlib" "/opt/rustwide/target/debug/deps/librand_core-1a2b5e959401cd87.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-02ec90ea34fc99fb.rlib" "/opt/rustwide/target/debug/deps/libbitflags-e19ca9f68a0a4995.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-81e71b56f2a8a8f3.rlib" "/opt/rustwide/target/debug/deps/liblibc-ad482eee67b90e5e.rlib" "/opt/rustwide/target/debug/deps/libnum-4c38d01471ae13b8.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-bcd7eb86e60a075e.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-265825a0366e0031.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-d910f2d7f68de7f3.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1dac1a412c98f50d.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-b7841fd014bf83a1.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-338c0763450dca22.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-5f2e5d11836e0967.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-81a9070bd3553adf.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-e297830377b95af4.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-b38b87f2dd197fa0.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-601015f2e15e7e26.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-439f3a589bd88586.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-57ab7e6ac23ce11f.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-3aec7f88778e912a.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-b6806800b307d4b9.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-e49d7651b12f7563.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-e8266574e26adcc3.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_image" "-lutil" "-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; 3 warnings emitted [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" "83db110bae1534158139956e0fddc300c5d704460cc30b642d05299772e375f6"` [INFO] running `"docker" "rm" "-f" "83db110bae1534158139956e0fddc300c5d704460cc30b642d05299772e375f6"` [INFO] [stdout] 83db110bae1534158139956e0fddc300c5d704460cc30b642d05299772e375f6