[INFO] cloning repository https://github.com/jhston02/tetris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jhston02/tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjhston02%2Ftetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjhston02%2Ftetris'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dbd97439ac69afb6be4ea51088a6235d7b6bf664 [INFO] testing jhston02/tetris against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjhston02%2Ftetris" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jhston02/tetris [INFO] finished tweaking git repo https://github.com/jhston02/tetris [INFO] tweaked toml for git repo https://github.com/jhston02/tetris written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jhston02/tetris on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jhston02/tetris already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5c68624f233b38fdc680a11dedb2954d759338a1b24fa00afca3b5cfb8297a2 [INFO] running `Command { std: "docker" "start" "-a" "e5c68624f233b38fdc680a11dedb2954d759338a1b24fa00afca3b5cfb8297a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5c68624f233b38fdc680a11dedb2954d759338a1b24fa00afca3b5cfb8297a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5c68624f233b38fdc680a11dedb2954d759338a1b24fa00afca3b5cfb8297a2", kill_on_drop: false }` [INFO] [stdout] e5c68624f233b38fdc680a11dedb2954d759338a1b24fa00afca3b5cfb8297a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] c7f3a214f12558b5db11cb6c3427f46676b97cc23e16434c01493a79599a747d [INFO] running `Command { std: "docker" "start" "-a" "c7f3a214f12558b5db11cb6c3427f46676b97cc23e16434c01493a79599a747d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling smallvec v1.3.0 [INFO] [stderr] Compiling arc-swap v0.4.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.7.1 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling signal-hook v0.1.13 [INFO] [stderr] Compiling crossterm v0.17.3 [INFO] [stderr] Compiling tetris v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `execute` [INFO] [stdout] --> src/main.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use crossterm::{execute, ExecutableCommand, cursor, QueueableCommand, style::Print, ErrorKind, terminal}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Component::RootDir` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Component::RootDir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:43:51 [INFO] [stdout] | [INFO] [stdout] 43 | let mut nCurrentPiece:u8 = rng.gen_range(0,6);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/main.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | while(!gameOver) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 54 - while(!gameOver) { [INFO] [stdout] 54 + while !gameOver { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `should_render` is never read [INFO] [stdout] --> src/main.rs:139:29 [INFO] [stdout] | [INFO] [stdout] 139 | ... should_render = false; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `gameOver` should have a snake case name [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let mut gameOver = false; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `game_over` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nCurrentPiece` should have a snake case name [INFO] [stdout] --> src/main.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut nCurrentPiece:u8 = rng.gen_range(0,6);; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `n_current_piece` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nCurrentX` should have a snake case name [INFO] [stdout] --> src/main.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let mut nCurrentX:i32 = FIELD_WIDTH as i32 / 2; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `n_current_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nCurrentY` should have a snake case name [INFO] [stdout] --> src/main.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut nCurrentY: i32 = 0; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `n_current_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `speedCounter` should have a snake case name [INFO] [stdout] --> src/main.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let mut speedCounter:u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `speed_counter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pieceCount` should have a snake case name [INFO] [stdout] --> src/main.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let mut pieceCount = 0; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `piece_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tempRotation` should have a snake case name [INFO] [stdout] --> src/main.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | let tempRotation = (rotation + 1) % 4; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `temp_rotation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `isLine` should have a snake case name [INFO] [stdout] --> src/main.rs:124:33 [INFO] [stdout] | [INFO] [stdout] 124 | let mut isLine = true; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `is_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `posX` should have a snake case name [INFO] [stdout] --> src/main.rs:184:60 [INFO] [stdout] | [INFO] [stdout] 184 | fn update_game_board(board:&mut [u8], tretronimo:&[u8;16], posX:i32, posY:i32, r:u8, value:u8) { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `pos_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `posY` should have a snake case name [INFO] [stdout] --> src/main.rs:184:70 [INFO] [stdout] | [INFO] [stdout] 184 | fn update_game_board(board:&mut [u8], tretronimo:&[u8;16], posX:i32, posY:i32, r:u8, value:u8) { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `pos_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `posX` should have a snake case name [INFO] [stdout] --> src/main.rs:195:49 [INFO] [stdout] | [INFO] [stdout] 195 | fn get_render(board:&[u8], tretronimo:&[u8;16], posX:i32, posY:i32, r:u8, value:u8, render_tret:bool) -> String{ [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `pos_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `posY` should have a snake case name [INFO] [stdout] --> src/main.rs:195:59 [INFO] [stdout] | [INFO] [stdout] 195 | fn get_render(board:&[u8], tretronimo:&[u8;16], posX:i32, posY:i32, r:u8, value:u8, render_tret:bool) -> String{ [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `pos_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcxGQwSe/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{librand-e978a8e610f6368e.rlib,librand_chacha-1de3918d638ef578.rlib,libppv_lite86-3db1eddbb11ee7cb.rlib,librand_core-16a3e4a6bf10fbe2.rlib,libgetrandom-f03d066f276e5314.rlib,libcrossterm-ec7f840bc4617eef.rlib,libsignal_hook-e22abc0b2d15547b.rlib,libsignal_hook_registry-7b01ea8c6452aae1.rlib,libarc_swap-8d65051112c98fc1.rlib,libmio-f767930c20a6dfb4.rlib,liblog-0458da19e351a080.rlib,libslab-7c577fd9ceb1ab41.rlib,libiovec-9c46f3222ead3041.rlib,libnet2-630b1fa6d42a0df1.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,libbitflags-561a4f1321538a32.rlib,libparking_lot-fbfedf016735d39a.rlib,libparking_lot_core-14c737d3455f4f0c.rlib,liblibc-e8317fc14e0f05cd.rlib,libcfg_if-2d17986ae484e939.rlib,libsmallvec-da9759509a40efd5.rlib,liblock_api-6f337b257994d935.rlib,libscopeguard-73056285f12cb829.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcxGQwSe/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/tetris-5c6a718a38303c21" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-f03d066f276e5314.rlib(getrandom-f03d066f276e5314.getrandom.3b5faed3beadb8c-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.1.14/src/util_libc.rs:112:(.text._ZN9getrandom9util_libc13open_readonly17h6c8398c318c4c408E+0x79): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tetris` (bin "tetris") due to 1 previous error; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c7f3a214f12558b5db11cb6c3427f46676b97cc23e16434c01493a79599a747d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7f3a214f12558b5db11cb6c3427f46676b97cc23e16434c01493a79599a747d", kill_on_drop: false }` [INFO] [stdout] c7f3a214f12558b5db11cb6c3427f46676b97cc23e16434c01493a79599a747d