[INFO] cloning repository https://github.com/pshort/golrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pshort/golrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpshort%2Fgolrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpshort%2Fgolrs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a8cfcbbd0b0908e88058db962066e1b7f57c671e [INFO] testing pshort/golrs against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpshort%2Fgolrs" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pshort/golrs on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pshort/golrs [INFO] finished tweaking git repo https://github.com/pshort/golrs [INFO] tweaked toml for git repo https://github.com/pshort/golrs written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/pshort/golrs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", 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] f2ea6f82fb165e11f72653bea8a0491a8e23858c40e56e65b221cfe23660555c [INFO] running `Command { std: "docker" "start" "-a" "f2ea6f82fb165e11f72653bea8a0491a8e23858c40e56e65b221cfe23660555c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2ea6f82fb165e11f72653bea8a0491a8e23858c40e56e65b221cfe23660555c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2ea6f82fb165e11f72653bea8a0491a8e23858c40e56e65b221cfe23660555c", kill_on_drop: false }` [INFO] [stdout] f2ea6f82fb165e11f72653bea8a0491a8e23858c40e56e65b221cfe23660555c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9816a993ca14f845808c1df10028ef3bdee7454584c0950ee1a33a7700e10f3f [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" "9816a993ca14f845808c1df10028ef3bdee7454584c0950ee1a33a7700e10f3f", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.1.41 [INFO] [stderr] Compiling libc v0.2.34 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Compiling num-integer v0.1.35 [INFO] [stderr] Compiling rand v0.3.19 [INFO] [stderr] Compiling num-iter v0.1.34 [INFO] [stderr] Compiling num v0.1.41 [INFO] [stderr] Compiling sdl2 v0.31.0 [INFO] [stderr] Compiling gol v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Point` [INFO] [stdout] --> src/main.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use sdl2::rect::{Rect, Point}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WindowContext`, `Window` [INFO] [stdout] --> src/main.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | use sdl2::video::{Window, WindowContext}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Canvas`, `Texture` [INFO] [stdout] --> src/main.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | use sdl2::render::{Canvas, Texture, TextureCreator, TextureQuery}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameOfLife`, `State` [INFO] [stdout] --> src/main.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | use game_of_life::{ State, GameOfLife, SQUARE_SIZE, PLAYGROUND_WIDTH, PLAYGROUND_HEIGHT }; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let mut font = ttf_context.load_font("resource//font//DroidSans.ttf", 20).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` 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/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/gol-7eae7a8bf6768677.gol.eitjaj0n-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/gol-7eae7a8bf6768677.gol.eitjaj0n-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/gol-7eae7a8bf6768677.gol.eitjaj0n-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/gol-7eae7a8bf6768677.gol.eitjaj0n-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/gol-7eae7a8bf6768677.gol.eitjaj0n-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/gol-7eae7a8bf6768677.gol.eitjaj0n-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/gol-7eae7a8bf6768677.gol.eitjaj0n-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/gol-7eae7a8bf6768677.gol.eitjaj0n-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/gol-7eae7a8bf6768677.gol.eitjaj0n-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/gol-7eae7a8bf6768677.gol.eitjaj0n-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/gol-7eae7a8bf6768677.gol.eitjaj0n-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/gol-7eae7a8bf6768677.gol.eitjaj0n-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/gol-7eae7a8bf6768677.gol.eitjaj0n-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/gol-7eae7a8bf6768677.gol.eitjaj0n-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/gol-7eae7a8bf6768677.gol.eitjaj0n-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/gol-7eae7a8bf6768677.gol.eitjaj0n-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/gol-7eae7a8bf6768677" "/opt/rustwide/target/debug/deps/gol-7eae7a8bf6768677.3dfal6qeikmsfe2g.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libsdl2-145355f8551d4067.rlib" "/opt/rustwide/target/debug/deps/librand-8c0221cfacf7fee3.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-5dc3913d9afcf5d6.rlib" "/opt/rustwide/target/debug/deps/libbitflags-7b15d77b989f677d.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-2ea69cae54b65af6.rlib" "/opt/rustwide/target/debug/deps/liblibc-b958f34ee3e6fabf.rlib" "/opt/rustwide/target/debug/deps/libnum-e2f8ea8af223d8c5.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-bfaa780789b2bb36.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-3eec045fd3fc2450.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-6ed4647bb376c53d.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-d66e0ceb8eaec9b8.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-9717ec0599b569a0.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-04369de9ba916647.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-997d622c2e4dbe5c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-0359c4288a5ef89f.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-1b25ede22d698ab3.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-37940b486a68e488.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-06b77c27e794c7c6.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-4d07e02a8df36da1.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-fb29e0695c0a0f79.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-e16188b4cf97e8bb.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-5eb391c8dabdee77.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-b0689b528b222bee.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-ed072ac495e62e7a.rlib" "-Wl,-Bdynamic" "-lSDL2_ttf" "-lSDL2_image" "-lSDL2" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lSDL2_ttf [INFO] [stdout] /usr/bin/ld: cannot find -lSDL2_image [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gol`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "9816a993ca14f845808c1df10028ef3bdee7454584c0950ee1a33a7700e10f3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9816a993ca14f845808c1df10028ef3bdee7454584c0950ee1a33a7700e10f3f", kill_on_drop: false }` [INFO] [stdout] 9816a993ca14f845808c1df10028ef3bdee7454584c0950ee1a33a7700e10f3f