[INFO] updating cached repository https://github.com/hapitoburn/rustgame [INFO] running `"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"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 168d5d735259d3c004b4b652f43d3fb7e5c2906f [INFO] testing hapitoburn/rustgame against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhapitoburn%2Frustgame" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hapitoburn/rustgame on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/hapitoburn/rustgame [INFO] finished tweaking git repo https://github.com/hapitoburn/rustgame [INFO] tweaked toml for git repo https://github.com/hapitoburn/rustgame written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/hapitoburn/rustgame already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "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" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b71b08da58a5f04e8c907717e9e9f747d96f59d59962f1a5138a8369542fb192 [INFO] running `"docker" "start" "-a" "b71b08da58a5f04e8c907717e9e9f747d96f59d59962f1a5138a8369542fb192"` [INFO] [stderr] Compiling sdl2-sys v0.30.0 [INFO] [stderr] Compiling libc v0.2.29 [INFO] [stderr] Compiling rand v0.3.16 [INFO] [stderr] Compiling sdl2 v0.30.0 [INFO] [stderr] Compiling hello v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:30:60 [INFO] [stderr] | [INFO] [stderr] 30 | fn on_click(&mut self, events : &sdl2::EventPump, f : &Fn()){ [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Fn()` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] error: linking with `cc` failed: exit code: 1 [INFO] [stderr] | [INFO] [stderr] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/hello-757bb275c3018b82.hello.5hl4ilnl-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/hello-757bb275c3018b82.hello.5hl4ilnl-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/hello-757bb275c3018b82.hello.5hl4ilnl-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/hello-757bb275c3018b82.hello.5hl4ilnl-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/hello-757bb275c3018b82.hello.5hl4ilnl-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/hello-757bb275c3018b82.hello.5hl4ilnl-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/hello-757bb275c3018b82.hello.5hl4ilnl-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/hello-757bb275c3018b82.hello.5hl4ilnl-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/hello-757bb275c3018b82.hello.5hl4ilnl-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/hello-757bb275c3018b82.hello.5hl4ilnl-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/hello-757bb275c3018b82.hello.5hl4ilnl-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/hello-757bb275c3018b82.hello.5hl4ilnl-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/hello-757bb275c3018b82.hello.5hl4ilnl-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/hello-757bb275c3018b82.hello.5hl4ilnl-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/hello-757bb275c3018b82.hello.5hl4ilnl-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/hello-757bb275c3018b82.hello.5hl4ilnl-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/hello-757bb275c3018b82" "/opt/rustwide/target/debug/deps/hello-757bb275c3018b82.1fpuamt0ao5j5nz9.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libsdl2-42a7e0873bbc0173.rlib" "/opt/rustwide/target/debug/deps/librand-96b28dee94ace3b6.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-1e6c6e73f77080cb.rlib" "/opt/rustwide/target/debug/deps/libbitflags-57cacbe4af8e84a6.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-bfc90d52a2077a99.rlib" "/opt/rustwide/target/debug/deps/liblibc-98301054631760b0.rlib" "/opt/rustwide/target/debug/deps/libnum-234b1c5896ca7798.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-04ab7fe380586a29.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-3f425ca29ce77f87.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-94cd633a582b5f9d.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1dac1a412c98f50d.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-b7841fd014bf83a1.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-338c0763450dca22.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-5f2e5d11836e0967.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-81a9070bd3553adf.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-e297830377b95af4.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-b38b87f2dd197fa0.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-601015f2e15e7e26.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-439f3a589bd88586.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-57ab7e6ac23ce11f.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-3aec7f88778e912a.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-b6806800b307d4b9.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-e49d7651b12f7563.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-e8266574e26adcc3.rlib" "-Wl,-Bdynamic" "-lSDL2_ttf" "-lSDL2_image" "-lSDL2_mixer" "-lSDL2" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [INFO] [stderr] = note: /usr/bin/ld: cannot find -lSDL2_ttf [INFO] [stderr] /usr/bin/ld: cannot find -lSDL2_image [INFO] [stderr] /usr/bin/ld: cannot find -lSDL2_mixer [INFO] [stderr] collect2: error: ld returned 1 exit status [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 1 warning emitted [INFO] [stderr] [INFO] [stderr] error: could not compile `hello`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "b71b08da58a5f04e8c907717e9e9f747d96f59d59962f1a5138a8369542fb192"` [INFO] running `"docker" "rm" "-f" "b71b08da58a5f04e8c907717e9e9f747d96f59d59962f1a5138a8369542fb192"` [INFO] [stdout] b71b08da58a5f04e8c907717e9e9f747d96f59d59962f1a5138a8369542fb192