[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#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhpb0412%2Fshoot2d" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hpb0412/shoot2d 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/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-0/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-0/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 79e47003590dad6239181d96756c90956c5dbc8b85690e0a558519a823fb5a31 [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" "79e47003590dad6239181d96756c90956c5dbc8b85690e0a558519a823fb5a31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79e47003590dad6239181d96756c90956c5dbc8b85690e0a558519a823fb5a31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79e47003590dad6239181d96756c90956c5dbc8b85690e0a558519a823fb5a31", kill_on_drop: false }` [INFO] [stdout] 79e47003590dad6239181d96756c90956c5dbc8b85690e0a558519a823fb5a31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", 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] 431c83cd12c377edcc8698eb10edd535f4e872c95e4c3a587d43de86a6e49942 [INFO] running `Command { std: "docker" "start" "-a" "431c83cd12c377edcc8698eb10edd535f4e872c95e4c3a587d43de86a6e49942", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-iter v0.1.41 [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_os v0.1.3 [INFO] [stderr] Compiling rand_core v0.5.1 [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/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/shoot2d-76c85521cf8c5e71.shoot2d.7e7h7lqs-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-76c85521cf8c5e71.shoot2d.7e7h7lqs-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-76c85521cf8c5e71.shoot2d.7e7h7lqs-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-76c85521cf8c5e71.shoot2d.7e7h7lqs-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-76c85521cf8c5e71.shoot2d.7e7h7lqs-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-76c85521cf8c5e71.shoot2d.7e7h7lqs-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-76c85521cf8c5e71.shoot2d.7e7h7lqs-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-76c85521cf8c5e71.shoot2d.7e7h7lqs-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-76c85521cf8c5e71.shoot2d.7e7h7lqs-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-76c85521cf8c5e71.shoot2d.7e7h7lqs-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-76c85521cf8c5e71.shoot2d.7e7h7lqs-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-76c85521cf8c5e71.shoot2d.7e7h7lqs-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-76c85521cf8c5e71.shoot2d.7e7h7lqs-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-76c85521cf8c5e71.shoot2d.7e7h7lqs-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-76c85521cf8c5e71.shoot2d.7e7h7lqs-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/shoot2d-76c85521cf8c5e71.shoot2d.7e7h7lqs-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/shoot2d-76c85521cf8c5e71" "/opt/rustwide/target/debug/deps/shoot2d-76c85521cf8c5e71.21l4b6v7r4m06qun.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/librand-33ae2e870d29b0d8.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-b90317d34fbe710f.rlib" "/opt/rustwide/target/debug/deps/libppv_lite86-101710f40ad5d3d8.rlib" "/opt/rustwide/target/debug/deps/librand_core-993beae8739a189a.rlib" "/opt/rustwide/target/debug/deps/libgetrandom-c9225fbf870b6b72.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-b00c34326580381c.rlib" "/opt/rustwide/target/debug/deps/libsdl2-b1e2ae40a569a6a7.rlib" "/opt/rustwide/target/debug/deps/librand-4d81ede66c43ff4b.rlib" "/opt/rustwide/target/debug/deps/librand_xorshift-60469549e3040952.rlib" "/opt/rustwide/target/debug/deps/librand_pcg-5fe2b204ebdc97c4.rlib" "/opt/rustwide/target/debug/deps/librand_hc-1d1b3c1a779e93bf.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-357d07eba6335459.rlib" "/opt/rustwide/target/debug/deps/librand_isaac-2d8aa7a0637d8a6d.rlib" "/opt/rustwide/target/debug/deps/librand_core-431cd0429e21c12d.rlib" "/opt/rustwide/target/debug/deps/librand_os-6c61cb01aaa36b17.rlib" "/opt/rustwide/target/debug/deps/librand_jitter-9758ca4d01bb4051.rlib" "/opt/rustwide/target/debug/deps/librand_core-2594c62c1ce8d16b.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-9e20b47ae2a67ab7.rlib" "/opt/rustwide/target/debug/deps/libbitflags-56eca94422237621.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-7c0477ae3415ac1f.rlib" "/opt/rustwide/target/debug/deps/liblibc-e834449672905d13.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" "-lSDL2_image" "-lSDL2_ttf" "-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] /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" "431c83cd12c377edcc8698eb10edd535f4e872c95e4c3a587d43de86a6e49942", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "431c83cd12c377edcc8698eb10edd535f4e872c95e4c3a587d43de86a6e49942", kill_on_drop: false }` [INFO] [stdout] 431c83cd12c377edcc8698eb10edd535f4e872c95e4c3a587d43de86a6e49942