[INFO] cloning repository https://github.com/zeroisme/tetris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zeroisme/tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzeroisme%2Ftetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzeroisme%2Ftetris'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 404ab3d5858f2ee9a192582a144796024305d628 [INFO] testing zeroisme/tetris against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzeroisme%2Ftetris" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zeroisme/tetris on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zeroisme/tetris [INFO] finished tweaking git repo https://github.com/zeroisme/tetris [INFO] tweaked toml for git repo https://github.com/zeroisme/tetris written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/zeroisme/tetris already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f196402e42e959e9eb0ad07ea8cc17a503a4ac45ef0ce8ee49c919098922e235 [INFO] running `Command { std: "docker" "start" "-a" "f196402e42e959e9eb0ad07ea8cc17a503a4ac45ef0ce8ee49c919098922e235", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f196402e42e959e9eb0ad07ea8cc17a503a4ac45ef0ce8ee49c919098922e235", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f196402e42e959e9eb0ad07ea8cc17a503a4ac45ef0ce8ee49c919098922e235", kill_on_drop: false }` [INFO] [stdout] f196402e42e959e9eb0ad07ea8cc17a503a4ac45ef0ce8ee49c919098922e235 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=forbid" "-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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffad954d33c115e6a8cb2e46de894260850097f8f86a0ee1ffa59c5d3f87fe80 [INFO] running `Command { std: "docker" "start" "-a" "ffad954d33c115e6a8cb2e46de894260850097f8f86a0ee1ffa59c5d3f87fe80", kill_on_drop: false }` [INFO] [stderr] Compiling sdl2-sys v0.30.0 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling sdl2 v0.30.0 [INFO] [stderr] Compiling tetris v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `fmt::format` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | fmt::format, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `piece` [INFO] [stdout] --> src/main.rs:637:33 [INFO] [stdout] | [INFO] [stdout] 637 | if let Some(ref mut piece) = tetris.current_piece { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_new_tetrimino` [INFO] [stdout] --> src/main.rs:775:4 [INFO] [stdout] | [INFO] [stdout] 775 | fn create_new_tetrimino() -> Tetrimino { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-Wl,--as-needed" "-L" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/tetris-66482fd4e1b8e84c.tetris.drhgj0fx-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/tetris-66482fd4e1b8e84c.tetris.drhgj0fx-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/tetris-66482fd4e1b8e84c.tetris.drhgj0fx-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/tetris-66482fd4e1b8e84c.tetris.drhgj0fx-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/tetris-66482fd4e1b8e84c.tetris.drhgj0fx-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/tetris-66482fd4e1b8e84c.tetris.drhgj0fx-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/tetris-66482fd4e1b8e84c.tetris.drhgj0fx-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/tetris-66482fd4e1b8e84c.tetris.drhgj0fx-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/tetris-66482fd4e1b8e84c.tetris.drhgj0fx-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/tetris-66482fd4e1b8e84c.tetris.drhgj0fx-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/tetris-66482fd4e1b8e84c.tetris.drhgj0fx-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/tetris-66482fd4e1b8e84c.tetris.drhgj0fx-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/tetris-66482fd4e1b8e84c.tetris.drhgj0fx-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/tetris-66482fd4e1b8e84c.tetris.drhgj0fx-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/tetris-66482fd4e1b8e84c.tetris.drhgj0fx-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/tetris-66482fd4e1b8e84c.tetris.drhgj0fx-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/tetris-66482fd4e1b8e84c" "/opt/rustwide/target/debug/deps/tetris-66482fd4e1b8e84c.3gfpx2xgwflw9v0j.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libsdl2-252173d9abea0a91.rlib" "/opt/rustwide/target/debug/deps/librand-03ac0c06884721eb.rlib" "/opt/rustwide/target/debug/deps/librand-c1a33f77dc007108.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-280c7242089e0c84.rlib" "/opt/rustwide/target/debug/deps/libbitflags-451632c3bdd53d67.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-dbe219c565973cc2.rlib" "/opt/rustwide/target/debug/deps/liblibc-949fc99303f80f60.rlib" "/opt/rustwide/target/debug/deps/libnum-70f4c1a47472a3ea.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-ac0e13b244d32670.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-8d57ed49bf6d47e5.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-b9d75a04b4714f47.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-21256c14e4504640.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-986e7fea4474d4d2.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-91d85f45babdb06e.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-756509c31813f9a6.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-5c2ef587e740c0cc.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-ad8f9371d31db1b3.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-402820fb3b4d3dd8.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-5e8e903f07dc8747.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-7ab9ae5080c07187.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-c8e8d47c6bf14de2.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-5a02dbb58abd015a.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-cedc8fec61444895.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a1c96351c52bc56a.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-e41c6d24baeb2249.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-62493b241881590c.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-a1fd7734706d5518.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-c8ded1707ad10767.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-1eec8756baa5bc24.rlib" "-Wl,-Bdynamic" "-lSDL2_ttf" "-lSDL2_image" "-lSDL2" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" [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; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tetris` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "ffad954d33c115e6a8cb2e46de894260850097f8f86a0ee1ffa59c5d3f87fe80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffad954d33c115e6a8cb2e46de894260850097f8f86a0ee1ffa59c5d3f87fe80", kill_on_drop: false }` [INFO] [stdout] ffad954d33c115e6a8cb2e46de894260850097f8f86a0ee1ffa59c5d3f87fe80