[INFO] cloning repository https://github.com/hpb0412/shoot2d [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hpb0412/shoot2d" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhpb0412%2Fshoot2d", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhpb0412%2Fshoot2d'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a487a02d4905157b3d693d6de31d653f61479a09 [INFO] testing hpb0412/shoot2d against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhpb0412%2Fshoot2d" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hpb0412/shoot2d 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/hpb0412/shoot2d [INFO] finished tweaking git repo https://github.com/hpb0412/shoot2d [INFO] tweaked toml for git repo https://github.com/hpb0412/shoot2d written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/hpb0412/shoot2d 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] [stderr] error: the lock file /workspace/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] [stdout] 6359d77f0c44167a28eab4ce6a3751bb54c576ab1bbd845854dace606494d3df [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" "6359d77f0c44167a28eab4ce6a3751bb54c576ab1bbd845854dace606494d3df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6359d77f0c44167a28eab4ce6a3751bb54c576ab1bbd845854dace606494d3df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6359d77f0c44167a28eab4ce6a3751bb54c576ab1bbd845854dace606494d3df", kill_on_drop: false }` [INFO] [stdout] 6359d77f0c44167a28eab4ce6a3751bb54c576ab1bbd845854dace606494d3df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] b5dce12680a8daaaeea18aaf560ec318b3e6abee01c1b5cf02d7bc95d766fd09 [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" "b5dce12680a8daaaeea18aaf560ec318b3e6abee01c1b5cf02d7bc95d766fd09", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling shoot2d v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `side` [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | side: Side, [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/shoot2d-dc01d304e41ad165.shoot2d.ez97kg34-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-dc01d304e41ad165.shoot2d.ez97kg34-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-dc01d304e41ad165.shoot2d.ez97kg34-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-dc01d304e41ad165.shoot2d.ez97kg34-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-dc01d304e41ad165.shoot2d.ez97kg34-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-dc01d304e41ad165.shoot2d.ez97kg34-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-dc01d304e41ad165.shoot2d.ez97kg34-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-dc01d304e41ad165.shoot2d.ez97kg34-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-dc01d304e41ad165.shoot2d.ez97kg34-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-dc01d304e41ad165.shoot2d.ez97kg34-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-dc01d304e41ad165.shoot2d.ez97kg34-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-dc01d304e41ad165.shoot2d.ez97kg34-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-dc01d304e41ad165.shoot2d.ez97kg34-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-dc01d304e41ad165.shoot2d.ez97kg34-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-dc01d304e41ad165.shoot2d.ez97kg34-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-dc01d304e41ad165.shoot2d.ez97kg34-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/shoot2d-dc01d304e41ad165" "/opt/rustwide/target/debug/deps/shoot2d-dc01d304e41ad165.20toectvv1q5pj29.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/librand-3a20c62adec95109.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-33bf449d62fa2a9f.rlib" "/opt/rustwide/target/debug/deps/libppv_lite86-954a0753d9a936e0.rlib" "/opt/rustwide/target/debug/deps/librand_core-7b6a7e598661465d.rlib" "/opt/rustwide/target/debug/deps/libgetrandom-7d2ec23cbbf6e3ef.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-4c6be1962c556cf0.rlib" "/opt/rustwide/target/debug/deps/libsdl2-9eb7639c7d7e2b4d.rlib" "/opt/rustwide/target/debug/deps/librand-3367d91a71796207.rlib" "/opt/rustwide/target/debug/deps/librand_xorshift-6bd4620e708cdb51.rlib" "/opt/rustwide/target/debug/deps/librand_pcg-d6533207884e81ec.rlib" "/opt/rustwide/target/debug/deps/librand_hc-e06466b7f80f8ad5.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-aad34ed752f7e4bb.rlib" "/opt/rustwide/target/debug/deps/librand_isaac-d7c73f36431ab21e.rlib" "/opt/rustwide/target/debug/deps/librand_core-c1396f78a55a6243.rlib" "/opt/rustwide/target/debug/deps/librand_os-a4f830f7ffc0871c.rlib" "/opt/rustwide/target/debug/deps/librand_jitter-c0aa4284fb906dad.rlib" "/opt/rustwide/target/debug/deps/librand_core-7777f623c08783e5.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-386984637313910f.rlib" "/opt/rustwide/target/debug/deps/libbitflags-df474a8ca45884a8.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-cd2401a06b1676f6.rlib" "/opt/rustwide/target/debug/deps/liblibc-e41c2d10207ee17e.rlib" "/opt/rustwide/target/debug/deps/libnum-be3ebe915c2db5ee.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-506d8d2b959ba508.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-1111d064da27e043.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-a8f43e054a44200b.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" "-lSDL2_image" "-lSDL2_ttf" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lSDL2_image [INFO] [stdout] /usr/bin/ld: cannot find -lSDL2_ttf [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `shoot2d` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "b5dce12680a8daaaeea18aaf560ec318b3e6abee01c1b5cf02d7bc95d766fd09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5dce12680a8daaaeea18aaf560ec318b3e6abee01c1b5cf02d7bc95d766fd09", kill_on_drop: false }` [INFO] [stdout] b5dce12680a8daaaeea18aaf560ec318b3e6abee01c1b5cf02d7bc95d766fd09