[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 1.98.0-beta.1 for beta-1.98-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fholysmokes7%2Fsnake-game" "/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/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-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/holysmokes7/snake-game on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "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" "+1.98.0-beta.1" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] be86e59c506cc3aecda4b3a7a03afa35f4b7387801408117d306563544f44158
[INFO] running `Command { std: "docker" "start" "be86e59c506cc3aecda4b3a7a03afa35f4b7387801408117d306563544f44158", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "be86e59c506cc3aecda4b3a7a03afa35f4b7387801408117d306563544f44158", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "be86e59c506cc3aecda4b3a7a03afa35f4b7387801408117d306563544f44158" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "be86e59c506cc3aecda4b3a7a03afa35f4b7387801408117d306563544f44158", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "be86e59c506cc3aecda4b3a7a03afa35f4b7387801408117d306563544f44158" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.150
[INFO] [stderr]    Compiling windows_x86_64_gnu v0.52.0
[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 getrandom v0.2.11
[INFO] [stderr]    Compiling windows v0.52.0
[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" "/opt/rustwide/target/debug/deps/rustc71aMt1/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libwindows-9ca5b60d180c9a94,libwindows_core-f3bb2c3a5db7e794,libwindows_targets-92cca6b00ab362ba,librand-581ca294ce282488,librand_chacha-9eb9f9e6fe3d095c,libppv_lite86-74d192d5fb0d20a2,librand_core-4ae02198638f1f9e,libgetrandom-22a7b6d5baa7132b,liblibc-fdf67b0bbf015280,libcfg_if-3e7fc4e38d4a72b5}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lc" "-lm" "-lrt" "-lpthread" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/opt/rustwide/target/debug/deps/rustc71aMt1/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/snake_game-7c37d316b846f10a" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: undefined symbol: WriteConsoleA
[INFO] [stdout]           >>> referenced by mod.rs:748 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/Console/mod.rs:748)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/deps/snake_game-7c37d316b846f10a.snake_game.dd59b561a5ce7d16-cgu.0.rcgu.o:(windows::Win32::System::Console::WriteConsoleA::<windows::Win32::Foundation::HANDLE>)
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: GetConsoleCursorInfo
[INFO] [stdout]           >>> referenced by mod.rs:252 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/Console/mod.rs:252)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/deps/snake_game-7c37d316b846f10a.snake_game.dd59b561a5ce7d16-cgu.0.rcgu.o:(windows::Win32::System::Console::GetConsoleCursorInfo::<windows::Win32::Foundation::HANDLE>)
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: SetConsoleCursorInfo
[INFO] [stdout]           >>> referenced by mod.rs:582 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/Console/mod.rs:582)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/deps/snake_game-7c37d316b846f10a.snake_game.dd59b561a5ce7d16-cgu.0.rcgu.o:(windows::Win32::System::Console::SetConsoleCursorInfo::<windows::Win32::Foundation::HANDLE>)
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: SetConsoleCursorPosition
[INFO] [stdout]           >>> referenced by mod.rs:592 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/Console/mod.rs:592)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/deps/snake_game-7c37d316b846f10a.snake_game.dd59b561a5ce7d16-cgu.0.rcgu.o:(windows::Win32::System::Console::SetConsoleCursorPosition::<windows::Win32::Foundation::HANDLE>)
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: GetStdHandle
[INFO] [stdout]           >>> referenced by mod.rs:406 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/Console/mod.rs:406)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/deps/snake_game-7c37d316b846f10a.snake_game.dd59b561a5ce7d16-cgu.0.rcgu.o:(windows::Win32::System::Console::GetStdHandle)
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: GetAsyncKeyState
[INFO] [stdout]           >>> referenced by mod.rs:53 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/UI/Input/KeyboardAndMouse/mod.rs:53)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/deps/snake_game-7c37d316b846f10a.snake_game.dd59b561a5ce7d16-cgu.0.rcgu.o:(windows::Win32::UI::Input::KeyboardAndMouse::GetAsyncKeyState)
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: GetErrorInfo
[INFO] [stdout]           >>> referenced by com_bindings.rs:23 (src/imp/com_bindings.rs:23)
[INFO] [stdout]           >>>               windows_core-f3bb2c3a5db7e794.windows_core.d5972bb3a447bbf1-cgu.2.rcgu.o:(windows_core::imp::com_bindings::GetErrorInfo) in archive /opt/rustwide/target/debug/deps/libwindows_core-f3bb2c3a5db7e794.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: GetLastError
[INFO] [stdout]           >>> referenced by error.rs:27 (src/error.rs:27)
[INFO] [stdout]           >>>               windows_core-f3bb2c3a5db7e794.windows_core.d5972bb3a447bbf1-cgu.3.rcgu.o:(<windows_core::error::Error>::from_win32) in archive /opt/rustwide/target/debug/deps/libwindows_core-f3bb2c3a5db7e794.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: SysStringLen
[INFO] [stdout]           >>> referenced by bstr.rs:26 (src/strings/bstr.rs:26)
[INFO] [stdout]           >>>               windows_core-f3bb2c3a5db7e794.windows_core.d5972bb3a447bbf1-cgu.3.rcgu.o:(<windows_core::strings::bstr::BSTR>::len) in archive /opt/rustwide/target/debug/deps/libwindows_core-f3bb2c3a5db7e794.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: GetProcessHeap
[INFO] [stdout]           >>> referenced by heap.rs:10 (src/imp/heap.rs:10)
[INFO] [stdout]           >>>               windows_core-f3bb2c3a5db7e794.windows_core.d5972bb3a447bbf1-cgu.3.rcgu.o:(windows_core::imp::heap::heap_alloc) in archive /opt/rustwide/target/debug/deps/libwindows_core-f3bb2c3a5db7e794.rlib
[INFO] [stdout]           >>> referenced by heap.rs:34 (src/imp/heap.rs:34)
[INFO] [stdout]           >>>               windows_core-f3bb2c3a5db7e794.windows_core.d5972bb3a447bbf1-cgu.3.rcgu.o:(windows_core::imp::heap::heap_free) in archive /opt/rustwide/target/debug/deps/libwindows_core-f3bb2c3a5db7e794.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: HeapAlloc
[INFO] [stdout]           >>> referenced by heap.rs:10 (src/imp/heap.rs:10)
[INFO] [stdout]           >>>               windows_core-f3bb2c3a5db7e794.windows_core.d5972bb3a447bbf1-cgu.3.rcgu.o:(windows_core::imp::heap::heap_alloc) in archive /opt/rustwide/target/debug/deps/libwindows_core-f3bb2c3a5db7e794.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: HeapFree
[INFO] [stdout]           >>> referenced by heap.rs:34 (src/imp/heap.rs:34)
[INFO] [stdout]           >>>               windows_core-f3bb2c3a5db7e794.windows_core.d5972bb3a447bbf1-cgu.3.rcgu.o:(windows_core::imp::heap::heap_free) in archive /opt/rustwide/target/debug/deps/libwindows_core-f3bb2c3a5db7e794.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: SysFreeString
[INFO] [stdout]           >>> referenced by bstr.rs:155 (src/strings/bstr.rs:155)
[INFO] [stdout]           >>>               windows_core-f3bb2c3a5db7e794.windows_core.d5972bb3a447bbf1-cgu.3.rcgu.o:(<windows_core::strings::bstr::BSTR as core::ops::drop::Drop>::drop) in archive /opt/rustwide/target/debug/deps/libwindows_core-f3bb2c3a5db7e794.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: LoadLibraryExA
[INFO] [stdout]           >>> referenced by delay_load.rs:11 (src/imp/delay_load.rs:11)
[INFO] [stdout]           >>>               windows_core-f3bb2c3a5db7e794.windows_core.d5972bb3a447bbf1-cgu.4.rcgu.o:(windows_core::imp::delay_load::delay_load::<extern "system" fn(windows_core::hresult::HRESULT, *mut core::ffi::c_void) -> i32>) in archive /opt/rustwide/target/debug/deps/libwindows_core-f3bb2c3a5db7e794.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: GetProcAddress
[INFO] [stdout]           >>> referenced by delay_load.rs:17 (src/imp/delay_load.rs:17)
[INFO] [stdout]           >>>               windows_core-f3bb2c3a5db7e794.windows_core.d5972bb3a447bbf1-cgu.4.rcgu.o:(windows_core::imp::delay_load::delay_load::<extern "system" fn(windows_core::hresult::HRESULT, *mut core::ffi::c_void) -> i32>) in archive /opt/rustwide/target/debug/deps/libwindows_core-f3bb2c3a5db7e794.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: FreeLibrary
[INFO] [stdout]           >>> referenced by delay_load.rs:23 (src/imp/delay_load.rs:23)
[INFO] [stdout]           >>>               windows_core-f3bb2c3a5db7e794.windows_core.d5972bb3a447bbf1-cgu.4.rcgu.o:(windows_core::imp::delay_load::delay_load::<extern "system" fn(windows_core::hresult::HRESULT, *mut core::ffi::c_void) -> i32>) in archive /opt/rustwide/target/debug/deps/libwindows_core-f3bb2c3a5db7e794.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: FormatMessageW
[INFO] [stdout]           >>> referenced by hresult.rs:88 (src/hresult.rs:88)
[INFO] [stdout]           >>>               windows_core-f3bb2c3a5db7e794.windows_core.d5972bb3a447bbf1-cgu.5.rcgu.o:(<windows_core::hresult::HRESULT>::message) in archive /opt/rustwide/target/debug/deps/libwindows_core-f3bb2c3a5db7e794.rlib
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[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" "be86e59c506cc3aecda4b3a7a03afa35f4b7387801408117d306563544f44158", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be86e59c506cc3aecda4b3a7a03afa35f4b7387801408117d306563544f44158", kill_on_drop: false }`
[INFO] [stdout] be86e59c506cc3aecda4b3a7a03afa35f4b7387801408117d306563544f44158
