[INFO] cloning repository https://github.com/jestarray/handmadehero-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jestarray/handmadehero-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjestarray%2Fhandmadehero-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjestarray%2Fhandmadehero-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 82d62c17859f7c960ca204e2b407980568e8a9d0 [INFO] checking jestarray/handmadehero-rust against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjestarray%2Fhandmadehero-rust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jestarray/handmadehero-rust on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jestarray/handmadehero-rust [INFO] finished tweaking git repo https://github.com/jestarray/handmadehero-rust [INFO] tweaked toml for git repo https://github.com/jestarray/handmadehero-rust written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jestarray/handmadehero-rust 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: lib.src [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a1500fc0d1bed7e7d34b2f8f05f15bda1359571bb0b43f8aab11b80191c1c549 [INFO] running `Command { std: "docker" "start" "-a" "a1500fc0d1bed7e7d34b2f8f05f15bda1359571bb0b43f8aab11b80191c1c549", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1500fc0d1bed7e7d34b2f8f05f15bda1359571bb0b43f8aab11b80191c1c549", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1500fc0d1bed7e7d34b2f8f05f15bda1359571bb0b43f8aab11b80191c1c549", kill_on_drop: false }` [INFO] [stdout] a1500fc0d1bed7e7d34b2f8f05f15bda1359571bb0b43f8aab11b80191c1c549 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fea0858d87fb7ea00e8a9cf328dd198a69e0b1e1d0d429a6ef8e9e4c0e71c832 [INFO] running `Command { std: "docker" "start" "-a" "fea0858d87fb7ea00e8a9cf328dd198a69e0b1e1d0d429a6ef8e9e4c0e71c832", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: lib.src [INFO] [stderr] Checking handmadehero-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/win32_handmade.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | os::windows::ffi::OsStrExt, [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/os/mod.rs:53:9 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/os/mod.rs:100:9 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::minwinbase::GetFileExInfoStandard; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::winuser::GetMonitorInfoA; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::um::winuser::GetWindowLongA; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::um::winuser::GetWindowPlacement; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::um::winuser::MonitorFromWindow; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/win32_handmade.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | os::windows::ffi::OsStrExt, [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/os/mod.rs:53:9 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/os/mod.rs:100:9 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::um::winuser::SetCursor; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::minwinbase::GetFileExInfoStandard; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use winapi::um::winuser::SetWindowLongA; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::winuser::GetMonitorInfoA; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use winapi::um::winuser::SetWindowPlacement; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::um::winuser::GetWindowLongA; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::um::winuser::GWL_STYLE; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::um::winuser::GetWindowPlacement; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use winapi::um::winuser::HWND_TOP; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use winapi::um::winuser::MONITOR_DEFAULTTOPRIMARY; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::um::winuser::MonitorFromWindow; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::um::winuser::SetCursor; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use winapi::um::winuser::WM_SETCURSOR; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use winapi::um::winuser::SetWindowLongA; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use winapi::um::winuser::SetWindowPlacement; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::um::winuser::GWL_STYLE; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use winapi::um::winuser::HWND_TOP; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | use winapi::um::winuser::SetWindowPos; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use winapi::um::winuser::MONITOR_DEFAULTTOPRIMARY; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | use winapi::um::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use winapi::um::winuser::WM_SETCURSOR; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | use winapi::um::fileapi::WIN32_FILE_ATTRIBUTE_DATA; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | use winapi::um::winuser::LoadCursorW; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | use winapi::um::winuser::SetWindowPos; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | use winapi::um::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | use winapi::um::fileapi::WIN32_FILE_ATTRIBUTE_DATA; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | use winapi::um::winuser::LoadCursorW; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | use winapi::um::winuser::IDC_ARROW; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | use winapi::um::winuser::MONITORINFO; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | use winapi::um::winuser::SWP_FRAMECHANGED; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | use winapi::um::winuser::IDC_ARROW; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | use winapi::um::winuser::SWP_NOMOVE; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | use winapi::um::winuser::SWP_NOOWNERZORDER; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | use winapi::um::winuser::SWP_NOSIZE; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | use winapi::um::winuser::SWP_NOZORDER; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | use winapi::um::winuser::MONITORINFO; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | use winapi::um::winuser::WINDOWPLACEMENT; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | use winapi::um::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | use winapi::um::winuser::SWP_FRAMECHANGED; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | use winapi::um::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | use winapi::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | use winapi::um::winuser::SWP_NOMOVE; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | use winapi::um::winuser::SWP_NOOWNERZORDER; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | use winapi::um::winuser::SWP_NOSIZE; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | use winapi::um::winuser::SWP_NOZORDER; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | use winapi::um::winuser::WINDOWPLACEMENT; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | use winapi::um::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | use winapi::um::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | use winapi::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:181:19 [INFO] [stdout] | [INFO] [stdout] 181 | 0 as *mut winapi::um::minwinbase::SECURITY_ATTRIBUTES, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:181:19 [INFO] [stdout] | [INFO] [stdout] 181 | 0 as *mut winapi::um::minwinbase::SECURITY_ATTRIBUTES, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:200:45 [INFO] [stdout] | [INFO] [stdout] 200 | result.contents as *mut winapi::ctypes::c_void, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:200:45 [INFO] [stdout] | [INFO] [stdout] 200 | result.contents as *mut winapi::ctypes::c_void, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:225:36 [INFO] [stdout] | [INFO] [stdout] 225 | VirtualFree(memory as *mut winapi::ctypes::c_void, 0, MEM_RELEASE); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:225:36 [INFO] [stdout] | [INFO] [stdout] 225 | VirtualFree(memory as *mut winapi::ctypes::c_void, 0, MEM_RELEASE); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:240:19 [INFO] [stdout] | [INFO] [stdout] 240 | 0 as *mut winapi::um::minwinbase::SECURITY_ATTRIBUTES, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:240:19 [INFO] [stdout] | [INFO] [stdout] 240 | 0 as *mut winapi::um::minwinbase::SECURITY_ATTRIBUTES, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:250:30 [INFO] [stdout] | [INFO] [stdout] 250 | memory as *const winapi::ctypes::c_void, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:250:30 [INFO] [stdout] | [INFO] [stdout] 250 | memory as *const winapi::ctypes::c_void, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:1067:23 [INFO] [stdout] | [INFO] [stdout] 1067 | 0 as *mut winapi::shared::windef::HWND__, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:1067:23 [INFO] [stdout] | [INFO] [stdout] 1067 | 0 as *mut winapi::shared::windef::HWND__, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_SYSKEYUP` is not bound in all patterns [INFO] [stdout] --> src/win32_handmade.rs:1088:13 [INFO] [stdout] | [INFO] [stdout] 1088 | WM_SYSKEYDOWN | WM_SYSKEYUP | WM_KEYDOWN | WM_KEYUP => { [INFO] [stdout] | ^^^^^^^^^^^^^ ----------- ^^^^^^^^^^ ^^^^^^^^ pattern doesn't bind `WM_SYSKEYUP` [INFO] [stdout] | | | | [INFO] [stdout] | | | pattern doesn't bind `WM_SYSKEYUP` [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `WM_SYSKEYUP` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `path::to::ModOrType::WM_SYSKEYUP` [INFO] [stdout] --> src/win32_handmade.rs:1088:29 [INFO] [stdout] | [INFO] [stdout] 1088 | WM_SYSKEYDOWN | WM_SYSKEYUP | WM_KEYDOWN | WM_KEYUP => { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_SYSKEYUP` is not bound in all patterns [INFO] [stdout] --> src/win32_handmade.rs:1088:13 [INFO] [stdout] | [INFO] [stdout] 1088 | WM_SYSKEYDOWN | WM_SYSKEYUP | WM_KEYDOWN | WM_KEYUP => { [INFO] [stdout] | ^^^^^^^^^^^^^ ----------- ^^^^^^^^^^ ^^^^^^^^ pattern doesn't bind `WM_SYSKEYUP` [INFO] [stdout] | | | | [INFO] [stdout] | | | pattern doesn't bind `WM_SYSKEYUP` [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `WM_SYSKEYUP` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `path::to::ModOrType::WM_SYSKEYUP` [INFO] [stdout] --> src/win32_handmade.rs:1088:29 [INFO] [stdout] | [INFO] [stdout] 1088 | WM_SYSKEYDOWN | WM_SYSKEYUP | WM_KEYDOWN | WM_KEYUP => { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_KEYDOWN` is not bound in all patterns [INFO] [stdout] --> src/win32_handmade.rs:1088:13 [INFO] [stdout] | [INFO] [stdout] 1088 | WM_SYSKEYDOWN | WM_SYSKEYUP | WM_KEYDOWN | WM_KEYUP => { [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ ---------- ^^^^^^^^ pattern doesn't bind `WM_KEYDOWN` [INFO] [stdout] | | | | [INFO] [stdout] | | | variable not in all patterns [INFO] [stdout] | | pattern doesn't bind `WM_KEYDOWN` [INFO] [stdout] | pattern doesn't bind `WM_KEYDOWN` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `path::to::ModOrType::WM_KEYDOWN` [INFO] [stdout] --> src/win32_handmade.rs:1088:43 [INFO] [stdout] | [INFO] [stdout] 1088 | WM_SYSKEYDOWN | WM_SYSKEYUP | WM_KEYDOWN | WM_KEYUP => { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_KEYDOWN` is not bound in all patterns [INFO] [stdout] --> src/win32_handmade.rs:1088:13 [INFO] [stdout] | [INFO] [stdout] 1088 | WM_SYSKEYDOWN | WM_SYSKEYUP | WM_KEYDOWN | WM_KEYUP => { [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ ---------- ^^^^^^^^ pattern doesn't bind `WM_KEYDOWN` [INFO] [stdout] | | | | [INFO] [stdout] | | | variable not in all patterns [INFO] [stdout] | | pattern doesn't bind `WM_KEYDOWN` [INFO] [stdout] | pattern doesn't bind `WM_KEYDOWN` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `path::to::ModOrType::WM_KEYDOWN` [INFO] [stdout] --> src/win32_handmade.rs:1088:43 [INFO] [stdout] | [INFO] [stdout] 1088 | WM_SYSKEYDOWN | WM_SYSKEYUP | WM_KEYDOWN | WM_KEYUP => { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_KEYUP` is not bound in all patterns [INFO] [stdout] --> src/win32_handmade.rs:1088:13 [INFO] [stdout] | [INFO] [stdout] 1088 | WM_SYSKEYDOWN | WM_SYSKEYUP | WM_KEYDOWN | WM_KEYUP => { [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ -------- variable not in all patterns [INFO] [stdout] | | | | [INFO] [stdout] | | | pattern doesn't bind `WM_KEYUP` [INFO] [stdout] | | pattern doesn't bind `WM_KEYUP` [INFO] [stdout] | pattern doesn't bind `WM_KEYUP` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `path::to::ModOrType::WM_KEYUP` [INFO] [stdout] --> src/win32_handmade.rs:1088:56 [INFO] [stdout] | [INFO] [stdout] 1088 | WM_SYSKEYDOWN | WM_SYSKEYUP | WM_KEYDOWN | WM_KEYUP => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_KEYUP` is not bound in all patterns [INFO] [stdout] --> src/win32_handmade.rs:1088:13 [INFO] [stdout] | [INFO] [stdout] 1088 | WM_SYSKEYDOWN | WM_SYSKEYUP | WM_KEYDOWN | WM_KEYUP => { [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ -------- variable not in all patterns [INFO] [stdout] | | | | [INFO] [stdout] | | | pattern doesn't bind `WM_KEYUP` [INFO] [stdout] | | pattern doesn't bind `WM_KEYUP` [INFO] [stdout] | pattern doesn't bind `WM_KEYUP` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `path::to::ModOrType::WM_KEYUP` [INFO] [stdout] --> src/win32_handmade.rs:1088:56 [INFO] [stdout] | [INFO] [stdout] 1088 | WM_SYSKEYDOWN | WM_SYSKEYUP | WM_KEYDOWN | WM_KEYUP => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_SYSKEYDOWN` is not bound in all patterns [INFO] [stdout] --> src/win32_handmade.rs:1088:29 [INFO] [stdout] | [INFO] [stdout] 1088 | WM_SYSKEYDOWN | WM_SYSKEYUP | WM_KEYDOWN | WM_KEYUP => { [INFO] [stdout] | ------------- ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ pattern doesn't bind `WM_SYSKEYDOWN` [INFO] [stdout] | | | | [INFO] [stdout] | | | pattern doesn't bind `WM_SYSKEYDOWN` [INFO] [stdout] | | pattern doesn't bind `WM_SYSKEYDOWN` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `path::to::ModOrType::WM_SYSKEYDOWN` [INFO] [stdout] --> src/win32_handmade.rs:1088:13 [INFO] [stdout] | [INFO] [stdout] 1088 | WM_SYSKEYDOWN | WM_SYSKEYUP | WM_KEYDOWN | WM_KEYUP => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_SYSKEYDOWN` is not bound in all patterns [INFO] [stdout] --> src/win32_handmade.rs:1088:29 [INFO] [stdout] | [INFO] [stdout] 1088 | WM_SYSKEYDOWN | WM_SYSKEYUP | WM_KEYDOWN | WM_KEYUP => { [INFO] [stdout] | ------------- ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ pattern doesn't bind `WM_SYSKEYDOWN` [INFO] [stdout] | | | | [INFO] [stdout] | | | pattern doesn't bind `WM_SYSKEYDOWN` [INFO] [stdout] | | pattern doesn't bind `WM_SYSKEYDOWN` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `path::to::ModOrType::WM_SYSKEYDOWN` [INFO] [stdout] --> src/win32_handmade.rs:1088:13 [INFO] [stdout] | [INFO] [stdout] 1088 | WM_SYSKEYDOWN | WM_SYSKEYUP | WM_KEYDOWN | WM_KEYUP => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:1237:37 [INFO] [stdout] | [INFO] [stdout] 1237 | SetCursor(0 as *mut winapi::shared::windef::HICON__); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:1237:37 [INFO] [stdout] | [INFO] [stdout] 1237 | SetCursor(0 as *mut winapi::shared::windef::HICON__); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:1694:59 [INFO] [stdout] | [INFO] [stdout] 1694 | ... let mut controller_state: winapi::um::xinput::XINPUT_STATE = [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:1694:59 [INFO] [stdout] | [INFO] [stdout] 1694 | ... let mut controller_state: winapi::um::xinput::XINPUT_STATE = [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:1697:40 [INFO] [stdout] | [INFO] [stdout] 1697 | ... == winapi::shared::winerror::ERROR_SUCCESS [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:1697:40 [INFO] [stdout] | [INFO] [stdout] 1697 | ... == winapi::shared::winerror::ERROR_SUCCESS [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:1705:56 [INFO] [stdout] | [INFO] [stdout] 1705 | ... pad.wButtons & winapi::um::xinput::XINPUT_GAMEPAD_DPAD_UP; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:1705:56 [INFO] [stdout] | [INFO] [stdout] 1705 | ... pad.wButtons & winapi::um::xinput::XINPUT_GAMEPAD_DPAD_UP; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:1707:56 [INFO] [stdout] | [INFO] [stdout] 1707 | ... pad.wButtons & winapi::um::xinput::XINPUT_GAMEPAD_DPAD_DOWN; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:1707:56 [INFO] [stdout] | [INFO] [stdout] 1707 | ... pad.wButtons & winapi::um::xinput::XINPUT_GAMEPAD_DPAD_DOWN; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:1709:56 [INFO] [stdout] | [INFO] [stdout] 1709 | ... pad.wButtons & winapi::um::xinput::XINPUT_GAMEPAD_DPAD_LEFT; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:1709:56 [INFO] [stdout] | [INFO] [stdout] 1709 | ... pad.wButtons & winapi::um::xinput::XINPUT_GAMEPAD_DPAD_LEFT; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:1711:43 [INFO] [stdout] | [INFO] [stdout] 1711 | ... & winapi::um::xinput::XINPUT_GAMEPAD_DPAD_RIGHT; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:1711:43 [INFO] [stdout] | [INFO] [stdout] 1711 | ... & winapi::um::xinput::XINPUT_GAMEPAD_DPAD_RIGHT; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:1797:41 [INFO] [stdout] | [INFO] [stdout] 1797 | ... winapi::um::xinput::XINPUT_GAMEPAD_A.into(), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:1797:41 [INFO] [stdout] | [INFO] [stdout] 1797 | ... winapi::um::xinput::XINPUT_GAMEPAD_A.into(), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:1803:41 [INFO] [stdout] | [INFO] [stdout] 1803 | ... winapi::um::xinput::XINPUT_GAMEPAD_B.into(), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:1803:41 [INFO] [stdout] | [INFO] [stdout] 1803 | ... winapi::um::xinput::XINPUT_GAMEPAD_B.into(), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:1810:41 [INFO] [stdout] | [INFO] [stdout] 1810 | ... winapi::um::xinput::XINPUT_GAMEPAD_X.into(), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:1810:41 [INFO] [stdout] | [INFO] [stdout] 1810 | ... winapi::um::xinput::XINPUT_GAMEPAD_X.into(), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:1817:41 [INFO] [stdout] | [INFO] [stdout] 1817 | ... winapi::um::xinput::XINPUT_GAMEPAD_Y.into(), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:1817:41 [INFO] [stdout] | [INFO] [stdout] 1817 | ... winapi::um::xinput::XINPUT_GAMEPAD_Y.into(), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:1824:41 [INFO] [stdout] | [INFO] [stdout] 1824 | ... winapi::um::xinput::XINPUT_GAMEPAD_LEFT_SHOULDER.into(), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:1824:41 [INFO] [stdout] | [INFO] [stdout] 1824 | ... winapi::um::xinput::XINPUT_GAMEPAD_LEFT_SHOULDER.into(), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:1831:41 [INFO] [stdout] | [INFO] [stdout] 1831 | ... winapi::um::xinput::XINPUT_GAMEPAD_RIGHT_SHOULDER.into(), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:1831:41 [INFO] [stdout] | [INFO] [stdout] 1831 | ... winapi::um::xinput::XINPUT_GAMEPAD_RIGHT_SHOULDER.into(), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:1838:41 [INFO] [stdout] | [INFO] [stdout] 1838 | ... winapi::um::xinput::XINPUT_GAMEPAD_START.into(), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:1838:41 [INFO] [stdout] | [INFO] [stdout] 1838 | ... winapi::um::xinput::XINPUT_GAMEPAD_START.into(), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:1845:41 [INFO] [stdout] | [INFO] [stdout] 1845 | ... winapi::um::xinput::XINPUT_GAMEPAD_BACK.into(), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:1845:41 [INFO] [stdout] | [INFO] [stdout] 1845 | ... winapi::um::xinput::XINPUT_GAMEPAD_BACK.into(), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/win32_handmade.rs:1276:23 [INFO] [stdout] | [INFO] [stdout] 1276 | OsStr::new(value).encode_wide().chain(once(0)).collect() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/win32_handmade.rs:1276:23 [INFO] [stdout] | [INFO] [stdout] 1276 | OsStr::new(value).encode_wide().chain(once(0)).collect() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `iter_mut` exists for array `[win32_replay_buffer; 4]`, but its trait bounds were not satisfied [INFO] [stdout] --> src/win32_handmade.rs:1549:59 [INFO] [stdout] | [INFO] [stdout] 300 | struct win32_replay_buffer { [INFO] [stdout] | -------------------------- doesn't satisfy `win32_replay_buffer: Sized` [INFO] [stdout] ... [INFO] [stdout] 1549 | for (ReplayBuffer) in State.ReplayBuffers.iter_mut() [INFO] [stdout] | ^^^^^^^^ method cannot be called on `[win32_replay_buffer; 4]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `win32_replay_buffer: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `iter_mut` exists for array `[win32_replay_buffer; 4]`, but its trait bounds were not satisfied [INFO] [stdout] --> src/win32_handmade.rs:1549:59 [INFO] [stdout] | [INFO] [stdout] 300 | struct win32_replay_buffer { [INFO] [stdout] | -------------------------- doesn't satisfy `win32_replay_buffer: Sized` [INFO] [stdout] ... [INFO] [stdout] 1549 | for (ReplayBuffer) in State.ReplayBuffers.iter_mut() [INFO] [stdout] | ^^^^^^^^ method cannot be called on `[win32_replay_buffer; 4]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `win32_replay_buffer: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `FlipPlayCursor` on type `&mut _` [INFO] [stdout] --> src/win32_handmade.rs:2059:44 [INFO] [stdout] | [INFO] [stdout] 2059 | ... Marker.FlipPlayCursor = PlayCursor; [INFO] [stdout] | ^^^^^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `FlipPlayCursor` on type `&mut _` [INFO] [stdout] --> src/win32_handmade.rs:2059:44 [INFO] [stdout] | [INFO] [stdout] 2059 | ... Marker.FlipPlayCursor = PlayCursor; [INFO] [stdout] | ^^^^^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `len` exists for array `[win32_debug_time_marker; 30]`, but its trait bounds were not satisfied [INFO] [stdout] --> src/win32_handmade.rs:2082:77 [INFO] [stdout] | [INFO] [stdout] 286 | struct win32_debug_time_marker { [INFO] [stdout] | ------------------------------ doesn't satisfy `win32_debug_time_marker: Sized` [INFO] [stdout] ... [INFO] [stdout] 2082 | if DebugTimeMarkerIndex == DebugTimeMarkers.len() as i32 { [INFO] [stdout] | ^^^ method cannot be called on `[win32_debug_time_marker; 30]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `win32_debug_time_marker: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `len` exists for array `[win32_debug_time_marker; 30]`, but its trait bounds were not satisfied [INFO] [stdout] --> src/win32_handmade.rs:2082:77 [INFO] [stdout] | [INFO] [stdout] 286 | struct win32_debug_time_marker { [INFO] [stdout] | ------------------------------ doesn't satisfy `win32_debug_time_marker: Sized` [INFO] [stdout] ... [INFO] [stdout] 2082 | if DebugTimeMarkerIndex == DebugTimeMarkers.len() as i32 { [INFO] [stdout] | ^^^ method cannot be called on `[win32_debug_time_marker; 30]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `win32_debug_time_marker: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 58 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0408, E0433, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0408`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 58 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0408, E0433, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0408`. [INFO] [stdout] [INFO] [stderr] error: could not compile `handmadehero-rust` (bin "win32_handmade") due to 59 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `handmadehero-rust` (bin "win32_handmade" test) due to 59 previous errors [INFO] running `Command { std: "docker" "inspect" "fea0858d87fb7ea00e8a9cf328dd198a69e0b1e1d0d429a6ef8e9e4c0e71c832", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fea0858d87fb7ea00e8a9cf328dd198a69e0b1e1d0d429a6ef8e9e4c0e71c832", kill_on_drop: false }` [INFO] [stdout] fea0858d87fb7ea00e8a9cf328dd198a69e0b1e1d0d429a6ef8e9e4c0e71c832 [INFO] checking jestarray/handmadehero-rust against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjestarray%2Fhandmadehero-rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jestarray/handmadehero-rust on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jestarray/handmadehero-rust [INFO] finished tweaking git repo https://github.com/jestarray/handmadehero-rust [INFO] tweaked toml for git repo https://github.com/jestarray/handmadehero-rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jestarray/handmadehero-rust 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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: lib.src [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e60ad3e9d26695d7429272fd406ba31644b88a6e56bc3dd6754d2a83c30fdbdb [INFO] running `Command { std: "docker" "start" "-a" "e60ad3e9d26695d7429272fd406ba31644b88a6e56bc3dd6754d2a83c30fdbdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e60ad3e9d26695d7429272fd406ba31644b88a6e56bc3dd6754d2a83c30fdbdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e60ad3e9d26695d7429272fd406ba31644b88a6e56bc3dd6754d2a83c30fdbdb", kill_on_drop: false }` [INFO] [stdout] e60ad3e9d26695d7429272fd406ba31644b88a6e56bc3dd6754d2a83c30fdbdb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14b6912129e3210803df5834a7e878fdcd8ba324b712a162fca4e75ecf396e3d [INFO] running `Command { std: "docker" "start" "-a" "14b6912129e3210803df5834a7e878fdcd8ba324b712a162fca4e75ecf396e3d", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "14b6912129e3210803df5834a7e878fdcd8ba324b712a162fca4e75ecf396e3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14b6912129e3210803df5834a7e878fdcd8ba324b712a162fca4e75ecf396e3d", kill_on_drop: false }` [INFO] [stdout] 14b6912129e3210803df5834a7e878fdcd8ba324b712a162fca4e75ecf396e3d