[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 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fslier81%2FTetris" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/slier81/Tetris on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", 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-8/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" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4fd0d184a9850661601ba485e979b06209788475bcd606d814813d5b3b4ed0e [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" "e4fd0d184a9850661601ba485e979b06209788475bcd606d814813d5b3b4ed0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4fd0d184a9850661601ba485e979b06209788475bcd606d814813d5b3b4ed0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4fd0d184a9850661601ba485e979b06209788475bcd606d814813d5b3b4ed0e", kill_on_drop: false }` [INFO] [stdout] e4fd0d184a9850661601ba485e979b06209788475bcd606d814813d5b3b4ed0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35ffe14fe95640c8b766a0ebdbaf20d1139ed9fc06307f87bd98c2b57d58337d [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" "35ffe14fe95640c8b766a0ebdbaf20d1139ed9fc06307f87bd98c2b57d58337d", 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_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [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 { [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 { [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, Vec)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::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 code: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/rust_sdl-3cee17236dba4265.rust_sdl.8ie7xsxh-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/rust_sdl-3cee17236dba4265.rust_sdl.8ie7xsxh-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/rust_sdl-3cee17236dba4265.rust_sdl.8ie7xsxh-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/rust_sdl-3cee17236dba4265.rust_sdl.8ie7xsxh-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/rust_sdl-3cee17236dba4265.rust_sdl.8ie7xsxh-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/rust_sdl-3cee17236dba4265.rust_sdl.8ie7xsxh-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/rust_sdl-3cee17236dba4265.rust_sdl.8ie7xsxh-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/rust_sdl-3cee17236dba4265.rust_sdl.8ie7xsxh-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/rust_sdl-3cee17236dba4265.rust_sdl.8ie7xsxh-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/rust_sdl-3cee17236dba4265.rust_sdl.8ie7xsxh-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/rust_sdl-3cee17236dba4265.rust_sdl.8ie7xsxh-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/rust_sdl-3cee17236dba4265.rust_sdl.8ie7xsxh-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/rust_sdl-3cee17236dba4265.rust_sdl.8ie7xsxh-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/rust_sdl-3cee17236dba4265.rust_sdl.8ie7xsxh-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/rust_sdl-3cee17236dba4265.rust_sdl.8ie7xsxh-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/rust_sdl-3cee17236dba4265.rust_sdl.8ie7xsxh-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/rust_sdl-3cee17236dba4265" "/opt/rustwide/target/debug/deps/rust_sdl-3cee17236dba4265.1mmx4939re3jslny.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libsdl2-138db9bc33070eb5.rlib" "/opt/rustwide/target/debug/deps/librand-cd4128bf13279b8a.rlib" "/opt/rustwide/target/debug/deps/librand_xorshift-c72452d47acb92b2.rlib" "/opt/rustwide/target/debug/deps/librand_pcg-92810bc3429ec5c6.rlib" "/opt/rustwide/target/debug/deps/librand_hc-453bb474651ee49c.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-56977833c6ce1f90.rlib" "/opt/rustwide/target/debug/deps/librand_isaac-bf610786152d2d79.rlib" "/opt/rustwide/target/debug/deps/librand_core-d557c9f882b1f1f4.rlib" "/opt/rustwide/target/debug/deps/librand_os-8e8fe3cfee05b9da.rlib" "/opt/rustwide/target/debug/deps/librand_jitter-92ab69505d6921c7.rlib" "/opt/rustwide/target/debug/deps/librand_core-78bbe2a80acb1f13.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-07fcc89e8a1f7b5e.rlib" "/opt/rustwide/target/debug/deps/libbitflags-6c2877d8a3bebda2.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-1111c7f22c80ffdf.rlib" "/opt/rustwide/target/debug/deps/liblibc-7b4b73993eca0a76.rlib" "/opt/rustwide/target/debug/deps/libnum-bf2b4802ecb56dc5.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-c95c26fa56ed791f.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-3d23f21a5b30944c.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-6a0eb57675e3abf5.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8bb11f807a7b6b4c.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-ca8087507780d964.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-259c92b387c1c166.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-16e0a2fbbb8e14b3.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-8a1651b8e23d2aaf.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-23bdd98b0574083e.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-855a92055ec33e2e.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-24c70dd44fbacdfb.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-b326273841bae587.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-ac3c1f0e16507051.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-a5729542b65954aa.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-09bd1119ab1cad7d.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9a787681bfbeaf61.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-5a0398ee67f74664.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_image" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [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`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "35ffe14fe95640c8b766a0ebdbaf20d1139ed9fc06307f87bd98c2b57d58337d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35ffe14fe95640c8b766a0ebdbaf20d1139ed9fc06307f87bd98c2b57d58337d", kill_on_drop: false }` [INFO] [stdout] 35ffe14fe95640c8b766a0ebdbaf20d1139ed9fc06307f87bd98c2b57d58337d