[INFO] cloning repository https://github.com/Spice-Z/RusTetris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Spice-Z/RusTetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpice-Z%2FRusTetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpice-Z%2FRusTetris'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 350dfd2a08e10679393b203ee597ce1996222447 [INFO] testing Spice-Z/RusTetris 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%2FSpice-Z%2FRusTetris" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Spice-Z/RusTetris [INFO] finished tweaking git repo https://github.com/Spice-Z/RusTetris [INFO] tweaked toml for git repo https://github.com/Spice-Z/RusTetris written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Spice-Z/RusTetris 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/Spice-Z/RusTetris 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] c4a6a0ce1933261d9d875973a0c2d3def807113f8f26c69db44c8c5113fb311b [INFO] running `Command { std: "docker" "start" "-a" "c4a6a0ce1933261d9d875973a0c2d3def807113f8f26c69db44c8c5113fb311b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4a6a0ce1933261d9d875973a0c2d3def807113f8f26c69db44c8c5113fb311b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4a6a0ce1933261d9d875973a0c2d3def807113f8f26c69db44c8c5113fb311b", kill_on_drop: false }` [INFO] [stdout] c4a6a0ce1933261d9d875973a0c2d3def807113f8f26c69db44c8c5113fb311b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 73a2b4463d13342ac0a0a12a349b3a96e6b303f14355fe39bf2a9f032b4a5060 [INFO] running `Command { std: "docker" "start" "-a" "73a2b4463d13342ac0a0a12a349b3a96e6b303f14355fe39bf2a9f032b4a5060", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling termion v1.5.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rus_tetris v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `Tm_Direction` should have an upper camel case name [INFO] [stdout] --> src/stage.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum Tm_Direction { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `TmDirection` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `head` should have an upper camel case name [INFO] [stdout] --> src/stage.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | head, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Head` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `right` should have an upper camel case name [INFO] [stdout] --> src/stage.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | right, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `bottom` should have an upper camel case name [INFO] [stdout] --> src/stage.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | bottom, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Bottom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `left` should have an upper camel case name [INFO] [stdout] --> src/stage.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | left, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `TM_Hit` should have an upper camel case name [INFO] [stdout] --> src/stage.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct TM_Hit { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `TmHit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `r` should have an upper camel case name [INFO] [stdout] --> src/stage.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | r, [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `R` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `l` should have an upper camel case name [INFO] [stdout] --> src/stage.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | l, [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `L` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TM_Hit` is never constructed [INFO] [stdout] --> src/stage.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct TM_Hit { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/stage.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | write!(out, "{}", clear::All); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/stage.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | write!(out, "{}", cursor::Goto(1, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/stage.rs:85:29 [INFO] [stdout] | [INFO] [stdout] 85 | ... write!(out, "{}", &self.filled_block); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/stage.rs:87:29 [INFO] [stdout] | [INFO] [stdout] 87 | ... write!(out, "{}", &self.empty_block); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/stage.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | write!(out, "\r\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/main.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | write!(stdout, "ue"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [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/rustckpQNlV/symbols.o" "<4 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{librus_tetris-761b58e1cf857963.rlib,libtermion-8e2350b67b9e751f.rlib,libnumtoa-e9c283ec89102151.rlib,librand-c6068cbbf2d55e21.rlib,librand_chacha-b5f6c3bdd4296955.rlib,libppv_lite86-ef53971f935c91f9.rlib,librand_core-83d4b593c22f2f71.rlib,libgetrandom-9c4ebe0461cbf707.rlib,liblibc-a7a0841e18dbd78a.rlib,libcfg_if-2d17986ae484e939.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/rustckpQNlV/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/main-0ef67b9dc80e8941" "-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-9c4ebe0461cbf707.rlib(getrandom-9c4ebe0461cbf707.getrandom.2c3c67037444c2b2-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_readonly17h0d8d4dd3f4e48b17E+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 `rus_tetris` (bin "main") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "73a2b4463d13342ac0a0a12a349b3a96e6b303f14355fe39bf2a9f032b4a5060", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73a2b4463d13342ac0a0a12a349b3a96e6b303f14355fe39bf2a9f032b4a5060", kill_on_drop: false }` [INFO] [stdout] 73a2b4463d13342ac0a0a12a349b3a96e6b303f14355fe39bf2a9f032b4a5060