[INFO] cloning repository https://github.com/netcan/AnimalChess [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/netcan/AnimalChess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnetcan%2FAnimalChess"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnetcan%2FAnimalChess'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 15160bdb58f5f2d4373be236fce2ea193cefb932 [INFO] testing netcan/AnimalChess against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnetcan%2FAnimalChess" "/workspace/builds/worker-10/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/netcan/AnimalChess 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/netcan/AnimalChess [INFO] finished tweaking git repo https://github.com/netcan/AnimalChess [INFO] tweaked toml for git repo https://github.com/netcan/AnimalChess written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/netcan/AnimalChess 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] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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] 65b72418fd18c3d2a40edd528950133e64e46dfaff52fb2128d7602c906f0141 [INFO] running `"docker" "start" "-a" "65b72418fd18c3d2a40edd528950133e64e46dfaff52fb2128d7602c906f0141"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling animal_chess v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `Duration` [INFO] [stderr] --> src/ai.rs:1:17 [INFO] [stderr] | [INFO] [stderr] 1 | use std::time::{Duration, Instant}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `max_depth` is assigned to, but never used [INFO] [stderr] --> src/ai.rs:123:13 [INFO] [stderr] | [INFO] [stderr] 123 | let mut max_depth = 0; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] = note: consider using `_max_depth` instead [INFO] [stderr] [INFO] [stderr] warning: value assigned to `max_depth` is never read [INFO] [stderr] --> src/ai.rs:129:13 [INFO] [stderr] | [INFO] [stderr] 129 | max_depth = d; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [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/animal_chess-af939e33e1241488.animal_chess.1g0lpsbm-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/animal_chess-af939e33e1241488.animal_chess.1g0lpsbm-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/animal_chess-af939e33e1241488.animal_chess.1g0lpsbm-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/animal_chess-af939e33e1241488.animal_chess.1g0lpsbm-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/animal_chess-af939e33e1241488.animal_chess.1g0lpsbm-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/animal_chess-af939e33e1241488.animal_chess.1g0lpsbm-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/animal_chess-af939e33e1241488.animal_chess.1g0lpsbm-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/animal_chess-af939e33e1241488.animal_chess.1g0lpsbm-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/animal_chess-af939e33e1241488.animal_chess.1g0lpsbm-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/animal_chess-af939e33e1241488.animal_chess.1g0lpsbm-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/animal_chess-af939e33e1241488.animal_chess.1g0lpsbm-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/animal_chess-af939e33e1241488.animal_chess.1g0lpsbm-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/animal_chess-af939e33e1241488.animal_chess.1g0lpsbm-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/animal_chess-af939e33e1241488.animal_chess.1g0lpsbm-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/animal_chess-af939e33e1241488.animal_chess.1g0lpsbm-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/animal_chess-af939e33e1241488.animal_chess.1g0lpsbm-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/animal_chess-af939e33e1241488" "/opt/rustwide/target/debug/deps/animal_chess-af939e33e1241488.5dpa103m1vcw7w8s.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-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/libsdl2-d0f8d0716e3ec9ab.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-6c90b5843952a943.rlib" "/opt/rustwide/target/debug/deps/libbitflags-a637fa8d282392d5.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-36bd8bbfaaa85bd1.rlib" "/opt/rustwide/target/debug/deps/liblibc-2e17c5c99334ee98.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" "-lSDL2_image" "-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; 3 warnings emitted [INFO] [stderr] [INFO] [stderr] error: could not compile `animal_chess`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "65b72418fd18c3d2a40edd528950133e64e46dfaff52fb2128d7602c906f0141"` [INFO] running `"docker" "rm" "-f" "65b72418fd18c3d2a40edd528950133e64e46dfaff52fb2128d7602c906f0141"` [INFO] [stdout] 65b72418fd18c3d2a40edd528950133e64e46dfaff52fb2128d7602c906f0141