[INFO] cloning repository https://github.com/desto-git/rust-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/desto-git/rust-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdesto-git%2Frust-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdesto-git%2Frust-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 67c10686571f496beb96dd7a6dea2b9aea3bce5d [INFO] testing desto-git/rust-test against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdesto-git%2Frust-test" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/desto-git/rust-test on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8bfa7916e7bd8f1a72d1bbfae8697b80ea41f9be8ef17fa6e6e6ef7250e935e0 [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" "8bfa7916e7bd8f1a72d1bbfae8697b80ea41f9be8ef17fa6e6e6ef7250e935e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8bfa7916e7bd8f1a72d1bbfae8697b80ea41f9be8ef17fa6e6e6ef7250e935e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bfa7916e7bd8f1a72d1bbfae8697b80ea41f9be8ef17fa6e6e6ef7250e935e0", kill_on_drop: false }` [INFO] [stdout] 8bfa7916e7bd8f1a72d1bbfae8697b80ea41f9be8ef17fa6e6e6ef7250e935e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b38a0ad4da5ef71fcb024215f6631216a5d068dfc32fe850154998fa09525e2 [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" "6b38a0ad4da5ef71fcb024215f6631216a5d068dfc32fe850154998fa09525e2", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling bitflags v1.0.4 [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_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [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 num v0.1.42 [INFO] [stderr] Compiling snake-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `set_position` [INFO] [stdout] --> src/entity.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn set_position( &mut self, position: Coordinate ){ [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 status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/snake_rs-9f22cccf93804fdf.snake_rs.d5a98c67-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-9f22cccf93804fdf.snake_rs.d5a98c67-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-9f22cccf93804fdf.snake_rs.d5a98c67-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-9f22cccf93804fdf.snake_rs.d5a98c67-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-9f22cccf93804fdf.snake_rs.d5a98c67-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-9f22cccf93804fdf.snake_rs.d5a98c67-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-9f22cccf93804fdf.snake_rs.d5a98c67-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-9f22cccf93804fdf.snake_rs.d5a98c67-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-9f22cccf93804fdf.snake_rs.d5a98c67-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-9f22cccf93804fdf.snake_rs.d5a98c67-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-9f22cccf93804fdf.snake_rs.d5a98c67-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-9f22cccf93804fdf.snake_rs.d5a98c67-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-9f22cccf93804fdf.snake_rs.d5a98c67-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-9f22cccf93804fdf.snake_rs.d5a98c67-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-9f22cccf93804fdf.snake_rs.d5a98c67-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-9f22cccf93804fdf.snake_rs.d5a98c67-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-9f22cccf93804fdf.5ct8o0qbdp2zbziq.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libsdl2-a02339b067d2a624.rlib" "/opt/rustwide/target/debug/deps/librand-4b9a249937e25b43.rlib" "/opt/rustwide/target/debug/deps/librand_xorshift-cf1c6e10b01f7775.rlib" "/opt/rustwide/target/debug/deps/librand_pcg-68c2d67f0635a34d.rlib" "/opt/rustwide/target/debug/deps/librand_hc-f47d2efa7fbfb522.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-ca251247296b4122.rlib" "/opt/rustwide/target/debug/deps/librand_isaac-25cebe047f165eba.rlib" "/opt/rustwide/target/debug/deps/librand_core-0a725dfaecf66c67.rlib" "/opt/rustwide/target/debug/deps/librand_os-e3b9b038de358760.rlib" "/opt/rustwide/target/debug/deps/librand_jitter-70d9fd7f016246b2.rlib" "/opt/rustwide/target/debug/deps/librand_core-e3f7b5ee9401667b.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-fa7364cdc43d4d22.rlib" "/opt/rustwide/target/debug/deps/libbitflags-44f48aca50656082.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-48ae5990e2528ae1.rlib" "/opt/rustwide/target/debug/deps/liblibc-bcb46937e7421e15.rlib" "/opt/rustwide/target/debug/deps/libnum-65a67c6554069564.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-8fcd3a6202b74406.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-83cddf1f7db88567.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-3f6cbf84a51cd20b.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-37fdd654777c296f.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-d883bf2137e9181a.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-22ab8f3db88b586e.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-0167c9242d0931d5.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-361790a1a5505fc5.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-01c2ffe1ecd05a67.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-ec79e29a889fe805.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-001a3456e8a8331b.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e8f1404290f0f040.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-76f46d0f23360a60.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-baf0bdc5eb131895.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-3a6a4ee6592d9370.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-1cc90d9dd57195f8.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0e91863ffbec5148.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-69528f2eac185ac9.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-52d5241975807511.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9924c22ae1efcf66.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-d1241f7bd234a268.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_image" "-lSDL2_ttf" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/snake_rs-9f22cccf93804fdf" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [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 `snake-rs` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "6b38a0ad4da5ef71fcb024215f6631216a5d068dfc32fe850154998fa09525e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b38a0ad4da5ef71fcb024215f6631216a5d068dfc32fe850154998fa09525e2", kill_on_drop: false }` [INFO] [stdout] 6b38a0ad4da5ef71fcb024215f6631216a5d068dfc32fe850154998fa09525e2