[INFO] updating cached repository https://github.com/droidkid/rust-tetris [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] d7739277f8489ba9f6b2ba7f772f909813828b03 [INFO] testing droidkid/rust-tetris against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdroidkid%2Frust-tetris" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/droidkid/rust-tetris 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/droidkid/rust-tetris [INFO] finished tweaking git repo https://github.com/droidkid/rust-tetris [INFO] tweaked toml for git repo https://github.com/droidkid/rust-tetris written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/droidkid/rust-tetris 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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] a36d6ab28e64fe6caf69d4d25ec44e98393ebd9dfc4eb70bd7b7659bbe071e9f [INFO] running `Command { std: "docker" "start" "-a" "a36d6ab28e64fe6caf69d4d25ec44e98393ebd9dfc4eb70bd7b7659bbe071e9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a36d6ab28e64fe6caf69d4d25ec44e98393ebd9dfc4eb70bd7b7659bbe071e9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a36d6ab28e64fe6caf69d4d25ec44e98393ebd9dfc4eb70bd7b7659bbe071e9f", kill_on_drop: false }` [INFO] [stdout] a36d6ab28e64fe6caf69d4d25ec44e98393ebd9dfc4eb70bd7b7659bbe071e9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3f89bc86f9efe11d159bc02df0fee4fc92aa7ec3620c2c11011ae8ad1f6fc1df [INFO] running `Command { std: "docker" "start" "-a" "3f89bc86f9efe11d159bc02df0fee4fc92aa7ec3620c2c11011ae8ad1f6fc1df", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling sdl2 v0.31.0 [INFO] [stderr] Compiling rust-tetris v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/main.rs:422:22 [INFO] [stdout] | [INFO] [stdout] 422 | for j in (1..self.width-1) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:473:16 [INFO] [stdout] | [INFO] [stdout] 473 | if (self.game_over_countdown > 0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:483:12 [INFO] [stdout] | [INFO] [stdout] 483 | if (input.left_key_pressed) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:486:12 [INFO] [stdout] | [INFO] [stdout] 486 | if (input.right_key_pressed) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:489:12 [INFO] [stdout] | [INFO] [stdout] 489 | if (input.up_key_pressed) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:493:12 [INFO] [stdout] | [INFO] [stdout] 493 | if (input.down_key_pressed) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:500:12 [INFO] [stdout] | [INFO] [stdout] 500 | if (self.gravity_countdown > 0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:503:12 [INFO] [stdout] | [INFO] [stdout] 503 | if (self.lock_delay_countdown > 0 && self.locking_state) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:539:12 [INFO] [stdout] | [INFO] [stdout] 539 | if (self.level >= 10) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:646:12 [INFO] [stdout] | [INFO] [stdout] 646 | if (event_pump.keyboard_state().is_scancode_pressed(Scancode::Down)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `move_down_success` is never read [INFO] [stdout] --> src/main.rs:508:13 [INFO] [stdout] | [INFO] [stdout] 508 | let mut move_down_success = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:613:9 [INFO] [stdout] | [INFO] [stdout] 613 | let mut font = ttf_context.load_font(font_path, 28).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] warning: associated function is never used: `is_row_empty` [INFO] [stdout] --> src/main.rs:411:8 [INFO] [stdout] | [INFO] [stdout] 411 | fn is_row_empty(&self, row:usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `start_pos` should have an upper case name [INFO] [stdout] --> src/main.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | static start_pos: Pos2D = Pos2D { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `START_POS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `tetris_board_width` should have an upper case name [INFO] [stdout] --> src/main.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | static tetris_board_width : usize = 12; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `TETRIS_BOARD_WIDTH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `tetris_board_height` should have an upper case name [INFO] [stdout] --> src/main.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | static tetris_board_height : usize = 24; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `TETRIS_BOARD_HEIGHT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | canvas.fill_rect(rect); [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] warning: variable `randomTetrisPieceGenerator` should have a snake case name [INFO] [stdout] --> src/main.rs:342:17 [INFO] [stdout] | [INFO] [stdout] 342 | let mut randomTetrisPieceGenerator = RandomTetrisPieceGenerator::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `random_tetris_piece_generator` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:556:9 [INFO] [stdout] | [INFO] [stdout] 556 | canvas.fill_rect(rect); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:661:13 [INFO] [stdout] | [INFO] [stdout] 661 | canvas.fill_rect(Rect::new(0,0,width,height)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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" "-Wl,--eh-frame-hdr" "-L" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/rust_tetris-f2b2b76484637adb.rust_tetris.7thn8njr-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/rust_tetris-f2b2b76484637adb.rust_tetris.7thn8njr-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/rust_tetris-f2b2b76484637adb.rust_tetris.7thn8njr-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/rust_tetris-f2b2b76484637adb.rust_tetris.7thn8njr-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/rust_tetris-f2b2b76484637adb.rust_tetris.7thn8njr-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/rust_tetris-f2b2b76484637adb.rust_tetris.7thn8njr-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/rust_tetris-f2b2b76484637adb.rust_tetris.7thn8njr-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/rust_tetris-f2b2b76484637adb.rust_tetris.7thn8njr-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/rust_tetris-f2b2b76484637adb.rust_tetris.7thn8njr-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/rust_tetris-f2b2b76484637adb.rust_tetris.7thn8njr-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/rust_tetris-f2b2b76484637adb.rust_tetris.7thn8njr-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/rust_tetris-f2b2b76484637adb.rust_tetris.7thn8njr-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/rust_tetris-f2b2b76484637adb.rust_tetris.7thn8njr-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/rust_tetris-f2b2b76484637adb.rust_tetris.7thn8njr-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/rust_tetris-f2b2b76484637adb.rust_tetris.7thn8njr-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/rust_tetris-f2b2b76484637adb.rust_tetris.7thn8njr-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/rust_tetris-f2b2b76484637adb" "/opt/rustwide/target/debug/deps/rust_tetris-f2b2b76484637adb.1zq444bhesuc7s8l.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-5bccd22dc5e5225d.rlib" "/opt/rustwide/target/debug/deps/librand-cd2c0647016a2c2c.rlib" "/opt/rustwide/target/debug/deps/librand-29521f9940e9eb3f.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-52d959e41d5d3fcc.rlib" "/opt/rustwide/target/debug/deps/libbitflags-d2ad12c0bdfd14cf.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-65d9f7d0b961f44d.rlib" "/opt/rustwide/target/debug/deps/liblibc-111fa2dfb6f588ad.rlib" "/opt/rustwide/target/debug/deps/libnum-c520d02f02ac040e.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-aef27937ff364bda.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-b0b6745d22f32d76.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-0de210d470508289.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; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-tetris`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "3f89bc86f9efe11d159bc02df0fee4fc92aa7ec3620c2c11011ae8ad1f6fc1df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f89bc86f9efe11d159bc02df0fee4fc92aa7ec3620c2c11011ae8ad1f6fc1df", kill_on_drop: false }` [INFO] [stdout] 3f89bc86f9efe11d159bc02df0fee4fc92aa7ec3620c2c11011ae8ad1f6fc1df