[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5c9b0dcd85c7e21a501e71c58dfeeb48f2a0d83 [INFO] testing Nicholas-Baron/sdl_chess against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNicholas-Baron%2Fsdl_chess" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Nicholas-Baron/sdl_chess on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", 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-8/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e769308ee76642ce4ec6c7c13b756d21f137ec6083f8c624aae787aa5627d4b [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" "6e769308ee76642ce4ec6c7c13b756d21f137ec6083f8c624aae787aa5627d4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e769308ee76642ce4ec6c7c13b756d21f137ec6083f8c624aae787aa5627d4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e769308ee76642ce4ec6c7c13b756d21f137ec6083f8c624aae787aa5627d4b", kill_on_drop: false }` [INFO] [stdout] 6e769308ee76642ce4ec6c7c13b756d21f137ec6083f8c624aae787aa5627d4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec8e646c27600ea558a1e2233d7af9ccbff3785df0a1b8c915e5a0a68e9bff8d [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" "ec8e646c27600ea558a1e2233d7af9ccbff3785df0a1b8c915e5a0a68e9bff8d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling sdl2-sys v0.25.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling adler32 v1.1.0 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling bitflags v0.6.0 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling chess v3.1.1 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling sdl2 v0.25.0 [INFO] [stderr] Compiling backtrace v0.3.49 [INFO] [stderr] Compiling sdl2_image v0.25.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling sdl_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let mut board_center = Point::from(utils::map_tuple(sdl_handle.center_of_draw(), |val| { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_on` [INFO] [stdout] --> src/sdl_handle.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn draw_on(&mut self, area: Rect, thing: &D) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit code: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/sdl_game-2b342a73d194ad12.sdl_game.8tbtcgzh-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-2b342a73d194ad12.sdl_game.8tbtcgzh-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-2b342a73d194ad12.sdl_game.8tbtcgzh-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-2b342a73d194ad12.sdl_game.8tbtcgzh-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-2b342a73d194ad12.sdl_game.8tbtcgzh-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-2b342a73d194ad12.sdl_game.8tbtcgzh-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-2b342a73d194ad12.sdl_game.8tbtcgzh-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-2b342a73d194ad12.sdl_game.8tbtcgzh-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-2b342a73d194ad12.sdl_game.8tbtcgzh-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-2b342a73d194ad12.sdl_game.8tbtcgzh-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-2b342a73d194ad12.sdl_game.8tbtcgzh-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-2b342a73d194ad12.sdl_game.8tbtcgzh-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-2b342a73d194ad12.sdl_game.8tbtcgzh-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-2b342a73d194ad12.sdl_game.8tbtcgzh-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-2b342a73d194ad12.sdl_game.8tbtcgzh-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-2b342a73d194ad12.sdl_game.8tbtcgzh-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/sdl_game-2b342a73d194ad12" "/opt/rustwide/target/debug/deps/sdl_game-2b342a73d194ad12.1p7qwpuefb7t1g0v.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/librayon-8366ad68d788d099.rlib" "/opt/rustwide/target/debug/deps/librayon_core-5eaac48b746e3624.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-80da459ad0866b8f.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_deque-03b8dea20b7c7378.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_epoch-107db35c5ebf5fd9.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-83022017c749d9a0.rlib" "/opt/rustwide/target/debug/deps/libmemoffset-a12becb48eb01562.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_queue-bf55e6be0f857393.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_utils-81bff507660079cf.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-7c0477ae3415ac1f.rlib" "/opt/rustwide/target/debug/deps/libmaybe_uninit-0fd2041bafbc4b04.rlib" "/opt/rustwide/target/debug/deps/libeither-d16fe89f95ef3ba1.rlib" "/opt/rustwide/target/debug/deps/libchess-0b689da91d2b72f1.rlib" "/opt/rustwide/target/debug/deps/libfailure-6b297f01353c2b29.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-112c238b384d1420.rlib" "/opt/rustwide/target/debug/deps/libminiz_oxide-b00a7290b8db3b33.rlib" "/opt/rustwide/target/debug/deps/libadler32-a02843a027252cb4.rlib" "/opt/rustwide/target/debug/deps/libobject-042c9dfdad9d680b.rlib" "/opt/rustwide/target/debug/deps/libaddr2line-bab6f5687eac73e6.rlib" "/opt/rustwide/target/debug/deps/libgimli-71628c15932d7bfa.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-b00c34326580381c.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-45752d70cb3b1eba.rlib" "/opt/rustwide/target/debug/deps/libarrayvec-cbe7bf7bfb282434.rlib" "/opt/rustwide/target/debug/deps/libnodrop-7af6e59a8cb0b700.rlib" "/opt/rustwide/target/debug/deps/libsdl2_image-f5f8868027268f9d.rlib" "/opt/rustwide/target/debug/deps/libbitflags-d2ad12c0bdfd14cf.rlib" "/opt/rustwide/target/debug/deps/libsdl2-901fa50c8955eb2d.rlib" "/opt/rustwide/target/debug/deps/librand-472e42c220a3aa47.rlib" "/opt/rustwide/target/debug/deps/librand-f7a4b9c1fa04a40d.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-4d61be72435d8c72.rlib" "/opt/rustwide/target/debug/deps/libbitflags-ade704d32fa79c8a.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-65d9f7d0b961f44d.rlib" "/opt/rustwide/target/debug/deps/liblibc-0a82a4c240dd348a.rlib" "/opt/rustwide/target/debug/deps/libnum-0e0aaaabc1938126.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-6cc2bae55fe479a2.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-c0aa1ac2f0769395.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-2de2b3e19ad17644.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-5989bcf78182f65e.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-4d6da34bc177af8d.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-10e0d6c948699482.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-c2318e2415657781.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-3815b93ed84badbb.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-d7999143d95238cb.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-c58298a0d40df8b8.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-b7de97e2ba6fb4e2.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-6f71c9f654d72cce.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-95ea48ddc44a311b.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-7402cd4761aebc14.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-68f423c59dc48a40.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-54580c7798bf2225.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-95a4d456339b7385.rlib" "-Wl,-Bdynamic" "-lSDL2_image" "-lSDL2" "-lutil" "-ldl" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [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`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "ec8e646c27600ea558a1e2233d7af9ccbff3785df0a1b8c915e5a0a68e9bff8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec8e646c27600ea558a1e2233d7af9ccbff3785df0a1b8c915e5a0a68e9bff8d", kill_on_drop: false }` [INFO] [stdout] ec8e646c27600ea558a1e2233d7af9ccbff3785df0a1b8c915e5a0a68e9bff8d