[INFO] updating cached repository https://github.com/dstepanov/snake-rs
[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] c6260fec57e46fdf253478d3f203de3cd3cb809b
[INFO] testing dstepanov/snake-rs against 1.40.0 for beta-1.41-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdstepanov%2Fsnake-rs" "/workspace/builds/worker-5/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/dstepanov/snake-rs on toolchain 1.40.0
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/dstepanov/snake-rs
[INFO] finished tweaking git repo https://github.com/dstepanov/snake-rs
[INFO] tweaked toml for git repo https://github.com/dstepanov/snake-rs written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/dstepanov/snake-rs already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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" "+1.40.0" "build" "--frozen"`
[INFO] [stdout] 5da2bc8fbc97f086098240c22a3b8f034732b836b33ee58a03f44b96a27357f8
[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" "5da2bc8fbc97f086098240c22a3b8f034732b836b33ee58a03f44b96a27357f8"`
[INFO] [stderr]    Compiling num-traits v0.1.36
[INFO] [stderr]    Compiling libc v0.2.19
[INFO] [stderr]    Compiling sdl2-sys v0.27.2
[INFO] [stderr]    Compiling lazy_static v0.2.2
[INFO] [stderr]    Compiling rand v0.3.15
[INFO] [stderr]    Compiling num-integer v0.1.32
[INFO] [stderr]    Compiling num-iter v0.1.32
[INFO] [stderr]    Compiling num v0.1.36
[INFO] [stderr]    Compiling sdl2 v0.27.3
[INFO] [stderr]    Compiling snake-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:122:13
[INFO] [stderr]     |
[INFO] [stderr] 122 |         let mut next = &mut match self.direction {
[INFO] [stderr]     |             ----^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` 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/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/snake_rs-41c39ae44e7584da.snake_rs.98kcucsp-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-41c39ae44e7584da.snake_rs.98kcucsp-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-41c39ae44e7584da.snake_rs.98kcucsp-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-41c39ae44e7584da.snake_rs.98kcucsp-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-41c39ae44e7584da.snake_rs.98kcucsp-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-41c39ae44e7584da.snake_rs.98kcucsp-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-41c39ae44e7584da.snake_rs.98kcucsp-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-41c39ae44e7584da.snake_rs.98kcucsp-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-41c39ae44e7584da.snake_rs.98kcucsp-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-41c39ae44e7584da.snake_rs.98kcucsp-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-41c39ae44e7584da.snake_rs.98kcucsp-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-41c39ae44e7584da.snake_rs.98kcucsp-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-41c39ae44e7584da.snake_rs.98kcucsp-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-41c39ae44e7584da.snake_rs.98kcucsp-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-41c39ae44e7584da.snake_rs.98kcucsp-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/snake_rs-41c39ae44e7584da.snake_rs.98kcucsp-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/snake_rs-41c39ae44e7584da" "/opt/rustwide/target/debug/deps/snake_rs-41c39ae44e7584da.1h4x8gpfpic5ocmo.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libsdl2-d89979a79ab3695b.rlib" "/opt/rustwide/target/debug/deps/librand-f8a01d16ae66e34a.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-d5e975aa840be8b5.rlib" "/opt/rustwide/target/debug/deps/libbitflags-718d5825b530a286.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-1e1687648b108eb1.rlib" "/opt/rustwide/target/debug/deps/liblibc-62e41aa7574d6382.rlib" "/opt/rustwide/target/debug/deps/libnum-82a981053b82d572.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-c3a3f3bd161d6b3f.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-92a8870fdb21d9fa.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-cb5d9fb8b0274c99.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-74488c47a41eb313.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-efbc2c947951b8cc.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-b177382d9a04ffbe.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-ba7d2244d33447d5.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-39569dc87e4ea301.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-cd9e255bd82ddb5c.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-f83165e777dccb8d.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-10b085de263b1750.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-9a4a22edf44da957.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-68fabc677efa98de.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-026dc0061b48e8b6.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-7bf75bb619341145.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-ef54709e300503ed.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-4ed27d8420cb4abc.rlib" "-Wl,-Bdynamic" "-lSDL2_ttf" "-lSDL2" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
[INFO] [stderr]   = note: /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
[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" "5da2bc8fbc97f086098240c22a3b8f034732b836b33ee58a03f44b96a27357f8"`
[INFO] running `"docker" "rm" "-f" "5da2bc8fbc97f086098240c22a3b8f034732b836b33ee58a03f44b96a27357f8"`
[INFO] [stdout] 5da2bc8fbc97f086098240c22a3b8f034732b836b33ee58a03f44b96a27357f8
