[INFO] cloning repository https://github.com/hoozifachi/tetris
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hoozifachi/tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhoozifachi%2Ftetris"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhoozifachi%2Ftetris'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 3ae71e25162820aa55726a4a55f7a05e547bd0ac
[INFO] testing hoozifachi/tetris against 1.100.0-beta.13+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhoozifachi%2Ftetris" "/workspace/builds/worker-0-tc1/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/hoozifachi/tetris
[INFO] finished tweaking git repo https://github.com/hoozifachi/tetris
[INFO] tweaked toml for git repo https://github.com/hoozifachi/tetris written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hoozifachi/tetris on toolchain 1.100.0-beta.13
[INFO] running `"cargo" "+1.100.0-beta.13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/hoozifachi/tetris already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.100.0-beta.13" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 460b9cc07da98ab49d82322c2b2f0cc193033579d03138af12bea0d91c7aaaa1
[INFO] running `"docker" "start" "460b9cc07da98ab49d82322c2b2f0cc193033579d03138af12bea0d91c7aaaa1"`
[INFO] running `"docker" "inspect" "460b9cc07da98ab49d82322c2b2f0cc193033579d03138af12bea0d91c7aaaa1"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "460b9cc07da98ab49d82322c2b2f0cc193033579d03138af12bea0d91c7aaaa1" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "460b9cc07da98ab49d82322c2b2f0cc193033579d03138af12bea0d91c7aaaa1"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "460b9cc07da98ab49d82322c2b2f0cc193033579d03138af12bea0d91c7aaaa1" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling libc v0.2.181
[INFO] [stderr]    Compiling version-compare v0.1.1
[INFO] [stderr]    Compiling sdl2 v0.38.0
[INFO] [stderr]    Compiling sdl2-sys v0.38.0
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling tetris v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: constant `TEXTURE_SIZE` is never used
[INFO] [stdout]   --> src/main.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const TEXTURE_SIZE: u32 = 32;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TextureColor` is never used
[INFO] [stdout]   --> src/main.rs:19:6
[INFO] [stdout]    |
[INFO] [stdout] 19 | enum TextureColor {
[INFO] [stdout]    |      ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_texture_rect` is never used
[INFO] [stdout]   --> src/main.rs:24:4
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn create_texture_rect<'a>(
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Piece` is never used
[INFO] [stdout]   --> src/main.rs:46:6
[INFO] [stdout]    |
[INFO] [stdout] 46 | type Piece = Vec<Vec<u8>>;
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `States` is never used
[INFO] [stdout]   --> src/main.rs:47:6
[INFO] [stdout]    |
[INFO] [stdout] 47 | type States = Vec<Piece>;
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Tetrimino` is never constructed
[INFO] [stdout]   --> src/main.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | struct Tetrimino {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `rotate`, `test_position`, `change_position`, and `test_current_position` are never used
[INFO] [stdout]   --> src/main.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 56 | impl Tetrimino {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] 57 |     fn rotate(&mut self, game_map: &[Vec<u8>]) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 72 |     fn test_position(&self, game_map: &[Vec<u8>], tmp_state: usize, x: isize, y: usize) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 88 |     fn change_position(&mut self, game_map: &[Vec<u8>], new_x: isize, new_y: usize) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 98 |     fn test_current_position(&self, game_map: &[Vec<u8>]) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `TetriminoGenerator` is never used
[INFO] [stdout]    --> src/main.rs:103:7
[INFO] [stdout]     |
[INFO] [stdout] 103 | trait TetriminoGenerator {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TetriminoI` is never constructed
[INFO] [stdout]    --> src/main.rs:107:8
[INFO] [stdout]     |
[INFO] [stdout] 107 | struct TetriminoI;
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TetriminoJ` is never constructed
[INFO] [stdout]    --> src/main.rs:133:8
[INFO] [stdout]     |
[INFO] [stdout] 133 | struct TetriminoJ;
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TetriminoL` is never constructed
[INFO] [stdout]    --> src/main.rs:171:8
[INFO] [stdout]     |
[INFO] [stdout] 171 | struct TetriminoL;
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TetriminoO` is never constructed
[INFO] [stdout]    --> src/main.rs:209:8
[INFO] [stdout]     |
[INFO] [stdout] 209 | struct TetriminoO;
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TetriminoS` is never constructed
[INFO] [stdout]    --> src/main.rs:227:8
[INFO] [stdout]     |
[INFO] [stdout] 227 | struct TetriminoS;
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TetriminoZ` is never constructed
[INFO] [stdout]    --> src/main.rs:253:8
[INFO] [stdout]     |
[INFO] [stdout] 253 | struct TetriminoZ;
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TetriminoT` is never constructed
[INFO] [stdout]    --> src/main.rs:279:8
[INFO] [stdout]     |
[INFO] [stdout] 279 | struct TetriminoT;
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_new_tetrimino` is never used
[INFO] [stdout]    --> src/main.rs:317:4
[INFO] [stdout]     |
[INFO] [stdout] 317 | fn create_new_tetrimino() -> Tetrimino {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/opt/rustwide/target/release/build/tetris/286acb423f28925b/out/rustcyr1kMQ/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/release/build/sdl2/8141f35e40ca163b/out/libsdl2-8141f35e40ca163b.rlib" "/opt/rustwide/target/release/build/sdl2-sys/35343ec6c0ced0ea/out/libsdl2_sys-35343ec6c0ced0ea.rlib" "/opt/rustwide/target/release/build/bitflags/68973b8086863992/out/libbitflags-68973b8086863992.rlib" "/opt/rustwide/target/release/build/lazy_static/fdd6af0286056ca3/out/liblazy_static-fdd6af0286056ca3.rlib" "/opt/rustwide/target/release/build/rand/4c8d4d4d7e495800/out/librand-4c8d4d4d7e495800.rlib" "/opt/rustwide/target/release/build/rand/9b5a7788bea98fc0/out/librand-9b5a7788bea98fc0.rlib" "/opt/rustwide/target/release/build/libc/7e6a8b94f917411a/out/liblibc-7e6a8b94f917411a.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_image" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/opt/rustwide/target/release/build/tetris/286acb423f28925b/out/rustcyr1kMQ/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/release/build/tetris/286acb423f28925b/out/tetris" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-Wl,--strip-debug" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: unable to find library -lSDL2_image
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tetris` (bin "tetris") due to 1 previous error; 16 warnings emitted
[INFO] running `"docker" "inspect" "460b9cc07da98ab49d82322c2b2f0cc193033579d03138af12bea0d91c7aaaa1"`
[INFO] running `"docker" "rm" "-f" "460b9cc07da98ab49d82322c2b2f0cc193033579d03138af12bea0d91c7aaaa1"`
[INFO] [stdout] 460b9cc07da98ab49d82322c2b2f0cc193033579d03138af12bea0d91c7aaaa1
