[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] c5c9b0dcd85c7e21a501e71c58dfeeb48f2a0d83 [INFO] testing Nicholas-Baron/sdl_chess against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNicholas-Baron%2Fsdl_chess" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Nicholas-Baron/sdl_chess on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "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-4/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" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c40f78707a95714bfd8f84a35330a7b057b378756e8ba8ae6174b563a8e8a9cc [INFO] running `Command { std: "docker" "start" "-a" "c40f78707a95714bfd8f84a35330a7b057b378756e8ba8ae6174b563a8e8a9cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c40f78707a95714bfd8f84a35330a7b057b378756e8ba8ae6174b563a8e8a9cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c40f78707a95714bfd8f84a35330a7b057b378756e8ba8ae6174b563a8e8a9cc", kill_on_drop: false }` [INFO] [stdout] c40f78707a95714bfd8f84a35330a7b057b378756e8ba8ae6174b563a8e8a9cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8510d88484466853f5890933e1473a947b8f9e06e559c29e45dea095b9cde82 [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" "a8510d88484466853f5890933e1473a947b8f9e06e559c29e45dea095b9cde82", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.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 adler32 v1.1.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling gimli v0.21.0 [INFO] [stderr] Compiling sdl2-sys v0.25.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling bitflags v0.6.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.12 [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 miniz_oxide v0.3.7 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling chess v3.1.1 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling sdl2 v0.25.0 [INFO] [stderr] Compiling addr2line v0.12.1 [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 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/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/sdl_game-6996a8878fb58e1a.sdl_game.e2iw6vk0-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-6996a8878fb58e1a.sdl_game.e2iw6vk0-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-6996a8878fb58e1a.sdl_game.e2iw6vk0-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-6996a8878fb58e1a.sdl_game.e2iw6vk0-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-6996a8878fb58e1a.sdl_game.e2iw6vk0-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-6996a8878fb58e1a.sdl_game.e2iw6vk0-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-6996a8878fb58e1a.sdl_game.e2iw6vk0-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-6996a8878fb58e1a.sdl_game.e2iw6vk0-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-6996a8878fb58e1a.sdl_game.e2iw6vk0-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-6996a8878fb58e1a.sdl_game.e2iw6vk0-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-6996a8878fb58e1a.sdl_game.e2iw6vk0-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-6996a8878fb58e1a.sdl_game.e2iw6vk0-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-6996a8878fb58e1a.sdl_game.e2iw6vk0-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-6996a8878fb58e1a.sdl_game.e2iw6vk0-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-6996a8878fb58e1a.sdl_game.e2iw6vk0-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/sdl_game-6996a8878fb58e1a.sdl_game.e2iw6vk0-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/sdl_game-6996a8878fb58e1a" "/opt/rustwide/target/debug/deps/sdl_game-6996a8878fb58e1a.12nlo8qdusf8upba.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/librayon-c7ea106522638476.rlib" "/opt/rustwide/target/debug/deps/librayon_core-34fdfb540b0e7eb0.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-926a6063e7a1f285.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_deque-d11b86fda3ce7c29.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_epoch-35fe44f97c4e15ff.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-4c9e30f2e7684fc3.rlib" "/opt/rustwide/target/debug/deps/libmemoffset-5a49b382f35a1395.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_queue-97ae8b5414d73d32.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_utils-9927338b5ed04e03.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-cd2401a06b1676f6.rlib" "/opt/rustwide/target/debug/deps/libmaybe_uninit-9da774b3463b5176.rlib" "/opt/rustwide/target/debug/deps/libeither-b4fafca51080a5e0.rlib" "/opt/rustwide/target/debug/deps/libchess-1939abbb39804356.rlib" "/opt/rustwide/target/debug/deps/libfailure-8dc1d46d890b32d2.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-5c2959d986b87650.rlib" "/opt/rustwide/target/debug/deps/libminiz_oxide-8db763dec6e4ee36.rlib" "/opt/rustwide/target/debug/deps/libadler32-509b0e97d0014dcb.rlib" "/opt/rustwide/target/debug/deps/libobject-67830f4a185db8f8.rlib" "/opt/rustwide/target/debug/deps/libaddr2line-1988bd2c5bebe537.rlib" "/opt/rustwide/target/debug/deps/libgimli-9dbe7d98b8aec7ba.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-4c6be1962c556cf0.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-1065d3ec5013e137.rlib" "/opt/rustwide/target/debug/deps/libarrayvec-8be87bd68e91a259.rlib" "/opt/rustwide/target/debug/deps/libnodrop-ae1bbb0cb9686cee.rlib" "/opt/rustwide/target/debug/deps/libsdl2_image-ce618da436874631.rlib" "/opt/rustwide/target/debug/deps/libbitflags-171913864070e9c9.rlib" "/opt/rustwide/target/debug/deps/libsdl2-8888c31dda7082f2.rlib" "/opt/rustwide/target/debug/deps/librand-98ea166b9d1cd9aa.rlib" "/opt/rustwide/target/debug/deps/librand-231ae713a6c506ca.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-0829748e11842063.rlib" "/opt/rustwide/target/debug/deps/libbitflags-556ecf5088d1cc07.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-79520e0e29712984.rlib" "/opt/rustwide/target/debug/deps/liblibc-1394abe0633c5989.rlib" "/opt/rustwide/target/debug/deps/libnum-e4eb39251cbeae2a.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-755d2ea0a502c607.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-3d7a0b024b707cc6.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-4ec3ad85be580aff.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-c659455244c9d2ca.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-448643d99e633b5d.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-c7c3d631a525883a.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-d7659a11bb201e01.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-9aceb6f83a33a9b6.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-876c3057c8a2a7c2.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-2f02aa3e24d2aa49.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-1d4694108f8cb543.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-79eaa6e630880f50.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-0df1a4ec96f80cf7.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-bba9b0f0f4d77257.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-f848f9c987265235.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0d5ea4f2d39b8e27.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-c22053fa5fc00a3b.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-c52e5d6301e1bd59.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-2675a9a46b5cec89.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-6e3d052afeb9f711.rlib" "-Wl,-Bdynamic" "-lSDL2_image" "-lSDL2" "-lutil" "-ldl" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" [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" "a8510d88484466853f5890933e1473a947b8f9e06e559c29e45dea095b9cde82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8510d88484466853f5890933e1473a947b8f9e06e559c29e45dea095b9cde82", kill_on_drop: false }` [INFO] [stdout] a8510d88484466853f5890933e1473a947b8f9e06e559c29e45dea095b9cde82