[INFO] updating cached repository https://github.com/pshort/golrs [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a8cfcbbd0b0908e88058db962066e1b7f57c671e [INFO] testing pshort/golrs against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpshort%2Fgolrs" "/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/pshort/golrs on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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-1/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--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" "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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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] 4b2be5a81a75eaab12a445e32edea52d3e75180cccd7c732488621985f22212d [INFO] running `Command { std: "docker" "start" "-a" "4b2be5a81a75eaab12a445e32edea52d3e75180cccd7c732488621985f22212d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b2be5a81a75eaab12a445e32edea52d3e75180cccd7c732488621985f22212d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b2be5a81a75eaab12a445e32edea52d3e75180cccd7c732488621985f22212d", kill_on_drop: false }` [INFO] [stdout] 4b2be5a81a75eaab12a445e32edea52d3e75180cccd7c732488621985f22212d [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" "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@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dbbb00a3e397a7a453fb9a243f2213d8fd2670fca0b381bf5ac28636c0474723 [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" "dbbb00a3e397a7a453fb9a243f2213d8fd2670fca0b381bf5ac28636c0474723", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling rand v0.3.19 [INFO] [stderr] Compiling num v0.1.41 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [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/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/gol-89a63975f2b6825d.gol.4y2cxnem-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/gol-89a63975f2b6825d.gol.4y2cxnem-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/gol-89a63975f2b6825d.gol.4y2cxnem-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/gol-89a63975f2b6825d.gol.4y2cxnem-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/gol-89a63975f2b6825d.gol.4y2cxnem-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/gol-89a63975f2b6825d.gol.4y2cxnem-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/gol-89a63975f2b6825d.gol.4y2cxnem-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/gol-89a63975f2b6825d.gol.4y2cxnem-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/gol-89a63975f2b6825d.gol.4y2cxnem-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/gol-89a63975f2b6825d.gol.4y2cxnem-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/gol-89a63975f2b6825d.gol.4y2cxnem-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/gol-89a63975f2b6825d.gol.4y2cxnem-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/gol-89a63975f2b6825d.gol.4y2cxnem-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/gol-89a63975f2b6825d.gol.4y2cxnem-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/gol-89a63975f2b6825d.gol.4y2cxnem-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/gol-89a63975f2b6825d.gol.4y2cxnem-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/gol-89a63975f2b6825d" "/opt/rustwide/target/debug/deps/gol-89a63975f2b6825d.58iy1e4i1n1x0j3c.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libsdl2-e35897946821797e.rlib" "/opt/rustwide/target/debug/deps/librand-2ee3d15e3c4e78d7.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-cca10ef615ea0455.rlib" "/opt/rustwide/target/debug/deps/libbitflags-d2ad12c0bdfd14cf.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-65d9f7d0b961f44d.rlib" "/opt/rustwide/target/debug/deps/liblibc-eb6b4b611c1f7ca7.rlib" "/opt/rustwide/target/debug/deps/libnum-5085a1f43ad68698.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-e16924dc829cfaac.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-afb48c3d54a50c72.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-bc45fe469536b769.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-5989bcf78182f65e.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-4d6da34bc177af8d.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-10e0d6c948699482.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-c2318e2415657781.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-3815b93ed84badbb.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-d7999143d95238cb.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-c58298a0d40df8b8.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-b7de97e2ba6fb4e2.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-6f71c9f654d72cce.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-95ea48ddc44a311b.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-7402cd4761aebc14.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-68f423c59dc48a40.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-54580c7798bf2225.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-95a4d456339b7385.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" "dbbb00a3e397a7a453fb9a243f2213d8fd2670fca0b381bf5ac28636c0474723", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbbb00a3e397a7a453fb9a243f2213d8fd2670fca0b381bf5ac28636c0474723", kill_on_drop: false }` [INFO] [stdout] dbbb00a3e397a7a453fb9a243f2213d8fd2670fca0b381bf5ac28636c0474723