[INFO] cloning repository https://github.com/holysmokes7/snake-game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/holysmokes7/snake-game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fholysmokes7%2Fsnake-game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fholysmokes7%2Fsnake-game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 70479896e5062ac012ae6f4cb60e486d8ea92786 [INFO] testing holysmokes7/snake-game against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fholysmokes7%2Fsnake-game" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/holysmokes7/snake-game [INFO] finished tweaking git repo https://github.com/holysmokes7/snake-game [INFO] tweaked toml for git repo https://github.com/holysmokes7/snake-game written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/holysmokes7/snake-game on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/holysmokes7/snake-game 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows v0.52.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 138cbf865344636c92ab0f66f518489bf89122b0e988623a1794f45425ae3330 [INFO] running `Command { std: "docker" "start" "-a" "138cbf865344636c92ab0f66f518489bf89122b0e988623a1794f45425ae3330", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "138cbf865344636c92ab0f66f518489bf89122b0e988623a1794f45425ae3330", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "138cbf865344636c92ab0f66f518489bf89122b0e988623a1794f45425ae3330", kill_on_drop: false }` [INFO] [stdout] 138cbf865344636c92ab0f66f518489bf89122b0e988623a1794f45425ae3330 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 42fb8ae2d123f297eccc76323d0c69c69e6081a6e399ae5553d7e50dbb56d867 [INFO] running `Command { std: "docker" "start" "-a" "42fb8ae2d123f297eccc76323d0c69c69e6081a6e399ae5553d7e50dbb56d867", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling windows-targets v0.52.0 [INFO] [stderr] Compiling windows-core v0.52.0 [INFO] [stderr] Compiling windows v0.52.0 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling snake-game v0.1.0 (/opt/rustwide/workdir) [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/rustcJUNeTb/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libwindows-6a97d84d25bacda5.rlib,libwindows_core-9a3ab79dd8ef86f9.rlib,libwindows_targets-36be707e195680d1.rlib,librand-2fcd9bc036c42ad3.rlib,librand_chacha-2b057c1c337da373.rlib,libppv_lite86-742ade976f63ace4.rlib,librand_core-a49344dc48f2e8c0.rlib,libgetrandom-061c98f2cdbf5873.rlib,liblibc-7a70ce494401cc38.rlib,libcfg_if-66d55f6b302e88c8.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/rustcJUNeTb/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/snake_game-681b47ddc50bcdd4" "-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/snake_game-681b47ddc50bcdd4.snake_game.390ac0bfcb9587fb-cgu.0.rcgu.o: in function `windows::Win32::UI::Input::KeyboardAndMouse::GetAsyncKeyState': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/UI/Input/KeyboardAndMouse/mod.rs:53:(.text._ZN7windows5Win322UI5Input16KeyboardAndMouse16GetAsyncKeyState17h663a8ad94463d856E+0x7): undefined reference to `GetAsyncKeyState' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/snake_game-681b47ddc50bcdd4.snake_game.390ac0bfcb9587fb-cgu.0.rcgu.o: in function `windows::Win32::System::Console::GetStdHandle': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/Console/mod.rs:406:(.text._ZN7windows5Win326System7Console12GetStdHandle17h34fc06e71e3c83f1E+0x1f): undefined reference to `GetStdHandle' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/snake_game-681b47ddc50bcdd4.snake_game.390ac0bfcb9587fb-cgu.0.rcgu.o: in function `windows::Win32::System::Console::WriteConsoleA': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/Console/mod.rs:748:(.text._ZN7windows5Win326System7Console13WriteConsoleA17h55f4440c25a7b4c6E+0x18f): undefined reference to `WriteConsoleA' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/snake_game-681b47ddc50bcdd4.snake_game.390ac0bfcb9587fb-cgu.0.rcgu.o: in function `windows::Win32::System::Console::GetConsoleCursorInfo': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/Console/mod.rs:252:(.text._ZN7windows5Win326System7Console20GetConsoleCursorInfo17h249ed3870027a7d6E+0x4d): undefined reference to `GetConsoleCursorInfo' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/snake_game-681b47ddc50bcdd4.snake_game.390ac0bfcb9587fb-cgu.0.rcgu.o: in function `windows::Win32::System::Console::SetConsoleCursorInfo': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/Console/mod.rs:582:(.text._ZN7windows5Win326System7Console20SetConsoleCursorInfo17hc557f836feb944e0E+0x4d): undefined reference to `SetConsoleCursorInfo' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/snake_game-681b47ddc50bcdd4.snake_game.390ac0bfcb9587fb-cgu.0.rcgu.o: in function `windows::Win32::System::Console::SetConsoleCursorPosition': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/Console/mod.rs:592:(.text._ZN7windows5Win326System7Console24SetConsoleCursorPosition17hd3cf33f15eba0634E+0x74): undefined reference to `SetConsoleCursorPosition' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libwindows_core-9a3ab79dd8ef86f9.rlib(windows_core-9a3ab79dd8ef86f9.windows_core.61784426323135e7-cgu.3.rcgu.o): in function `windows_core::error::Error::from_win32': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-core-0.52.0/src/error.rs:27:(.text._ZN12windows_core5error5Error10from_win3217h0ab245050fc0799bE+0x4): undefined reference to `GetLastError' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libwindows_core-9a3ab79dd8ef86f9.rlib(windows_core-9a3ab79dd8ef86f9.windows_core.61784426323135e7-cgu.3.rcgu.o): in function `windows_core::hresult::HRESULT::message': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-core-0.52.0/src/hresult.rs:88:(.text._ZN12windows_core7hresult7HRESULT7message17h7afce8da8b9a1b43E+0x5b): undefined reference to `FormatMessageW' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libwindows_core-9a3ab79dd8ef86f9.rlib(windows_core-9a3ab79dd8ef86f9.windows_core.61784426323135e7-cgu.4.rcgu.o): in function `windows_core::imp::delay_load::delay_load': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-core-0.52.0/src/imp/delay_load.rs:11:(.text._ZN12windows_core3imp10delay_load10delay_load17hdc3ad9ac171c8007E+0x1d): undefined reference to `LoadLibraryExA' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-core-0.52.0/src/imp/delay_load.rs:17:(.text._ZN12windows_core3imp10delay_load10delay_load17hdc3ad9ac171c8007E+0x47): undefined reference to `GetProcAddress' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-core-0.52.0/src/imp/delay_load.rs:23:(.text._ZN12windows_core3imp10delay_load10delay_load17hdc3ad9ac171c8007E+0x72): undefined reference to `FreeLibrary' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libwindows_core-9a3ab79dd8ef86f9.rlib(windows_core-9a3ab79dd8ef86f9.windows_core.61784426323135e7-cgu.4.rcgu.o): in function `windows_core::strings::bstr::BSTR::len': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-core-0.52.0/src/strings/bstr.rs:26:(.text._ZN12windows_core7strings4bstr4BSTR3len17hc03d23b4e2f407b8E+0x23): undefined reference to `SysStringLen' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libwindows_core-9a3ab79dd8ef86f9.rlib(windows_core-9a3ab79dd8ef86f9.windows_core.61784426323135e7-cgu.4.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-core-0.52.0/src/strings/bstr.rs:155:(.text._ZN75_$LT$windows_core..strings..bstr..BSTR$u20$as$u20$core..ops..drop..Drop$GT$4drop17h513cde40485cb43eE+0x25): undefined reference to `SysFreeString' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libwindows_core-9a3ab79dd8ef86f9.rlib(windows_core-9a3ab79dd8ef86f9.windows_core.61784426323135e7-cgu.8.rcgu.o): in function `windows_core::imp::heap::heap_alloc': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-core-0.52.0/src/imp/heap.rs:10:(.text._ZN12windows_core3imp4heap10heap_alloc17heb010e6a95d02742E+0x1a): undefined reference to `GetProcessHeap' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-core-0.52.0/src/imp/heap.rs:10:(.text._ZN12windows_core3imp4heap10heap_alloc17heb010e6a95d02742E+0x2a): undefined reference to `HeapAlloc' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libwindows_core-9a3ab79dd8ef86f9.rlib(windows_core-9a3ab79dd8ef86f9.windows_core.61784426323135e7-cgu.8.rcgu.o): in function `windows_core::imp::heap::heap_free': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-core-0.52.0/src/imp/heap.rs:34:(.text._ZN12windows_core3imp4heap9heap_free17h76b8d860be6e47f3E+0x10): undefined reference to `GetProcessHeap' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-core-0.52.0/src/imp/heap.rs:34:(.text._ZN12windows_core3imp4heap9heap_free17h76b8d860be6e47f3E+0x20): undefined reference to `HeapFree' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libwindows_core-9a3ab79dd8ef86f9.rlib(windows_core-9a3ab79dd8ef86f9.windows_core.61784426323135e7-cgu.0.rcgu.o): in function `windows_core::imp::com_bindings::GetErrorInfo': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-core-0.52.0/src/imp/com_bindings.rs:23:(.text._ZN12windows_core3imp12com_bindings12GetErrorInfo17hec61c21abb54ebafE+0x9a): undefined reference to `GetErrorInfo' [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 `snake-game` (bin "snake-game") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "42fb8ae2d123f297eccc76323d0c69c69e6081a6e399ae5553d7e50dbb56d867", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42fb8ae2d123f297eccc76323d0c69c69e6081a6e399ae5553d7e50dbb56d867", kill_on_drop: false }` [INFO] [stdout] 42fb8ae2d123f297eccc76323d0c69c69e6081a6e399ae5553d7e50dbb56d867