[INFO] updating cached repository https://github.com/desto-git/rust-test [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] 67c10686571f496beb96dd7a6dea2b9aea3bce5d [INFO] testing desto-git/rust-test against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdesto-git%2Frust-test" "/workspace/builds/worker-9/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/desto-git/rust-test on toolchain 41997647ba6a77908f6ef64401414feb00bccf16 [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/desto-git/rust-test [INFO] finished tweaking git repo https://github.com/desto-git/rust-test [INFO] tweaked toml for git repo https://github.com/desto-git/rust-test written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/desto-git/rust-test already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+41997647ba6a77908f6ef64401414feb00bccf16" "build" "--frozen"` [INFO] [stdout] 0bf18aaf67563a1c2d74fa725d6166e4b3d0fed13960a094f389acf3bea4f512 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "0bf18aaf67563a1c2d74fa725d6166e4b3d0fed13960a094f389acf3bea4f512"` [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling rand_os v0.1.3 [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 sdl2 v0.32.2 [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 num v0.1.42 [INFO] [stderr] Compiling snake-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: method is never used: `set_position` [INFO] [stderr] --> src/entity.rs:17:2 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn set_position( &mut self, position: Coordinate ){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` 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/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/snake_rs-c96cdc41be1c5e13.snake_rs.ejw4jvfd-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-c96cdc41be1c5e13.snake_rs.ejw4jvfd-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-c96cdc41be1c5e13.snake_rs.ejw4jvfd-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-c96cdc41be1c5e13.snake_rs.ejw4jvfd-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-c96cdc41be1c5e13.snake_rs.ejw4jvfd-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-c96cdc41be1c5e13.snake_rs.ejw4jvfd-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-c96cdc41be1c5e13.snake_rs.ejw4jvfd-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-c96cdc41be1c5e13.snake_rs.ejw4jvfd-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-c96cdc41be1c5e13.snake_rs.ejw4jvfd-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-c96cdc41be1c5e13.snake_rs.ejw4jvfd-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-c96cdc41be1c5e13.snake_rs.ejw4jvfd-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-c96cdc41be1c5e13.snake_rs.ejw4jvfd-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-c96cdc41be1c5e13.snake_rs.ejw4jvfd-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-c96cdc41be1c5e13.snake_rs.ejw4jvfd-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-c96cdc41be1c5e13.snake_rs.ejw4jvfd-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-c96cdc41be1c5e13.snake_rs.ejw4jvfd-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/snake_rs-c96cdc41be1c5e13" "/opt/rustwide/target/debug/deps/snake_rs-c96cdc41be1c5e13.2rh1671j9uiuxhhz.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libsdl2-02029914afdd3c8c.rlib" "/opt/rustwide/target/debug/deps/librand-fce6c2db5101a794.rlib" "/opt/rustwide/target/debug/deps/librand_xorshift-b89e9be76dd5ebdb.rlib" "/opt/rustwide/target/debug/deps/librand_pcg-3a519fbcee54b706.rlib" "/opt/rustwide/target/debug/deps/librand_hc-458e9d01f330c516.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-d440540607dda80d.rlib" "/opt/rustwide/target/debug/deps/librand_isaac-383ffb82adde40d9.rlib" "/opt/rustwide/target/debug/deps/librand_core-e860bcf581bc8c7b.rlib" "/opt/rustwide/target/debug/deps/librand_os-9f2e53d1db99e0d7.rlib" "/opt/rustwide/target/debug/deps/librand_jitter-942983b3afd369e8.rlib" "/opt/rustwide/target/debug/deps/librand_core-efb9f61e179ac79b.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-8b29054d9b19d639.rlib" "/opt/rustwide/target/debug/deps/libbitflags-f26c1cc2a800726e.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-871db668c04919c0.rlib" "/opt/rustwide/target/debug/deps/liblibc-83942b52c1c2a508.rlib" "/opt/rustwide/target/debug/deps/libnum-592db3ca5b682900.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-2c07b667bee00482.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-4ffec01815eb86e4.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-e9ddb604d15daf83.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-62f93208e14fa8f0.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-b2c4dbe979cef5e2.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-8b9b66cb3e9f891d.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-5998b08bf29f56ac.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-efd1670396ccb585.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-6435b9209e888961.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-866e5dfb603b34d2.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-75eac3089695b3b4.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-35744537b4825584.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-f7ee5081d96fb2cd.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-5b28479cb639d76c.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-f827473dd3b319fa.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-53f9c299c549c6a9.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-44132fbb3fcc18d3.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_image" "-lSDL2_ttf" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [INFO] [stderr] = note: /usr/bin/ld: cannot find -lSDL2_image [INFO] [stderr] /usr/bin/ld: cannot find -lSDL2_ttf [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 `snake-rs`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "0bf18aaf67563a1c2d74fa725d6166e4b3d0fed13960a094f389acf3bea4f512"` [INFO] running `"docker" "rm" "-f" "0bf18aaf67563a1c2d74fa725d6166e4b3d0fed13960a094f389acf3bea4f512"` [INFO] [stdout] 0bf18aaf67563a1c2d74fa725d6166e4b3d0fed13960a094f389acf3bea4f512