[INFO] cloning repository https://github.com/qm210/garlic_crust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qm210/garlic_crust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqm210%2Fgarlic_crust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqm210%2Fgarlic_crust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 417de336d133ede1ad856d419361a754750e672c [INFO] checking qm210/garlic_crust against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqm210%2Fgarlic_crust" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/qm210/garlic_crust on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/qm210/garlic_crust [INFO] finished tweaking git repo https://github.com/qm210/garlic_crust [INFO] tweaked toml for git repo https://github.com/qm210/garlic_crust written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/qm210/garlic_crust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8ee4e35a72abf5d55d290842735ae48a49e717ee40406c6bbf6a773c21928752 [INFO] running `Command { std: "docker" "start" "-a" "8ee4e35a72abf5d55d290842735ae48a49e717ee40406c6bbf6a773c21928752", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ee4e35a72abf5d55d290842735ae48a49e717ee40406c6bbf6a773c21928752", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ee4e35a72abf5d55d290842735ae48a49e717ee40406c6bbf6a773c21928752", kill_on_drop: false }` [INFO] [stdout] 8ee4e35a72abf5d55d290842735ae48a49e717ee40406c6bbf6a773c21928752 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 70a582f900c65139892ad06730fbb9555006153a87a0cf4b22d81f6c3d99a65a [INFO] running `Command { std: "docker" "start" "-a" "70a582f900c65139892ad06730fbb9555006153a87a0cf4b22d81f6c3d99a65a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Checking midly v0.5.2 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling ron v0.6.4 [INFO] [stderr] Compiling garlic_crust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> build.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/gl.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::wingdi::wglGetProcAddress; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/gl.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::libloaderapi::LoadLibraryA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/gl.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::libloaderapi::GetProcAddress; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winnt::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::fileapi::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use winapi::um::wingdi::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | use winapi::shared::minwindef::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | use winapi::shared::windef::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | use winapi::um::libloaderapi::GetModuleHandleA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | use winapi::um::mmsystem::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/gl.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::wingdi::wglGetProcAddress; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/gl.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::libloaderapi::LoadLibraryA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/gl.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::libloaderapi::GetProcAddress; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winnt::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::fileapi::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use winapi::um::wingdi::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | use winapi::shared::minwindef::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | use winapi::shared::windef::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | use winapi::um::libloaderapi::GetModuleHandleA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | use winapi::um::mmsystem::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/gl.rs:148:183 [INFO] [stdout] | [INFO] [stdout] 148 | ...enum, target_type: GLenum, data: *mut winapi::ctypes::c_void) -> () { [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/gl.rs:149:121 [INFO] [stdout] | [INFO] [stdout] 149 | ... GLsizei, GLint, GLenum, GLenum, *mut winapi::ctypes::c_void) -> ()>(addr_glTexImage2D)(target, level, internalformat, width, height, ... [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/gl.rs:164:78 [INFO] [stdout] | [INFO] [stdout] 164 | pub unsafe fn CallLists(n: GLsizei, list_type: GLenum, lists: *const winapi::ctypes::c_void) -> () { [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/gl.rs:165:77 [INFO] [stdout] | [INFO] [stdout] 165 | mem::transmute::<_, extern "system" fn (GLsizei, GLenum, *const winapi::ctypes::c_void) -> ()>(addr_glCallLists)(n, list_type, lists); [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | winapi::um::winuser::WM_DESTROY => { [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/main.rs:118:34 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn _chkstk() -> winapi::ctypes::c_ulong; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/gl.rs:148:183 [INFO] [stdout] | [INFO] [stdout] 148 | ...enum, target_type: GLenum, data: *mut winapi::ctypes::c_void) -> () { [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/gl.rs:149:121 [INFO] [stdout] | [INFO] [stdout] 149 | ... GLsizei, GLint, GLenum, GLenum, *mut winapi::ctypes::c_void) -> ()>(addr_glTexImage2D)(target, level, internalformat, width, height, ... [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/gl.rs:164:78 [INFO] [stdout] | [INFO] [stdout] 164 | pub unsafe fn CallLists(n: GLsizei, list_type: GLenum, lists: *const winapi::ctypes::c_void) -> () { [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/gl.rs:165:77 [INFO] [stdout] | [INFO] [stdout] 165 | mem::transmute::<_, extern "system" fn (GLsizei, GLenum, *const winapi::ctypes::c_void) -> ()>(addr_glCallLists)(n, list_type, lists); [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:142:36 [INFO] [stdout] | [INFO] [stdout] 142 | devmode.dmFields = winapi::um::wingdi::DM_PELSWIDTH | winapi::um::wingdi::DM_PELSHEIGHT; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:142:71 [INFO] [stdout] | [INFO] [stdout] 142 | devmode.dmFields = winapi::um::wingdi::DM_PELSWIDTH | winapi::um::wingdi::DM_PELSHEIGHT; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | winapi::um::winuser::ChangeDisplaySettingsA(&mut devmode, CDS_FULLSCREEN); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | winapi::um::winuser::WM_DESTROY => { [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/main.rs:118:34 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn _chkstk() -> winapi::ctypes::c_ulong; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | winapi::um::wingdi::SelectObject (hdc, winapi::um::wingdi::GetStockObject (winapi::um::wingdi::SYSTEM_FONT as i32)); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:164:56 [INFO] [stdout] | [INFO] [stdout] 164 | winapi::um::wingdi::SelectObject (hdc, winapi::um::wingdi::GetStockObject (winapi::um::wingdi::SYSTEM_FONT as i32)); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:164:92 [INFO] [stdout] | [INFO] [stdout] 164 | winapi::um::wingdi::SelectObject (hdc, winapi::um::wingdi::GetStockObject (winapi::um::wingdi::SYSTEM_FONT as i32)); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | winapi::um::wingdi::wglUseFontBitmapsA (hdc, 0, 255, 1000); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:198:30 [INFO] [stdout] | [INFO] [stdout] 198 | static WAVE_FORMAT : winapi::shared::mmreg::WAVEFORMATEX = winapi::shared::mmreg::WAVEFORMATEX{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:198:68 [INFO] [stdout] | [INFO] [stdout] 198 | static WAVE_FORMAT : winapi::shared::mmreg::WAVEFORMATEX = winapi::shared::mmreg::WAVEFORMATEX{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:199:26 [INFO] [stdout] | [INFO] [stdout] 199 | wFormatTag : winapi::shared::mmreg::WAVE_FORMAT_IEEE_FLOAT, // winapi::shared::mmreg::WAVE_FORMAT_PCM, // [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:208:34 [INFO] [stdout] | [INFO] [stdout] 208 | static mut WAVE_HEADER : winapi::um::mmsystem::WAVEHDR = winapi::um::mmsystem::WAVEHDR{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:208:66 [INFO] [stdout] | [INFO] [stdout] 208 | static mut WAVE_HEADER : winapi::um::mmsystem::WAVEHDR = winapi::um::mmsystem::WAVEHDR{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:215:31 [INFO] [stdout] | [INFO] [stdout] 215 | lpNext: 0 as *mut winapi::um::mmsystem::WAVEHDR, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:240:31 [INFO] [stdout] | [INFO] [stdout] 240 | static mut H_WAVEOUT: winapi::um::mmsystem::HWAVEOUT = 0 as winapi::um::mmsystem::HWAVEOUT; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:240:69 [INFO] [stdout] | [INFO] [stdout] 240 | static mut H_WAVEOUT: winapi::um::mmsystem::HWAVEOUT = 0 as winapi::um::mmsystem::HWAVEOUT; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/main.rs:252:34 [INFO] [stdout] | [INFO] [stdout] 252 | pub type LPCSTR = *const winapi::ctypes::c_char; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/main.rs:254:30 [INFO] [stdout] | [INFO] [stdout] 254 | pub type PROC = *mut winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/main.rs:255:33 [INFO] [stdout] | [INFO] [stdout] 255 | pub type ULONG64 = *mut winapi::ctypes::c_ulong; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/main.rs:1024:139 [INFO] [stdout] | [INFO] [stdout] 1024 | ...l::RGBA, gl::UNSIGNED_BYTE, 0 as *mut winapi::ctypes::c_void); [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:142:36 [INFO] [stdout] | [INFO] [stdout] 142 | devmode.dmFields = winapi::um::wingdi::DM_PELSWIDTH | winapi::um::wingdi::DM_PELSHEIGHT; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:142:71 [INFO] [stdout] | [INFO] [stdout] 142 | devmode.dmFields = winapi::um::wingdi::DM_PELSWIDTH | winapi::um::wingdi::DM_PELSHEIGHT; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | winapi::um::winuser::ChangeDisplaySettingsA(&mut devmode, CDS_FULLSCREEN); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:1041:17 [INFO] [stdout] | [INFO] [stdout] 1041 | ... winapi::um::mmeapi::waveOutOpen( &mut H_WAVEOUT, winapi::um::mmsystem::WAVE_MAPPER, &WAVE_FORMAT, 0, 0, winapi::um::mmsystem::CALLB... [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:1041:66 [INFO] [stdout] | [INFO] [stdout] 1041 | ... winapi::um::mmeapi::waveOutOpen( &mut H_WAVEOUT, winapi::um::mmsystem::WAVE_MAPPER, &WAVE_FORMAT, 0, 0, winapi::um::mmsystem::CALLB... [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:1041:121 [INFO] [stdout] | [INFO] [stdout] 1041 | ...msystem::WAVE_MAPPER, &WAVE_FORMAT, 0, 0, winapi::um::mmsystem::CALLBACK_NULL); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:1042:17 [INFO] [stdout] | [INFO] [stdout] 1042 | ... winapi::um::mmeapi::waveOutPrepareHeader(H_WAVEOUT, &mut WAVE_HEADER, core::mem::size_of::() as u32 ); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:1042:108 [INFO] [stdout] | [INFO] [stdout] 1042 | ...T, &mut WAVE_HEADER, core::mem::size_of::() as u32 ); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:1043:17 [INFO] [stdout] | [INFO] [stdout] 1043 | winapi::um::mmeapi::waveOutWrite(H_WAVEOUT, &mut WAVE_HEADER, core::mem::size_of::() as u32 ); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:1043:100 [INFO] [stdout] | [INFO] [stdout] 1043 | winapi::um::mmeapi::waveOutWrite(H_WAVEOUT, &mut WAVE_HEADER, core::mem::size_of::() as u32 ); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:1070:24 [INFO] [stdout] | [INFO] [stdout] 1070 | if winapi::um::winuser::GetAsyncKeyState(winapi::um::winuser::VK_ESCAPE) != 0 || time >= sequence::SECONDS [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:1070:62 [INFO] [stdout] | [INFO] [stdout] 1070 | if winapi::um::winuser::GetAsyncKeyState(winapi::um::winuser::VK_ESCAPE) != 0 || time >= sequence::SECONDS [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/main.rs:1125:128 [INFO] [stdout] | [INFO] [stdout] 1125 | ...proudly present\0".as_ptr() as *const winapi::ctypes::c_void ); [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/main.rs:1127:99 [INFO] [stdout] | [INFO] [stdout] 1127 | gl::CallLists (12, gl::UNSIGNED_BYTE, "Garlic Rulez\0".as_ptr() as *const winapi::ctypes::c_void ); [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/main.rs:1129:99 [INFO] [stdout] | [INFO] [stdout] 1129 | gl::CallLists (12, gl::UNSIGNED_BYTE, "Code: QM^NR4\0".as_ptr() as *const winapi::ctypes::c_void ); [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/main.rs:1131:100 [INFO] [stdout] | [INFO] [stdout] 1131 | gl::CallLists (13, gl::UNSIGNED_BYTE, "Graphics: NR4\0".as_ptr() as *const winapi::ctypes::c_void ); [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/main.rs:1133:95 [INFO] [stdout] | [INFO] [stdout] 1133 | gl::CallLists (9, gl::UNSIGNED_BYTE, "Music: QM\0".as_ptr() as *const winapi::ctypes::c_void ); [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/main.rs:1135:128 [INFO] [stdout] | [INFO] [stdout] 1135 | ...ty prod @ UC11.\0".as_ptr() as *const winapi::ctypes::c_void ); [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/main.rs:1137:94 [INFO] [stdout] | [INFO] [stdout] 1137 | gl::CallLists (8, gl::UNSIGNED_BYTE, "Love to:\0".as_ptr() as *const winapi::ctypes::c_void ); [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/main.rs:1139:214 [INFO] [stdout] | [INFO] [stdout] 1139 | ...tronic knights,\0".as_ptr() as *const winapi::ctypes::c_void ); [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/main.rs:1141:209 [INFO] [stdout] | [INFO] [stdout] 1141 | ..., ctrl-alt-test\0".as_ptr() as *const winapi::ctypes::c_void ); [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wglGetProcAddress` in this scope [INFO] [stdout] --> src/gl.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | let addr = unsafe { wglGetProcAddress(name.as_ptr() as *const i8) as usize }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryA` in this scope [INFO] [stdout] --> src/gl.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | let handle = LoadLibraryA("Opengl32.dll\0".as_ptr() as *const i8); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/gl.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | return GetProcAddress( handle, name.as_ptr() as *const i8 ) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:86:49 [INFO] [stdout] | [INFO] [stdout] 86 | pub unsafe extern "system" fn window_proc(hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/main.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/main.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 87 | msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/main.rs:87:42 [INFO] [stdout] | [INFO] [stdout] 87 | msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | winapi::um::wingdi::SelectObject (hdc, winapi::um::wingdi::GetStockObject (winapi::um::wingdi::SYSTEM_FONT as i32)); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/main.rs:87:53 [INFO] [stdout] | [INFO] [stdout] 87 | msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope [INFO] [stdout] --> src/main.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcA` in this scope [INFO] [stdout] --> src/main.rs:93:23 [INFO] [stdout] | [INFO] [stdout] 93 | _ => { return DefWindowProcA(hwnd, msg, w_param, l_param); } [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/main.rs:123:35 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn ExitProcess(uExitCode: UINT); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWAVEOUT` in this scope [INFO] [stdout] --> src/main.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | hwo: HWAVEOUT, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPMMTIME` in this scope [INFO] [stdout] --> src/main.rs:130:15 [INFO] [stdout] | [INFO] [stdout] 130 | pmmt: LPMMTIME, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/main.rs:131:16 [INFO] [stdout] | [INFO] [stdout] 131 | cbmmt: UINT [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MMRESULT` in this scope [INFO] [stdout] --> src/main.rs:132:10 [INFO] [stdout] | [INFO] [stdout] 132 | ) -> MMRESULT; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:138:26 [INFO] [stdout] | [INFO] [stdout] 138 | fn create_window( ) -> ( HWND, HDC ) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/main.rs:138:32 [INFO] [stdout] | [INFO] [stdout] 138 | fn create_window( ) -> ( HWND, HDC ) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DEVMODEA` in this scope [INFO] [stdout] --> src/main.rs:140:27 [INFO] [stdout] | [INFO] [stdout] 140 | let mut devmode : DEVMODEA = core::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DEVMODEA` in this scope [INFO] [stdout] --> src/main.rs:141:47 [INFO] [stdout] | [INFO] [stdout] 138 | fn create_window( ) -> ( HWND, HDC ) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 141 | devmode.dmSize = core::mem::size_of::() as u16; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CDS_FULLSCREEN` in this scope [INFO] [stdout] --> src/main.rs:145:67 [INFO] [stdout] | [INFO] [stdout] 145 | winapi::um::winuser::ChangeDisplaySettingsA(&mut devmode, CDS_FULLSCREEN); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:147:20 [INFO] [stdout] | [INFO] [stdout] 147 | ... let hwnd : HWND = CreateWindowExA(0, 0xc019 as *const i8, 0 as *const i8, WS_POPUP | WS_VISIBLE | WS_MAXIMIZE, 0, 0, 0, 0, 0 as HWN... [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExA` in this scope [INFO] [stdout] --> src/main.rs:147:27 [INFO] [stdout] | [INFO] [stdout] 147 | ... let hwnd : HWND = CreateWindowExA(0, 0xc019 as *const i8, 0 as *const i8, WS_POPUP | WS_VISIBLE | WS_MAXIMIZE, 0, 0, 0, 0, 0 as HWN... [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_POPUP` in this scope [INFO] [stdout] --> src/main.rs:147:83 [INFO] [stdout] | [INFO] [stdout] 147 | ... let hwnd : HWND = CreateWindowExA(0, 0xc019 as *const i8, 0 as *const i8, WS_POPUP | WS_VISIBLE | WS_MAXIMIZE, 0, 0, 0, 0, 0 as HWN... [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stdout] --> src/main.rs:147:94 [INFO] [stdout] | [INFO] [stdout] 147 | ... let hwnd : HWND = CreateWindowExA(0, 0xc019 as *const i8, 0 as *const i8, WS_POPUP | WS_VISIBLE | WS_MAXIMIZE, 0, 0, 0, 0, 0 as HWN... [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_MAXIMIZE` in this scope [INFO] [stdout] --> src/main.rs:147:107 [INFO] [stdout] | [INFO] [stdout] 147 | ...onst i8, 0 as *const i8, WS_POPUP | WS_VISIBLE | WS_MAXIMIZE, 0, 0, 0, 0, 0 as HWND, 0 as HMENU, 0 as HINSTANCE, 0 as LPVOID); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:147:137 [INFO] [stdout] | [INFO] [stdout] 147 | ...S_POPUP | WS_VISIBLE | WS_MAXIMIZE, 0, 0, 0, 0, 0 as HWND, 0 as HMENU, 0 as HINSTANCE, 0 as LPVOID); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stdout] --> src/main.rs:147:148 [INFO] [stdout] | [INFO] [stdout] 147 | ..._VISIBLE | WS_MAXIMIZE, 0, 0, 0, 0, 0 as HWND, 0 as HMENU, 0 as HINSTANCE, 0 as LPVOID); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/main.rs:147:160 [INFO] [stdout] | [INFO] [stdout] 147 | ...MAXIMIZE, 0, 0, 0, 0, 0 as HWND, 0 as HMENU, 0 as HINSTANCE, 0 as LPVOID); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/main.rs:147:176 [INFO] [stdout] | [INFO] [stdout] 147 | ..., 0, 0, 0 as HWND, 0 as HMENU, 0 as HINSTANCE, 0 as LPVOID); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowCursor` in this scope [INFO] [stdout] --> src/main.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | ShowCursor(0); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/main.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | let hdc : HDC = GetDC(hwnd); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in this scope [INFO] [stdout] --> src/main.rs:149:25 [INFO] [stdout] | [INFO] [stdout] 149 | let hdc : HDC = GetDC(hwnd); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PIXELFORMATDESCRIPTOR` in this scope [INFO] [stdout] --> src/main.rs:151:23 [INFO] [stdout] | [INFO] [stdout] 151 | let mut pfd : PIXELFORMATDESCRIPTOR = core::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PIXELFORMATDESCRIPTOR` in this scope [INFO] [stdout] --> src/main.rs:152:42 [INFO] [stdout] | [INFO] [stdout] 138 | fn create_window( ) -> ( HWND, HDC ) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 152 | pfd.nSize = core::mem::size_of::() as u16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PFD_DRAW_TO_WINDOW` in this scope [INFO] [stdout] --> src/main.rs:154:23 [INFO] [stdout] | [INFO] [stdout] 154 | pfd.dwFlags = PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL | PFD_DOUBLEBUFFER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PFD_SUPPORT_OPENGL` in this scope [INFO] [stdout] --> src/main.rs:154:44 [INFO] [stdout] | [INFO] [stdout] 154 | pfd.dwFlags = PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL | PFD_DOUBLEBUFFER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PFD_DOUBLEBUFFER` in this scope [INFO] [stdout] --> src/main.rs:154:65 [INFO] [stdout] | [INFO] [stdout] 154 | pfd.dwFlags = PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL | PFD_DOUBLEBUFFER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PFD_TYPE_RGBA` in this scope [INFO] [stdout] --> src/main.rs:155:26 [INFO] [stdout] | [INFO] [stdout] 155 | pfd.iPixelType = PFD_TYPE_RGBA; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PFD_MAIN_PLANE` in this scope [INFO] [stdout] --> src/main.rs:159:26 [INFO] [stdout] | [INFO] [stdout] 159 | pfd.iLayerType = PFD_MAIN_PLANE; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetPixelFormat` in this scope [INFO] [stdout] --> src/main.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | SetPixelFormat(hdc, ChoosePixelFormat(hdc, &pfd), &pfd); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ChoosePixelFormat` in this scope [INFO] [stdout] --> src/main.rs:161:29 [INFO] [stdout] | [INFO] [stdout] 161 | SetPixelFormat(hdc, ChoosePixelFormat(hdc, &pfd), &pfd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wglMakeCurrent` in this scope [INFO] [stdout] --> src/main.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | wglMakeCurrent(hdc, wglCreateContext(hdc)); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wglCreateContext` in this scope [INFO] [stdout] --> src/main.rs:162:29 [INFO] [stdout] | [INFO] [stdout] 162 | wglMakeCurrent(hdc, wglCreateContext(hdc)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SwapBuffers` in this scope [INFO] [stdout] --> src/main.rs:1031:9 [INFO] [stdout] | [INFO] [stdout] 1031 | SwapBuffers(hdc); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MMTIME` in this scope [INFO] [stdout] --> src/main.rs:1060:25 [INFO] [stdout] | [INFO] [stdout] 1060 | let mut mmtime: MMTIME = core::mem::zeroed(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TIME_SAMPLES` in this scope [INFO] [stdout] --> src/main.rs:1061:24 [INFO] [stdout] | [INFO] [stdout] 1061 | mmtime.wType = TIME_SAMPLES; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MMTIME` in this scope [INFO] [stdout] --> src/main.rs:1076:77 [INFO] [stdout] | [INFO] [stdout] 1076 | waveOutGetPosition(H_WAVEOUT, &mut mmtime, core::mem::size_of::() as u32); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SwapBuffers` in this scope [INFO] [stdout] --> src/main.rs:1144:13 [INFO] [stdout] | [INFO] [stdout] 1144 | SwapBuffers(hdc); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:164:56 [INFO] [stdout] | [INFO] [stdout] 164 | winapi::um::wingdi::SelectObject (hdc, winapi::um::wingdi::GetStockObject (winapi::um::wingdi::SYSTEM_FONT as i32)); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:164:92 [INFO] [stdout] | [INFO] [stdout] 164 | winapi::um::wingdi::SelectObject (hdc, winapi::um::wingdi::GetStockObject (winapi::um::wingdi::SYSTEM_FONT as i32)); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | winapi::um::wingdi::wglUseFontBitmapsA (hdc, 0, 255, 1000); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:198:30 [INFO] [stdout] | [INFO] [stdout] 198 | static WAVE_FORMAT : winapi::shared::mmreg::WAVEFORMATEX = winapi::shared::mmreg::WAVEFORMATEX{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:198:68 [INFO] [stdout] | [INFO] [stdout] 198 | static WAVE_FORMAT : winapi::shared::mmreg::WAVEFORMATEX = winapi::shared::mmreg::WAVEFORMATEX{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:199:26 [INFO] [stdout] | [INFO] [stdout] 199 | wFormatTag : winapi::shared::mmreg::WAVE_FORMAT_IEEE_FLOAT, // winapi::shared::mmreg::WAVE_FORMAT_PCM, // [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:208:34 [INFO] [stdout] | [INFO] [stdout] 208 | static mut WAVE_HEADER : winapi::um::mmsystem::WAVEHDR = winapi::um::mmsystem::WAVEHDR{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:208:66 [INFO] [stdout] | [INFO] [stdout] 208 | static mut WAVE_HEADER : winapi::um::mmsystem::WAVEHDR = winapi::um::mmsystem::WAVEHDR{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:215:31 [INFO] [stdout] | [INFO] [stdout] 215 | lpNext: 0 as *mut winapi::um::mmsystem::WAVEHDR, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:240:31 [INFO] [stdout] | [INFO] [stdout] 240 | static mut H_WAVEOUT: winapi::um::mmsystem::HWAVEOUT = 0 as winapi::um::mmsystem::HWAVEOUT; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:240:69 [INFO] [stdout] | [INFO] [stdout] 240 | static mut H_WAVEOUT: winapi::um::mmsystem::HWAVEOUT = 0 as winapi::um::mmsystem::HWAVEOUT; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/main.rs:252:34 [INFO] [stdout] | [INFO] [stdout] 252 | pub type LPCSTR = *const winapi::ctypes::c_char; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/main.rs:254:30 [INFO] [stdout] | [INFO] [stdout] 254 | pub type PROC = *mut winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/main.rs:255:33 [INFO] [stdout] | [INFO] [stdout] 255 | pub type ULONG64 = *mut winapi::ctypes::c_ulong; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/main.rs:1024:139 [INFO] [stdout] | [INFO] [stdout] 1024 | ...l::RGBA, gl::UNSIGNED_BYTE, 0 as *mut winapi::ctypes::c_void); [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:1041:17 [INFO] [stdout] | [INFO] [stdout] 1041 | ... winapi::um::mmeapi::waveOutOpen( &mut H_WAVEOUT, winapi::um::mmsystem::WAVE_MAPPER, &WAVE_FORMAT, 0, 0, winapi::um::mmsystem::CALLB... [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:1041:66 [INFO] [stdout] | [INFO] [stdout] 1041 | ... winapi::um::mmeapi::waveOutOpen( &mut H_WAVEOUT, winapi::um::mmsystem::WAVE_MAPPER, &WAVE_FORMAT, 0, 0, winapi::um::mmsystem::CALLB... [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:1041:121 [INFO] [stdout] | [INFO] [stdout] 1041 | ...msystem::WAVE_MAPPER, &WAVE_FORMAT, 0, 0, winapi::um::mmsystem::CALLBACK_NULL); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:1042:17 [INFO] [stdout] | [INFO] [stdout] 1042 | ... winapi::um::mmeapi::waveOutPrepareHeader(H_WAVEOUT, &mut WAVE_HEADER, core::mem::size_of::() as u32 ); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:1042:108 [INFO] [stdout] | [INFO] [stdout] 1042 | ...T, &mut WAVE_HEADER, core::mem::size_of::() as u32 ); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:1043:17 [INFO] [stdout] | [INFO] [stdout] 1043 | winapi::um::mmeapi::waveOutWrite(H_WAVEOUT, &mut WAVE_HEADER, core::mem::size_of::() as u32 ); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:1043:100 [INFO] [stdout] | [INFO] [stdout] 1043 | winapi::um::mmeapi::waveOutWrite(H_WAVEOUT, &mut WAVE_HEADER, core::mem::size_of::() as u32 ); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:1070:24 [INFO] [stdout] | [INFO] [stdout] 1070 | if winapi::um::winuser::GetAsyncKeyState(winapi::um::winuser::VK_ESCAPE) != 0 || time >= sequence::SECONDS [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:1070:62 [INFO] [stdout] | [INFO] [stdout] 1070 | if winapi::um::winuser::GetAsyncKeyState(winapi::um::winuser::VK_ESCAPE) != 0 || time >= sequence::SECONDS [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/main.rs:1125:128 [INFO] [stdout] | [INFO] [stdout] 1125 | ...proudly present\0".as_ptr() as *const winapi::ctypes::c_void ); [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/main.rs:1127:99 [INFO] [stdout] | [INFO] [stdout] 1127 | gl::CallLists (12, gl::UNSIGNED_BYTE, "Garlic Rulez\0".as_ptr() as *const winapi::ctypes::c_void ); [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/main.rs:1129:99 [INFO] [stdout] | [INFO] [stdout] 1129 | gl::CallLists (12, gl::UNSIGNED_BYTE, "Code: QM^NR4\0".as_ptr() as *const winapi::ctypes::c_void ); [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/main.rs:1131:100 [INFO] [stdout] | [INFO] [stdout] 1131 | gl::CallLists (13, gl::UNSIGNED_BYTE, "Graphics: NR4\0".as_ptr() as *const winapi::ctypes::c_void ); [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/main.rs:1133:95 [INFO] [stdout] | [INFO] [stdout] 1133 | gl::CallLists (9, gl::UNSIGNED_BYTE, "Music: QM\0".as_ptr() as *const winapi::ctypes::c_void ); [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/main.rs:1135:128 [INFO] [stdout] | [INFO] [stdout] 1135 | ...ty prod @ UC11.\0".as_ptr() as *const winapi::ctypes::c_void ); [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/main.rs:1137:94 [INFO] [stdout] | [INFO] [stdout] 1137 | gl::CallLists (8, gl::UNSIGNED_BYTE, "Love to:\0".as_ptr() as *const winapi::ctypes::c_void ); [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/main.rs:1139:214 [INFO] [stdout] | [INFO] [stdout] 1139 | ...tronic knights,\0".as_ptr() as *const winapi::ctypes::c_void ); [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/main.rs:1141:209 [INFO] [stdout] | [INFO] [stdout] 1141 | ..., ctrl-alt-test\0".as_ptr() as *const winapi::ctypes::c_void ); [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wglGetProcAddress` in this scope [INFO] [stdout] --> src/gl.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | let addr = unsafe { wglGetProcAddress(name.as_ptr() as *const i8) as usize }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryA` in this scope [INFO] [stdout] --> src/gl.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | let handle = LoadLibraryA("Opengl32.dll\0".as_ptr() as *const i8); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/gl.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | return GetProcAddress( handle, name.as_ptr() as *const i8 ) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:86:49 [INFO] [stdout] | [INFO] [stdout] 86 | pub unsafe extern "system" fn window_proc(hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/main.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/main.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 87 | msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/main.rs:87:42 [INFO] [stdout] | [INFO] [stdout] 87 | msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/main.rs:87:53 [INFO] [stdout] | [INFO] [stdout] 87 | msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope [INFO] [stdout] --> src/main.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcA` in this scope [INFO] [stdout] --> src/main.rs:93:23 [INFO] [stdout] | [INFO] [stdout] 93 | _ => { return DefWindowProcA(hwnd, msg, w_param, l_param); } [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/main.rs:123:35 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn ExitProcess(uExitCode: UINT); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWAVEOUT` in this scope [INFO] [stdout] --> src/main.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | hwo: HWAVEOUT, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPMMTIME` in this scope [INFO] [stdout] --> src/main.rs:130:15 [INFO] [stdout] | [INFO] [stdout] 130 | pmmt: LPMMTIME, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/main.rs:131:16 [INFO] [stdout] | [INFO] [stdout] 131 | cbmmt: UINT [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MMRESULT` in this scope [INFO] [stdout] --> src/main.rs:132:10 [INFO] [stdout] | [INFO] [stdout] 132 | ) -> MMRESULT; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:138:26 [INFO] [stdout] | [INFO] [stdout] 138 | fn create_window( ) -> ( HWND, HDC ) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/main.rs:138:32 [INFO] [stdout] | [INFO] [stdout] 138 | fn create_window( ) -> ( HWND, HDC ) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DEVMODEA` in this scope [INFO] [stdout] --> src/main.rs:140:27 [INFO] [stdout] | [INFO] [stdout] 140 | let mut devmode : DEVMODEA = core::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DEVMODEA` in this scope [INFO] [stdout] --> src/main.rs:141:47 [INFO] [stdout] | [INFO] [stdout] 138 | fn create_window( ) -> ( HWND, HDC ) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 141 | devmode.dmSize = core::mem::size_of::() as u16; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CDS_FULLSCREEN` in this scope [INFO] [stdout] --> src/main.rs:145:67 [INFO] [stdout] | [INFO] [stdout] 145 | winapi::um::winuser::ChangeDisplaySettingsA(&mut devmode, CDS_FULLSCREEN); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:147:20 [INFO] [stdout] | [INFO] [stdout] 147 | ... let hwnd : HWND = CreateWindowExA(0, 0xc019 as *const i8, 0 as *const i8, WS_POPUP | WS_VISIBLE | WS_MAXIMIZE, 0, 0, 0, 0, 0 as HWN... [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExA` in this scope [INFO] [stdout] --> src/main.rs:147:27 [INFO] [stdout] | [INFO] [stdout] 147 | ... let hwnd : HWND = CreateWindowExA(0, 0xc019 as *const i8, 0 as *const i8, WS_POPUP | WS_VISIBLE | WS_MAXIMIZE, 0, 0, 0, 0, 0 as HWN... [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_POPUP` in this scope [INFO] [stdout] --> src/main.rs:147:83 [INFO] [stdout] | [INFO] [stdout] 147 | ... let hwnd : HWND = CreateWindowExA(0, 0xc019 as *const i8, 0 as *const i8, WS_POPUP | WS_VISIBLE | WS_MAXIMIZE, 0, 0, 0, 0, 0 as HWN... [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stdout] --> src/main.rs:147:94 [INFO] [stdout] | [INFO] [stdout] 147 | ... let hwnd : HWND = CreateWindowExA(0, 0xc019 as *const i8, 0 as *const i8, WS_POPUP | WS_VISIBLE | WS_MAXIMIZE, 0, 0, 0, 0, 0 as HWN... [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_MAXIMIZE` in this scope [INFO] [stdout] --> src/main.rs:147:107 [INFO] [stdout] | [INFO] [stdout] 147 | ...onst i8, 0 as *const i8, WS_POPUP | WS_VISIBLE | WS_MAXIMIZE, 0, 0, 0, 0, 0 as HWND, 0 as HMENU, 0 as HINSTANCE, 0 as LPVOID); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:147:137 [INFO] [stdout] | [INFO] [stdout] 147 | ...S_POPUP | WS_VISIBLE | WS_MAXIMIZE, 0, 0, 0, 0, 0 as HWND, 0 as HMENU, 0 as HINSTANCE, 0 as LPVOID); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stdout] --> src/main.rs:147:148 [INFO] [stdout] | [INFO] [stdout] 147 | ..._VISIBLE | WS_MAXIMIZE, 0, 0, 0, 0, 0 as HWND, 0 as HMENU, 0 as HINSTANCE, 0 as LPVOID); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/main.rs:147:160 [INFO] [stdout] | [INFO] [stdout] 147 | ...MAXIMIZE, 0, 0, 0, 0, 0 as HWND, 0 as HMENU, 0 as HINSTANCE, 0 as LPVOID); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/main.rs:147:176 [INFO] [stdout] | [INFO] [stdout] 147 | ..., 0, 0, 0 as HWND, 0 as HMENU, 0 as HINSTANCE, 0 as LPVOID); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowCursor` in this scope [INFO] [stdout] --> src/main.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | ShowCursor(0); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/main.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | let hdc : HDC = GetDC(hwnd); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in this scope [INFO] [stdout] --> src/main.rs:149:25 [INFO] [stdout] | [INFO] [stdout] 149 | let hdc : HDC = GetDC(hwnd); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PIXELFORMATDESCRIPTOR` in this scope [INFO] [stdout] --> src/main.rs:151:23 [INFO] [stdout] | [INFO] [stdout] 151 | let mut pfd : PIXELFORMATDESCRIPTOR = core::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PIXELFORMATDESCRIPTOR` in this scope [INFO] [stdout] --> src/main.rs:152:42 [INFO] [stdout] | [INFO] [stdout] 138 | fn create_window( ) -> ( HWND, HDC ) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 152 | pfd.nSize = core::mem::size_of::() as u16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PFD_DRAW_TO_WINDOW` in this scope [INFO] [stdout] --> src/main.rs:154:23 [INFO] [stdout] | [INFO] [stdout] 154 | pfd.dwFlags = PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL | PFD_DOUBLEBUFFER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PFD_SUPPORT_OPENGL` in this scope [INFO] [stdout] --> src/main.rs:154:44 [INFO] [stdout] | [INFO] [stdout] 154 | pfd.dwFlags = PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL | PFD_DOUBLEBUFFER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PFD_DOUBLEBUFFER` in this scope [INFO] [stdout] --> src/main.rs:154:65 [INFO] [stdout] | [INFO] [stdout] 154 | pfd.dwFlags = PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL | PFD_DOUBLEBUFFER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PFD_TYPE_RGBA` in this scope [INFO] [stdout] --> src/main.rs:155:26 [INFO] [stdout] | [INFO] [stdout] 155 | pfd.iPixelType = PFD_TYPE_RGBA; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PFD_MAIN_PLANE` in this scope [INFO] [stdout] --> src/main.rs:159:26 [INFO] [stdout] | [INFO] [stdout] 159 | pfd.iLayerType = PFD_MAIN_PLANE; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetPixelFormat` in this scope [INFO] [stdout] --> src/main.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | SetPixelFormat(hdc, ChoosePixelFormat(hdc, &pfd), &pfd); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ChoosePixelFormat` in this scope [INFO] [stdout] --> src/main.rs:161:29 [INFO] [stdout] | [INFO] [stdout] 161 | SetPixelFormat(hdc, ChoosePixelFormat(hdc, &pfd), &pfd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wglMakeCurrent` in this scope [INFO] [stdout] --> src/main.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | wglMakeCurrent(hdc, wglCreateContext(hdc)); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wglCreateContext` in this scope [INFO] [stdout] --> src/main.rs:162:29 [INFO] [stdout] | [INFO] [stdout] 162 | wglMakeCurrent(hdc, wglCreateContext(hdc)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SwapBuffers` in this scope [INFO] [stdout] --> src/main.rs:1031:9 [INFO] [stdout] | [INFO] [stdout] 1031 | SwapBuffers(hdc); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MMTIME` in this scope [INFO] [stdout] --> src/main.rs:1060:25 [INFO] [stdout] | [INFO] [stdout] 1060 | let mut mmtime: MMTIME = core::mem::zeroed(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TIME_SAMPLES` in this scope [INFO] [stdout] --> src/main.rs:1061:24 [INFO] [stdout] | [INFO] [stdout] 1061 | mmtime.wType = TIME_SAMPLES; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MMTIME` in this scope [INFO] [stdout] --> src/main.rs:1076:77 [INFO] [stdout] | [INFO] [stdout] 1076 | waveOutGetPosition(H_WAVEOUT, &mut mmtime, core::mem::size_of::() as u32); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SwapBuffers` in this scope [INFO] [stdout] --> src/main.rs:1144:13 [INFO] [stdout] | [INFO] [stdout] 1144 | SwapBuffers(hdc); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 103 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `garlic_crust` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 103 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "70a582f900c65139892ad06730fbb9555006153a87a0cf4b22d81f6c3d99a65a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70a582f900c65139892ad06730fbb9555006153a87a0cf4b22d81f6c3d99a65a", kill_on_drop: false }` [INFO] [stdout] 70a582f900c65139892ad06730fbb9555006153a87a0cf4b22d81f6c3d99a65a