[INFO] cloning repository https://github.com/slier81/Tetris
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/slier81/Tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fslier81%2FTetris", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fslier81%2FTetris'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b4e37baeb08d5e243ff4bd5acd333fe5c88461af
[INFO] testing slier81/Tetris against beta-2021-08-01 for beta-1.55-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fslier81%2FTetris" "/workspace/builds/worker-9/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/slier81/Tetris on toolchain beta-2021-08-01
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/slier81/Tetris
[INFO] finished tweaking git repo https://github.com/slier81/Tetris
[INFO] tweaked toml for git repo https://github.com/slier81/Tetris written to /workspace/builds/worker-9/source/Cargo.toml
[INFO] crate git repo https://github.com/slier81/Tetris already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "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" "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" "+beta-2021-08-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a25b4579dcae1bf341c198331d9a4cd540cf7a1749ced3e55e73bc7529ff89fc
[INFO] running `Command { std: "docker" "start" "-a" "a25b4579dcae1bf341c198331d9a4cd540cf7a1749ced3e55e73bc7529ff89fc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a25b4579dcae1bf341c198331d9a4cd540cf7a1749ced3e55e73bc7529ff89fc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a25b4579dcae1bf341c198331d9a4cd540cf7a1749ced3e55e73bc7529ff89fc", kill_on_drop: false }`
[INFO] [stdout] a25b4579dcae1bf341c198331d9a4cd540cf7a1749ced3e55e73bc7529ff89fc
[INFO] running `Command { std: "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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 798a7b27862eb9cd493f00fee25ab647b258e0d7392852202ee795b0c78ed1f5
[INFO] running `Command { std: "docker" "start" "-a" "798a7b27862eb9cd493f00fee25ab647b258e0d7392852202ee795b0c78ed1f5", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.5
[INFO] [stderr]    Compiling libc v0.2.60
[INFO] [stderr]    Compiling sdl2 v0.32.2
[INFO] [stderr]    Compiling rust_sdl v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling sdl2-sys v0.32.6
[INFO] [stderr]    Compiling num-traits v0.2.8
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling num-iter v0.1.39
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling num v0.1.42
[INFO] [stdout] warning: unused imports: `WindowContext`, `Window`
[INFO] [stdout]  --> src/main.rs:7:19
[INFO] [stdout]   |
[INFO] [stdout] 7 | use sdl2::video::{Window, WindowContext};
[INFO] [stdout]   |                   ^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Canvas`, `TextureCreator`, `Texture`
[INFO] [stdout]  --> src/main.rs:9:20
[INFO] [stdout]   |
[INFO] [stdout] 9 | use sdl2::render::{Canvas, TextureCreator, Texture};
[INFO] [stdout]   |                    ^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:58:13
[INFO] [stdout]    |
[INFO] [stdout] 58 |         let mut square_type = match timer.elapsed() {
[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] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:63:13
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let mut square = if square_type {
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `write_to_file`
[INFO] [stdout]   --> src/util.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub fn write_to_file(content: &str, filename: &str) -> io::Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `read_from_file`
[INFO] [stdout]   --> src/util.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn read_from_file(filename: &str) -> io::Result<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `slice_to_string`
[INFO] [stdout]   --> src/util.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub fn slice_to_string(slice: &[u32]) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `save_highscores_and_lines`
[INFO] [stdout]   --> src/util.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub fn save_highscores_and_lines(highscores: &[u32], number_of_lines: &[u32]) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `line_to_slice`
[INFO] [stdout]   --> src/util.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub fn line_to_slice(line: &str) -> Vec<u32> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `load_highscores_and_lines`
[INFO] [stdout]   --> src/util.rs:60:8
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub fn load_highscores_and_lines() -> Option<(Vec<u32>, Vec<u32>)> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/util.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 |     f.read_to_string(&mut content);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[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/rust_sdl-cd4456309da76366.rust_sdl.d772e759-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/rust_sdl-cd4456309da76366.rust_sdl.d772e759-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/rust_sdl-cd4456309da76366.rust_sdl.d772e759-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/rust_sdl-cd4456309da76366.rust_sdl.d772e759-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/rust_sdl-cd4456309da76366.rust_sdl.d772e759-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/rust_sdl-cd4456309da76366.rust_sdl.d772e759-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/rust_sdl-cd4456309da76366.rust_sdl.d772e759-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/rust_sdl-cd4456309da76366.rust_sdl.d772e759-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/rust_sdl-cd4456309da76366.rust_sdl.d772e759-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/rust_sdl-cd4456309da76366.rust_sdl.d772e759-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/rust_sdl-cd4456309da76366.rust_sdl.d772e759-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/rust_sdl-cd4456309da76366.rust_sdl.d772e759-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/rust_sdl-cd4456309da76366.rust_sdl.d772e759-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/rust_sdl-cd4456309da76366.rust_sdl.d772e759-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/rust_sdl-cd4456309da76366.rust_sdl.d772e759-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/rust_sdl-cd4456309da76366.rust_sdl.d772e759-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/rust_sdl-cd4456309da76366.1eoi5dumy4nvcsio.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libsdl2-66097a701d14744d.rlib" "/opt/rustwide/target/debug/deps/librand-ecc91ce427c1966c.rlib" "/opt/rustwide/target/debug/deps/librand_xorshift-244c720be45f4b39.rlib" "/opt/rustwide/target/debug/deps/librand_pcg-b46729595b348862.rlib" "/opt/rustwide/target/debug/deps/librand_hc-d4586ed8ec3f19f4.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-afcfb1207d03152a.rlib" "/opt/rustwide/target/debug/deps/librand_isaac-93a4c3a9c9e075c6.rlib" "/opt/rustwide/target/debug/deps/librand_core-72e25c6e9b3161d3.rlib" "/opt/rustwide/target/debug/deps/librand_os-cdc7772405c032c8.rlib" "/opt/rustwide/target/debug/deps/librand_jitter-f5635471e56d3a7d.rlib" "/opt/rustwide/target/debug/deps/librand_core-a82cc77dcf65e6c8.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-4fb8d846692536ac.rlib" "/opt/rustwide/target/debug/deps/libbitflags-ec48c3f1cf015507.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-98bfd9677d3b8244.rlib" "/opt/rustwide/target/debug/deps/liblibc-2df15e6fcace3403.rlib" "/opt/rustwide/target/debug/deps/libnum-9b1eb7ebb2ab9107.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-baa6f3f2ecc29ca1.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-ae487eeae9ab4e63.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-666785da4455bc94.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-197d933f09d9a590.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-46a006cddfd334f0.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-5b9870310e470b38.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-260022ba8f1ab4ee.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-71377435a799394f.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-658ee5924fde57cd.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-9e8627da6bd1b94a.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-19fdaac49f59be84.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-cb00e2691ea45905.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-50f6726defae5ae1.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-2afc16311deea26e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-bb5cb0fe086ee8cf.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-896053247b5dfd0b.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-735e1f2ac3cf23be.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-9dfb6622644c732c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-beea7d9617fe25c5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-8ef7dd43fc671f88.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-a9a3b2ad67977f47.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_image" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/rust_sdl-cd4456309da76366" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs"
[INFO] [stdout]   = note: /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; 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_sdl` due to 2 previous errors; 11 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "798a7b27862eb9cd493f00fee25ab647b258e0d7392852202ee795b0c78ed1f5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "798a7b27862eb9cd493f00fee25ab647b258e0d7392852202ee795b0c78ed1f5", kill_on_drop: false }`
[INFO] [stdout] 798a7b27862eb9cd493f00fee25ab647b258e0d7392852202ee795b0c78ed1f5
