[INFO] cloning repository https://github.com/Nicholas-Baron/sdl_chess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nicholas-Baron/sdl_chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNicholas-Baron%2Fsdl_chess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNicholas-Baron%2Fsdl_chess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] debaa1657899afdc598d2d684bf34e8557d248a3 [INFO] testing Nicholas-Baron/sdl_chess against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNicholas-Baron%2Fsdl_chess" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Nicholas-Baron/sdl_chess on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Nicholas-Baron/sdl_chess [INFO] finished tweaking git repo https://github.com/Nicholas-Baron/sdl_chess [INFO] tweaked toml for git repo https://github.com/Nicholas-Baron/sdl_chess written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/Nicholas-Baron/sdl_chess already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 120657aa063da3ed7412534a5b0dc142c53fc24dff119c20e8ffc2e40564cc0f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "120657aa063da3ed7412534a5b0dc142c53fc24dff119c20e8ffc2e40564cc0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "120657aa063da3ed7412534a5b0dc142c53fc24dff119c20e8ffc2e40564cc0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "120657aa063da3ed7412534a5b0dc142c53fc24dff119c20e8ffc2e40564cc0f", kill_on_drop: false }` [INFO] [stdout] 120657aa063da3ed7412534a5b0dc142c53fc24dff119c20e8ffc2e40564cc0f [INFO] running `Command { std: "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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a00c24a7a8e94c38550964e78d1543df6da563935b5d82c2578d8c4dd3ee38ee [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a00c24a7a8e94c38550964e78d1543df6da563935b5d82c2578d8c4dd3ee38ee", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling object v0.23.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling sdl2 v0.34.3 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling sdl2-sys v0.34.3 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling backtrace v0.3.56 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling chess v3.1.1 (https://github.com/jordanbray/chess#a09032e3) [INFO] [stderr] Compiling sdl_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `score` [INFO] [stdout] --> src/ai/state.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | score: ScoreType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_on` [INFO] [stdout] --> src/sdl_handle.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn draw_on(&mut self, area: Rect, thing: &D) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/sdl_game-8f5d8e52e7e6a5da.sdl_game.9bdd828b-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-8f5d8e52e7e6a5da.sdl_game.9bdd828b-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-8f5d8e52e7e6a5da.sdl_game.9bdd828b-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-8f5d8e52e7e6a5da.sdl_game.9bdd828b-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-8f5d8e52e7e6a5da.sdl_game.9bdd828b-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-8f5d8e52e7e6a5da.sdl_game.9bdd828b-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-8f5d8e52e7e6a5da.sdl_game.9bdd828b-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-8f5d8e52e7e6a5da.sdl_game.9bdd828b-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-8f5d8e52e7e6a5da.sdl_game.9bdd828b-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-8f5d8e52e7e6a5da.sdl_game.9bdd828b-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-8f5d8e52e7e6a5da.sdl_game.9bdd828b-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-8f5d8e52e7e6a5da.sdl_game.9bdd828b-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-8f5d8e52e7e6a5da.sdl_game.9bdd828b-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-8f5d8e52e7e6a5da.sdl_game.9bdd828b-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-8f5d8e52e7e6a5da.sdl_game.9bdd828b-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-8f5d8e52e7e6a5da.sdl_game.9bdd828b-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-8f5d8e52e7e6a5da.4glkde1uk9jk0t40.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/librayon-85933e29519ba5b3.rlib" "/opt/rustwide/target/debug/deps/librayon_core-e5dab81e07eecdf4.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-1f7d676cbeb562f9.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_deque-d3ce424a9cd479dc.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_epoch-5ce1eff6c2bd5c64.rlib" "/opt/rustwide/target/debug/deps/libmemoffset-317abfda65ca2a1d.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-ff2bb1f39834214d.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_channel-da8860ae95bb639e.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_utils-0142df1aa05c9caf.rlib" "/opt/rustwide/target/debug/deps/libeither-8ed8bc54e89b5c30.rlib" "/opt/rustwide/target/debug/deps/libchess-c9fcb49af6e11726.rlib" "/opt/rustwide/target/debug/deps/libfailure-1bc8954bff14af89.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-4d54e7a43d80d120.rlib" "/opt/rustwide/target/debug/deps/libminiz_oxide-8cb202a41ad569df.rlib" "/opt/rustwide/target/debug/deps/libadler-3a9d1165c599cab1.rlib" "/opt/rustwide/target/debug/deps/libobject-22e3b70a591374ca.rlib" "/opt/rustwide/target/debug/deps/libaddr2line-946b429b2379394e.rlib" "/opt/rustwide/target/debug/deps/libgimli-f3357c062beaed2c.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-90e3626e3c41eec3.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-d2162517beca3fee.rlib" "/opt/rustwide/target/debug/deps/libnodrop-74b1b15f63fcdd40.rlib" "/opt/rustwide/target/debug/deps/libarrayvec-16dabcc6821a5660.rlib" "/opt/rustwide/target/debug/deps/libsdl2-10a39090fa3c94d1.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-14069d608159ad5d.rlib" "/opt/rustwide/target/debug/deps/libbitflags-6d05264d59b50f7f.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-b33cd6b8ee13db74.rlib" "/opt/rustwide/target/debug/deps/liblibc-3d2f5a4921eb9539.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-29e5e596e889a0aa.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1b145d9fcdc08832.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-5b037ee6b77e2ff0.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-9635a64fca0ebd28.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-a7574eb9bb7a8fc5.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-f5fa1dc334dcaeeb.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-6ee570a898e75ef0.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-afb62f29a0815772.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-a632746535fd9988.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-25acc307bcb1d7b6.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-377721a625f6ace7.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-43c01431c8a4ee6f.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-5f74725679453254.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-2b35d8999819161d.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-a81f2980c3f58cf2.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-57b4679830289815.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-2a6a2797f7a73818.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-13b419dfbcf9c1f8.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_image" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/sdl_game-8f5d8e52e7e6a5da" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lSDL2_image [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sdl_game` due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a00c24a7a8e94c38550964e78d1543df6da563935b5d82c2578d8c4dd3ee38ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a00c24a7a8e94c38550964e78d1543df6da563935b5d82c2578d8c4dd3ee38ee", kill_on_drop: false }` [INFO] [stdout] a00c24a7a8e94c38550964e78d1543df6da563935b5d82c2578d8c4dd3ee38ee